@camstack/addon-provider-unifi 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
|
/**
|
|
@@ -24142,7 +24171,7 @@ var buttonCapability = {
|
|
|
24142
24171
|
deviceTypes: [DeviceType.Button],
|
|
24143
24172
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24144
24173
|
kind: "mutation",
|
|
24145
|
-
auth: "
|
|
24174
|
+
auth: "protected"
|
|
24146
24175
|
}) }
|
|
24147
24176
|
};
|
|
24148
24177
|
/**
|
|
@@ -24335,28 +24364,28 @@ var climateControlCapability = {
|
|
|
24335
24364
|
mode: HvacModeSchema
|
|
24336
24365
|
}), _void(), {
|
|
24337
24366
|
kind: "mutation",
|
|
24338
|
-
auth: "
|
|
24367
|
+
auth: "protected"
|
|
24339
24368
|
}),
|
|
24340
24369
|
setFanMode: method(object({
|
|
24341
24370
|
deviceId: number().int().nonnegative(),
|
|
24342
24371
|
fanMode: string().min(1)
|
|
24343
24372
|
}), _void(), {
|
|
24344
24373
|
kind: "mutation",
|
|
24345
|
-
auth: "
|
|
24374
|
+
auth: "protected"
|
|
24346
24375
|
}),
|
|
24347
24376
|
setPreset: method(object({
|
|
24348
24377
|
deviceId: number().int().nonnegative(),
|
|
24349
24378
|
preset: string().min(1)
|
|
24350
24379
|
}), _void(), {
|
|
24351
24380
|
kind: "mutation",
|
|
24352
|
-
auth: "
|
|
24381
|
+
auth: "protected"
|
|
24353
24382
|
}),
|
|
24354
24383
|
setTarget: method(object({
|
|
24355
24384
|
deviceId: number().int().nonnegative(),
|
|
24356
24385
|
target: number()
|
|
24357
24386
|
}), _void(), {
|
|
24358
24387
|
kind: "mutation",
|
|
24359
|
-
auth: "
|
|
24388
|
+
auth: "protected"
|
|
24360
24389
|
}),
|
|
24361
24390
|
setTargetRange: method(object({
|
|
24362
24391
|
deviceId: number().int().nonnegative(),
|
|
@@ -24364,28 +24393,28 @@ var climateControlCapability = {
|
|
|
24364
24393
|
targetHigh: number()
|
|
24365
24394
|
}), _void(), {
|
|
24366
24395
|
kind: "mutation",
|
|
24367
|
-
auth: "
|
|
24396
|
+
auth: "protected"
|
|
24368
24397
|
}),
|
|
24369
24398
|
setTargetHumidity: method(object({
|
|
24370
24399
|
deviceId: number().int().nonnegative(),
|
|
24371
24400
|
targetHumidity: number().min(0).max(100)
|
|
24372
24401
|
}), _void(), {
|
|
24373
24402
|
kind: "mutation",
|
|
24374
|
-
auth: "
|
|
24403
|
+
auth: "protected"
|
|
24375
24404
|
}),
|
|
24376
24405
|
setSwingVertical: method(object({
|
|
24377
24406
|
deviceId: number().int().nonnegative(),
|
|
24378
24407
|
on: boolean()
|
|
24379
24408
|
}), _void(), {
|
|
24380
24409
|
kind: "mutation",
|
|
24381
|
-
auth: "
|
|
24410
|
+
auth: "protected"
|
|
24382
24411
|
}),
|
|
24383
24412
|
setSwingHorizontal: method(object({
|
|
24384
24413
|
deviceId: number().int().nonnegative(),
|
|
24385
24414
|
on: boolean()
|
|
24386
24415
|
}), _void(), {
|
|
24387
24416
|
kind: "mutation",
|
|
24388
|
-
auth: "
|
|
24417
|
+
auth: "protected"
|
|
24389
24418
|
})
|
|
24390
24419
|
},
|
|
24391
24420
|
status: {
|
|
@@ -24485,7 +24514,7 @@ var colorCapability = {
|
|
|
24485
24514
|
color: ColorInputSchema
|
|
24486
24515
|
}), _void(), {
|
|
24487
24516
|
kind: "mutation",
|
|
24488
|
-
auth: "
|
|
24517
|
+
auth: "protected"
|
|
24489
24518
|
}) },
|
|
24490
24519
|
events: {
|
|
24491
24520
|
/**
|
|
@@ -24814,7 +24843,7 @@ var controlCapability = {
|
|
|
24814
24843
|
control: ControlSetValueInputSchema
|
|
24815
24844
|
}), _void(), {
|
|
24816
24845
|
kind: "mutation",
|
|
24817
|
-
auth: "
|
|
24846
|
+
auth: "protected"
|
|
24818
24847
|
}) },
|
|
24819
24848
|
status: {
|
|
24820
24849
|
schema: ControlStatusSchema,
|
|
@@ -24860,29 +24889,29 @@ var coverCapability = {
|
|
|
24860
24889
|
methods: {
|
|
24861
24890
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24862
24891
|
kind: "mutation",
|
|
24863
|
-
auth: "
|
|
24892
|
+
auth: "protected"
|
|
24864
24893
|
}),
|
|
24865
24894
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24866
24895
|
kind: "mutation",
|
|
24867
|
-
auth: "
|
|
24896
|
+
auth: "protected"
|
|
24868
24897
|
}),
|
|
24869
24898
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24870
24899
|
kind: "mutation",
|
|
24871
|
-
auth: "
|
|
24900
|
+
auth: "protected"
|
|
24872
24901
|
}),
|
|
24873
24902
|
setPosition: method(object({
|
|
24874
24903
|
deviceId: number().int().nonnegative(),
|
|
24875
24904
|
position: number().min(0).max(100)
|
|
24876
24905
|
}), _void(), {
|
|
24877
24906
|
kind: "mutation",
|
|
24878
|
-
auth: "
|
|
24907
|
+
auth: "protected"
|
|
24879
24908
|
}),
|
|
24880
24909
|
setTiltPosition: method(object({
|
|
24881
24910
|
deviceId: number().int().nonnegative(),
|
|
24882
24911
|
tiltPosition: number().min(0).max(100)
|
|
24883
24912
|
}), _void(), {
|
|
24884
24913
|
kind: "mutation",
|
|
24885
|
-
auth: "
|
|
24914
|
+
auth: "protected"
|
|
24886
24915
|
})
|
|
24887
24916
|
},
|
|
24888
24917
|
status: {
|
|
@@ -25665,28 +25694,28 @@ var fanControlCapability = {
|
|
|
25665
25694
|
percentage: number().min(0).max(100)
|
|
25666
25695
|
}), _void(), {
|
|
25667
25696
|
kind: "mutation",
|
|
25668
|
-
auth: "
|
|
25697
|
+
auth: "protected"
|
|
25669
25698
|
}),
|
|
25670
25699
|
setPreset: method(object({
|
|
25671
25700
|
deviceId: number().int().nonnegative(),
|
|
25672
25701
|
preset: string().min(1)
|
|
25673
25702
|
}), _void(), {
|
|
25674
25703
|
kind: "mutation",
|
|
25675
|
-
auth: "
|
|
25704
|
+
auth: "protected"
|
|
25676
25705
|
}),
|
|
25677
25706
|
setDirection: method(object({
|
|
25678
25707
|
deviceId: number().int().nonnegative(),
|
|
25679
25708
|
direction: FanDirectionSchema
|
|
25680
25709
|
}), _void(), {
|
|
25681
25710
|
kind: "mutation",
|
|
25682
|
-
auth: "
|
|
25711
|
+
auth: "protected"
|
|
25683
25712
|
}),
|
|
25684
25713
|
setOscillating: method(object({
|
|
25685
25714
|
deviceId: number().int().nonnegative(),
|
|
25686
25715
|
oscillating: boolean()
|
|
25687
25716
|
}), _void(), {
|
|
25688
25717
|
kind: "mutation",
|
|
25689
|
-
auth: "
|
|
25718
|
+
auth: "protected"
|
|
25690
25719
|
})
|
|
25691
25720
|
},
|
|
25692
25721
|
status: {
|
|
@@ -25908,21 +25937,21 @@ var humidifierCapability = {
|
|
|
25908
25937
|
on: boolean()
|
|
25909
25938
|
}), _void(), {
|
|
25910
25939
|
kind: "mutation",
|
|
25911
|
-
auth: "
|
|
25940
|
+
auth: "protected"
|
|
25912
25941
|
}),
|
|
25913
25942
|
setTargetHumidity: method(object({
|
|
25914
25943
|
deviceId: number().int().nonnegative(),
|
|
25915
25944
|
humidity: number().min(0).max(100)
|
|
25916
25945
|
}), _void(), {
|
|
25917
25946
|
kind: "mutation",
|
|
25918
|
-
auth: "
|
|
25947
|
+
auth: "protected"
|
|
25919
25948
|
}),
|
|
25920
25949
|
setMode: method(object({
|
|
25921
25950
|
deviceId: number().int().nonnegative(),
|
|
25922
25951
|
mode: string().min(1)
|
|
25923
25952
|
}), _void(), {
|
|
25924
25953
|
kind: "mutation",
|
|
25925
|
-
auth: "
|
|
25954
|
+
auth: "protected"
|
|
25926
25955
|
})
|
|
25927
25956
|
},
|
|
25928
25957
|
status: {
|
|
@@ -26623,15 +26652,15 @@ var lawnMowerControlCapability = {
|
|
|
26623
26652
|
methods: {
|
|
26624
26653
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26625
26654
|
kind: "mutation",
|
|
26626
|
-
auth: "
|
|
26655
|
+
auth: "protected"
|
|
26627
26656
|
}),
|
|
26628
26657
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26629
26658
|
kind: "mutation",
|
|
26630
|
-
auth: "
|
|
26659
|
+
auth: "protected"
|
|
26631
26660
|
}),
|
|
26632
26661
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26633
26662
|
kind: "mutation",
|
|
26634
|
-
auth: "
|
|
26663
|
+
auth: "protected"
|
|
26635
26664
|
})
|
|
26636
26665
|
},
|
|
26637
26666
|
status: {
|
|
@@ -26916,18 +26945,18 @@ var lockControlCapability = {
|
|
|
26916
26945
|
code: string().min(1).optional()
|
|
26917
26946
|
}), _void(), {
|
|
26918
26947
|
kind: "mutation",
|
|
26919
|
-
auth: "
|
|
26948
|
+
auth: "protected"
|
|
26920
26949
|
}),
|
|
26921
26950
|
unlock: method(object({
|
|
26922
26951
|
deviceId: number().int().nonnegative(),
|
|
26923
26952
|
code: string().min(1).optional()
|
|
26924
26953
|
}), _void(), {
|
|
26925
26954
|
kind: "mutation",
|
|
26926
|
-
auth: "
|
|
26955
|
+
auth: "protected"
|
|
26927
26956
|
}),
|
|
26928
26957
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26929
26958
|
kind: "mutation",
|
|
26930
|
-
auth: "
|
|
26959
|
+
auth: "protected"
|
|
26931
26960
|
})
|
|
26932
26961
|
},
|
|
26933
26962
|
status: {
|
|
@@ -27030,65 +27059,65 @@ var mediaPlayerCapability = {
|
|
|
27030
27059
|
methods: {
|
|
27031
27060
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27032
27061
|
kind: "mutation",
|
|
27033
|
-
auth: "
|
|
27062
|
+
auth: "protected"
|
|
27034
27063
|
}),
|
|
27035
27064
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27036
27065
|
kind: "mutation",
|
|
27037
|
-
auth: "
|
|
27066
|
+
auth: "protected"
|
|
27038
27067
|
}),
|
|
27039
27068
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27040
27069
|
kind: "mutation",
|
|
27041
|
-
auth: "
|
|
27070
|
+
auth: "protected"
|
|
27042
27071
|
}),
|
|
27043
27072
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27044
27073
|
kind: "mutation",
|
|
27045
|
-
auth: "
|
|
27074
|
+
auth: "protected"
|
|
27046
27075
|
}),
|
|
27047
27076
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27048
27077
|
kind: "mutation",
|
|
27049
|
-
auth: "
|
|
27078
|
+
auth: "protected"
|
|
27050
27079
|
}),
|
|
27051
27080
|
seek: method(object({
|
|
27052
27081
|
deviceId: number().int().nonnegative(),
|
|
27053
27082
|
positionMs: number().int().nonnegative()
|
|
27054
27083
|
}), _void(), {
|
|
27055
27084
|
kind: "mutation",
|
|
27056
|
-
auth: "
|
|
27085
|
+
auth: "protected"
|
|
27057
27086
|
}),
|
|
27058
27087
|
setVolume: method(object({
|
|
27059
27088
|
deviceId: number().int().nonnegative(),
|
|
27060
27089
|
volumeLevel: number().min(0).max(100)
|
|
27061
27090
|
}), _void(), {
|
|
27062
27091
|
kind: "mutation",
|
|
27063
|
-
auth: "
|
|
27092
|
+
auth: "protected"
|
|
27064
27093
|
}),
|
|
27065
27094
|
setMute: method(object({
|
|
27066
27095
|
deviceId: number().int().nonnegative(),
|
|
27067
27096
|
muted: boolean()
|
|
27068
27097
|
}), _void(), {
|
|
27069
27098
|
kind: "mutation",
|
|
27070
|
-
auth: "
|
|
27099
|
+
auth: "protected"
|
|
27071
27100
|
}),
|
|
27072
27101
|
setShuffle: method(object({
|
|
27073
27102
|
deviceId: number().int().nonnegative(),
|
|
27074
27103
|
shuffle: boolean()
|
|
27075
27104
|
}), _void(), {
|
|
27076
27105
|
kind: "mutation",
|
|
27077
|
-
auth: "
|
|
27106
|
+
auth: "protected"
|
|
27078
27107
|
}),
|
|
27079
27108
|
setRepeat: method(object({
|
|
27080
27109
|
deviceId: number().int().nonnegative(),
|
|
27081
27110
|
repeat: MediaPlayerRepeatSchema
|
|
27082
27111
|
}), _void(), {
|
|
27083
27112
|
kind: "mutation",
|
|
27084
|
-
auth: "
|
|
27113
|
+
auth: "protected"
|
|
27085
27114
|
}),
|
|
27086
27115
|
selectSource: method(object({
|
|
27087
27116
|
deviceId: number().int().nonnegative(),
|
|
27088
27117
|
source: string().min(1)
|
|
27089
27118
|
}), _void(), {
|
|
27090
27119
|
kind: "mutation",
|
|
27091
|
-
auth: "
|
|
27120
|
+
auth: "protected"
|
|
27092
27121
|
}),
|
|
27093
27122
|
playMedia: method(object({
|
|
27094
27123
|
deviceId: number().int().nonnegative(),
|
|
@@ -27099,7 +27128,7 @@ var mediaPlayerCapability = {
|
|
|
27099
27128
|
mediaType: string().min(1)
|
|
27100
27129
|
}), _void(), {
|
|
27101
27130
|
kind: "mutation",
|
|
27102
|
-
auth: "
|
|
27131
|
+
auth: "protected"
|
|
27103
27132
|
})
|
|
27104
27133
|
},
|
|
27105
27134
|
status: {
|
|
@@ -28692,27 +28721,27 @@ var petFeederCapability = {
|
|
|
28692
28721
|
hopper2: gramsPortion.optional()
|
|
28693
28722
|
}), _void(), {
|
|
28694
28723
|
kind: "mutation",
|
|
28695
|
-
auth: "
|
|
28724
|
+
auth: "protected"
|
|
28696
28725
|
}),
|
|
28697
28726
|
/** Cancel an in-progress manual feed. */
|
|
28698
28727
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28699
28728
|
kind: "mutation",
|
|
28700
|
-
auth: "
|
|
28729
|
+
auth: "protected"
|
|
28701
28730
|
}),
|
|
28702
28731
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28703
28732
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28704
28733
|
kind: "mutation",
|
|
28705
|
-
auth: "
|
|
28734
|
+
auth: "protected"
|
|
28706
28735
|
}),
|
|
28707
28736
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28708
28737
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28709
28738
|
kind: "mutation",
|
|
28710
|
-
auth: "
|
|
28739
|
+
auth: "protected"
|
|
28711
28740
|
}),
|
|
28712
28741
|
/** Call the pet with the recorded prompt (D3). */
|
|
28713
28742
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28714
28743
|
kind: "mutation",
|
|
28715
|
-
auth: "
|
|
28744
|
+
auth: "protected"
|
|
28716
28745
|
}),
|
|
28717
28746
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28718
28747
|
playSound: method(object({
|
|
@@ -28720,7 +28749,7 @@ var petFeederCapability = {
|
|
|
28720
28749
|
soundId: number().int().nonnegative()
|
|
28721
28750
|
}), _void(), {
|
|
28722
28751
|
kind: "mutation",
|
|
28723
|
-
auth: "
|
|
28752
|
+
auth: "protected"
|
|
28724
28753
|
}),
|
|
28725
28754
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28726
28755
|
setChildLock: method(object({
|
|
@@ -28728,7 +28757,7 @@ var petFeederCapability = {
|
|
|
28728
28757
|
on: boolean()
|
|
28729
28758
|
}), _void(), {
|
|
28730
28759
|
kind: "mutation",
|
|
28731
|
-
auth: "
|
|
28760
|
+
auth: "protected"
|
|
28732
28761
|
}),
|
|
28733
28762
|
/** Toggle the front indicator light. */
|
|
28734
28763
|
setIndicatorLight: method(object({
|
|
@@ -28736,7 +28765,7 @@ var petFeederCapability = {
|
|
|
28736
28765
|
on: boolean()
|
|
28737
28766
|
}), _void(), {
|
|
28738
28767
|
kind: "mutation",
|
|
28739
|
-
auth: "
|
|
28768
|
+
auth: "protected"
|
|
28740
28769
|
}),
|
|
28741
28770
|
/** Toggle the dispense chime. */
|
|
28742
28771
|
setFeedSound: method(object({
|
|
@@ -28744,7 +28773,7 @@ var petFeederCapability = {
|
|
|
28744
28773
|
on: boolean()
|
|
28745
28774
|
}), _void(), {
|
|
28746
28775
|
kind: "mutation",
|
|
28747
|
-
auth: "
|
|
28776
|
+
auth: "protected"
|
|
28748
28777
|
}),
|
|
28749
28778
|
/** Set the speaker / prompt volume level. */
|
|
28750
28779
|
setVolume: method(object({
|
|
@@ -28752,7 +28781,7 @@ var petFeederCapability = {
|
|
|
28752
28781
|
level: number().int().nonnegative()
|
|
28753
28782
|
}), _void(), {
|
|
28754
28783
|
kind: "mutation",
|
|
28755
|
-
auth: "
|
|
28784
|
+
auth: "protected"
|
|
28756
28785
|
})
|
|
28757
28786
|
},
|
|
28758
28787
|
status: {
|
|
@@ -31048,7 +31077,7 @@ var switchCapability = {
|
|
|
31048
31077
|
on: boolean()
|
|
31049
31078
|
}), _void(), {
|
|
31050
31079
|
kind: "mutation",
|
|
31051
|
-
auth: "
|
|
31080
|
+
auth: "protected"
|
|
31052
31081
|
}) },
|
|
31053
31082
|
events: { onStateChanged: { data: object({
|
|
31054
31083
|
deviceId: number(),
|
|
@@ -32036,30 +32065,30 @@ var vacuumControlCapability = {
|
|
|
32036
32065
|
methods: {
|
|
32037
32066
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32038
32067
|
kind: "mutation",
|
|
32039
|
-
auth: "
|
|
32068
|
+
auth: "protected"
|
|
32040
32069
|
}),
|
|
32041
32070
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32042
32071
|
kind: "mutation",
|
|
32043
|
-
auth: "
|
|
32072
|
+
auth: "protected"
|
|
32044
32073
|
}),
|
|
32045
32074
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32046
32075
|
kind: "mutation",
|
|
32047
|
-
auth: "
|
|
32076
|
+
auth: "protected"
|
|
32048
32077
|
}),
|
|
32049
32078
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32050
32079
|
kind: "mutation",
|
|
32051
|
-
auth: "
|
|
32080
|
+
auth: "protected"
|
|
32052
32081
|
}),
|
|
32053
32082
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32054
32083
|
kind: "mutation",
|
|
32055
|
-
auth: "
|
|
32084
|
+
auth: "protected"
|
|
32056
32085
|
}),
|
|
32057
32086
|
setFanSpeed: method(object({
|
|
32058
32087
|
deviceId: number().int().nonnegative(),
|
|
32059
32088
|
speed: string().min(1)
|
|
32060
32089
|
}), _void(), {
|
|
32061
32090
|
kind: "mutation",
|
|
32062
|
-
auth: "
|
|
32091
|
+
auth: "protected"
|
|
32063
32092
|
})
|
|
32064
32093
|
},
|
|
32065
32094
|
status: {
|
|
@@ -32103,22 +32132,22 @@ var valveCapability = {
|
|
|
32103
32132
|
methods: {
|
|
32104
32133
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32105
32134
|
kind: "mutation",
|
|
32106
|
-
auth: "
|
|
32135
|
+
auth: "protected"
|
|
32107
32136
|
}),
|
|
32108
32137
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32109
32138
|
kind: "mutation",
|
|
32110
|
-
auth: "
|
|
32139
|
+
auth: "protected"
|
|
32111
32140
|
}),
|
|
32112
32141
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32113
32142
|
kind: "mutation",
|
|
32114
|
-
auth: "
|
|
32143
|
+
auth: "protected"
|
|
32115
32144
|
}),
|
|
32116
32145
|
setPosition: method(object({
|
|
32117
32146
|
deviceId: number().int().nonnegative(),
|
|
32118
32147
|
position: number().min(0).max(100)
|
|
32119
32148
|
}), _void(), {
|
|
32120
32149
|
kind: "mutation",
|
|
32121
|
-
auth: "
|
|
32150
|
+
auth: "protected"
|
|
32122
32151
|
})
|
|
32123
32152
|
},
|
|
32124
32153
|
status: {
|
|
@@ -32217,21 +32246,21 @@ var waterHeaterCapability = {
|
|
|
32217
32246
|
temp: number().finite()
|
|
32218
32247
|
}), _void(), {
|
|
32219
32248
|
kind: "mutation",
|
|
32220
|
-
auth: "
|
|
32249
|
+
auth: "protected"
|
|
32221
32250
|
}),
|
|
32222
32251
|
setOperationMode: method(object({
|
|
32223
32252
|
deviceId: number().int().nonnegative(),
|
|
32224
32253
|
mode: string().min(1)
|
|
32225
32254
|
}), _void(), {
|
|
32226
32255
|
kind: "mutation",
|
|
32227
|
-
auth: "
|
|
32256
|
+
auth: "protected"
|
|
32228
32257
|
}),
|
|
32229
32258
|
setAway: method(object({
|
|
32230
32259
|
deviceId: number().int().nonnegative(),
|
|
32231
32260
|
on: boolean()
|
|
32232
32261
|
}), _void(), {
|
|
32233
32262
|
kind: "mutation",
|
|
32234
|
-
auth: "
|
|
32263
|
+
auth: "protected"
|
|
32235
32264
|
})
|
|
32236
32265
|
},
|
|
32237
32266
|
status: {
|
|
@@ -37501,6 +37530,12 @@ Object.freeze({
|
|
|
37501
37530
|
addonId: null,
|
|
37502
37531
|
access: "view"
|
|
37503
37532
|
},
|
|
37533
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37534
|
+
capName: "pipeline-analytics",
|
|
37535
|
+
capScope: "device",
|
|
37536
|
+
addonId: null,
|
|
37537
|
+
access: "view"
|
|
37538
|
+
},
|
|
37504
37539
|
"pipelineAnalytics.listEventKinds": {
|
|
37505
37540
|
capName: "pipeline-analytics",
|
|
37506
37541
|
capScope: "device",
|
|
@@ -41288,6 +41323,11 @@ Object.freeze({
|
|
|
41288
41323
|
form: "array",
|
|
41289
41324
|
optional: true
|
|
41290
41325
|
}],
|
|
41326
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41327
|
+
name: "deviceId",
|
|
41328
|
+
form: "single",
|
|
41329
|
+
optional: true
|
|
41330
|
+
}],
|
|
41291
41331
|
"pipelineAnalytics.listEventKinds": [{
|
|
41292
41332
|
name: "deviceId",
|
|
41293
41333
|
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
|
/**
|
|
@@ -24141,7 +24170,7 @@ var buttonCapability = {
|
|
|
24141
24170
|
deviceTypes: [DeviceType.Button],
|
|
24142
24171
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24143
24172
|
kind: "mutation",
|
|
24144
|
-
auth: "
|
|
24173
|
+
auth: "protected"
|
|
24145
24174
|
}) }
|
|
24146
24175
|
};
|
|
24147
24176
|
/**
|
|
@@ -24334,28 +24363,28 @@ var climateControlCapability = {
|
|
|
24334
24363
|
mode: HvacModeSchema
|
|
24335
24364
|
}), _void(), {
|
|
24336
24365
|
kind: "mutation",
|
|
24337
|
-
auth: "
|
|
24366
|
+
auth: "protected"
|
|
24338
24367
|
}),
|
|
24339
24368
|
setFanMode: method(object({
|
|
24340
24369
|
deviceId: number().int().nonnegative(),
|
|
24341
24370
|
fanMode: string().min(1)
|
|
24342
24371
|
}), _void(), {
|
|
24343
24372
|
kind: "mutation",
|
|
24344
|
-
auth: "
|
|
24373
|
+
auth: "protected"
|
|
24345
24374
|
}),
|
|
24346
24375
|
setPreset: method(object({
|
|
24347
24376
|
deviceId: number().int().nonnegative(),
|
|
24348
24377
|
preset: string().min(1)
|
|
24349
24378
|
}), _void(), {
|
|
24350
24379
|
kind: "mutation",
|
|
24351
|
-
auth: "
|
|
24380
|
+
auth: "protected"
|
|
24352
24381
|
}),
|
|
24353
24382
|
setTarget: method(object({
|
|
24354
24383
|
deviceId: number().int().nonnegative(),
|
|
24355
24384
|
target: number()
|
|
24356
24385
|
}), _void(), {
|
|
24357
24386
|
kind: "mutation",
|
|
24358
|
-
auth: "
|
|
24387
|
+
auth: "protected"
|
|
24359
24388
|
}),
|
|
24360
24389
|
setTargetRange: method(object({
|
|
24361
24390
|
deviceId: number().int().nonnegative(),
|
|
@@ -24363,28 +24392,28 @@ var climateControlCapability = {
|
|
|
24363
24392
|
targetHigh: number()
|
|
24364
24393
|
}), _void(), {
|
|
24365
24394
|
kind: "mutation",
|
|
24366
|
-
auth: "
|
|
24395
|
+
auth: "protected"
|
|
24367
24396
|
}),
|
|
24368
24397
|
setTargetHumidity: method(object({
|
|
24369
24398
|
deviceId: number().int().nonnegative(),
|
|
24370
24399
|
targetHumidity: number().min(0).max(100)
|
|
24371
24400
|
}), _void(), {
|
|
24372
24401
|
kind: "mutation",
|
|
24373
|
-
auth: "
|
|
24402
|
+
auth: "protected"
|
|
24374
24403
|
}),
|
|
24375
24404
|
setSwingVertical: method(object({
|
|
24376
24405
|
deviceId: number().int().nonnegative(),
|
|
24377
24406
|
on: boolean()
|
|
24378
24407
|
}), _void(), {
|
|
24379
24408
|
kind: "mutation",
|
|
24380
|
-
auth: "
|
|
24409
|
+
auth: "protected"
|
|
24381
24410
|
}),
|
|
24382
24411
|
setSwingHorizontal: method(object({
|
|
24383
24412
|
deviceId: number().int().nonnegative(),
|
|
24384
24413
|
on: boolean()
|
|
24385
24414
|
}), _void(), {
|
|
24386
24415
|
kind: "mutation",
|
|
24387
|
-
auth: "
|
|
24416
|
+
auth: "protected"
|
|
24388
24417
|
})
|
|
24389
24418
|
},
|
|
24390
24419
|
status: {
|
|
@@ -24484,7 +24513,7 @@ var colorCapability = {
|
|
|
24484
24513
|
color: ColorInputSchema
|
|
24485
24514
|
}), _void(), {
|
|
24486
24515
|
kind: "mutation",
|
|
24487
|
-
auth: "
|
|
24516
|
+
auth: "protected"
|
|
24488
24517
|
}) },
|
|
24489
24518
|
events: {
|
|
24490
24519
|
/**
|
|
@@ -24813,7 +24842,7 @@ var controlCapability = {
|
|
|
24813
24842
|
control: ControlSetValueInputSchema
|
|
24814
24843
|
}), _void(), {
|
|
24815
24844
|
kind: "mutation",
|
|
24816
|
-
auth: "
|
|
24845
|
+
auth: "protected"
|
|
24817
24846
|
}) },
|
|
24818
24847
|
status: {
|
|
24819
24848
|
schema: ControlStatusSchema,
|
|
@@ -24859,29 +24888,29 @@ var coverCapability = {
|
|
|
24859
24888
|
methods: {
|
|
24860
24889
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24861
24890
|
kind: "mutation",
|
|
24862
|
-
auth: "
|
|
24891
|
+
auth: "protected"
|
|
24863
24892
|
}),
|
|
24864
24893
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24865
24894
|
kind: "mutation",
|
|
24866
|
-
auth: "
|
|
24895
|
+
auth: "protected"
|
|
24867
24896
|
}),
|
|
24868
24897
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24869
24898
|
kind: "mutation",
|
|
24870
|
-
auth: "
|
|
24899
|
+
auth: "protected"
|
|
24871
24900
|
}),
|
|
24872
24901
|
setPosition: method(object({
|
|
24873
24902
|
deviceId: number().int().nonnegative(),
|
|
24874
24903
|
position: number().min(0).max(100)
|
|
24875
24904
|
}), _void(), {
|
|
24876
24905
|
kind: "mutation",
|
|
24877
|
-
auth: "
|
|
24906
|
+
auth: "protected"
|
|
24878
24907
|
}),
|
|
24879
24908
|
setTiltPosition: method(object({
|
|
24880
24909
|
deviceId: number().int().nonnegative(),
|
|
24881
24910
|
tiltPosition: number().min(0).max(100)
|
|
24882
24911
|
}), _void(), {
|
|
24883
24912
|
kind: "mutation",
|
|
24884
|
-
auth: "
|
|
24913
|
+
auth: "protected"
|
|
24885
24914
|
})
|
|
24886
24915
|
},
|
|
24887
24916
|
status: {
|
|
@@ -25664,28 +25693,28 @@ var fanControlCapability = {
|
|
|
25664
25693
|
percentage: number().min(0).max(100)
|
|
25665
25694
|
}), _void(), {
|
|
25666
25695
|
kind: "mutation",
|
|
25667
|
-
auth: "
|
|
25696
|
+
auth: "protected"
|
|
25668
25697
|
}),
|
|
25669
25698
|
setPreset: method(object({
|
|
25670
25699
|
deviceId: number().int().nonnegative(),
|
|
25671
25700
|
preset: string().min(1)
|
|
25672
25701
|
}), _void(), {
|
|
25673
25702
|
kind: "mutation",
|
|
25674
|
-
auth: "
|
|
25703
|
+
auth: "protected"
|
|
25675
25704
|
}),
|
|
25676
25705
|
setDirection: method(object({
|
|
25677
25706
|
deviceId: number().int().nonnegative(),
|
|
25678
25707
|
direction: FanDirectionSchema
|
|
25679
25708
|
}), _void(), {
|
|
25680
25709
|
kind: "mutation",
|
|
25681
|
-
auth: "
|
|
25710
|
+
auth: "protected"
|
|
25682
25711
|
}),
|
|
25683
25712
|
setOscillating: method(object({
|
|
25684
25713
|
deviceId: number().int().nonnegative(),
|
|
25685
25714
|
oscillating: boolean()
|
|
25686
25715
|
}), _void(), {
|
|
25687
25716
|
kind: "mutation",
|
|
25688
|
-
auth: "
|
|
25717
|
+
auth: "protected"
|
|
25689
25718
|
})
|
|
25690
25719
|
},
|
|
25691
25720
|
status: {
|
|
@@ -25907,21 +25936,21 @@ var humidifierCapability = {
|
|
|
25907
25936
|
on: boolean()
|
|
25908
25937
|
}), _void(), {
|
|
25909
25938
|
kind: "mutation",
|
|
25910
|
-
auth: "
|
|
25939
|
+
auth: "protected"
|
|
25911
25940
|
}),
|
|
25912
25941
|
setTargetHumidity: method(object({
|
|
25913
25942
|
deviceId: number().int().nonnegative(),
|
|
25914
25943
|
humidity: number().min(0).max(100)
|
|
25915
25944
|
}), _void(), {
|
|
25916
25945
|
kind: "mutation",
|
|
25917
|
-
auth: "
|
|
25946
|
+
auth: "protected"
|
|
25918
25947
|
}),
|
|
25919
25948
|
setMode: method(object({
|
|
25920
25949
|
deviceId: number().int().nonnegative(),
|
|
25921
25950
|
mode: string().min(1)
|
|
25922
25951
|
}), _void(), {
|
|
25923
25952
|
kind: "mutation",
|
|
25924
|
-
auth: "
|
|
25953
|
+
auth: "protected"
|
|
25925
25954
|
})
|
|
25926
25955
|
},
|
|
25927
25956
|
status: {
|
|
@@ -26622,15 +26651,15 @@ var lawnMowerControlCapability = {
|
|
|
26622
26651
|
methods: {
|
|
26623
26652
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26624
26653
|
kind: "mutation",
|
|
26625
|
-
auth: "
|
|
26654
|
+
auth: "protected"
|
|
26626
26655
|
}),
|
|
26627
26656
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26628
26657
|
kind: "mutation",
|
|
26629
|
-
auth: "
|
|
26658
|
+
auth: "protected"
|
|
26630
26659
|
}),
|
|
26631
26660
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26632
26661
|
kind: "mutation",
|
|
26633
|
-
auth: "
|
|
26662
|
+
auth: "protected"
|
|
26634
26663
|
})
|
|
26635
26664
|
},
|
|
26636
26665
|
status: {
|
|
@@ -26915,18 +26944,18 @@ var lockControlCapability = {
|
|
|
26915
26944
|
code: string().min(1).optional()
|
|
26916
26945
|
}), _void(), {
|
|
26917
26946
|
kind: "mutation",
|
|
26918
|
-
auth: "
|
|
26947
|
+
auth: "protected"
|
|
26919
26948
|
}),
|
|
26920
26949
|
unlock: method(object({
|
|
26921
26950
|
deviceId: number().int().nonnegative(),
|
|
26922
26951
|
code: string().min(1).optional()
|
|
26923
26952
|
}), _void(), {
|
|
26924
26953
|
kind: "mutation",
|
|
26925
|
-
auth: "
|
|
26954
|
+
auth: "protected"
|
|
26926
26955
|
}),
|
|
26927
26956
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26928
26957
|
kind: "mutation",
|
|
26929
|
-
auth: "
|
|
26958
|
+
auth: "protected"
|
|
26930
26959
|
})
|
|
26931
26960
|
},
|
|
26932
26961
|
status: {
|
|
@@ -27029,65 +27058,65 @@ var mediaPlayerCapability = {
|
|
|
27029
27058
|
methods: {
|
|
27030
27059
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27031
27060
|
kind: "mutation",
|
|
27032
|
-
auth: "
|
|
27061
|
+
auth: "protected"
|
|
27033
27062
|
}),
|
|
27034
27063
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27035
27064
|
kind: "mutation",
|
|
27036
|
-
auth: "
|
|
27065
|
+
auth: "protected"
|
|
27037
27066
|
}),
|
|
27038
27067
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27039
27068
|
kind: "mutation",
|
|
27040
|
-
auth: "
|
|
27069
|
+
auth: "protected"
|
|
27041
27070
|
}),
|
|
27042
27071
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27043
27072
|
kind: "mutation",
|
|
27044
|
-
auth: "
|
|
27073
|
+
auth: "protected"
|
|
27045
27074
|
}),
|
|
27046
27075
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27047
27076
|
kind: "mutation",
|
|
27048
|
-
auth: "
|
|
27077
|
+
auth: "protected"
|
|
27049
27078
|
}),
|
|
27050
27079
|
seek: method(object({
|
|
27051
27080
|
deviceId: number().int().nonnegative(),
|
|
27052
27081
|
positionMs: number().int().nonnegative()
|
|
27053
27082
|
}), _void(), {
|
|
27054
27083
|
kind: "mutation",
|
|
27055
|
-
auth: "
|
|
27084
|
+
auth: "protected"
|
|
27056
27085
|
}),
|
|
27057
27086
|
setVolume: method(object({
|
|
27058
27087
|
deviceId: number().int().nonnegative(),
|
|
27059
27088
|
volumeLevel: number().min(0).max(100)
|
|
27060
27089
|
}), _void(), {
|
|
27061
27090
|
kind: "mutation",
|
|
27062
|
-
auth: "
|
|
27091
|
+
auth: "protected"
|
|
27063
27092
|
}),
|
|
27064
27093
|
setMute: method(object({
|
|
27065
27094
|
deviceId: number().int().nonnegative(),
|
|
27066
27095
|
muted: boolean()
|
|
27067
27096
|
}), _void(), {
|
|
27068
27097
|
kind: "mutation",
|
|
27069
|
-
auth: "
|
|
27098
|
+
auth: "protected"
|
|
27070
27099
|
}),
|
|
27071
27100
|
setShuffle: method(object({
|
|
27072
27101
|
deviceId: number().int().nonnegative(),
|
|
27073
27102
|
shuffle: boolean()
|
|
27074
27103
|
}), _void(), {
|
|
27075
27104
|
kind: "mutation",
|
|
27076
|
-
auth: "
|
|
27105
|
+
auth: "protected"
|
|
27077
27106
|
}),
|
|
27078
27107
|
setRepeat: method(object({
|
|
27079
27108
|
deviceId: number().int().nonnegative(),
|
|
27080
27109
|
repeat: MediaPlayerRepeatSchema
|
|
27081
27110
|
}), _void(), {
|
|
27082
27111
|
kind: "mutation",
|
|
27083
|
-
auth: "
|
|
27112
|
+
auth: "protected"
|
|
27084
27113
|
}),
|
|
27085
27114
|
selectSource: method(object({
|
|
27086
27115
|
deviceId: number().int().nonnegative(),
|
|
27087
27116
|
source: string().min(1)
|
|
27088
27117
|
}), _void(), {
|
|
27089
27118
|
kind: "mutation",
|
|
27090
|
-
auth: "
|
|
27119
|
+
auth: "protected"
|
|
27091
27120
|
}),
|
|
27092
27121
|
playMedia: method(object({
|
|
27093
27122
|
deviceId: number().int().nonnegative(),
|
|
@@ -27098,7 +27127,7 @@ var mediaPlayerCapability = {
|
|
|
27098
27127
|
mediaType: string().min(1)
|
|
27099
27128
|
}), _void(), {
|
|
27100
27129
|
kind: "mutation",
|
|
27101
|
-
auth: "
|
|
27130
|
+
auth: "protected"
|
|
27102
27131
|
})
|
|
27103
27132
|
},
|
|
27104
27133
|
status: {
|
|
@@ -28691,27 +28720,27 @@ var petFeederCapability = {
|
|
|
28691
28720
|
hopper2: gramsPortion.optional()
|
|
28692
28721
|
}), _void(), {
|
|
28693
28722
|
kind: "mutation",
|
|
28694
|
-
auth: "
|
|
28723
|
+
auth: "protected"
|
|
28695
28724
|
}),
|
|
28696
28725
|
/** Cancel an in-progress manual feed. */
|
|
28697
28726
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28698
28727
|
kind: "mutation",
|
|
28699
|
-
auth: "
|
|
28728
|
+
auth: "protected"
|
|
28700
28729
|
}),
|
|
28701
28730
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28702
28731
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28703
28732
|
kind: "mutation",
|
|
28704
|
-
auth: "
|
|
28733
|
+
auth: "protected"
|
|
28705
28734
|
}),
|
|
28706
28735
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28707
28736
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28708
28737
|
kind: "mutation",
|
|
28709
|
-
auth: "
|
|
28738
|
+
auth: "protected"
|
|
28710
28739
|
}),
|
|
28711
28740
|
/** Call the pet with the recorded prompt (D3). */
|
|
28712
28741
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28713
28742
|
kind: "mutation",
|
|
28714
|
-
auth: "
|
|
28743
|
+
auth: "protected"
|
|
28715
28744
|
}),
|
|
28716
28745
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28717
28746
|
playSound: method(object({
|
|
@@ -28719,7 +28748,7 @@ var petFeederCapability = {
|
|
|
28719
28748
|
soundId: number().int().nonnegative()
|
|
28720
28749
|
}), _void(), {
|
|
28721
28750
|
kind: "mutation",
|
|
28722
|
-
auth: "
|
|
28751
|
+
auth: "protected"
|
|
28723
28752
|
}),
|
|
28724
28753
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28725
28754
|
setChildLock: 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
|
/** Toggle the front indicator light. */
|
|
28733
28762
|
setIndicatorLight: method(object({
|
|
@@ -28735,7 +28764,7 @@ var petFeederCapability = {
|
|
|
28735
28764
|
on: boolean()
|
|
28736
28765
|
}), _void(), {
|
|
28737
28766
|
kind: "mutation",
|
|
28738
|
-
auth: "
|
|
28767
|
+
auth: "protected"
|
|
28739
28768
|
}),
|
|
28740
28769
|
/** Toggle the dispense chime. */
|
|
28741
28770
|
setFeedSound: method(object({
|
|
@@ -28743,7 +28772,7 @@ var petFeederCapability = {
|
|
|
28743
28772
|
on: boolean()
|
|
28744
28773
|
}), _void(), {
|
|
28745
28774
|
kind: "mutation",
|
|
28746
|
-
auth: "
|
|
28775
|
+
auth: "protected"
|
|
28747
28776
|
}),
|
|
28748
28777
|
/** Set the speaker / prompt volume level. */
|
|
28749
28778
|
setVolume: method(object({
|
|
@@ -28751,7 +28780,7 @@ var petFeederCapability = {
|
|
|
28751
28780
|
level: number().int().nonnegative()
|
|
28752
28781
|
}), _void(), {
|
|
28753
28782
|
kind: "mutation",
|
|
28754
|
-
auth: "
|
|
28783
|
+
auth: "protected"
|
|
28755
28784
|
})
|
|
28756
28785
|
},
|
|
28757
28786
|
status: {
|
|
@@ -31047,7 +31076,7 @@ var switchCapability = {
|
|
|
31047
31076
|
on: boolean()
|
|
31048
31077
|
}), _void(), {
|
|
31049
31078
|
kind: "mutation",
|
|
31050
|
-
auth: "
|
|
31079
|
+
auth: "protected"
|
|
31051
31080
|
}) },
|
|
31052
31081
|
events: { onStateChanged: { data: object({
|
|
31053
31082
|
deviceId: number(),
|
|
@@ -32035,30 +32064,30 @@ var vacuumControlCapability = {
|
|
|
32035
32064
|
methods: {
|
|
32036
32065
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32037
32066
|
kind: "mutation",
|
|
32038
|
-
auth: "
|
|
32067
|
+
auth: "protected"
|
|
32039
32068
|
}),
|
|
32040
32069
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32041
32070
|
kind: "mutation",
|
|
32042
|
-
auth: "
|
|
32071
|
+
auth: "protected"
|
|
32043
32072
|
}),
|
|
32044
32073
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32045
32074
|
kind: "mutation",
|
|
32046
|
-
auth: "
|
|
32075
|
+
auth: "protected"
|
|
32047
32076
|
}),
|
|
32048
32077
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32049
32078
|
kind: "mutation",
|
|
32050
|
-
auth: "
|
|
32079
|
+
auth: "protected"
|
|
32051
32080
|
}),
|
|
32052
32081
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32053
32082
|
kind: "mutation",
|
|
32054
|
-
auth: "
|
|
32083
|
+
auth: "protected"
|
|
32055
32084
|
}),
|
|
32056
32085
|
setFanSpeed: method(object({
|
|
32057
32086
|
deviceId: number().int().nonnegative(),
|
|
32058
32087
|
speed: string().min(1)
|
|
32059
32088
|
}), _void(), {
|
|
32060
32089
|
kind: "mutation",
|
|
32061
|
-
auth: "
|
|
32090
|
+
auth: "protected"
|
|
32062
32091
|
})
|
|
32063
32092
|
},
|
|
32064
32093
|
status: {
|
|
@@ -32102,22 +32131,22 @@ var valveCapability = {
|
|
|
32102
32131
|
methods: {
|
|
32103
32132
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32104
32133
|
kind: "mutation",
|
|
32105
|
-
auth: "
|
|
32134
|
+
auth: "protected"
|
|
32106
32135
|
}),
|
|
32107
32136
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32108
32137
|
kind: "mutation",
|
|
32109
|
-
auth: "
|
|
32138
|
+
auth: "protected"
|
|
32110
32139
|
}),
|
|
32111
32140
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32112
32141
|
kind: "mutation",
|
|
32113
|
-
auth: "
|
|
32142
|
+
auth: "protected"
|
|
32114
32143
|
}),
|
|
32115
32144
|
setPosition: method(object({
|
|
32116
32145
|
deviceId: number().int().nonnegative(),
|
|
32117
32146
|
position: number().min(0).max(100)
|
|
32118
32147
|
}), _void(), {
|
|
32119
32148
|
kind: "mutation",
|
|
32120
|
-
auth: "
|
|
32149
|
+
auth: "protected"
|
|
32121
32150
|
})
|
|
32122
32151
|
},
|
|
32123
32152
|
status: {
|
|
@@ -32216,21 +32245,21 @@ var waterHeaterCapability = {
|
|
|
32216
32245
|
temp: number().finite()
|
|
32217
32246
|
}), _void(), {
|
|
32218
32247
|
kind: "mutation",
|
|
32219
|
-
auth: "
|
|
32248
|
+
auth: "protected"
|
|
32220
32249
|
}),
|
|
32221
32250
|
setOperationMode: method(object({
|
|
32222
32251
|
deviceId: number().int().nonnegative(),
|
|
32223
32252
|
mode: string().min(1)
|
|
32224
32253
|
}), _void(), {
|
|
32225
32254
|
kind: "mutation",
|
|
32226
|
-
auth: "
|
|
32255
|
+
auth: "protected"
|
|
32227
32256
|
}),
|
|
32228
32257
|
setAway: method(object({
|
|
32229
32258
|
deviceId: number().int().nonnegative(),
|
|
32230
32259
|
on: boolean()
|
|
32231
32260
|
}), _void(), {
|
|
32232
32261
|
kind: "mutation",
|
|
32233
|
-
auth: "
|
|
32262
|
+
auth: "protected"
|
|
32234
32263
|
})
|
|
32235
32264
|
},
|
|
32236
32265
|
status: {
|
|
@@ -37500,6 +37529,12 @@ Object.freeze({
|
|
|
37500
37529
|
addonId: null,
|
|
37501
37530
|
access: "view"
|
|
37502
37531
|
},
|
|
37532
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37533
|
+
capName: "pipeline-analytics",
|
|
37534
|
+
capScope: "device",
|
|
37535
|
+
addonId: null,
|
|
37536
|
+
access: "view"
|
|
37537
|
+
},
|
|
37503
37538
|
"pipelineAnalytics.listEventKinds": {
|
|
37504
37539
|
capName: "pipeline-analytics",
|
|
37505
37540
|
capScope: "device",
|
|
@@ -41287,6 +41322,11 @@ Object.freeze({
|
|
|
41287
41322
|
form: "array",
|
|
41288
41323
|
optional: true
|
|
41289
41324
|
}],
|
|
41325
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41326
|
+
name: "deviceId",
|
|
41327
|
+
form: "single",
|
|
41328
|
+
optional: true
|
|
41329
|
+
}],
|
|
41290
41330
|
"pipelineAnalytics.listEventKinds": [{
|
|
41291
41331
|
name: "deviceId",
|
|
41292
41332
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unifi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.87",
|
|
4
4
|
"description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|