@camstack/types 1.2.167 → 1.2.169
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/capabilities/face-gallery.cap.d.ts +98 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +142 -69
- package/dist/index.mjs +142 -69
- package/dist/interfaces/event-bus.d.ts +9 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15080,14 +15080,14 @@ var alarmPanelCapability = {
|
|
|
15080
15080
|
code: z.string().min(1).optional()
|
|
15081
15081
|
}), z.void(), {
|
|
15082
15082
|
kind: "mutation",
|
|
15083
|
-
auth: "
|
|
15083
|
+
auth: "protected"
|
|
15084
15084
|
}),
|
|
15085
15085
|
disarm: method(z.object({
|
|
15086
15086
|
deviceId: z.number().int().nonnegative(),
|
|
15087
15087
|
code: z.string().min(1).optional()
|
|
15088
15088
|
}), z.void(), {
|
|
15089
15089
|
kind: "mutation",
|
|
15090
|
-
auth: "
|
|
15090
|
+
auth: "protected"
|
|
15091
15091
|
}),
|
|
15092
15092
|
/**
|
|
15093
15093
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -15098,7 +15098,7 @@ var alarmPanelCapability = {
|
|
|
15098
15098
|
*/
|
|
15099
15099
|
trigger: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
15100
15100
|
kind: "mutation",
|
|
15101
|
-
auth: "
|
|
15101
|
+
auth: "protected"
|
|
15102
15102
|
})
|
|
15103
15103
|
},
|
|
15104
15104
|
status: {
|
|
@@ -26191,7 +26191,7 @@ var brightnessCapability = {
|
|
|
26191
26191
|
percentage: z.number().min(0).max(100)
|
|
26192
26192
|
}), z.void(), {
|
|
26193
26193
|
kind: "mutation",
|
|
26194
|
-
auth: "
|
|
26194
|
+
auth: "protected"
|
|
26195
26195
|
}) },
|
|
26196
26196
|
events: {
|
|
26197
26197
|
/**
|
|
@@ -26242,7 +26242,7 @@ var buttonCapability = {
|
|
|
26242
26242
|
deviceTypes: [DeviceType.Button],
|
|
26243
26243
|
methods: { press: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
26244
26244
|
kind: "mutation",
|
|
26245
|
-
auth: "
|
|
26245
|
+
auth: "protected"
|
|
26246
26246
|
}) }
|
|
26247
26247
|
};
|
|
26248
26248
|
//#endregion
|
|
@@ -26465,28 +26465,28 @@ var climateControlCapability = {
|
|
|
26465
26465
|
mode: HvacModeSchema
|
|
26466
26466
|
}), z.void(), {
|
|
26467
26467
|
kind: "mutation",
|
|
26468
|
-
auth: "
|
|
26468
|
+
auth: "protected"
|
|
26469
26469
|
}),
|
|
26470
26470
|
setFanMode: method(z.object({
|
|
26471
26471
|
deviceId: z.number().int().nonnegative(),
|
|
26472
26472
|
fanMode: z.string().min(1)
|
|
26473
26473
|
}), z.void(), {
|
|
26474
26474
|
kind: "mutation",
|
|
26475
|
-
auth: "
|
|
26475
|
+
auth: "protected"
|
|
26476
26476
|
}),
|
|
26477
26477
|
setPreset: method(z.object({
|
|
26478
26478
|
deviceId: z.number().int().nonnegative(),
|
|
26479
26479
|
preset: z.string().min(1)
|
|
26480
26480
|
}), z.void(), {
|
|
26481
26481
|
kind: "mutation",
|
|
26482
|
-
auth: "
|
|
26482
|
+
auth: "protected"
|
|
26483
26483
|
}),
|
|
26484
26484
|
setTarget: method(z.object({
|
|
26485
26485
|
deviceId: z.number().int().nonnegative(),
|
|
26486
26486
|
target: z.number()
|
|
26487
26487
|
}), z.void(), {
|
|
26488
26488
|
kind: "mutation",
|
|
26489
|
-
auth: "
|
|
26489
|
+
auth: "protected"
|
|
26490
26490
|
}),
|
|
26491
26491
|
setTargetRange: method(z.object({
|
|
26492
26492
|
deviceId: z.number().int().nonnegative(),
|
|
@@ -26494,28 +26494,28 @@ var climateControlCapability = {
|
|
|
26494
26494
|
targetHigh: z.number()
|
|
26495
26495
|
}), z.void(), {
|
|
26496
26496
|
kind: "mutation",
|
|
26497
|
-
auth: "
|
|
26497
|
+
auth: "protected"
|
|
26498
26498
|
}),
|
|
26499
26499
|
setTargetHumidity: method(z.object({
|
|
26500
26500
|
deviceId: z.number().int().nonnegative(),
|
|
26501
26501
|
targetHumidity: z.number().min(0).max(100)
|
|
26502
26502
|
}), z.void(), {
|
|
26503
26503
|
kind: "mutation",
|
|
26504
|
-
auth: "
|
|
26504
|
+
auth: "protected"
|
|
26505
26505
|
}),
|
|
26506
26506
|
setSwingVertical: method(z.object({
|
|
26507
26507
|
deviceId: z.number().int().nonnegative(),
|
|
26508
26508
|
on: z.boolean()
|
|
26509
26509
|
}), z.void(), {
|
|
26510
26510
|
kind: "mutation",
|
|
26511
|
-
auth: "
|
|
26511
|
+
auth: "protected"
|
|
26512
26512
|
}),
|
|
26513
26513
|
setSwingHorizontal: method(z.object({
|
|
26514
26514
|
deviceId: z.number().int().nonnegative(),
|
|
26515
26515
|
on: z.boolean()
|
|
26516
26516
|
}), z.void(), {
|
|
26517
26517
|
kind: "mutation",
|
|
26518
|
-
auth: "
|
|
26518
|
+
auth: "protected"
|
|
26519
26519
|
})
|
|
26520
26520
|
},
|
|
26521
26521
|
status: {
|
|
@@ -26617,7 +26617,7 @@ var colorCapability = {
|
|
|
26617
26617
|
color: ColorInputSchema
|
|
26618
26618
|
}), z.void(), {
|
|
26619
26619
|
kind: "mutation",
|
|
26620
|
-
auth: "
|
|
26620
|
+
auth: "protected"
|
|
26621
26621
|
}) },
|
|
26622
26622
|
events: {
|
|
26623
26623
|
/**
|
|
@@ -27042,7 +27042,7 @@ var controlCapability = {
|
|
|
27042
27042
|
control: ControlSetValueInputSchema
|
|
27043
27043
|
}), z.void(), {
|
|
27044
27044
|
kind: "mutation",
|
|
27045
|
-
auth: "
|
|
27045
|
+
auth: "protected"
|
|
27046
27046
|
}) },
|
|
27047
27047
|
status: {
|
|
27048
27048
|
schema: ControlStatusSchema,
|
|
@@ -27112,29 +27112,29 @@ var coverCapability = {
|
|
|
27112
27112
|
methods: {
|
|
27113
27113
|
open: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
27114
27114
|
kind: "mutation",
|
|
27115
|
-
auth: "
|
|
27115
|
+
auth: "protected"
|
|
27116
27116
|
}),
|
|
27117
27117
|
close: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
27118
27118
|
kind: "mutation",
|
|
27119
|
-
auth: "
|
|
27119
|
+
auth: "protected"
|
|
27120
27120
|
}),
|
|
27121
27121
|
stop: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
27122
27122
|
kind: "mutation",
|
|
27123
|
-
auth: "
|
|
27123
|
+
auth: "protected"
|
|
27124
27124
|
}),
|
|
27125
27125
|
setPosition: method(z.object({
|
|
27126
27126
|
deviceId: z.number().int().nonnegative(),
|
|
27127
27127
|
position: z.number().min(0).max(100)
|
|
27128
27128
|
}), z.void(), {
|
|
27129
27129
|
kind: "mutation",
|
|
27130
|
-
auth: "
|
|
27130
|
+
auth: "protected"
|
|
27131
27131
|
}),
|
|
27132
27132
|
setTiltPosition: method(z.object({
|
|
27133
27133
|
deviceId: z.number().int().nonnegative(),
|
|
27134
27134
|
tiltPosition: z.number().min(0).max(100)
|
|
27135
27135
|
}), z.void(), {
|
|
27136
27136
|
kind: "mutation",
|
|
27137
|
-
auth: "
|
|
27137
|
+
auth: "protected"
|
|
27138
27138
|
})
|
|
27139
27139
|
},
|
|
27140
27140
|
status: {
|
|
@@ -27544,6 +27544,59 @@ var IdentitySampleInfoSchema = z.object({
|
|
|
27544
27544
|
deviceId: z.number().int().optional(),
|
|
27545
27545
|
base64: z.string().optional()
|
|
27546
27546
|
});
|
|
27547
|
+
/**
|
|
27548
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
27549
|
+
*
|
|
27550
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
27551
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
27552
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
27553
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
27554
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
27555
|
+
* where every other cross-identity pair sits under 0.50.
|
|
27556
|
+
*/
|
|
27557
|
+
var IdentitySampleAuditRowSchema = z.object({
|
|
27558
|
+
sampleId: z.string(),
|
|
27559
|
+
enrolledAt: z.number().int(),
|
|
27560
|
+
deviceId: z.number().int().optional(),
|
|
27561
|
+
source: z.enum(["detected", "photo"]),
|
|
27562
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
27563
|
+
mediaKey: z.string().optional(),
|
|
27564
|
+
/**
|
|
27565
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
27566
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
27567
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
27568
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
27569
|
+
*/
|
|
27570
|
+
comparable: z.boolean(),
|
|
27571
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
27572
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
27573
|
+
selfMean: z.number().nullable(),
|
|
27574
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
27575
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
27576
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
27577
|
+
bestForeign: z.object({
|
|
27578
|
+
identityId: z.string(),
|
|
27579
|
+
name: z.string(),
|
|
27580
|
+
score: z.number()
|
|
27581
|
+
}).optional(),
|
|
27582
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
27583
|
+
suspicion: z.number()
|
|
27584
|
+
});
|
|
27585
|
+
var IdentitySampleAuditSchema = z.object({
|
|
27586
|
+
identityId: z.string(),
|
|
27587
|
+
name: z.string(),
|
|
27588
|
+
/** The cluster face model every comparison was made in. */
|
|
27589
|
+
modelId: z.string(),
|
|
27590
|
+
totalSamples: z.number().int(),
|
|
27591
|
+
comparableSamples: z.number().int(),
|
|
27592
|
+
flagged: z.number().int(),
|
|
27593
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
27594
|
+
* only its current result. */
|
|
27595
|
+
flagThreshold: z.number(),
|
|
27596
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
27597
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
27598
|
+
rows: z.array(IdentitySampleAuditRowSchema).readonly()
|
|
27599
|
+
});
|
|
27547
27600
|
var FaceInfoSchema = z.object({
|
|
27548
27601
|
faceId: z.string(),
|
|
27549
27602
|
deviceId: z.number().int(),
|
|
@@ -27705,6 +27758,19 @@ includeCrops: z.boolean().optional() }).optional(), z.array(IdentitySchema).read
|
|
|
27705
27758
|
auth: "admin"
|
|
27706
27759
|
}),
|
|
27707
27760
|
listIdentitySamples: method(z.object({ identityId: z.string() }), z.array(IdentitySampleInfoSchema).readonly()),
|
|
27761
|
+
/**
|
|
27762
|
+
* Re-analyse ONE person's enrolled samples against the whole gallery.
|
|
27763
|
+
*
|
|
27764
|
+
* A pure read — no write, no inference, just dot products over vectors the
|
|
27765
|
+
* hub already holds (327 of them on this cluster). `admin` for the same
|
|
27766
|
+
* reason `listIdentitySamples` is: the answer names every enrolled person
|
|
27767
|
+
* and how well one person's samples match them, which is the gallery's
|
|
27768
|
+
* shape and not a viewer-level fact.
|
|
27769
|
+
*
|
|
27770
|
+
* Removal deliberately stays `removeSample`: an analysis that could also
|
|
27771
|
+
* delete would be one confirmation away from emptying a gallery.
|
|
27772
|
+
*/
|
|
27773
|
+
auditIdentitySamples: method(z.object({ identityId: z.string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }),
|
|
27708
27774
|
removeSample: method(z.object({
|
|
27709
27775
|
identityId: z.string(),
|
|
27710
27776
|
sampleId: z.string()
|
|
@@ -27916,28 +27982,28 @@ var fanControlCapability = {
|
|
|
27916
27982
|
percentage: z.number().min(0).max(100)
|
|
27917
27983
|
}), z.void(), {
|
|
27918
27984
|
kind: "mutation",
|
|
27919
|
-
auth: "
|
|
27985
|
+
auth: "protected"
|
|
27920
27986
|
}),
|
|
27921
27987
|
setPreset: method(z.object({
|
|
27922
27988
|
deviceId: z.number().int().nonnegative(),
|
|
27923
27989
|
preset: z.string().min(1)
|
|
27924
27990
|
}), z.void(), {
|
|
27925
27991
|
kind: "mutation",
|
|
27926
|
-
auth: "
|
|
27992
|
+
auth: "protected"
|
|
27927
27993
|
}),
|
|
27928
27994
|
setDirection: method(z.object({
|
|
27929
27995
|
deviceId: z.number().int().nonnegative(),
|
|
27930
27996
|
direction: FanDirectionSchema
|
|
27931
27997
|
}), z.void(), {
|
|
27932
27998
|
kind: "mutation",
|
|
27933
|
-
auth: "
|
|
27999
|
+
auth: "protected"
|
|
27934
28000
|
}),
|
|
27935
28001
|
setOscillating: method(z.object({
|
|
27936
28002
|
deviceId: z.number().int().nonnegative(),
|
|
27937
28003
|
oscillating: z.boolean()
|
|
27938
28004
|
}), z.void(), {
|
|
27939
28005
|
kind: "mutation",
|
|
27940
|
-
auth: "
|
|
28006
|
+
auth: "protected"
|
|
27941
28007
|
})
|
|
27942
28008
|
},
|
|
27943
28009
|
status: {
|
|
@@ -28167,21 +28233,21 @@ var humidifierCapability = {
|
|
|
28167
28233
|
on: z.boolean()
|
|
28168
28234
|
}), z.void(), {
|
|
28169
28235
|
kind: "mutation",
|
|
28170
|
-
auth: "
|
|
28236
|
+
auth: "protected"
|
|
28171
28237
|
}),
|
|
28172
28238
|
setTargetHumidity: method(z.object({
|
|
28173
28239
|
deviceId: z.number().int().nonnegative(),
|
|
28174
28240
|
humidity: z.number().min(0).max(100)
|
|
28175
28241
|
}), z.void(), {
|
|
28176
28242
|
kind: "mutation",
|
|
28177
|
-
auth: "
|
|
28243
|
+
auth: "protected"
|
|
28178
28244
|
}),
|
|
28179
28245
|
setMode: method(z.object({
|
|
28180
28246
|
deviceId: z.number().int().nonnegative(),
|
|
28181
28247
|
mode: z.string().min(1)
|
|
28182
28248
|
}), z.void(), {
|
|
28183
28249
|
kind: "mutation",
|
|
28184
|
-
auth: "
|
|
28250
|
+
auth: "protected"
|
|
28185
28251
|
})
|
|
28186
28252
|
},
|
|
28187
28253
|
status: {
|
|
@@ -28912,15 +28978,15 @@ var lawnMowerControlCapability = {
|
|
|
28912
28978
|
methods: {
|
|
28913
28979
|
startMowing: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
28914
28980
|
kind: "mutation",
|
|
28915
|
-
auth: "
|
|
28981
|
+
auth: "protected"
|
|
28916
28982
|
}),
|
|
28917
28983
|
pause: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
28918
28984
|
kind: "mutation",
|
|
28919
|
-
auth: "
|
|
28985
|
+
auth: "protected"
|
|
28920
28986
|
}),
|
|
28921
28987
|
dock: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
28922
28988
|
kind: "mutation",
|
|
28923
|
-
auth: "
|
|
28989
|
+
auth: "protected"
|
|
28924
28990
|
})
|
|
28925
28991
|
},
|
|
28926
28992
|
status: {
|
|
@@ -29347,18 +29413,18 @@ var lockControlCapability = {
|
|
|
29347
29413
|
code: z.string().min(1).optional()
|
|
29348
29414
|
}), z.void(), {
|
|
29349
29415
|
kind: "mutation",
|
|
29350
|
-
auth: "
|
|
29416
|
+
auth: "protected"
|
|
29351
29417
|
}),
|
|
29352
29418
|
unlock: method(z.object({
|
|
29353
29419
|
deviceId: z.number().int().nonnegative(),
|
|
29354
29420
|
code: z.string().min(1).optional()
|
|
29355
29421
|
}), z.void(), {
|
|
29356
29422
|
kind: "mutation",
|
|
29357
|
-
auth: "
|
|
29423
|
+
auth: "protected"
|
|
29358
29424
|
}),
|
|
29359
29425
|
open: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29360
29426
|
kind: "mutation",
|
|
29361
|
-
auth: "
|
|
29427
|
+
auth: "protected"
|
|
29362
29428
|
})
|
|
29363
29429
|
},
|
|
29364
29430
|
status: {
|
|
@@ -29463,65 +29529,65 @@ var mediaPlayerCapability = {
|
|
|
29463
29529
|
methods: {
|
|
29464
29530
|
play: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29465
29531
|
kind: "mutation",
|
|
29466
|
-
auth: "
|
|
29532
|
+
auth: "protected"
|
|
29467
29533
|
}),
|
|
29468
29534
|
pause: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29469
29535
|
kind: "mutation",
|
|
29470
|
-
auth: "
|
|
29536
|
+
auth: "protected"
|
|
29471
29537
|
}),
|
|
29472
29538
|
stop: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29473
29539
|
kind: "mutation",
|
|
29474
|
-
auth: "
|
|
29540
|
+
auth: "protected"
|
|
29475
29541
|
}),
|
|
29476
29542
|
next: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29477
29543
|
kind: "mutation",
|
|
29478
|
-
auth: "
|
|
29544
|
+
auth: "protected"
|
|
29479
29545
|
}),
|
|
29480
29546
|
previous: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
29481
29547
|
kind: "mutation",
|
|
29482
|
-
auth: "
|
|
29548
|
+
auth: "protected"
|
|
29483
29549
|
}),
|
|
29484
29550
|
seek: method(z.object({
|
|
29485
29551
|
deviceId: z.number().int().nonnegative(),
|
|
29486
29552
|
positionMs: z.number().int().nonnegative()
|
|
29487
29553
|
}), z.void(), {
|
|
29488
29554
|
kind: "mutation",
|
|
29489
|
-
auth: "
|
|
29555
|
+
auth: "protected"
|
|
29490
29556
|
}),
|
|
29491
29557
|
setVolume: method(z.object({
|
|
29492
29558
|
deviceId: z.number().int().nonnegative(),
|
|
29493
29559
|
volumeLevel: z.number().min(0).max(100)
|
|
29494
29560
|
}), z.void(), {
|
|
29495
29561
|
kind: "mutation",
|
|
29496
|
-
auth: "
|
|
29562
|
+
auth: "protected"
|
|
29497
29563
|
}),
|
|
29498
29564
|
setMute: method(z.object({
|
|
29499
29565
|
deviceId: z.number().int().nonnegative(),
|
|
29500
29566
|
muted: z.boolean()
|
|
29501
29567
|
}), z.void(), {
|
|
29502
29568
|
kind: "mutation",
|
|
29503
|
-
auth: "
|
|
29569
|
+
auth: "protected"
|
|
29504
29570
|
}),
|
|
29505
29571
|
setShuffle: method(z.object({
|
|
29506
29572
|
deviceId: z.number().int().nonnegative(),
|
|
29507
29573
|
shuffle: z.boolean()
|
|
29508
29574
|
}), z.void(), {
|
|
29509
29575
|
kind: "mutation",
|
|
29510
|
-
auth: "
|
|
29576
|
+
auth: "protected"
|
|
29511
29577
|
}),
|
|
29512
29578
|
setRepeat: method(z.object({
|
|
29513
29579
|
deviceId: z.number().int().nonnegative(),
|
|
29514
29580
|
repeat: MediaPlayerRepeatSchema
|
|
29515
29581
|
}), z.void(), {
|
|
29516
29582
|
kind: "mutation",
|
|
29517
|
-
auth: "
|
|
29583
|
+
auth: "protected"
|
|
29518
29584
|
}),
|
|
29519
29585
|
selectSource: method(z.object({
|
|
29520
29586
|
deviceId: z.number().int().nonnegative(),
|
|
29521
29587
|
source: z.string().min(1)
|
|
29522
29588
|
}), z.void(), {
|
|
29523
29589
|
kind: "mutation",
|
|
29524
|
-
auth: "
|
|
29590
|
+
auth: "protected"
|
|
29525
29591
|
}),
|
|
29526
29592
|
playMedia: method(z.object({
|
|
29527
29593
|
deviceId: z.number().int().nonnegative(),
|
|
@@ -29532,7 +29598,7 @@ var mediaPlayerCapability = {
|
|
|
29532
29598
|
mediaType: z.string().min(1)
|
|
29533
29599
|
}), z.void(), {
|
|
29534
29600
|
kind: "mutation",
|
|
29535
|
-
auth: "
|
|
29601
|
+
auth: "protected"
|
|
29536
29602
|
})
|
|
29537
29603
|
},
|
|
29538
29604
|
status: {
|
|
@@ -31570,27 +31636,27 @@ var petFeederCapability = {
|
|
|
31570
31636
|
hopper2: gramsPortion.optional()
|
|
31571
31637
|
}), z.void(), {
|
|
31572
31638
|
kind: "mutation",
|
|
31573
|
-
auth: "
|
|
31639
|
+
auth: "protected"
|
|
31574
31640
|
}),
|
|
31575
31641
|
/** Cancel an in-progress manual feed. */
|
|
31576
31642
|
cancelFeed: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
31577
31643
|
kind: "mutation",
|
|
31578
|
-
auth: "
|
|
31644
|
+
auth: "protected"
|
|
31579
31645
|
}),
|
|
31580
31646
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
31581
31647
|
resetDesiccant: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
31582
31648
|
kind: "mutation",
|
|
31583
|
-
auth: "
|
|
31649
|
+
auth: "protected"
|
|
31584
31650
|
}),
|
|
31585
31651
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
31586
31652
|
markFoodReplenished: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
31587
31653
|
kind: "mutation",
|
|
31588
|
-
auth: "
|
|
31654
|
+
auth: "protected"
|
|
31589
31655
|
}),
|
|
31590
31656
|
/** Call the pet with the recorded prompt (D3). */
|
|
31591
31657
|
callPet: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
31592
31658
|
kind: "mutation",
|
|
31593
|
-
auth: "
|
|
31659
|
+
auth: "protected"
|
|
31594
31660
|
}),
|
|
31595
31661
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
31596
31662
|
playSound: method(z.object({
|
|
@@ -31598,7 +31664,7 @@ var petFeederCapability = {
|
|
|
31598
31664
|
soundId: z.number().int().nonnegative()
|
|
31599
31665
|
}), z.void(), {
|
|
31600
31666
|
kind: "mutation",
|
|
31601
|
-
auth: "
|
|
31667
|
+
auth: "protected"
|
|
31602
31668
|
}),
|
|
31603
31669
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
31604
31670
|
setChildLock: method(z.object({
|
|
@@ -31606,7 +31672,7 @@ var petFeederCapability = {
|
|
|
31606
31672
|
on: z.boolean()
|
|
31607
31673
|
}), z.void(), {
|
|
31608
31674
|
kind: "mutation",
|
|
31609
|
-
auth: "
|
|
31675
|
+
auth: "protected"
|
|
31610
31676
|
}),
|
|
31611
31677
|
/** Toggle the front indicator light. */
|
|
31612
31678
|
setIndicatorLight: method(z.object({
|
|
@@ -31614,7 +31680,7 @@ var petFeederCapability = {
|
|
|
31614
31680
|
on: z.boolean()
|
|
31615
31681
|
}), z.void(), {
|
|
31616
31682
|
kind: "mutation",
|
|
31617
|
-
auth: "
|
|
31683
|
+
auth: "protected"
|
|
31618
31684
|
}),
|
|
31619
31685
|
/** Toggle the dispense chime. */
|
|
31620
31686
|
setFeedSound: method(z.object({
|
|
@@ -31622,7 +31688,7 @@ var petFeederCapability = {
|
|
|
31622
31688
|
on: z.boolean()
|
|
31623
31689
|
}), z.void(), {
|
|
31624
31690
|
kind: "mutation",
|
|
31625
|
-
auth: "
|
|
31691
|
+
auth: "protected"
|
|
31626
31692
|
}),
|
|
31627
31693
|
/** Set the speaker / prompt volume level. */
|
|
31628
31694
|
setVolume: method(z.object({
|
|
@@ -31630,7 +31696,7 @@ var petFeederCapability = {
|
|
|
31630
31696
|
level: z.number().int().nonnegative()
|
|
31631
31697
|
}), z.void(), {
|
|
31632
31698
|
kind: "mutation",
|
|
31633
|
-
auth: "
|
|
31699
|
+
auth: "protected"
|
|
31634
31700
|
})
|
|
31635
31701
|
},
|
|
31636
31702
|
status: {
|
|
@@ -34665,7 +34731,7 @@ var switchCapability = {
|
|
|
34665
34731
|
on: z.boolean()
|
|
34666
34732
|
}), z.void(), {
|
|
34667
34733
|
kind: "mutation",
|
|
34668
|
-
auth: "
|
|
34734
|
+
auth: "protected"
|
|
34669
34735
|
}) },
|
|
34670
34736
|
events: { onStateChanged: { data: z.object({
|
|
34671
34737
|
deviceId: z.number(),
|
|
@@ -35829,30 +35895,30 @@ var vacuumControlCapability = {
|
|
|
35829
35895
|
methods: {
|
|
35830
35896
|
start: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35831
35897
|
kind: "mutation",
|
|
35832
|
-
auth: "
|
|
35898
|
+
auth: "protected"
|
|
35833
35899
|
}),
|
|
35834
35900
|
pause: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35835
35901
|
kind: "mutation",
|
|
35836
|
-
auth: "
|
|
35902
|
+
auth: "protected"
|
|
35837
35903
|
}),
|
|
35838
35904
|
stop: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35839
35905
|
kind: "mutation",
|
|
35840
|
-
auth: "
|
|
35906
|
+
auth: "protected"
|
|
35841
35907
|
}),
|
|
35842
35908
|
returnToBase: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35843
35909
|
kind: "mutation",
|
|
35844
|
-
auth: "
|
|
35910
|
+
auth: "protected"
|
|
35845
35911
|
}),
|
|
35846
35912
|
locate: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35847
35913
|
kind: "mutation",
|
|
35848
|
-
auth: "
|
|
35914
|
+
auth: "protected"
|
|
35849
35915
|
}),
|
|
35850
35916
|
setFanSpeed: method(z.object({
|
|
35851
35917
|
deviceId: z.number().int().nonnegative(),
|
|
35852
35918
|
speed: z.string().min(1)
|
|
35853
35919
|
}), z.void(), {
|
|
35854
35920
|
kind: "mutation",
|
|
35855
|
-
auth: "
|
|
35921
|
+
auth: "protected"
|
|
35856
35922
|
})
|
|
35857
35923
|
},
|
|
35858
35924
|
status: {
|
|
@@ -35916,22 +35982,22 @@ var valveCapability = {
|
|
|
35916
35982
|
methods: {
|
|
35917
35983
|
open: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35918
35984
|
kind: "mutation",
|
|
35919
|
-
auth: "
|
|
35985
|
+
auth: "protected"
|
|
35920
35986
|
}),
|
|
35921
35987
|
close: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35922
35988
|
kind: "mutation",
|
|
35923
|
-
auth: "
|
|
35989
|
+
auth: "protected"
|
|
35924
35990
|
}),
|
|
35925
35991
|
stop: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
35926
35992
|
kind: "mutation",
|
|
35927
|
-
auth: "
|
|
35993
|
+
auth: "protected"
|
|
35928
35994
|
}),
|
|
35929
35995
|
setPosition: method(z.object({
|
|
35930
35996
|
deviceId: z.number().int().nonnegative(),
|
|
35931
35997
|
position: z.number().min(0).max(100)
|
|
35932
35998
|
}), z.void(), {
|
|
35933
35999
|
kind: "mutation",
|
|
35934
|
-
auth: "
|
|
36000
|
+
auth: "protected"
|
|
35935
36001
|
})
|
|
35936
36002
|
},
|
|
35937
36003
|
status: {
|
|
@@ -36034,21 +36100,21 @@ var waterHeaterCapability = {
|
|
|
36034
36100
|
temp: z.number().finite()
|
|
36035
36101
|
}), z.void(), {
|
|
36036
36102
|
kind: "mutation",
|
|
36037
|
-
auth: "
|
|
36103
|
+
auth: "protected"
|
|
36038
36104
|
}),
|
|
36039
36105
|
setOperationMode: method(z.object({
|
|
36040
36106
|
deviceId: z.number().int().nonnegative(),
|
|
36041
36107
|
mode: z.string().min(1)
|
|
36042
36108
|
}), z.void(), {
|
|
36043
36109
|
kind: "mutation",
|
|
36044
|
-
auth: "
|
|
36110
|
+
auth: "protected"
|
|
36045
36111
|
}),
|
|
36046
36112
|
setAway: method(z.object({
|
|
36047
36113
|
deviceId: z.number().int().nonnegative(),
|
|
36048
36114
|
on: z.boolean()
|
|
36049
36115
|
}), z.void(), {
|
|
36050
36116
|
kind: "mutation",
|
|
36051
|
-
auth: "
|
|
36117
|
+
auth: "protected"
|
|
36052
36118
|
})
|
|
36053
36119
|
},
|
|
36054
36120
|
status: {
|
|
@@ -42962,6 +43028,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42962
43028
|
addonId: null,
|
|
42963
43029
|
access: "create"
|
|
42964
43030
|
},
|
|
43031
|
+
"faceGallery.auditIdentitySamples": {
|
|
43032
|
+
capName: "face-gallery",
|
|
43033
|
+
capScope: "system",
|
|
43034
|
+
addonId: null,
|
|
43035
|
+
access: "view"
|
|
43036
|
+
},
|
|
42965
43037
|
"faceGallery.createIdentity": {
|
|
42966
43038
|
capName: "face-gallery",
|
|
42967
43039
|
capScope: "system",
|
|
@@ -50188,6 +50260,7 @@ function createSystemProxy(api) {
|
|
|
50188
50260
|
renameIdentity: (input) => dispatch("faceGallery", "renameIdentity", "mutation", input),
|
|
50189
50261
|
deleteIdentity: (input) => dispatch("faceGallery", "deleteIdentity", "mutation", input),
|
|
50190
50262
|
listIdentitySamples: (input) => dispatch("faceGallery", "listIdentitySamples", "query", input),
|
|
50263
|
+
auditIdentitySamples: (input) => dispatch("faceGallery", "auditIdentitySamples", "query", input),
|
|
50191
50264
|
removeSample: (input) => dispatch("faceGallery", "removeSample", "mutation", input),
|
|
50192
50265
|
getFaceMedia: (input) => dispatch("faceGallery", "getFaceMedia", "query", input),
|
|
50193
50266
|
assignFace: (input) => dispatch("faceGallery", "assignFace", "mutation", input),
|
|
@@ -255,8 +255,15 @@ export interface PipelineAnalyticsPlateGalleryChangedPayload {
|
|
|
255
255
|
* Emitted by `addon-post-analysis` when a package-drop is confirmed — a
|
|
256
256
|
* newly-appeared stationary object of a package class that cleared the
|
|
257
257
|
* class / zone / dwell / size gates inside a package zone. Telemetry (D8):
|
|
258
|
-
* the durable record is the `package-events` store row
|
|
259
|
-
*
|
|
258
|
+
* the durable record is the `package-events` store row.
|
|
259
|
+
*
|
|
260
|
+
* It drives NOTHING today — swept 2026-09-08, this payload and its
|
|
261
|
+
* `…PackedUp` sibling have no subscriber anywhere in `packages/`, `server/`,
|
|
262
|
+
* `camstack/` or `scripts/`. The notification path is the persist hook
|
|
263
|
+
* (`pipeline-analytics/index.ts` → `notificationCenter.onPackageEventPersisted`),
|
|
264
|
+
* not this event. The previous sentence here claimed it drove notifier rules
|
|
265
|
+
* and the live UI, which read as verification of a wiring that does not
|
|
266
|
+
* exist. See
|
|
260
267
|
* docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
|
|
261
268
|
*/
|
|
262
269
|
export interface PipelineAnalyticsPackageDeliveredPayload {
|