@camstack/addon-provider-velux 0.2.85 → 0.2.87
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
|
@@ -7627,6 +7627,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7627
7627
|
/** Unix ms when the group was composed server-side. */
|
|
7628
7628
|
fetchedAt: number()
|
|
7629
7629
|
});
|
|
7630
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7631
|
+
* they were looking at, after the track itself is gone. */
|
|
7632
|
+
var ArchivedDebugNoteSchema = object({
|
|
7633
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7634
|
+
* same sentence about the same track lands on the row already there. */
|
|
7635
|
+
id: string(),
|
|
7636
|
+
/** The operator's own words, verbatim. */
|
|
7637
|
+
note: string(),
|
|
7638
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7639
|
+
deviceId: number().int(),
|
|
7640
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7641
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7642
|
+
sourceTrackId: string(),
|
|
7643
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7644
|
+
archivedAt: number().int(),
|
|
7645
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7646
|
+
trackStartedAt: number().int().nullable(),
|
|
7647
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7648
|
+
trackClass: string().nullable(),
|
|
7649
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7650
|
+
trackLabel: string().nullable()
|
|
7651
|
+
});
|
|
7652
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7653
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7654
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7655
|
+
deviceId: number().int().optional(),
|
|
7656
|
+
/** Max rows returned, newest-first. */
|
|
7657
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7658
|
+
});
|
|
7630
7659
|
/**
|
|
7631
7660
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7632
7661
|
* recordings and events management surfaces.
|
|
@@ -16108,14 +16137,14 @@ var alarmPanelCapability = {
|
|
|
16108
16137
|
code: string().min(1).optional()
|
|
16109
16138
|
}), _void(), {
|
|
16110
16139
|
kind: "mutation",
|
|
16111
|
-
auth: "
|
|
16140
|
+
auth: "protected"
|
|
16112
16141
|
}),
|
|
16113
16142
|
disarm: method(object({
|
|
16114
16143
|
deviceId: number().int().nonnegative(),
|
|
16115
16144
|
code: string().min(1).optional()
|
|
16116
16145
|
}), _void(), {
|
|
16117
16146
|
kind: "mutation",
|
|
16118
|
-
auth: "
|
|
16147
|
+
auth: "protected"
|
|
16119
16148
|
}),
|
|
16120
16149
|
/**
|
|
16121
16150
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16126,7 +16155,7 @@ var alarmPanelCapability = {
|
|
|
16126
16155
|
*/
|
|
16127
16156
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16128
16157
|
kind: "mutation",
|
|
16129
|
-
auth: "
|
|
16158
|
+
auth: "protected"
|
|
16130
16159
|
})
|
|
16131
16160
|
},
|
|
16132
16161
|
status: {
|
|
@@ -20090,7 +20119,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20090
20119
|
deviceId: number(),
|
|
20091
20120
|
trackId: string(),
|
|
20092
20121
|
flags: TrackFlagsPatchSchema
|
|
20093
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20122
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20094
20123
|
kind: "query",
|
|
20095
20124
|
auth: "admin"
|
|
20096
20125
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24093,7 +24122,7 @@ var brightnessCapability = {
|
|
|
24093
24122
|
percentage: number().min(0).max(100)
|
|
24094
24123
|
}), _void(), {
|
|
24095
24124
|
kind: "mutation",
|
|
24096
|
-
auth: "
|
|
24125
|
+
auth: "protected"
|
|
24097
24126
|
}) },
|
|
24098
24127
|
events: {
|
|
24099
24128
|
/**
|
|
@@ -24126,7 +24155,7 @@ onBrightnessChanged: { data: object({
|
|
|
24126
24155
|
};
|
|
24127
24156
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24128
24157
|
kind: "mutation",
|
|
24129
|
-
auth: "
|
|
24158
|
+
auth: "protected"
|
|
24130
24159
|
});
|
|
24131
24160
|
/**
|
|
24132
24161
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -24318,28 +24347,28 @@ var climateControlCapability = {
|
|
|
24318
24347
|
mode: HvacModeSchema
|
|
24319
24348
|
}), _void(), {
|
|
24320
24349
|
kind: "mutation",
|
|
24321
|
-
auth: "
|
|
24350
|
+
auth: "protected"
|
|
24322
24351
|
}),
|
|
24323
24352
|
setFanMode: method(object({
|
|
24324
24353
|
deviceId: number().int().nonnegative(),
|
|
24325
24354
|
fanMode: string().min(1)
|
|
24326
24355
|
}), _void(), {
|
|
24327
24356
|
kind: "mutation",
|
|
24328
|
-
auth: "
|
|
24357
|
+
auth: "protected"
|
|
24329
24358
|
}),
|
|
24330
24359
|
setPreset: method(object({
|
|
24331
24360
|
deviceId: number().int().nonnegative(),
|
|
24332
24361
|
preset: string().min(1)
|
|
24333
24362
|
}), _void(), {
|
|
24334
24363
|
kind: "mutation",
|
|
24335
|
-
auth: "
|
|
24364
|
+
auth: "protected"
|
|
24336
24365
|
}),
|
|
24337
24366
|
setTarget: method(object({
|
|
24338
24367
|
deviceId: number().int().nonnegative(),
|
|
24339
24368
|
target: number()
|
|
24340
24369
|
}), _void(), {
|
|
24341
24370
|
kind: "mutation",
|
|
24342
|
-
auth: "
|
|
24371
|
+
auth: "protected"
|
|
24343
24372
|
}),
|
|
24344
24373
|
setTargetRange: method(object({
|
|
24345
24374
|
deviceId: number().int().nonnegative(),
|
|
@@ -24347,28 +24376,28 @@ var climateControlCapability = {
|
|
|
24347
24376
|
targetHigh: number()
|
|
24348
24377
|
}), _void(), {
|
|
24349
24378
|
kind: "mutation",
|
|
24350
|
-
auth: "
|
|
24379
|
+
auth: "protected"
|
|
24351
24380
|
}),
|
|
24352
24381
|
setTargetHumidity: method(object({
|
|
24353
24382
|
deviceId: number().int().nonnegative(),
|
|
24354
24383
|
targetHumidity: number().min(0).max(100)
|
|
24355
24384
|
}), _void(), {
|
|
24356
24385
|
kind: "mutation",
|
|
24357
|
-
auth: "
|
|
24386
|
+
auth: "protected"
|
|
24358
24387
|
}),
|
|
24359
24388
|
setSwingVertical: method(object({
|
|
24360
24389
|
deviceId: number().int().nonnegative(),
|
|
24361
24390
|
on: boolean()
|
|
24362
24391
|
}), _void(), {
|
|
24363
24392
|
kind: "mutation",
|
|
24364
|
-
auth: "
|
|
24393
|
+
auth: "protected"
|
|
24365
24394
|
}),
|
|
24366
24395
|
setSwingHorizontal: method(object({
|
|
24367
24396
|
deviceId: number().int().nonnegative(),
|
|
24368
24397
|
on: boolean()
|
|
24369
24398
|
}), _void(), {
|
|
24370
24399
|
kind: "mutation",
|
|
24371
|
-
auth: "
|
|
24400
|
+
auth: "protected"
|
|
24372
24401
|
})
|
|
24373
24402
|
},
|
|
24374
24403
|
status: {
|
|
@@ -24468,7 +24497,7 @@ var colorCapability = {
|
|
|
24468
24497
|
color: ColorInputSchema
|
|
24469
24498
|
}), _void(), {
|
|
24470
24499
|
kind: "mutation",
|
|
24471
|
-
auth: "
|
|
24500
|
+
auth: "protected"
|
|
24472
24501
|
}) },
|
|
24473
24502
|
events: {
|
|
24474
24503
|
/**
|
|
@@ -24797,7 +24826,7 @@ var controlCapability = {
|
|
|
24797
24826
|
control: ControlSetValueInputSchema
|
|
24798
24827
|
}), _void(), {
|
|
24799
24828
|
kind: "mutation",
|
|
24800
|
-
auth: "
|
|
24829
|
+
auth: "protected"
|
|
24801
24830
|
}) },
|
|
24802
24831
|
status: {
|
|
24803
24832
|
schema: ControlStatusSchema,
|
|
@@ -24843,29 +24872,29 @@ var coverCapability = {
|
|
|
24843
24872
|
methods: {
|
|
24844
24873
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24845
24874
|
kind: "mutation",
|
|
24846
|
-
auth: "
|
|
24875
|
+
auth: "protected"
|
|
24847
24876
|
}),
|
|
24848
24877
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24849
24878
|
kind: "mutation",
|
|
24850
|
-
auth: "
|
|
24879
|
+
auth: "protected"
|
|
24851
24880
|
}),
|
|
24852
24881
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24853
24882
|
kind: "mutation",
|
|
24854
|
-
auth: "
|
|
24883
|
+
auth: "protected"
|
|
24855
24884
|
}),
|
|
24856
24885
|
setPosition: method(object({
|
|
24857
24886
|
deviceId: number().int().nonnegative(),
|
|
24858
24887
|
position: number().min(0).max(100)
|
|
24859
24888
|
}), _void(), {
|
|
24860
24889
|
kind: "mutation",
|
|
24861
|
-
auth: "
|
|
24890
|
+
auth: "protected"
|
|
24862
24891
|
}),
|
|
24863
24892
|
setTiltPosition: method(object({
|
|
24864
24893
|
deviceId: number().int().nonnegative(),
|
|
24865
24894
|
tiltPosition: number().min(0).max(100)
|
|
24866
24895
|
}), _void(), {
|
|
24867
24896
|
kind: "mutation",
|
|
24868
|
-
auth: "
|
|
24897
|
+
auth: "protected"
|
|
24869
24898
|
})
|
|
24870
24899
|
},
|
|
24871
24900
|
status: {
|
|
@@ -25648,28 +25677,28 @@ var fanControlCapability = {
|
|
|
25648
25677
|
percentage: number().min(0).max(100)
|
|
25649
25678
|
}), _void(), {
|
|
25650
25679
|
kind: "mutation",
|
|
25651
|
-
auth: "
|
|
25680
|
+
auth: "protected"
|
|
25652
25681
|
}),
|
|
25653
25682
|
setPreset: method(object({
|
|
25654
25683
|
deviceId: number().int().nonnegative(),
|
|
25655
25684
|
preset: string().min(1)
|
|
25656
25685
|
}), _void(), {
|
|
25657
25686
|
kind: "mutation",
|
|
25658
|
-
auth: "
|
|
25687
|
+
auth: "protected"
|
|
25659
25688
|
}),
|
|
25660
25689
|
setDirection: method(object({
|
|
25661
25690
|
deviceId: number().int().nonnegative(),
|
|
25662
25691
|
direction: FanDirectionSchema
|
|
25663
25692
|
}), _void(), {
|
|
25664
25693
|
kind: "mutation",
|
|
25665
|
-
auth: "
|
|
25694
|
+
auth: "protected"
|
|
25666
25695
|
}),
|
|
25667
25696
|
setOscillating: method(object({
|
|
25668
25697
|
deviceId: number().int().nonnegative(),
|
|
25669
25698
|
oscillating: boolean()
|
|
25670
25699
|
}), _void(), {
|
|
25671
25700
|
kind: "mutation",
|
|
25672
|
-
auth: "
|
|
25701
|
+
auth: "protected"
|
|
25673
25702
|
})
|
|
25674
25703
|
},
|
|
25675
25704
|
status: {
|
|
@@ -25891,21 +25920,21 @@ var humidifierCapability = {
|
|
|
25891
25920
|
on: boolean()
|
|
25892
25921
|
}), _void(), {
|
|
25893
25922
|
kind: "mutation",
|
|
25894
|
-
auth: "
|
|
25923
|
+
auth: "protected"
|
|
25895
25924
|
}),
|
|
25896
25925
|
setTargetHumidity: method(object({
|
|
25897
25926
|
deviceId: number().int().nonnegative(),
|
|
25898
25927
|
humidity: number().min(0).max(100)
|
|
25899
25928
|
}), _void(), {
|
|
25900
25929
|
kind: "mutation",
|
|
25901
|
-
auth: "
|
|
25930
|
+
auth: "protected"
|
|
25902
25931
|
}),
|
|
25903
25932
|
setMode: method(object({
|
|
25904
25933
|
deviceId: number().int().nonnegative(),
|
|
25905
25934
|
mode: string().min(1)
|
|
25906
25935
|
}), _void(), {
|
|
25907
25936
|
kind: "mutation",
|
|
25908
|
-
auth: "
|
|
25937
|
+
auth: "protected"
|
|
25909
25938
|
})
|
|
25910
25939
|
},
|
|
25911
25940
|
status: {
|
|
@@ -26606,15 +26635,15 @@ var lawnMowerControlCapability = {
|
|
|
26606
26635
|
methods: {
|
|
26607
26636
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26608
26637
|
kind: "mutation",
|
|
26609
|
-
auth: "
|
|
26638
|
+
auth: "protected"
|
|
26610
26639
|
}),
|
|
26611
26640
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26612
26641
|
kind: "mutation",
|
|
26613
|
-
auth: "
|
|
26642
|
+
auth: "protected"
|
|
26614
26643
|
}),
|
|
26615
26644
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26616
26645
|
kind: "mutation",
|
|
26617
|
-
auth: "
|
|
26646
|
+
auth: "protected"
|
|
26618
26647
|
})
|
|
26619
26648
|
},
|
|
26620
26649
|
status: {
|
|
@@ -26899,18 +26928,18 @@ var lockControlCapability = {
|
|
|
26899
26928
|
code: string().min(1).optional()
|
|
26900
26929
|
}), _void(), {
|
|
26901
26930
|
kind: "mutation",
|
|
26902
|
-
auth: "
|
|
26931
|
+
auth: "protected"
|
|
26903
26932
|
}),
|
|
26904
26933
|
unlock: method(object({
|
|
26905
26934
|
deviceId: number().int().nonnegative(),
|
|
26906
26935
|
code: string().min(1).optional()
|
|
26907
26936
|
}), _void(), {
|
|
26908
26937
|
kind: "mutation",
|
|
26909
|
-
auth: "
|
|
26938
|
+
auth: "protected"
|
|
26910
26939
|
}),
|
|
26911
26940
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26912
26941
|
kind: "mutation",
|
|
26913
|
-
auth: "
|
|
26942
|
+
auth: "protected"
|
|
26914
26943
|
})
|
|
26915
26944
|
},
|
|
26916
26945
|
status: {
|
|
@@ -27013,65 +27042,65 @@ var mediaPlayerCapability = {
|
|
|
27013
27042
|
methods: {
|
|
27014
27043
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27015
27044
|
kind: "mutation",
|
|
27016
|
-
auth: "
|
|
27045
|
+
auth: "protected"
|
|
27017
27046
|
}),
|
|
27018
27047
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27019
27048
|
kind: "mutation",
|
|
27020
|
-
auth: "
|
|
27049
|
+
auth: "protected"
|
|
27021
27050
|
}),
|
|
27022
27051
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27023
27052
|
kind: "mutation",
|
|
27024
|
-
auth: "
|
|
27053
|
+
auth: "protected"
|
|
27025
27054
|
}),
|
|
27026
27055
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27027
27056
|
kind: "mutation",
|
|
27028
|
-
auth: "
|
|
27057
|
+
auth: "protected"
|
|
27029
27058
|
}),
|
|
27030
27059
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27031
27060
|
kind: "mutation",
|
|
27032
|
-
auth: "
|
|
27061
|
+
auth: "protected"
|
|
27033
27062
|
}),
|
|
27034
27063
|
seek: method(object({
|
|
27035
27064
|
deviceId: number().int().nonnegative(),
|
|
27036
27065
|
positionMs: number().int().nonnegative()
|
|
27037
27066
|
}), _void(), {
|
|
27038
27067
|
kind: "mutation",
|
|
27039
|
-
auth: "
|
|
27068
|
+
auth: "protected"
|
|
27040
27069
|
}),
|
|
27041
27070
|
setVolume: method(object({
|
|
27042
27071
|
deviceId: number().int().nonnegative(),
|
|
27043
27072
|
volumeLevel: number().min(0).max(100)
|
|
27044
27073
|
}), _void(), {
|
|
27045
27074
|
kind: "mutation",
|
|
27046
|
-
auth: "
|
|
27075
|
+
auth: "protected"
|
|
27047
27076
|
}),
|
|
27048
27077
|
setMute: method(object({
|
|
27049
27078
|
deviceId: number().int().nonnegative(),
|
|
27050
27079
|
muted: boolean()
|
|
27051
27080
|
}), _void(), {
|
|
27052
27081
|
kind: "mutation",
|
|
27053
|
-
auth: "
|
|
27082
|
+
auth: "protected"
|
|
27054
27083
|
}),
|
|
27055
27084
|
setShuffle: method(object({
|
|
27056
27085
|
deviceId: number().int().nonnegative(),
|
|
27057
27086
|
shuffle: boolean()
|
|
27058
27087
|
}), _void(), {
|
|
27059
27088
|
kind: "mutation",
|
|
27060
|
-
auth: "
|
|
27089
|
+
auth: "protected"
|
|
27061
27090
|
}),
|
|
27062
27091
|
setRepeat: method(object({
|
|
27063
27092
|
deviceId: number().int().nonnegative(),
|
|
27064
27093
|
repeat: MediaPlayerRepeatSchema
|
|
27065
27094
|
}), _void(), {
|
|
27066
27095
|
kind: "mutation",
|
|
27067
|
-
auth: "
|
|
27096
|
+
auth: "protected"
|
|
27068
27097
|
}),
|
|
27069
27098
|
selectSource: method(object({
|
|
27070
27099
|
deviceId: number().int().nonnegative(),
|
|
27071
27100
|
source: string().min(1)
|
|
27072
27101
|
}), _void(), {
|
|
27073
27102
|
kind: "mutation",
|
|
27074
|
-
auth: "
|
|
27103
|
+
auth: "protected"
|
|
27075
27104
|
}),
|
|
27076
27105
|
playMedia: method(object({
|
|
27077
27106
|
deviceId: number().int().nonnegative(),
|
|
@@ -27082,7 +27111,7 @@ var mediaPlayerCapability = {
|
|
|
27082
27111
|
mediaType: string().min(1)
|
|
27083
27112
|
}), _void(), {
|
|
27084
27113
|
kind: "mutation",
|
|
27085
|
-
auth: "
|
|
27114
|
+
auth: "protected"
|
|
27086
27115
|
})
|
|
27087
27116
|
},
|
|
27088
27117
|
status: {
|
|
@@ -28675,27 +28704,27 @@ var petFeederCapability = {
|
|
|
28675
28704
|
hopper2: gramsPortion.optional()
|
|
28676
28705
|
}), _void(), {
|
|
28677
28706
|
kind: "mutation",
|
|
28678
|
-
auth: "
|
|
28707
|
+
auth: "protected"
|
|
28679
28708
|
}),
|
|
28680
28709
|
/** Cancel an in-progress manual feed. */
|
|
28681
28710
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28682
28711
|
kind: "mutation",
|
|
28683
|
-
auth: "
|
|
28712
|
+
auth: "protected"
|
|
28684
28713
|
}),
|
|
28685
28714
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28686
28715
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28687
28716
|
kind: "mutation",
|
|
28688
|
-
auth: "
|
|
28717
|
+
auth: "protected"
|
|
28689
28718
|
}),
|
|
28690
28719
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28691
28720
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28692
28721
|
kind: "mutation",
|
|
28693
|
-
auth: "
|
|
28722
|
+
auth: "protected"
|
|
28694
28723
|
}),
|
|
28695
28724
|
/** Call the pet with the recorded prompt (D3). */
|
|
28696
28725
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28697
28726
|
kind: "mutation",
|
|
28698
|
-
auth: "
|
|
28727
|
+
auth: "protected"
|
|
28699
28728
|
}),
|
|
28700
28729
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28701
28730
|
playSound: method(object({
|
|
@@ -28703,7 +28732,7 @@ var petFeederCapability = {
|
|
|
28703
28732
|
soundId: number().int().nonnegative()
|
|
28704
28733
|
}), _void(), {
|
|
28705
28734
|
kind: "mutation",
|
|
28706
|
-
auth: "
|
|
28735
|
+
auth: "protected"
|
|
28707
28736
|
}),
|
|
28708
28737
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28709
28738
|
setChildLock: method(object({
|
|
@@ -28711,7 +28740,7 @@ var petFeederCapability = {
|
|
|
28711
28740
|
on: boolean()
|
|
28712
28741
|
}), _void(), {
|
|
28713
28742
|
kind: "mutation",
|
|
28714
|
-
auth: "
|
|
28743
|
+
auth: "protected"
|
|
28715
28744
|
}),
|
|
28716
28745
|
/** Toggle the front indicator light. */
|
|
28717
28746
|
setIndicatorLight: method(object({
|
|
@@ -28719,7 +28748,7 @@ var petFeederCapability = {
|
|
|
28719
28748
|
on: boolean()
|
|
28720
28749
|
}), _void(), {
|
|
28721
28750
|
kind: "mutation",
|
|
28722
|
-
auth: "
|
|
28751
|
+
auth: "protected"
|
|
28723
28752
|
}),
|
|
28724
28753
|
/** Toggle the dispense chime. */
|
|
28725
28754
|
setFeedSound: method(object({
|
|
@@ -28727,7 +28756,7 @@ var petFeederCapability = {
|
|
|
28727
28756
|
on: boolean()
|
|
28728
28757
|
}), _void(), {
|
|
28729
28758
|
kind: "mutation",
|
|
28730
|
-
auth: "
|
|
28759
|
+
auth: "protected"
|
|
28731
28760
|
}),
|
|
28732
28761
|
/** Set the speaker / prompt volume level. */
|
|
28733
28762
|
setVolume: method(object({
|
|
@@ -28735,7 +28764,7 @@ var petFeederCapability = {
|
|
|
28735
28764
|
level: number().int().nonnegative()
|
|
28736
28765
|
}), _void(), {
|
|
28737
28766
|
kind: "mutation",
|
|
28738
|
-
auth: "
|
|
28767
|
+
auth: "protected"
|
|
28739
28768
|
})
|
|
28740
28769
|
},
|
|
28741
28770
|
status: {
|
|
@@ -31031,7 +31060,7 @@ var switchCapability = {
|
|
|
31031
31060
|
on: boolean()
|
|
31032
31061
|
}), _void(), {
|
|
31033
31062
|
kind: "mutation",
|
|
31034
|
-
auth: "
|
|
31063
|
+
auth: "protected"
|
|
31035
31064
|
}) },
|
|
31036
31065
|
events: { onStateChanged: { data: object({
|
|
31037
31066
|
deviceId: number(),
|
|
@@ -32019,30 +32048,30 @@ var vacuumControlCapability = {
|
|
|
32019
32048
|
methods: {
|
|
32020
32049
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32021
32050
|
kind: "mutation",
|
|
32022
|
-
auth: "
|
|
32051
|
+
auth: "protected"
|
|
32023
32052
|
}),
|
|
32024
32053
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32025
32054
|
kind: "mutation",
|
|
32026
|
-
auth: "
|
|
32055
|
+
auth: "protected"
|
|
32027
32056
|
}),
|
|
32028
32057
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32029
32058
|
kind: "mutation",
|
|
32030
|
-
auth: "
|
|
32059
|
+
auth: "protected"
|
|
32031
32060
|
}),
|
|
32032
32061
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32033
32062
|
kind: "mutation",
|
|
32034
|
-
auth: "
|
|
32063
|
+
auth: "protected"
|
|
32035
32064
|
}),
|
|
32036
32065
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32037
32066
|
kind: "mutation",
|
|
32038
|
-
auth: "
|
|
32067
|
+
auth: "protected"
|
|
32039
32068
|
}),
|
|
32040
32069
|
setFanSpeed: method(object({
|
|
32041
32070
|
deviceId: number().int().nonnegative(),
|
|
32042
32071
|
speed: string().min(1)
|
|
32043
32072
|
}), _void(), {
|
|
32044
32073
|
kind: "mutation",
|
|
32045
|
-
auth: "
|
|
32074
|
+
auth: "protected"
|
|
32046
32075
|
})
|
|
32047
32076
|
},
|
|
32048
32077
|
status: {
|
|
@@ -32086,22 +32115,22 @@ var valveCapability = {
|
|
|
32086
32115
|
methods: {
|
|
32087
32116
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32088
32117
|
kind: "mutation",
|
|
32089
|
-
auth: "
|
|
32118
|
+
auth: "protected"
|
|
32090
32119
|
}),
|
|
32091
32120
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32092
32121
|
kind: "mutation",
|
|
32093
|
-
auth: "
|
|
32122
|
+
auth: "protected"
|
|
32094
32123
|
}),
|
|
32095
32124
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32096
32125
|
kind: "mutation",
|
|
32097
|
-
auth: "
|
|
32126
|
+
auth: "protected"
|
|
32098
32127
|
}),
|
|
32099
32128
|
setPosition: method(object({
|
|
32100
32129
|
deviceId: number().int().nonnegative(),
|
|
32101
32130
|
position: number().min(0).max(100)
|
|
32102
32131
|
}), _void(), {
|
|
32103
32132
|
kind: "mutation",
|
|
32104
|
-
auth: "
|
|
32133
|
+
auth: "protected"
|
|
32105
32134
|
})
|
|
32106
32135
|
},
|
|
32107
32136
|
status: {
|
|
@@ -32200,21 +32229,21 @@ var waterHeaterCapability = {
|
|
|
32200
32229
|
temp: number().finite()
|
|
32201
32230
|
}), _void(), {
|
|
32202
32231
|
kind: "mutation",
|
|
32203
|
-
auth: "
|
|
32232
|
+
auth: "protected"
|
|
32204
32233
|
}),
|
|
32205
32234
|
setOperationMode: method(object({
|
|
32206
32235
|
deviceId: number().int().nonnegative(),
|
|
32207
32236
|
mode: string().min(1)
|
|
32208
32237
|
}), _void(), {
|
|
32209
32238
|
kind: "mutation",
|
|
32210
|
-
auth: "
|
|
32239
|
+
auth: "protected"
|
|
32211
32240
|
}),
|
|
32212
32241
|
setAway: method(object({
|
|
32213
32242
|
deviceId: number().int().nonnegative(),
|
|
32214
32243
|
on: boolean()
|
|
32215
32244
|
}), _void(), {
|
|
32216
32245
|
kind: "mutation",
|
|
32217
|
-
auth: "
|
|
32246
|
+
auth: "protected"
|
|
32218
32247
|
})
|
|
32219
32248
|
},
|
|
32220
32249
|
status: {
|
|
@@ -37484,6 +37513,12 @@ Object.freeze({
|
|
|
37484
37513
|
addonId: null,
|
|
37485
37514
|
access: "view"
|
|
37486
37515
|
},
|
|
37516
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37517
|
+
capName: "pipeline-analytics",
|
|
37518
|
+
capScope: "device",
|
|
37519
|
+
addonId: null,
|
|
37520
|
+
access: "view"
|
|
37521
|
+
},
|
|
37487
37522
|
"pipelineAnalytics.listEventKinds": {
|
|
37488
37523
|
capName: "pipeline-analytics",
|
|
37489
37524
|
capScope: "device",
|
|
@@ -41271,6 +41306,11 @@ Object.freeze({
|
|
|
41271
41306
|
form: "array",
|
|
41272
41307
|
optional: true
|
|
41273
41308
|
}],
|
|
41309
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41310
|
+
name: "deviceId",
|
|
41311
|
+
form: "single",
|
|
41312
|
+
optional: true
|
|
41313
|
+
}],
|
|
41274
41314
|
"pipelineAnalytics.listEventKinds": [{
|
|
41275
41315
|
name: "deviceId",
|
|
41276
41316
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -7626,6 +7626,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7626
7626
|
/** Unix ms when the group was composed server-side. */
|
|
7627
7627
|
fetchedAt: number()
|
|
7628
7628
|
});
|
|
7629
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7630
|
+
* they were looking at, after the track itself is gone. */
|
|
7631
|
+
var ArchivedDebugNoteSchema = object({
|
|
7632
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7633
|
+
* same sentence about the same track lands on the row already there. */
|
|
7634
|
+
id: string(),
|
|
7635
|
+
/** The operator's own words, verbatim. */
|
|
7636
|
+
note: string(),
|
|
7637
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7638
|
+
deviceId: number().int(),
|
|
7639
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7640
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7641
|
+
sourceTrackId: string(),
|
|
7642
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7643
|
+
archivedAt: number().int(),
|
|
7644
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7645
|
+
trackStartedAt: number().int().nullable(),
|
|
7646
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7647
|
+
trackClass: string().nullable(),
|
|
7648
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7649
|
+
trackLabel: string().nullable()
|
|
7650
|
+
});
|
|
7651
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7652
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7653
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7654
|
+
deviceId: number().int().optional(),
|
|
7655
|
+
/** Max rows returned, newest-first. */
|
|
7656
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7657
|
+
});
|
|
7629
7658
|
/**
|
|
7630
7659
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7631
7660
|
* recordings and events management surfaces.
|
|
@@ -16107,14 +16136,14 @@ var alarmPanelCapability = {
|
|
|
16107
16136
|
code: string().min(1).optional()
|
|
16108
16137
|
}), _void(), {
|
|
16109
16138
|
kind: "mutation",
|
|
16110
|
-
auth: "
|
|
16139
|
+
auth: "protected"
|
|
16111
16140
|
}),
|
|
16112
16141
|
disarm: method(object({
|
|
16113
16142
|
deviceId: number().int().nonnegative(),
|
|
16114
16143
|
code: string().min(1).optional()
|
|
16115
16144
|
}), _void(), {
|
|
16116
16145
|
kind: "mutation",
|
|
16117
|
-
auth: "
|
|
16146
|
+
auth: "protected"
|
|
16118
16147
|
}),
|
|
16119
16148
|
/**
|
|
16120
16149
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16125,7 +16154,7 @@ var alarmPanelCapability = {
|
|
|
16125
16154
|
*/
|
|
16126
16155
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16127
16156
|
kind: "mutation",
|
|
16128
|
-
auth: "
|
|
16157
|
+
auth: "protected"
|
|
16129
16158
|
})
|
|
16130
16159
|
},
|
|
16131
16160
|
status: {
|
|
@@ -20089,7 +20118,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20089
20118
|
deviceId: number(),
|
|
20090
20119
|
trackId: string(),
|
|
20091
20120
|
flags: TrackFlagsPatchSchema
|
|
20092
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20121
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20093
20122
|
kind: "query",
|
|
20094
20123
|
auth: "admin"
|
|
20095
20124
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24092,7 +24121,7 @@ var brightnessCapability = {
|
|
|
24092
24121
|
percentage: number().min(0).max(100)
|
|
24093
24122
|
}), _void(), {
|
|
24094
24123
|
kind: "mutation",
|
|
24095
|
-
auth: "
|
|
24124
|
+
auth: "protected"
|
|
24096
24125
|
}) },
|
|
24097
24126
|
events: {
|
|
24098
24127
|
/**
|
|
@@ -24125,7 +24154,7 @@ onBrightnessChanged: { data: object({
|
|
|
24125
24154
|
};
|
|
24126
24155
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24127
24156
|
kind: "mutation",
|
|
24128
|
-
auth: "
|
|
24157
|
+
auth: "protected"
|
|
24129
24158
|
});
|
|
24130
24159
|
/**
|
|
24131
24160
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -24317,28 +24346,28 @@ var climateControlCapability = {
|
|
|
24317
24346
|
mode: HvacModeSchema
|
|
24318
24347
|
}), _void(), {
|
|
24319
24348
|
kind: "mutation",
|
|
24320
|
-
auth: "
|
|
24349
|
+
auth: "protected"
|
|
24321
24350
|
}),
|
|
24322
24351
|
setFanMode: method(object({
|
|
24323
24352
|
deviceId: number().int().nonnegative(),
|
|
24324
24353
|
fanMode: string().min(1)
|
|
24325
24354
|
}), _void(), {
|
|
24326
24355
|
kind: "mutation",
|
|
24327
|
-
auth: "
|
|
24356
|
+
auth: "protected"
|
|
24328
24357
|
}),
|
|
24329
24358
|
setPreset: method(object({
|
|
24330
24359
|
deviceId: number().int().nonnegative(),
|
|
24331
24360
|
preset: string().min(1)
|
|
24332
24361
|
}), _void(), {
|
|
24333
24362
|
kind: "mutation",
|
|
24334
|
-
auth: "
|
|
24363
|
+
auth: "protected"
|
|
24335
24364
|
}),
|
|
24336
24365
|
setTarget: method(object({
|
|
24337
24366
|
deviceId: number().int().nonnegative(),
|
|
24338
24367
|
target: number()
|
|
24339
24368
|
}), _void(), {
|
|
24340
24369
|
kind: "mutation",
|
|
24341
|
-
auth: "
|
|
24370
|
+
auth: "protected"
|
|
24342
24371
|
}),
|
|
24343
24372
|
setTargetRange: method(object({
|
|
24344
24373
|
deviceId: number().int().nonnegative(),
|
|
@@ -24346,28 +24375,28 @@ var climateControlCapability = {
|
|
|
24346
24375
|
targetHigh: number()
|
|
24347
24376
|
}), _void(), {
|
|
24348
24377
|
kind: "mutation",
|
|
24349
|
-
auth: "
|
|
24378
|
+
auth: "protected"
|
|
24350
24379
|
}),
|
|
24351
24380
|
setTargetHumidity: method(object({
|
|
24352
24381
|
deviceId: number().int().nonnegative(),
|
|
24353
24382
|
targetHumidity: number().min(0).max(100)
|
|
24354
24383
|
}), _void(), {
|
|
24355
24384
|
kind: "mutation",
|
|
24356
|
-
auth: "
|
|
24385
|
+
auth: "protected"
|
|
24357
24386
|
}),
|
|
24358
24387
|
setSwingVertical: method(object({
|
|
24359
24388
|
deviceId: number().int().nonnegative(),
|
|
24360
24389
|
on: boolean()
|
|
24361
24390
|
}), _void(), {
|
|
24362
24391
|
kind: "mutation",
|
|
24363
|
-
auth: "
|
|
24392
|
+
auth: "protected"
|
|
24364
24393
|
}),
|
|
24365
24394
|
setSwingHorizontal: method(object({
|
|
24366
24395
|
deviceId: number().int().nonnegative(),
|
|
24367
24396
|
on: boolean()
|
|
24368
24397
|
}), _void(), {
|
|
24369
24398
|
kind: "mutation",
|
|
24370
|
-
auth: "
|
|
24399
|
+
auth: "protected"
|
|
24371
24400
|
})
|
|
24372
24401
|
},
|
|
24373
24402
|
status: {
|
|
@@ -24467,7 +24496,7 @@ var colorCapability = {
|
|
|
24467
24496
|
color: ColorInputSchema
|
|
24468
24497
|
}), _void(), {
|
|
24469
24498
|
kind: "mutation",
|
|
24470
|
-
auth: "
|
|
24499
|
+
auth: "protected"
|
|
24471
24500
|
}) },
|
|
24472
24501
|
events: {
|
|
24473
24502
|
/**
|
|
@@ -24796,7 +24825,7 @@ var controlCapability = {
|
|
|
24796
24825
|
control: ControlSetValueInputSchema
|
|
24797
24826
|
}), _void(), {
|
|
24798
24827
|
kind: "mutation",
|
|
24799
|
-
auth: "
|
|
24828
|
+
auth: "protected"
|
|
24800
24829
|
}) },
|
|
24801
24830
|
status: {
|
|
24802
24831
|
schema: ControlStatusSchema,
|
|
@@ -24842,29 +24871,29 @@ var coverCapability = {
|
|
|
24842
24871
|
methods: {
|
|
24843
24872
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24844
24873
|
kind: "mutation",
|
|
24845
|
-
auth: "
|
|
24874
|
+
auth: "protected"
|
|
24846
24875
|
}),
|
|
24847
24876
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24848
24877
|
kind: "mutation",
|
|
24849
|
-
auth: "
|
|
24878
|
+
auth: "protected"
|
|
24850
24879
|
}),
|
|
24851
24880
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24852
24881
|
kind: "mutation",
|
|
24853
|
-
auth: "
|
|
24882
|
+
auth: "protected"
|
|
24854
24883
|
}),
|
|
24855
24884
|
setPosition: method(object({
|
|
24856
24885
|
deviceId: number().int().nonnegative(),
|
|
24857
24886
|
position: number().min(0).max(100)
|
|
24858
24887
|
}), _void(), {
|
|
24859
24888
|
kind: "mutation",
|
|
24860
|
-
auth: "
|
|
24889
|
+
auth: "protected"
|
|
24861
24890
|
}),
|
|
24862
24891
|
setTiltPosition: method(object({
|
|
24863
24892
|
deviceId: number().int().nonnegative(),
|
|
24864
24893
|
tiltPosition: number().min(0).max(100)
|
|
24865
24894
|
}), _void(), {
|
|
24866
24895
|
kind: "mutation",
|
|
24867
|
-
auth: "
|
|
24896
|
+
auth: "protected"
|
|
24868
24897
|
})
|
|
24869
24898
|
},
|
|
24870
24899
|
status: {
|
|
@@ -25647,28 +25676,28 @@ var fanControlCapability = {
|
|
|
25647
25676
|
percentage: number().min(0).max(100)
|
|
25648
25677
|
}), _void(), {
|
|
25649
25678
|
kind: "mutation",
|
|
25650
|
-
auth: "
|
|
25679
|
+
auth: "protected"
|
|
25651
25680
|
}),
|
|
25652
25681
|
setPreset: method(object({
|
|
25653
25682
|
deviceId: number().int().nonnegative(),
|
|
25654
25683
|
preset: string().min(1)
|
|
25655
25684
|
}), _void(), {
|
|
25656
25685
|
kind: "mutation",
|
|
25657
|
-
auth: "
|
|
25686
|
+
auth: "protected"
|
|
25658
25687
|
}),
|
|
25659
25688
|
setDirection: method(object({
|
|
25660
25689
|
deviceId: number().int().nonnegative(),
|
|
25661
25690
|
direction: FanDirectionSchema
|
|
25662
25691
|
}), _void(), {
|
|
25663
25692
|
kind: "mutation",
|
|
25664
|
-
auth: "
|
|
25693
|
+
auth: "protected"
|
|
25665
25694
|
}),
|
|
25666
25695
|
setOscillating: method(object({
|
|
25667
25696
|
deviceId: number().int().nonnegative(),
|
|
25668
25697
|
oscillating: boolean()
|
|
25669
25698
|
}), _void(), {
|
|
25670
25699
|
kind: "mutation",
|
|
25671
|
-
auth: "
|
|
25700
|
+
auth: "protected"
|
|
25672
25701
|
})
|
|
25673
25702
|
},
|
|
25674
25703
|
status: {
|
|
@@ -25890,21 +25919,21 @@ var humidifierCapability = {
|
|
|
25890
25919
|
on: boolean()
|
|
25891
25920
|
}), _void(), {
|
|
25892
25921
|
kind: "mutation",
|
|
25893
|
-
auth: "
|
|
25922
|
+
auth: "protected"
|
|
25894
25923
|
}),
|
|
25895
25924
|
setTargetHumidity: method(object({
|
|
25896
25925
|
deviceId: number().int().nonnegative(),
|
|
25897
25926
|
humidity: number().min(0).max(100)
|
|
25898
25927
|
}), _void(), {
|
|
25899
25928
|
kind: "mutation",
|
|
25900
|
-
auth: "
|
|
25929
|
+
auth: "protected"
|
|
25901
25930
|
}),
|
|
25902
25931
|
setMode: method(object({
|
|
25903
25932
|
deviceId: number().int().nonnegative(),
|
|
25904
25933
|
mode: string().min(1)
|
|
25905
25934
|
}), _void(), {
|
|
25906
25935
|
kind: "mutation",
|
|
25907
|
-
auth: "
|
|
25936
|
+
auth: "protected"
|
|
25908
25937
|
})
|
|
25909
25938
|
},
|
|
25910
25939
|
status: {
|
|
@@ -26605,15 +26634,15 @@ var lawnMowerControlCapability = {
|
|
|
26605
26634
|
methods: {
|
|
26606
26635
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26607
26636
|
kind: "mutation",
|
|
26608
|
-
auth: "
|
|
26637
|
+
auth: "protected"
|
|
26609
26638
|
}),
|
|
26610
26639
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26611
26640
|
kind: "mutation",
|
|
26612
|
-
auth: "
|
|
26641
|
+
auth: "protected"
|
|
26613
26642
|
}),
|
|
26614
26643
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26615
26644
|
kind: "mutation",
|
|
26616
|
-
auth: "
|
|
26645
|
+
auth: "protected"
|
|
26617
26646
|
})
|
|
26618
26647
|
},
|
|
26619
26648
|
status: {
|
|
@@ -26898,18 +26927,18 @@ var lockControlCapability = {
|
|
|
26898
26927
|
code: string().min(1).optional()
|
|
26899
26928
|
}), _void(), {
|
|
26900
26929
|
kind: "mutation",
|
|
26901
|
-
auth: "
|
|
26930
|
+
auth: "protected"
|
|
26902
26931
|
}),
|
|
26903
26932
|
unlock: method(object({
|
|
26904
26933
|
deviceId: number().int().nonnegative(),
|
|
26905
26934
|
code: string().min(1).optional()
|
|
26906
26935
|
}), _void(), {
|
|
26907
26936
|
kind: "mutation",
|
|
26908
|
-
auth: "
|
|
26937
|
+
auth: "protected"
|
|
26909
26938
|
}),
|
|
26910
26939
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26911
26940
|
kind: "mutation",
|
|
26912
|
-
auth: "
|
|
26941
|
+
auth: "protected"
|
|
26913
26942
|
})
|
|
26914
26943
|
},
|
|
26915
26944
|
status: {
|
|
@@ -27012,65 +27041,65 @@ var mediaPlayerCapability = {
|
|
|
27012
27041
|
methods: {
|
|
27013
27042
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27014
27043
|
kind: "mutation",
|
|
27015
|
-
auth: "
|
|
27044
|
+
auth: "protected"
|
|
27016
27045
|
}),
|
|
27017
27046
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27018
27047
|
kind: "mutation",
|
|
27019
|
-
auth: "
|
|
27048
|
+
auth: "protected"
|
|
27020
27049
|
}),
|
|
27021
27050
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27022
27051
|
kind: "mutation",
|
|
27023
|
-
auth: "
|
|
27052
|
+
auth: "protected"
|
|
27024
27053
|
}),
|
|
27025
27054
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27026
27055
|
kind: "mutation",
|
|
27027
|
-
auth: "
|
|
27056
|
+
auth: "protected"
|
|
27028
27057
|
}),
|
|
27029
27058
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27030
27059
|
kind: "mutation",
|
|
27031
|
-
auth: "
|
|
27060
|
+
auth: "protected"
|
|
27032
27061
|
}),
|
|
27033
27062
|
seek: method(object({
|
|
27034
27063
|
deviceId: number().int().nonnegative(),
|
|
27035
27064
|
positionMs: number().int().nonnegative()
|
|
27036
27065
|
}), _void(), {
|
|
27037
27066
|
kind: "mutation",
|
|
27038
|
-
auth: "
|
|
27067
|
+
auth: "protected"
|
|
27039
27068
|
}),
|
|
27040
27069
|
setVolume: method(object({
|
|
27041
27070
|
deviceId: number().int().nonnegative(),
|
|
27042
27071
|
volumeLevel: number().min(0).max(100)
|
|
27043
27072
|
}), _void(), {
|
|
27044
27073
|
kind: "mutation",
|
|
27045
|
-
auth: "
|
|
27074
|
+
auth: "protected"
|
|
27046
27075
|
}),
|
|
27047
27076
|
setMute: method(object({
|
|
27048
27077
|
deviceId: number().int().nonnegative(),
|
|
27049
27078
|
muted: boolean()
|
|
27050
27079
|
}), _void(), {
|
|
27051
27080
|
kind: "mutation",
|
|
27052
|
-
auth: "
|
|
27081
|
+
auth: "protected"
|
|
27053
27082
|
}),
|
|
27054
27083
|
setShuffle: method(object({
|
|
27055
27084
|
deviceId: number().int().nonnegative(),
|
|
27056
27085
|
shuffle: boolean()
|
|
27057
27086
|
}), _void(), {
|
|
27058
27087
|
kind: "mutation",
|
|
27059
|
-
auth: "
|
|
27088
|
+
auth: "protected"
|
|
27060
27089
|
}),
|
|
27061
27090
|
setRepeat: method(object({
|
|
27062
27091
|
deviceId: number().int().nonnegative(),
|
|
27063
27092
|
repeat: MediaPlayerRepeatSchema
|
|
27064
27093
|
}), _void(), {
|
|
27065
27094
|
kind: "mutation",
|
|
27066
|
-
auth: "
|
|
27095
|
+
auth: "protected"
|
|
27067
27096
|
}),
|
|
27068
27097
|
selectSource: method(object({
|
|
27069
27098
|
deviceId: number().int().nonnegative(),
|
|
27070
27099
|
source: string().min(1)
|
|
27071
27100
|
}), _void(), {
|
|
27072
27101
|
kind: "mutation",
|
|
27073
|
-
auth: "
|
|
27102
|
+
auth: "protected"
|
|
27074
27103
|
}),
|
|
27075
27104
|
playMedia: method(object({
|
|
27076
27105
|
deviceId: number().int().nonnegative(),
|
|
@@ -27081,7 +27110,7 @@ var mediaPlayerCapability = {
|
|
|
27081
27110
|
mediaType: string().min(1)
|
|
27082
27111
|
}), _void(), {
|
|
27083
27112
|
kind: "mutation",
|
|
27084
|
-
auth: "
|
|
27113
|
+
auth: "protected"
|
|
27085
27114
|
})
|
|
27086
27115
|
},
|
|
27087
27116
|
status: {
|
|
@@ -28674,27 +28703,27 @@ var petFeederCapability = {
|
|
|
28674
28703
|
hopper2: gramsPortion.optional()
|
|
28675
28704
|
}), _void(), {
|
|
28676
28705
|
kind: "mutation",
|
|
28677
|
-
auth: "
|
|
28706
|
+
auth: "protected"
|
|
28678
28707
|
}),
|
|
28679
28708
|
/** Cancel an in-progress manual feed. */
|
|
28680
28709
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28681
28710
|
kind: "mutation",
|
|
28682
|
-
auth: "
|
|
28711
|
+
auth: "protected"
|
|
28683
28712
|
}),
|
|
28684
28713
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28685
28714
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28686
28715
|
kind: "mutation",
|
|
28687
|
-
auth: "
|
|
28716
|
+
auth: "protected"
|
|
28688
28717
|
}),
|
|
28689
28718
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28690
28719
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28691
28720
|
kind: "mutation",
|
|
28692
|
-
auth: "
|
|
28721
|
+
auth: "protected"
|
|
28693
28722
|
}),
|
|
28694
28723
|
/** Call the pet with the recorded prompt (D3). */
|
|
28695
28724
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28696
28725
|
kind: "mutation",
|
|
28697
|
-
auth: "
|
|
28726
|
+
auth: "protected"
|
|
28698
28727
|
}),
|
|
28699
28728
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28700
28729
|
playSound: method(object({
|
|
@@ -28702,7 +28731,7 @@ var petFeederCapability = {
|
|
|
28702
28731
|
soundId: number().int().nonnegative()
|
|
28703
28732
|
}), _void(), {
|
|
28704
28733
|
kind: "mutation",
|
|
28705
|
-
auth: "
|
|
28734
|
+
auth: "protected"
|
|
28706
28735
|
}),
|
|
28707
28736
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28708
28737
|
setChildLock: method(object({
|
|
@@ -28710,7 +28739,7 @@ var petFeederCapability = {
|
|
|
28710
28739
|
on: boolean()
|
|
28711
28740
|
}), _void(), {
|
|
28712
28741
|
kind: "mutation",
|
|
28713
|
-
auth: "
|
|
28742
|
+
auth: "protected"
|
|
28714
28743
|
}),
|
|
28715
28744
|
/** Toggle the front indicator light. */
|
|
28716
28745
|
setIndicatorLight: method(object({
|
|
@@ -28718,7 +28747,7 @@ var petFeederCapability = {
|
|
|
28718
28747
|
on: boolean()
|
|
28719
28748
|
}), _void(), {
|
|
28720
28749
|
kind: "mutation",
|
|
28721
|
-
auth: "
|
|
28750
|
+
auth: "protected"
|
|
28722
28751
|
}),
|
|
28723
28752
|
/** Toggle the dispense chime. */
|
|
28724
28753
|
setFeedSound: method(object({
|
|
@@ -28726,7 +28755,7 @@ var petFeederCapability = {
|
|
|
28726
28755
|
on: boolean()
|
|
28727
28756
|
}), _void(), {
|
|
28728
28757
|
kind: "mutation",
|
|
28729
|
-
auth: "
|
|
28758
|
+
auth: "protected"
|
|
28730
28759
|
}),
|
|
28731
28760
|
/** Set the speaker / prompt volume level. */
|
|
28732
28761
|
setVolume: method(object({
|
|
@@ -28734,7 +28763,7 @@ var petFeederCapability = {
|
|
|
28734
28763
|
level: number().int().nonnegative()
|
|
28735
28764
|
}), _void(), {
|
|
28736
28765
|
kind: "mutation",
|
|
28737
|
-
auth: "
|
|
28766
|
+
auth: "protected"
|
|
28738
28767
|
})
|
|
28739
28768
|
},
|
|
28740
28769
|
status: {
|
|
@@ -31030,7 +31059,7 @@ var switchCapability = {
|
|
|
31030
31059
|
on: boolean()
|
|
31031
31060
|
}), _void(), {
|
|
31032
31061
|
kind: "mutation",
|
|
31033
|
-
auth: "
|
|
31062
|
+
auth: "protected"
|
|
31034
31063
|
}) },
|
|
31035
31064
|
events: { onStateChanged: { data: object({
|
|
31036
31065
|
deviceId: number(),
|
|
@@ -32018,30 +32047,30 @@ var vacuumControlCapability = {
|
|
|
32018
32047
|
methods: {
|
|
32019
32048
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32020
32049
|
kind: "mutation",
|
|
32021
|
-
auth: "
|
|
32050
|
+
auth: "protected"
|
|
32022
32051
|
}),
|
|
32023
32052
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32024
32053
|
kind: "mutation",
|
|
32025
|
-
auth: "
|
|
32054
|
+
auth: "protected"
|
|
32026
32055
|
}),
|
|
32027
32056
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32028
32057
|
kind: "mutation",
|
|
32029
|
-
auth: "
|
|
32058
|
+
auth: "protected"
|
|
32030
32059
|
}),
|
|
32031
32060
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32032
32061
|
kind: "mutation",
|
|
32033
|
-
auth: "
|
|
32062
|
+
auth: "protected"
|
|
32034
32063
|
}),
|
|
32035
32064
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32036
32065
|
kind: "mutation",
|
|
32037
|
-
auth: "
|
|
32066
|
+
auth: "protected"
|
|
32038
32067
|
}),
|
|
32039
32068
|
setFanSpeed: method(object({
|
|
32040
32069
|
deviceId: number().int().nonnegative(),
|
|
32041
32070
|
speed: string().min(1)
|
|
32042
32071
|
}), _void(), {
|
|
32043
32072
|
kind: "mutation",
|
|
32044
|
-
auth: "
|
|
32073
|
+
auth: "protected"
|
|
32045
32074
|
})
|
|
32046
32075
|
},
|
|
32047
32076
|
status: {
|
|
@@ -32085,22 +32114,22 @@ var valveCapability = {
|
|
|
32085
32114
|
methods: {
|
|
32086
32115
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32087
32116
|
kind: "mutation",
|
|
32088
|
-
auth: "
|
|
32117
|
+
auth: "protected"
|
|
32089
32118
|
}),
|
|
32090
32119
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32091
32120
|
kind: "mutation",
|
|
32092
|
-
auth: "
|
|
32121
|
+
auth: "protected"
|
|
32093
32122
|
}),
|
|
32094
32123
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32095
32124
|
kind: "mutation",
|
|
32096
|
-
auth: "
|
|
32125
|
+
auth: "protected"
|
|
32097
32126
|
}),
|
|
32098
32127
|
setPosition: method(object({
|
|
32099
32128
|
deviceId: number().int().nonnegative(),
|
|
32100
32129
|
position: number().min(0).max(100)
|
|
32101
32130
|
}), _void(), {
|
|
32102
32131
|
kind: "mutation",
|
|
32103
|
-
auth: "
|
|
32132
|
+
auth: "protected"
|
|
32104
32133
|
})
|
|
32105
32134
|
},
|
|
32106
32135
|
status: {
|
|
@@ -32199,21 +32228,21 @@ var waterHeaterCapability = {
|
|
|
32199
32228
|
temp: number().finite()
|
|
32200
32229
|
}), _void(), {
|
|
32201
32230
|
kind: "mutation",
|
|
32202
|
-
auth: "
|
|
32231
|
+
auth: "protected"
|
|
32203
32232
|
}),
|
|
32204
32233
|
setOperationMode: method(object({
|
|
32205
32234
|
deviceId: number().int().nonnegative(),
|
|
32206
32235
|
mode: string().min(1)
|
|
32207
32236
|
}), _void(), {
|
|
32208
32237
|
kind: "mutation",
|
|
32209
|
-
auth: "
|
|
32238
|
+
auth: "protected"
|
|
32210
32239
|
}),
|
|
32211
32240
|
setAway: method(object({
|
|
32212
32241
|
deviceId: number().int().nonnegative(),
|
|
32213
32242
|
on: boolean()
|
|
32214
32243
|
}), _void(), {
|
|
32215
32244
|
kind: "mutation",
|
|
32216
|
-
auth: "
|
|
32245
|
+
auth: "protected"
|
|
32217
32246
|
})
|
|
32218
32247
|
},
|
|
32219
32248
|
status: {
|
|
@@ -37483,6 +37512,12 @@ Object.freeze({
|
|
|
37483
37512
|
addonId: null,
|
|
37484
37513
|
access: "view"
|
|
37485
37514
|
},
|
|
37515
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37516
|
+
capName: "pipeline-analytics",
|
|
37517
|
+
capScope: "device",
|
|
37518
|
+
addonId: null,
|
|
37519
|
+
access: "view"
|
|
37520
|
+
},
|
|
37486
37521
|
"pipelineAnalytics.listEventKinds": {
|
|
37487
37522
|
capName: "pipeline-analytics",
|
|
37488
37523
|
capScope: "device",
|
|
@@ -41270,6 +41305,11 @@ Object.freeze({
|
|
|
41270
41305
|
form: "array",
|
|
41271
41306
|
optional: true
|
|
41272
41307
|
}],
|
|
41308
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41309
|
+
name: "deviceId",
|
|
41310
|
+
form: "single",
|
|
41311
|
+
optional: true
|
|
41312
|
+
}],
|
|
41273
41313
|
"pipelineAnalytics.listEventKinds": [{
|
|
41274
41314
|
name: "deviceId",
|
|
41275
41315
|
form: "single",
|
package/package.json
CHANGED