@camstack/addon-provider-tuya 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
|
@@ -8447,6 +8447,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
8447
8447
|
/** Unix ms when the group was composed server-side. */
|
|
8448
8448
|
fetchedAt: number()
|
|
8449
8449
|
});
|
|
8450
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
8451
|
+
* they were looking at, after the track itself is gone. */
|
|
8452
|
+
var ArchivedDebugNoteSchema = object({
|
|
8453
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
8454
|
+
* same sentence about the same track lands on the row already there. */
|
|
8455
|
+
id: string(),
|
|
8456
|
+
/** The operator's own words, verbatim. */
|
|
8457
|
+
note: string(),
|
|
8458
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
8459
|
+
deviceId: number().int(),
|
|
8460
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
8461
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
8462
|
+
sourceTrackId: string(),
|
|
8463
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
8464
|
+
archivedAt: number().int(),
|
|
8465
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
8466
|
+
trackStartedAt: number().int().nullable(),
|
|
8467
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
8468
|
+
trackClass: string().nullable(),
|
|
8469
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
8470
|
+
trackLabel: string().nullable()
|
|
8471
|
+
});
|
|
8472
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
8473
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
8474
|
+
/** Restrict to a single camera; omit for every row. */
|
|
8475
|
+
deviceId: number().int().optional(),
|
|
8476
|
+
/** Max rows returned, newest-first. */
|
|
8477
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
8478
|
+
});
|
|
8450
8479
|
/**
|
|
8451
8480
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
8452
8481
|
* recordings and events management surfaces.
|
|
@@ -16945,14 +16974,14 @@ var alarmPanelCapability = {
|
|
|
16945
16974
|
code: string().min(1).optional()
|
|
16946
16975
|
}), _void(), {
|
|
16947
16976
|
kind: "mutation",
|
|
16948
|
-
auth: "
|
|
16977
|
+
auth: "protected"
|
|
16949
16978
|
}),
|
|
16950
16979
|
disarm: method(object({
|
|
16951
16980
|
deviceId: number().int().nonnegative(),
|
|
16952
16981
|
code: string().min(1).optional()
|
|
16953
16982
|
}), _void(), {
|
|
16954
16983
|
kind: "mutation",
|
|
16955
|
-
auth: "
|
|
16984
|
+
auth: "protected"
|
|
16956
16985
|
}),
|
|
16957
16986
|
/**
|
|
16958
16987
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16963,7 +16992,7 @@ var alarmPanelCapability = {
|
|
|
16963
16992
|
*/
|
|
16964
16993
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16965
16994
|
kind: "mutation",
|
|
16966
|
-
auth: "
|
|
16995
|
+
auth: "protected"
|
|
16967
16996
|
})
|
|
16968
16997
|
},
|
|
16969
16998
|
status: {
|
|
@@ -20927,7 +20956,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20927
20956
|
deviceId: number(),
|
|
20928
20957
|
trackId: string(),
|
|
20929
20958
|
flags: TrackFlagsPatchSchema
|
|
20930
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20959
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20931
20960
|
kind: "query",
|
|
20932
20961
|
auth: "admin"
|
|
20933
20962
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24930,7 +24959,7 @@ var brightnessCapability = {
|
|
|
24930
24959
|
percentage: number().min(0).max(100)
|
|
24931
24960
|
}), _void(), {
|
|
24932
24961
|
kind: "mutation",
|
|
24933
|
-
auth: "
|
|
24962
|
+
auth: "protected"
|
|
24934
24963
|
}) },
|
|
24935
24964
|
events: {
|
|
24936
24965
|
/**
|
|
@@ -24963,7 +24992,7 @@ onBrightnessChanged: { data: object({
|
|
|
24963
24992
|
};
|
|
24964
24993
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24965
24994
|
kind: "mutation",
|
|
24966
|
-
auth: "
|
|
24995
|
+
auth: "protected"
|
|
24967
24996
|
});
|
|
24968
24997
|
/**
|
|
24969
24998
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -25155,28 +25184,28 @@ var climateControlCapability = {
|
|
|
25155
25184
|
mode: HvacModeSchema
|
|
25156
25185
|
}), _void(), {
|
|
25157
25186
|
kind: "mutation",
|
|
25158
|
-
auth: "
|
|
25187
|
+
auth: "protected"
|
|
25159
25188
|
}),
|
|
25160
25189
|
setFanMode: method(object({
|
|
25161
25190
|
deviceId: number().int().nonnegative(),
|
|
25162
25191
|
fanMode: string().min(1)
|
|
25163
25192
|
}), _void(), {
|
|
25164
25193
|
kind: "mutation",
|
|
25165
|
-
auth: "
|
|
25194
|
+
auth: "protected"
|
|
25166
25195
|
}),
|
|
25167
25196
|
setPreset: method(object({
|
|
25168
25197
|
deviceId: number().int().nonnegative(),
|
|
25169
25198
|
preset: string().min(1)
|
|
25170
25199
|
}), _void(), {
|
|
25171
25200
|
kind: "mutation",
|
|
25172
|
-
auth: "
|
|
25201
|
+
auth: "protected"
|
|
25173
25202
|
}),
|
|
25174
25203
|
setTarget: method(object({
|
|
25175
25204
|
deviceId: number().int().nonnegative(),
|
|
25176
25205
|
target: number()
|
|
25177
25206
|
}), _void(), {
|
|
25178
25207
|
kind: "mutation",
|
|
25179
|
-
auth: "
|
|
25208
|
+
auth: "protected"
|
|
25180
25209
|
}),
|
|
25181
25210
|
setTargetRange: method(object({
|
|
25182
25211
|
deviceId: number().int().nonnegative(),
|
|
@@ -25184,28 +25213,28 @@ var climateControlCapability = {
|
|
|
25184
25213
|
targetHigh: number()
|
|
25185
25214
|
}), _void(), {
|
|
25186
25215
|
kind: "mutation",
|
|
25187
|
-
auth: "
|
|
25216
|
+
auth: "protected"
|
|
25188
25217
|
}),
|
|
25189
25218
|
setTargetHumidity: method(object({
|
|
25190
25219
|
deviceId: number().int().nonnegative(),
|
|
25191
25220
|
targetHumidity: number().min(0).max(100)
|
|
25192
25221
|
}), _void(), {
|
|
25193
25222
|
kind: "mutation",
|
|
25194
|
-
auth: "
|
|
25223
|
+
auth: "protected"
|
|
25195
25224
|
}),
|
|
25196
25225
|
setSwingVertical: method(object({
|
|
25197
25226
|
deviceId: number().int().nonnegative(),
|
|
25198
25227
|
on: boolean()
|
|
25199
25228
|
}), _void(), {
|
|
25200
25229
|
kind: "mutation",
|
|
25201
|
-
auth: "
|
|
25230
|
+
auth: "protected"
|
|
25202
25231
|
}),
|
|
25203
25232
|
setSwingHorizontal: method(object({
|
|
25204
25233
|
deviceId: number().int().nonnegative(),
|
|
25205
25234
|
on: boolean()
|
|
25206
25235
|
}), _void(), {
|
|
25207
25236
|
kind: "mutation",
|
|
25208
|
-
auth: "
|
|
25237
|
+
auth: "protected"
|
|
25209
25238
|
})
|
|
25210
25239
|
},
|
|
25211
25240
|
status: {
|
|
@@ -25305,7 +25334,7 @@ var colorCapability = {
|
|
|
25305
25334
|
color: ColorInputSchema
|
|
25306
25335
|
}), _void(), {
|
|
25307
25336
|
kind: "mutation",
|
|
25308
|
-
auth: "
|
|
25337
|
+
auth: "protected"
|
|
25309
25338
|
}) },
|
|
25310
25339
|
events: {
|
|
25311
25340
|
/**
|
|
@@ -25642,7 +25671,7 @@ var controlCapability = {
|
|
|
25642
25671
|
control: ControlSetValueInputSchema
|
|
25643
25672
|
}), _void(), {
|
|
25644
25673
|
kind: "mutation",
|
|
25645
|
-
auth: "
|
|
25674
|
+
auth: "protected"
|
|
25646
25675
|
}) },
|
|
25647
25676
|
status: {
|
|
25648
25677
|
schema: ControlStatusSchema,
|
|
@@ -25688,29 +25717,29 @@ var coverCapability = {
|
|
|
25688
25717
|
methods: {
|
|
25689
25718
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25690
25719
|
kind: "mutation",
|
|
25691
|
-
auth: "
|
|
25720
|
+
auth: "protected"
|
|
25692
25721
|
}),
|
|
25693
25722
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25694
25723
|
kind: "mutation",
|
|
25695
|
-
auth: "
|
|
25724
|
+
auth: "protected"
|
|
25696
25725
|
}),
|
|
25697
25726
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25698
25727
|
kind: "mutation",
|
|
25699
|
-
auth: "
|
|
25728
|
+
auth: "protected"
|
|
25700
25729
|
}),
|
|
25701
25730
|
setPosition: method(object({
|
|
25702
25731
|
deviceId: number().int().nonnegative(),
|
|
25703
25732
|
position: number().min(0).max(100)
|
|
25704
25733
|
}), _void(), {
|
|
25705
25734
|
kind: "mutation",
|
|
25706
|
-
auth: "
|
|
25735
|
+
auth: "protected"
|
|
25707
25736
|
}),
|
|
25708
25737
|
setTiltPosition: method(object({
|
|
25709
25738
|
deviceId: number().int().nonnegative(),
|
|
25710
25739
|
tiltPosition: number().min(0).max(100)
|
|
25711
25740
|
}), _void(), {
|
|
25712
25741
|
kind: "mutation",
|
|
25713
|
-
auth: "
|
|
25742
|
+
auth: "protected"
|
|
25714
25743
|
})
|
|
25715
25744
|
},
|
|
25716
25745
|
status: {
|
|
@@ -26493,28 +26522,28 @@ var fanControlCapability = {
|
|
|
26493
26522
|
percentage: number().min(0).max(100)
|
|
26494
26523
|
}), _void(), {
|
|
26495
26524
|
kind: "mutation",
|
|
26496
|
-
auth: "
|
|
26525
|
+
auth: "protected"
|
|
26497
26526
|
}),
|
|
26498
26527
|
setPreset: method(object({
|
|
26499
26528
|
deviceId: number().int().nonnegative(),
|
|
26500
26529
|
preset: string().min(1)
|
|
26501
26530
|
}), _void(), {
|
|
26502
26531
|
kind: "mutation",
|
|
26503
|
-
auth: "
|
|
26532
|
+
auth: "protected"
|
|
26504
26533
|
}),
|
|
26505
26534
|
setDirection: method(object({
|
|
26506
26535
|
deviceId: number().int().nonnegative(),
|
|
26507
26536
|
direction: FanDirectionSchema
|
|
26508
26537
|
}), _void(), {
|
|
26509
26538
|
kind: "mutation",
|
|
26510
|
-
auth: "
|
|
26539
|
+
auth: "protected"
|
|
26511
26540
|
}),
|
|
26512
26541
|
setOscillating: method(object({
|
|
26513
26542
|
deviceId: number().int().nonnegative(),
|
|
26514
26543
|
oscillating: boolean()
|
|
26515
26544
|
}), _void(), {
|
|
26516
26545
|
kind: "mutation",
|
|
26517
|
-
auth: "
|
|
26546
|
+
auth: "protected"
|
|
26518
26547
|
})
|
|
26519
26548
|
},
|
|
26520
26549
|
status: {
|
|
@@ -26736,21 +26765,21 @@ var humidifierCapability = {
|
|
|
26736
26765
|
on: boolean()
|
|
26737
26766
|
}), _void(), {
|
|
26738
26767
|
kind: "mutation",
|
|
26739
|
-
auth: "
|
|
26768
|
+
auth: "protected"
|
|
26740
26769
|
}),
|
|
26741
26770
|
setTargetHumidity: method(object({
|
|
26742
26771
|
deviceId: number().int().nonnegative(),
|
|
26743
26772
|
humidity: number().min(0).max(100)
|
|
26744
26773
|
}), _void(), {
|
|
26745
26774
|
kind: "mutation",
|
|
26746
|
-
auth: "
|
|
26775
|
+
auth: "protected"
|
|
26747
26776
|
}),
|
|
26748
26777
|
setMode: method(object({
|
|
26749
26778
|
deviceId: number().int().nonnegative(),
|
|
26750
26779
|
mode: string().min(1)
|
|
26751
26780
|
}), _void(), {
|
|
26752
26781
|
kind: "mutation",
|
|
26753
|
-
auth: "
|
|
26782
|
+
auth: "protected"
|
|
26754
26783
|
})
|
|
26755
26784
|
},
|
|
26756
26785
|
status: {
|
|
@@ -27451,15 +27480,15 @@ var lawnMowerControlCapability = {
|
|
|
27451
27480
|
methods: {
|
|
27452
27481
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27453
27482
|
kind: "mutation",
|
|
27454
|
-
auth: "
|
|
27483
|
+
auth: "protected"
|
|
27455
27484
|
}),
|
|
27456
27485
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27457
27486
|
kind: "mutation",
|
|
27458
|
-
auth: "
|
|
27487
|
+
auth: "protected"
|
|
27459
27488
|
}),
|
|
27460
27489
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27461
27490
|
kind: "mutation",
|
|
27462
|
-
auth: "
|
|
27491
|
+
auth: "protected"
|
|
27463
27492
|
})
|
|
27464
27493
|
},
|
|
27465
27494
|
status: {
|
|
@@ -27744,18 +27773,18 @@ var lockControlCapability = {
|
|
|
27744
27773
|
code: string().min(1).optional()
|
|
27745
27774
|
}), _void(), {
|
|
27746
27775
|
kind: "mutation",
|
|
27747
|
-
auth: "
|
|
27776
|
+
auth: "protected"
|
|
27748
27777
|
}),
|
|
27749
27778
|
unlock: method(object({
|
|
27750
27779
|
deviceId: number().int().nonnegative(),
|
|
27751
27780
|
code: string().min(1).optional()
|
|
27752
27781
|
}), _void(), {
|
|
27753
27782
|
kind: "mutation",
|
|
27754
|
-
auth: "
|
|
27783
|
+
auth: "protected"
|
|
27755
27784
|
}),
|
|
27756
27785
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27757
27786
|
kind: "mutation",
|
|
27758
|
-
auth: "
|
|
27787
|
+
auth: "protected"
|
|
27759
27788
|
})
|
|
27760
27789
|
},
|
|
27761
27790
|
status: {
|
|
@@ -27858,65 +27887,65 @@ var mediaPlayerCapability = {
|
|
|
27858
27887
|
methods: {
|
|
27859
27888
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27860
27889
|
kind: "mutation",
|
|
27861
|
-
auth: "
|
|
27890
|
+
auth: "protected"
|
|
27862
27891
|
}),
|
|
27863
27892
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27864
27893
|
kind: "mutation",
|
|
27865
|
-
auth: "
|
|
27894
|
+
auth: "protected"
|
|
27866
27895
|
}),
|
|
27867
27896
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27868
27897
|
kind: "mutation",
|
|
27869
|
-
auth: "
|
|
27898
|
+
auth: "protected"
|
|
27870
27899
|
}),
|
|
27871
27900
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27872
27901
|
kind: "mutation",
|
|
27873
|
-
auth: "
|
|
27902
|
+
auth: "protected"
|
|
27874
27903
|
}),
|
|
27875
27904
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27876
27905
|
kind: "mutation",
|
|
27877
|
-
auth: "
|
|
27906
|
+
auth: "protected"
|
|
27878
27907
|
}),
|
|
27879
27908
|
seek: method(object({
|
|
27880
27909
|
deviceId: number().int().nonnegative(),
|
|
27881
27910
|
positionMs: number().int().nonnegative()
|
|
27882
27911
|
}), _void(), {
|
|
27883
27912
|
kind: "mutation",
|
|
27884
|
-
auth: "
|
|
27913
|
+
auth: "protected"
|
|
27885
27914
|
}),
|
|
27886
27915
|
setVolume: method(object({
|
|
27887
27916
|
deviceId: number().int().nonnegative(),
|
|
27888
27917
|
volumeLevel: number().min(0).max(100)
|
|
27889
27918
|
}), _void(), {
|
|
27890
27919
|
kind: "mutation",
|
|
27891
|
-
auth: "
|
|
27920
|
+
auth: "protected"
|
|
27892
27921
|
}),
|
|
27893
27922
|
setMute: method(object({
|
|
27894
27923
|
deviceId: number().int().nonnegative(),
|
|
27895
27924
|
muted: boolean()
|
|
27896
27925
|
}), _void(), {
|
|
27897
27926
|
kind: "mutation",
|
|
27898
|
-
auth: "
|
|
27927
|
+
auth: "protected"
|
|
27899
27928
|
}),
|
|
27900
27929
|
setShuffle: method(object({
|
|
27901
27930
|
deviceId: number().int().nonnegative(),
|
|
27902
27931
|
shuffle: boolean()
|
|
27903
27932
|
}), _void(), {
|
|
27904
27933
|
kind: "mutation",
|
|
27905
|
-
auth: "
|
|
27934
|
+
auth: "protected"
|
|
27906
27935
|
}),
|
|
27907
27936
|
setRepeat: method(object({
|
|
27908
27937
|
deviceId: number().int().nonnegative(),
|
|
27909
27938
|
repeat: MediaPlayerRepeatSchema
|
|
27910
27939
|
}), _void(), {
|
|
27911
27940
|
kind: "mutation",
|
|
27912
|
-
auth: "
|
|
27941
|
+
auth: "protected"
|
|
27913
27942
|
}),
|
|
27914
27943
|
selectSource: method(object({
|
|
27915
27944
|
deviceId: number().int().nonnegative(),
|
|
27916
27945
|
source: string().min(1)
|
|
27917
27946
|
}), _void(), {
|
|
27918
27947
|
kind: "mutation",
|
|
27919
|
-
auth: "
|
|
27948
|
+
auth: "protected"
|
|
27920
27949
|
}),
|
|
27921
27950
|
playMedia: method(object({
|
|
27922
27951
|
deviceId: number().int().nonnegative(),
|
|
@@ -27927,7 +27956,7 @@ var mediaPlayerCapability = {
|
|
|
27927
27956
|
mediaType: string().min(1)
|
|
27928
27957
|
}), _void(), {
|
|
27929
27958
|
kind: "mutation",
|
|
27930
|
-
auth: "
|
|
27959
|
+
auth: "protected"
|
|
27931
27960
|
})
|
|
27932
27961
|
},
|
|
27933
27962
|
status: {
|
|
@@ -29520,27 +29549,27 @@ var petFeederCapability = {
|
|
|
29520
29549
|
hopper2: gramsPortion.optional()
|
|
29521
29550
|
}), _void(), {
|
|
29522
29551
|
kind: "mutation",
|
|
29523
|
-
auth: "
|
|
29552
|
+
auth: "protected"
|
|
29524
29553
|
}),
|
|
29525
29554
|
/** Cancel an in-progress manual feed. */
|
|
29526
29555
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29527
29556
|
kind: "mutation",
|
|
29528
|
-
auth: "
|
|
29557
|
+
auth: "protected"
|
|
29529
29558
|
}),
|
|
29530
29559
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29531
29560
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29532
29561
|
kind: "mutation",
|
|
29533
|
-
auth: "
|
|
29562
|
+
auth: "protected"
|
|
29534
29563
|
}),
|
|
29535
29564
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29536
29565
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29537
29566
|
kind: "mutation",
|
|
29538
|
-
auth: "
|
|
29567
|
+
auth: "protected"
|
|
29539
29568
|
}),
|
|
29540
29569
|
/** Call the pet with the recorded prompt (D3). */
|
|
29541
29570
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29542
29571
|
kind: "mutation",
|
|
29543
|
-
auth: "
|
|
29572
|
+
auth: "protected"
|
|
29544
29573
|
}),
|
|
29545
29574
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29546
29575
|
playSound: method(object({
|
|
@@ -29548,7 +29577,7 @@ var petFeederCapability = {
|
|
|
29548
29577
|
soundId: number().int().nonnegative()
|
|
29549
29578
|
}), _void(), {
|
|
29550
29579
|
kind: "mutation",
|
|
29551
|
-
auth: "
|
|
29580
|
+
auth: "protected"
|
|
29552
29581
|
}),
|
|
29553
29582
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29554
29583
|
setChildLock: method(object({
|
|
@@ -29556,7 +29585,7 @@ var petFeederCapability = {
|
|
|
29556
29585
|
on: boolean()
|
|
29557
29586
|
}), _void(), {
|
|
29558
29587
|
kind: "mutation",
|
|
29559
|
-
auth: "
|
|
29588
|
+
auth: "protected"
|
|
29560
29589
|
}),
|
|
29561
29590
|
/** Toggle the front indicator light. */
|
|
29562
29591
|
setIndicatorLight: method(object({
|
|
@@ -29564,7 +29593,7 @@ var petFeederCapability = {
|
|
|
29564
29593
|
on: boolean()
|
|
29565
29594
|
}), _void(), {
|
|
29566
29595
|
kind: "mutation",
|
|
29567
|
-
auth: "
|
|
29596
|
+
auth: "protected"
|
|
29568
29597
|
}),
|
|
29569
29598
|
/** Toggle the dispense chime. */
|
|
29570
29599
|
setFeedSound: method(object({
|
|
@@ -29572,7 +29601,7 @@ var petFeederCapability = {
|
|
|
29572
29601
|
on: boolean()
|
|
29573
29602
|
}), _void(), {
|
|
29574
29603
|
kind: "mutation",
|
|
29575
|
-
auth: "
|
|
29604
|
+
auth: "protected"
|
|
29576
29605
|
}),
|
|
29577
29606
|
/** Set the speaker / prompt volume level. */
|
|
29578
29607
|
setVolume: method(object({
|
|
@@ -29580,7 +29609,7 @@ var petFeederCapability = {
|
|
|
29580
29609
|
level: number().int().nonnegative()
|
|
29581
29610
|
}), _void(), {
|
|
29582
29611
|
kind: "mutation",
|
|
29583
|
-
auth: "
|
|
29612
|
+
auth: "protected"
|
|
29584
29613
|
})
|
|
29585
29614
|
},
|
|
29586
29615
|
status: {
|
|
@@ -31876,7 +31905,7 @@ var switchCapability = {
|
|
|
31876
31905
|
on: boolean()
|
|
31877
31906
|
}), _void(), {
|
|
31878
31907
|
kind: "mutation",
|
|
31879
|
-
auth: "
|
|
31908
|
+
auth: "protected"
|
|
31880
31909
|
}) },
|
|
31881
31910
|
events: { onStateChanged: { data: object({
|
|
31882
31911
|
deviceId: number(),
|
|
@@ -32864,30 +32893,30 @@ var vacuumControlCapability = {
|
|
|
32864
32893
|
methods: {
|
|
32865
32894
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32866
32895
|
kind: "mutation",
|
|
32867
|
-
auth: "
|
|
32896
|
+
auth: "protected"
|
|
32868
32897
|
}),
|
|
32869
32898
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32870
32899
|
kind: "mutation",
|
|
32871
|
-
auth: "
|
|
32900
|
+
auth: "protected"
|
|
32872
32901
|
}),
|
|
32873
32902
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32874
32903
|
kind: "mutation",
|
|
32875
|
-
auth: "
|
|
32904
|
+
auth: "protected"
|
|
32876
32905
|
}),
|
|
32877
32906
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32878
32907
|
kind: "mutation",
|
|
32879
|
-
auth: "
|
|
32908
|
+
auth: "protected"
|
|
32880
32909
|
}),
|
|
32881
32910
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32882
32911
|
kind: "mutation",
|
|
32883
|
-
auth: "
|
|
32912
|
+
auth: "protected"
|
|
32884
32913
|
}),
|
|
32885
32914
|
setFanSpeed: method(object({
|
|
32886
32915
|
deviceId: number().int().nonnegative(),
|
|
32887
32916
|
speed: string().min(1)
|
|
32888
32917
|
}), _void(), {
|
|
32889
32918
|
kind: "mutation",
|
|
32890
|
-
auth: "
|
|
32919
|
+
auth: "protected"
|
|
32891
32920
|
})
|
|
32892
32921
|
},
|
|
32893
32922
|
status: {
|
|
@@ -32931,22 +32960,22 @@ var valveCapability = {
|
|
|
32931
32960
|
methods: {
|
|
32932
32961
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32933
32962
|
kind: "mutation",
|
|
32934
|
-
auth: "
|
|
32963
|
+
auth: "protected"
|
|
32935
32964
|
}),
|
|
32936
32965
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32937
32966
|
kind: "mutation",
|
|
32938
|
-
auth: "
|
|
32967
|
+
auth: "protected"
|
|
32939
32968
|
}),
|
|
32940
32969
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32941
32970
|
kind: "mutation",
|
|
32942
|
-
auth: "
|
|
32971
|
+
auth: "protected"
|
|
32943
32972
|
}),
|
|
32944
32973
|
setPosition: method(object({
|
|
32945
32974
|
deviceId: number().int().nonnegative(),
|
|
32946
32975
|
position: number().min(0).max(100)
|
|
32947
32976
|
}), _void(), {
|
|
32948
32977
|
kind: "mutation",
|
|
32949
|
-
auth: "
|
|
32978
|
+
auth: "protected"
|
|
32950
32979
|
})
|
|
32951
32980
|
},
|
|
32952
32981
|
status: {
|
|
@@ -33045,21 +33074,21 @@ var waterHeaterCapability = {
|
|
|
33045
33074
|
temp: number().finite()
|
|
33046
33075
|
}), _void(), {
|
|
33047
33076
|
kind: "mutation",
|
|
33048
|
-
auth: "
|
|
33077
|
+
auth: "protected"
|
|
33049
33078
|
}),
|
|
33050
33079
|
setOperationMode: method(object({
|
|
33051
33080
|
deviceId: number().int().nonnegative(),
|
|
33052
33081
|
mode: string().min(1)
|
|
33053
33082
|
}), _void(), {
|
|
33054
33083
|
kind: "mutation",
|
|
33055
|
-
auth: "
|
|
33084
|
+
auth: "protected"
|
|
33056
33085
|
}),
|
|
33057
33086
|
setAway: method(object({
|
|
33058
33087
|
deviceId: number().int().nonnegative(),
|
|
33059
33088
|
on: boolean()
|
|
33060
33089
|
}), _void(), {
|
|
33061
33090
|
kind: "mutation",
|
|
33062
|
-
auth: "
|
|
33091
|
+
auth: "protected"
|
|
33063
33092
|
})
|
|
33064
33093
|
},
|
|
33065
33094
|
status: {
|
|
@@ -38329,6 +38358,12 @@ Object.freeze({
|
|
|
38329
38358
|
addonId: null,
|
|
38330
38359
|
access: "view"
|
|
38331
38360
|
},
|
|
38361
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
38362
|
+
capName: "pipeline-analytics",
|
|
38363
|
+
capScope: "device",
|
|
38364
|
+
addonId: null,
|
|
38365
|
+
access: "view"
|
|
38366
|
+
},
|
|
38332
38367
|
"pipelineAnalytics.listEventKinds": {
|
|
38333
38368
|
capName: "pipeline-analytics",
|
|
38334
38369
|
capScope: "device",
|
|
@@ -42116,6 +42151,11 @@ Object.freeze({
|
|
|
42116
42151
|
form: "array",
|
|
42117
42152
|
optional: true
|
|
42118
42153
|
}],
|
|
42154
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
42155
|
+
name: "deviceId",
|
|
42156
|
+
form: "single",
|
|
42157
|
+
optional: true
|
|
42158
|
+
}],
|
|
42119
42159
|
"pipelineAnalytics.listEventKinds": [{
|
|
42120
42160
|
name: "deviceId",
|
|
42121
42161
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -8446,6 +8446,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
8446
8446
|
/** Unix ms when the group was composed server-side. */
|
|
8447
8447
|
fetchedAt: number()
|
|
8448
8448
|
});
|
|
8449
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
8450
|
+
* they were looking at, after the track itself is gone. */
|
|
8451
|
+
var ArchivedDebugNoteSchema = object({
|
|
8452
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
8453
|
+
* same sentence about the same track lands on the row already there. */
|
|
8454
|
+
id: string(),
|
|
8455
|
+
/** The operator's own words, verbatim. */
|
|
8456
|
+
note: string(),
|
|
8457
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
8458
|
+
deviceId: number().int(),
|
|
8459
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
8460
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
8461
|
+
sourceTrackId: string(),
|
|
8462
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
8463
|
+
archivedAt: number().int(),
|
|
8464
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
8465
|
+
trackStartedAt: number().int().nullable(),
|
|
8466
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
8467
|
+
trackClass: string().nullable(),
|
|
8468
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
8469
|
+
trackLabel: string().nullable()
|
|
8470
|
+
});
|
|
8471
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
8472
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
8473
|
+
/** Restrict to a single camera; omit for every row. */
|
|
8474
|
+
deviceId: number().int().optional(),
|
|
8475
|
+
/** Max rows returned, newest-first. */
|
|
8476
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
8477
|
+
});
|
|
8449
8478
|
/**
|
|
8450
8479
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
8451
8480
|
* recordings and events management surfaces.
|
|
@@ -16944,14 +16973,14 @@ var alarmPanelCapability = {
|
|
|
16944
16973
|
code: string().min(1).optional()
|
|
16945
16974
|
}), _void(), {
|
|
16946
16975
|
kind: "mutation",
|
|
16947
|
-
auth: "
|
|
16976
|
+
auth: "protected"
|
|
16948
16977
|
}),
|
|
16949
16978
|
disarm: method(object({
|
|
16950
16979
|
deviceId: number().int().nonnegative(),
|
|
16951
16980
|
code: string().min(1).optional()
|
|
16952
16981
|
}), _void(), {
|
|
16953
16982
|
kind: "mutation",
|
|
16954
|
-
auth: "
|
|
16983
|
+
auth: "protected"
|
|
16955
16984
|
}),
|
|
16956
16985
|
/**
|
|
16957
16986
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16962,7 +16991,7 @@ var alarmPanelCapability = {
|
|
|
16962
16991
|
*/
|
|
16963
16992
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16964
16993
|
kind: "mutation",
|
|
16965
|
-
auth: "
|
|
16994
|
+
auth: "protected"
|
|
16966
16995
|
})
|
|
16967
16996
|
},
|
|
16968
16997
|
status: {
|
|
@@ -20926,7 +20955,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20926
20955
|
deviceId: number(),
|
|
20927
20956
|
trackId: string(),
|
|
20928
20957
|
flags: TrackFlagsPatchSchema
|
|
20929
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20958
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20930
20959
|
kind: "query",
|
|
20931
20960
|
auth: "admin"
|
|
20932
20961
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24929,7 +24958,7 @@ var brightnessCapability = {
|
|
|
24929
24958
|
percentage: number().min(0).max(100)
|
|
24930
24959
|
}), _void(), {
|
|
24931
24960
|
kind: "mutation",
|
|
24932
|
-
auth: "
|
|
24961
|
+
auth: "protected"
|
|
24933
24962
|
}) },
|
|
24934
24963
|
events: {
|
|
24935
24964
|
/**
|
|
@@ -24962,7 +24991,7 @@ onBrightnessChanged: { data: object({
|
|
|
24962
24991
|
};
|
|
24963
24992
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24964
24993
|
kind: "mutation",
|
|
24965
|
-
auth: "
|
|
24994
|
+
auth: "protected"
|
|
24966
24995
|
});
|
|
24967
24996
|
/**
|
|
24968
24997
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -25154,28 +25183,28 @@ var climateControlCapability = {
|
|
|
25154
25183
|
mode: HvacModeSchema
|
|
25155
25184
|
}), _void(), {
|
|
25156
25185
|
kind: "mutation",
|
|
25157
|
-
auth: "
|
|
25186
|
+
auth: "protected"
|
|
25158
25187
|
}),
|
|
25159
25188
|
setFanMode: method(object({
|
|
25160
25189
|
deviceId: number().int().nonnegative(),
|
|
25161
25190
|
fanMode: string().min(1)
|
|
25162
25191
|
}), _void(), {
|
|
25163
25192
|
kind: "mutation",
|
|
25164
|
-
auth: "
|
|
25193
|
+
auth: "protected"
|
|
25165
25194
|
}),
|
|
25166
25195
|
setPreset: method(object({
|
|
25167
25196
|
deviceId: number().int().nonnegative(),
|
|
25168
25197
|
preset: string().min(1)
|
|
25169
25198
|
}), _void(), {
|
|
25170
25199
|
kind: "mutation",
|
|
25171
|
-
auth: "
|
|
25200
|
+
auth: "protected"
|
|
25172
25201
|
}),
|
|
25173
25202
|
setTarget: method(object({
|
|
25174
25203
|
deviceId: number().int().nonnegative(),
|
|
25175
25204
|
target: number()
|
|
25176
25205
|
}), _void(), {
|
|
25177
25206
|
kind: "mutation",
|
|
25178
|
-
auth: "
|
|
25207
|
+
auth: "protected"
|
|
25179
25208
|
}),
|
|
25180
25209
|
setTargetRange: method(object({
|
|
25181
25210
|
deviceId: number().int().nonnegative(),
|
|
@@ -25183,28 +25212,28 @@ var climateControlCapability = {
|
|
|
25183
25212
|
targetHigh: number()
|
|
25184
25213
|
}), _void(), {
|
|
25185
25214
|
kind: "mutation",
|
|
25186
|
-
auth: "
|
|
25215
|
+
auth: "protected"
|
|
25187
25216
|
}),
|
|
25188
25217
|
setTargetHumidity: method(object({
|
|
25189
25218
|
deviceId: number().int().nonnegative(),
|
|
25190
25219
|
targetHumidity: number().min(0).max(100)
|
|
25191
25220
|
}), _void(), {
|
|
25192
25221
|
kind: "mutation",
|
|
25193
|
-
auth: "
|
|
25222
|
+
auth: "protected"
|
|
25194
25223
|
}),
|
|
25195
25224
|
setSwingVertical: method(object({
|
|
25196
25225
|
deviceId: number().int().nonnegative(),
|
|
25197
25226
|
on: boolean()
|
|
25198
25227
|
}), _void(), {
|
|
25199
25228
|
kind: "mutation",
|
|
25200
|
-
auth: "
|
|
25229
|
+
auth: "protected"
|
|
25201
25230
|
}),
|
|
25202
25231
|
setSwingHorizontal: method(object({
|
|
25203
25232
|
deviceId: number().int().nonnegative(),
|
|
25204
25233
|
on: boolean()
|
|
25205
25234
|
}), _void(), {
|
|
25206
25235
|
kind: "mutation",
|
|
25207
|
-
auth: "
|
|
25236
|
+
auth: "protected"
|
|
25208
25237
|
})
|
|
25209
25238
|
},
|
|
25210
25239
|
status: {
|
|
@@ -25304,7 +25333,7 @@ var colorCapability = {
|
|
|
25304
25333
|
color: ColorInputSchema
|
|
25305
25334
|
}), _void(), {
|
|
25306
25335
|
kind: "mutation",
|
|
25307
|
-
auth: "
|
|
25336
|
+
auth: "protected"
|
|
25308
25337
|
}) },
|
|
25309
25338
|
events: {
|
|
25310
25339
|
/**
|
|
@@ -25641,7 +25670,7 @@ var controlCapability = {
|
|
|
25641
25670
|
control: ControlSetValueInputSchema
|
|
25642
25671
|
}), _void(), {
|
|
25643
25672
|
kind: "mutation",
|
|
25644
|
-
auth: "
|
|
25673
|
+
auth: "protected"
|
|
25645
25674
|
}) },
|
|
25646
25675
|
status: {
|
|
25647
25676
|
schema: ControlStatusSchema,
|
|
@@ -25687,29 +25716,29 @@ var coverCapability = {
|
|
|
25687
25716
|
methods: {
|
|
25688
25717
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25689
25718
|
kind: "mutation",
|
|
25690
|
-
auth: "
|
|
25719
|
+
auth: "protected"
|
|
25691
25720
|
}),
|
|
25692
25721
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25693
25722
|
kind: "mutation",
|
|
25694
|
-
auth: "
|
|
25723
|
+
auth: "protected"
|
|
25695
25724
|
}),
|
|
25696
25725
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25697
25726
|
kind: "mutation",
|
|
25698
|
-
auth: "
|
|
25727
|
+
auth: "protected"
|
|
25699
25728
|
}),
|
|
25700
25729
|
setPosition: method(object({
|
|
25701
25730
|
deviceId: number().int().nonnegative(),
|
|
25702
25731
|
position: number().min(0).max(100)
|
|
25703
25732
|
}), _void(), {
|
|
25704
25733
|
kind: "mutation",
|
|
25705
|
-
auth: "
|
|
25734
|
+
auth: "protected"
|
|
25706
25735
|
}),
|
|
25707
25736
|
setTiltPosition: method(object({
|
|
25708
25737
|
deviceId: number().int().nonnegative(),
|
|
25709
25738
|
tiltPosition: number().min(0).max(100)
|
|
25710
25739
|
}), _void(), {
|
|
25711
25740
|
kind: "mutation",
|
|
25712
|
-
auth: "
|
|
25741
|
+
auth: "protected"
|
|
25713
25742
|
})
|
|
25714
25743
|
},
|
|
25715
25744
|
status: {
|
|
@@ -26492,28 +26521,28 @@ var fanControlCapability = {
|
|
|
26492
26521
|
percentage: number().min(0).max(100)
|
|
26493
26522
|
}), _void(), {
|
|
26494
26523
|
kind: "mutation",
|
|
26495
|
-
auth: "
|
|
26524
|
+
auth: "protected"
|
|
26496
26525
|
}),
|
|
26497
26526
|
setPreset: method(object({
|
|
26498
26527
|
deviceId: number().int().nonnegative(),
|
|
26499
26528
|
preset: string().min(1)
|
|
26500
26529
|
}), _void(), {
|
|
26501
26530
|
kind: "mutation",
|
|
26502
|
-
auth: "
|
|
26531
|
+
auth: "protected"
|
|
26503
26532
|
}),
|
|
26504
26533
|
setDirection: method(object({
|
|
26505
26534
|
deviceId: number().int().nonnegative(),
|
|
26506
26535
|
direction: FanDirectionSchema
|
|
26507
26536
|
}), _void(), {
|
|
26508
26537
|
kind: "mutation",
|
|
26509
|
-
auth: "
|
|
26538
|
+
auth: "protected"
|
|
26510
26539
|
}),
|
|
26511
26540
|
setOscillating: method(object({
|
|
26512
26541
|
deviceId: number().int().nonnegative(),
|
|
26513
26542
|
oscillating: boolean()
|
|
26514
26543
|
}), _void(), {
|
|
26515
26544
|
kind: "mutation",
|
|
26516
|
-
auth: "
|
|
26545
|
+
auth: "protected"
|
|
26517
26546
|
})
|
|
26518
26547
|
},
|
|
26519
26548
|
status: {
|
|
@@ -26735,21 +26764,21 @@ var humidifierCapability = {
|
|
|
26735
26764
|
on: boolean()
|
|
26736
26765
|
}), _void(), {
|
|
26737
26766
|
kind: "mutation",
|
|
26738
|
-
auth: "
|
|
26767
|
+
auth: "protected"
|
|
26739
26768
|
}),
|
|
26740
26769
|
setTargetHumidity: method(object({
|
|
26741
26770
|
deviceId: number().int().nonnegative(),
|
|
26742
26771
|
humidity: number().min(0).max(100)
|
|
26743
26772
|
}), _void(), {
|
|
26744
26773
|
kind: "mutation",
|
|
26745
|
-
auth: "
|
|
26774
|
+
auth: "protected"
|
|
26746
26775
|
}),
|
|
26747
26776
|
setMode: method(object({
|
|
26748
26777
|
deviceId: number().int().nonnegative(),
|
|
26749
26778
|
mode: string().min(1)
|
|
26750
26779
|
}), _void(), {
|
|
26751
26780
|
kind: "mutation",
|
|
26752
|
-
auth: "
|
|
26781
|
+
auth: "protected"
|
|
26753
26782
|
})
|
|
26754
26783
|
},
|
|
26755
26784
|
status: {
|
|
@@ -27450,15 +27479,15 @@ var lawnMowerControlCapability = {
|
|
|
27450
27479
|
methods: {
|
|
27451
27480
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27452
27481
|
kind: "mutation",
|
|
27453
|
-
auth: "
|
|
27482
|
+
auth: "protected"
|
|
27454
27483
|
}),
|
|
27455
27484
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27456
27485
|
kind: "mutation",
|
|
27457
|
-
auth: "
|
|
27486
|
+
auth: "protected"
|
|
27458
27487
|
}),
|
|
27459
27488
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27460
27489
|
kind: "mutation",
|
|
27461
|
-
auth: "
|
|
27490
|
+
auth: "protected"
|
|
27462
27491
|
})
|
|
27463
27492
|
},
|
|
27464
27493
|
status: {
|
|
@@ -27743,18 +27772,18 @@ var lockControlCapability = {
|
|
|
27743
27772
|
code: string().min(1).optional()
|
|
27744
27773
|
}), _void(), {
|
|
27745
27774
|
kind: "mutation",
|
|
27746
|
-
auth: "
|
|
27775
|
+
auth: "protected"
|
|
27747
27776
|
}),
|
|
27748
27777
|
unlock: method(object({
|
|
27749
27778
|
deviceId: number().int().nonnegative(),
|
|
27750
27779
|
code: string().min(1).optional()
|
|
27751
27780
|
}), _void(), {
|
|
27752
27781
|
kind: "mutation",
|
|
27753
|
-
auth: "
|
|
27782
|
+
auth: "protected"
|
|
27754
27783
|
}),
|
|
27755
27784
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27756
27785
|
kind: "mutation",
|
|
27757
|
-
auth: "
|
|
27786
|
+
auth: "protected"
|
|
27758
27787
|
})
|
|
27759
27788
|
},
|
|
27760
27789
|
status: {
|
|
@@ -27857,65 +27886,65 @@ var mediaPlayerCapability = {
|
|
|
27857
27886
|
methods: {
|
|
27858
27887
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27859
27888
|
kind: "mutation",
|
|
27860
|
-
auth: "
|
|
27889
|
+
auth: "protected"
|
|
27861
27890
|
}),
|
|
27862
27891
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27863
27892
|
kind: "mutation",
|
|
27864
|
-
auth: "
|
|
27893
|
+
auth: "protected"
|
|
27865
27894
|
}),
|
|
27866
27895
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27867
27896
|
kind: "mutation",
|
|
27868
|
-
auth: "
|
|
27897
|
+
auth: "protected"
|
|
27869
27898
|
}),
|
|
27870
27899
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27871
27900
|
kind: "mutation",
|
|
27872
|
-
auth: "
|
|
27901
|
+
auth: "protected"
|
|
27873
27902
|
}),
|
|
27874
27903
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27875
27904
|
kind: "mutation",
|
|
27876
|
-
auth: "
|
|
27905
|
+
auth: "protected"
|
|
27877
27906
|
}),
|
|
27878
27907
|
seek: method(object({
|
|
27879
27908
|
deviceId: number().int().nonnegative(),
|
|
27880
27909
|
positionMs: number().int().nonnegative()
|
|
27881
27910
|
}), _void(), {
|
|
27882
27911
|
kind: "mutation",
|
|
27883
|
-
auth: "
|
|
27912
|
+
auth: "protected"
|
|
27884
27913
|
}),
|
|
27885
27914
|
setVolume: method(object({
|
|
27886
27915
|
deviceId: number().int().nonnegative(),
|
|
27887
27916
|
volumeLevel: number().min(0).max(100)
|
|
27888
27917
|
}), _void(), {
|
|
27889
27918
|
kind: "mutation",
|
|
27890
|
-
auth: "
|
|
27919
|
+
auth: "protected"
|
|
27891
27920
|
}),
|
|
27892
27921
|
setMute: method(object({
|
|
27893
27922
|
deviceId: number().int().nonnegative(),
|
|
27894
27923
|
muted: boolean()
|
|
27895
27924
|
}), _void(), {
|
|
27896
27925
|
kind: "mutation",
|
|
27897
|
-
auth: "
|
|
27926
|
+
auth: "protected"
|
|
27898
27927
|
}),
|
|
27899
27928
|
setShuffle: method(object({
|
|
27900
27929
|
deviceId: number().int().nonnegative(),
|
|
27901
27930
|
shuffle: boolean()
|
|
27902
27931
|
}), _void(), {
|
|
27903
27932
|
kind: "mutation",
|
|
27904
|
-
auth: "
|
|
27933
|
+
auth: "protected"
|
|
27905
27934
|
}),
|
|
27906
27935
|
setRepeat: method(object({
|
|
27907
27936
|
deviceId: number().int().nonnegative(),
|
|
27908
27937
|
repeat: MediaPlayerRepeatSchema
|
|
27909
27938
|
}), _void(), {
|
|
27910
27939
|
kind: "mutation",
|
|
27911
|
-
auth: "
|
|
27940
|
+
auth: "protected"
|
|
27912
27941
|
}),
|
|
27913
27942
|
selectSource: method(object({
|
|
27914
27943
|
deviceId: number().int().nonnegative(),
|
|
27915
27944
|
source: string().min(1)
|
|
27916
27945
|
}), _void(), {
|
|
27917
27946
|
kind: "mutation",
|
|
27918
|
-
auth: "
|
|
27947
|
+
auth: "protected"
|
|
27919
27948
|
}),
|
|
27920
27949
|
playMedia: method(object({
|
|
27921
27950
|
deviceId: number().int().nonnegative(),
|
|
@@ -27926,7 +27955,7 @@ var mediaPlayerCapability = {
|
|
|
27926
27955
|
mediaType: string().min(1)
|
|
27927
27956
|
}), _void(), {
|
|
27928
27957
|
kind: "mutation",
|
|
27929
|
-
auth: "
|
|
27958
|
+
auth: "protected"
|
|
27930
27959
|
})
|
|
27931
27960
|
},
|
|
27932
27961
|
status: {
|
|
@@ -29519,27 +29548,27 @@ var petFeederCapability = {
|
|
|
29519
29548
|
hopper2: gramsPortion.optional()
|
|
29520
29549
|
}), _void(), {
|
|
29521
29550
|
kind: "mutation",
|
|
29522
|
-
auth: "
|
|
29551
|
+
auth: "protected"
|
|
29523
29552
|
}),
|
|
29524
29553
|
/** Cancel an in-progress manual feed. */
|
|
29525
29554
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29526
29555
|
kind: "mutation",
|
|
29527
|
-
auth: "
|
|
29556
|
+
auth: "protected"
|
|
29528
29557
|
}),
|
|
29529
29558
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29530
29559
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29531
29560
|
kind: "mutation",
|
|
29532
|
-
auth: "
|
|
29561
|
+
auth: "protected"
|
|
29533
29562
|
}),
|
|
29534
29563
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29535
29564
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29536
29565
|
kind: "mutation",
|
|
29537
|
-
auth: "
|
|
29566
|
+
auth: "protected"
|
|
29538
29567
|
}),
|
|
29539
29568
|
/** Call the pet with the recorded prompt (D3). */
|
|
29540
29569
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29541
29570
|
kind: "mutation",
|
|
29542
|
-
auth: "
|
|
29571
|
+
auth: "protected"
|
|
29543
29572
|
}),
|
|
29544
29573
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29545
29574
|
playSound: method(object({
|
|
@@ -29547,7 +29576,7 @@ var petFeederCapability = {
|
|
|
29547
29576
|
soundId: number().int().nonnegative()
|
|
29548
29577
|
}), _void(), {
|
|
29549
29578
|
kind: "mutation",
|
|
29550
|
-
auth: "
|
|
29579
|
+
auth: "protected"
|
|
29551
29580
|
}),
|
|
29552
29581
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29553
29582
|
setChildLock: method(object({
|
|
@@ -29555,7 +29584,7 @@ var petFeederCapability = {
|
|
|
29555
29584
|
on: boolean()
|
|
29556
29585
|
}), _void(), {
|
|
29557
29586
|
kind: "mutation",
|
|
29558
|
-
auth: "
|
|
29587
|
+
auth: "protected"
|
|
29559
29588
|
}),
|
|
29560
29589
|
/** Toggle the front indicator light. */
|
|
29561
29590
|
setIndicatorLight: method(object({
|
|
@@ -29563,7 +29592,7 @@ var petFeederCapability = {
|
|
|
29563
29592
|
on: boolean()
|
|
29564
29593
|
}), _void(), {
|
|
29565
29594
|
kind: "mutation",
|
|
29566
|
-
auth: "
|
|
29595
|
+
auth: "protected"
|
|
29567
29596
|
}),
|
|
29568
29597
|
/** Toggle the dispense chime. */
|
|
29569
29598
|
setFeedSound: method(object({
|
|
@@ -29571,7 +29600,7 @@ var petFeederCapability = {
|
|
|
29571
29600
|
on: boolean()
|
|
29572
29601
|
}), _void(), {
|
|
29573
29602
|
kind: "mutation",
|
|
29574
|
-
auth: "
|
|
29603
|
+
auth: "protected"
|
|
29575
29604
|
}),
|
|
29576
29605
|
/** Set the speaker / prompt volume level. */
|
|
29577
29606
|
setVolume: method(object({
|
|
@@ -29579,7 +29608,7 @@ var petFeederCapability = {
|
|
|
29579
29608
|
level: number().int().nonnegative()
|
|
29580
29609
|
}), _void(), {
|
|
29581
29610
|
kind: "mutation",
|
|
29582
|
-
auth: "
|
|
29611
|
+
auth: "protected"
|
|
29583
29612
|
})
|
|
29584
29613
|
},
|
|
29585
29614
|
status: {
|
|
@@ -31875,7 +31904,7 @@ var switchCapability = {
|
|
|
31875
31904
|
on: boolean()
|
|
31876
31905
|
}), _void(), {
|
|
31877
31906
|
kind: "mutation",
|
|
31878
|
-
auth: "
|
|
31907
|
+
auth: "protected"
|
|
31879
31908
|
}) },
|
|
31880
31909
|
events: { onStateChanged: { data: object({
|
|
31881
31910
|
deviceId: number(),
|
|
@@ -32863,30 +32892,30 @@ var vacuumControlCapability = {
|
|
|
32863
32892
|
methods: {
|
|
32864
32893
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32865
32894
|
kind: "mutation",
|
|
32866
|
-
auth: "
|
|
32895
|
+
auth: "protected"
|
|
32867
32896
|
}),
|
|
32868
32897
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32869
32898
|
kind: "mutation",
|
|
32870
|
-
auth: "
|
|
32899
|
+
auth: "protected"
|
|
32871
32900
|
}),
|
|
32872
32901
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32873
32902
|
kind: "mutation",
|
|
32874
|
-
auth: "
|
|
32903
|
+
auth: "protected"
|
|
32875
32904
|
}),
|
|
32876
32905
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32877
32906
|
kind: "mutation",
|
|
32878
|
-
auth: "
|
|
32907
|
+
auth: "protected"
|
|
32879
32908
|
}),
|
|
32880
32909
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32881
32910
|
kind: "mutation",
|
|
32882
|
-
auth: "
|
|
32911
|
+
auth: "protected"
|
|
32883
32912
|
}),
|
|
32884
32913
|
setFanSpeed: method(object({
|
|
32885
32914
|
deviceId: number().int().nonnegative(),
|
|
32886
32915
|
speed: string().min(1)
|
|
32887
32916
|
}), _void(), {
|
|
32888
32917
|
kind: "mutation",
|
|
32889
|
-
auth: "
|
|
32918
|
+
auth: "protected"
|
|
32890
32919
|
})
|
|
32891
32920
|
},
|
|
32892
32921
|
status: {
|
|
@@ -32930,22 +32959,22 @@ var valveCapability = {
|
|
|
32930
32959
|
methods: {
|
|
32931
32960
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32932
32961
|
kind: "mutation",
|
|
32933
|
-
auth: "
|
|
32962
|
+
auth: "protected"
|
|
32934
32963
|
}),
|
|
32935
32964
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32936
32965
|
kind: "mutation",
|
|
32937
|
-
auth: "
|
|
32966
|
+
auth: "protected"
|
|
32938
32967
|
}),
|
|
32939
32968
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32940
32969
|
kind: "mutation",
|
|
32941
|
-
auth: "
|
|
32970
|
+
auth: "protected"
|
|
32942
32971
|
}),
|
|
32943
32972
|
setPosition: method(object({
|
|
32944
32973
|
deviceId: number().int().nonnegative(),
|
|
32945
32974
|
position: number().min(0).max(100)
|
|
32946
32975
|
}), _void(), {
|
|
32947
32976
|
kind: "mutation",
|
|
32948
|
-
auth: "
|
|
32977
|
+
auth: "protected"
|
|
32949
32978
|
})
|
|
32950
32979
|
},
|
|
32951
32980
|
status: {
|
|
@@ -33044,21 +33073,21 @@ var waterHeaterCapability = {
|
|
|
33044
33073
|
temp: number().finite()
|
|
33045
33074
|
}), _void(), {
|
|
33046
33075
|
kind: "mutation",
|
|
33047
|
-
auth: "
|
|
33076
|
+
auth: "protected"
|
|
33048
33077
|
}),
|
|
33049
33078
|
setOperationMode: method(object({
|
|
33050
33079
|
deviceId: number().int().nonnegative(),
|
|
33051
33080
|
mode: string().min(1)
|
|
33052
33081
|
}), _void(), {
|
|
33053
33082
|
kind: "mutation",
|
|
33054
|
-
auth: "
|
|
33083
|
+
auth: "protected"
|
|
33055
33084
|
}),
|
|
33056
33085
|
setAway: method(object({
|
|
33057
33086
|
deviceId: number().int().nonnegative(),
|
|
33058
33087
|
on: boolean()
|
|
33059
33088
|
}), _void(), {
|
|
33060
33089
|
kind: "mutation",
|
|
33061
|
-
auth: "
|
|
33090
|
+
auth: "protected"
|
|
33062
33091
|
})
|
|
33063
33092
|
},
|
|
33064
33093
|
status: {
|
|
@@ -38328,6 +38357,12 @@ Object.freeze({
|
|
|
38328
38357
|
addonId: null,
|
|
38329
38358
|
access: "view"
|
|
38330
38359
|
},
|
|
38360
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
38361
|
+
capName: "pipeline-analytics",
|
|
38362
|
+
capScope: "device",
|
|
38363
|
+
addonId: null,
|
|
38364
|
+
access: "view"
|
|
38365
|
+
},
|
|
38331
38366
|
"pipelineAnalytics.listEventKinds": {
|
|
38332
38367
|
capName: "pipeline-analytics",
|
|
38333
38368
|
capScope: "device",
|
|
@@ -42115,6 +42150,11 @@ Object.freeze({
|
|
|
42115
42150
|
form: "array",
|
|
42116
42151
|
optional: true
|
|
42117
42152
|
}],
|
|
42153
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
42154
|
+
name: "deviceId",
|
|
42155
|
+
form: "single",
|
|
42156
|
+
optional: true
|
|
42157
|
+
}],
|
|
42118
42158
|
"pipelineAnalytics.listEventKinds": [{
|
|
42119
42159
|
name: "deviceId",
|
|
42120
42160
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-tuya",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.87",
|
|
4
4
|
"description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|