@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.js
CHANGED
|
@@ -15081,14 +15081,14 @@ var alarmPanelCapability = {
|
|
|
15081
15081
|
code: zod.z.string().min(1).optional()
|
|
15082
15082
|
}), zod.z.void(), {
|
|
15083
15083
|
kind: "mutation",
|
|
15084
|
-
auth: "
|
|
15084
|
+
auth: "protected"
|
|
15085
15085
|
}),
|
|
15086
15086
|
disarm: require_sleep.method(zod.z.object({
|
|
15087
15087
|
deviceId: zod.z.number().int().nonnegative(),
|
|
15088
15088
|
code: zod.z.string().min(1).optional()
|
|
15089
15089
|
}), zod.z.void(), {
|
|
15090
15090
|
kind: "mutation",
|
|
15091
|
-
auth: "
|
|
15091
|
+
auth: "protected"
|
|
15092
15092
|
}),
|
|
15093
15093
|
/**
|
|
15094
15094
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -15099,7 +15099,7 @@ var alarmPanelCapability = {
|
|
|
15099
15099
|
*/
|
|
15100
15100
|
trigger: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
15101
15101
|
kind: "mutation",
|
|
15102
|
-
auth: "
|
|
15102
|
+
auth: "protected"
|
|
15103
15103
|
})
|
|
15104
15104
|
},
|
|
15105
15105
|
status: {
|
|
@@ -26192,7 +26192,7 @@ var brightnessCapability = {
|
|
|
26192
26192
|
percentage: zod.z.number().min(0).max(100)
|
|
26193
26193
|
}), zod.z.void(), {
|
|
26194
26194
|
kind: "mutation",
|
|
26195
|
-
auth: "
|
|
26195
|
+
auth: "protected"
|
|
26196
26196
|
}) },
|
|
26197
26197
|
events: {
|
|
26198
26198
|
/**
|
|
@@ -26243,7 +26243,7 @@ var buttonCapability = {
|
|
|
26243
26243
|
deviceTypes: [require_sleep.DeviceType.Button],
|
|
26244
26244
|
methods: { press: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
26245
26245
|
kind: "mutation",
|
|
26246
|
-
auth: "
|
|
26246
|
+
auth: "protected"
|
|
26247
26247
|
}) }
|
|
26248
26248
|
};
|
|
26249
26249
|
//#endregion
|
|
@@ -26466,28 +26466,28 @@ var climateControlCapability = {
|
|
|
26466
26466
|
mode: HvacModeSchema
|
|
26467
26467
|
}), zod.z.void(), {
|
|
26468
26468
|
kind: "mutation",
|
|
26469
|
-
auth: "
|
|
26469
|
+
auth: "protected"
|
|
26470
26470
|
}),
|
|
26471
26471
|
setFanMode: require_sleep.method(zod.z.object({
|
|
26472
26472
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26473
26473
|
fanMode: zod.z.string().min(1)
|
|
26474
26474
|
}), zod.z.void(), {
|
|
26475
26475
|
kind: "mutation",
|
|
26476
|
-
auth: "
|
|
26476
|
+
auth: "protected"
|
|
26477
26477
|
}),
|
|
26478
26478
|
setPreset: require_sleep.method(zod.z.object({
|
|
26479
26479
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26480
26480
|
preset: zod.z.string().min(1)
|
|
26481
26481
|
}), zod.z.void(), {
|
|
26482
26482
|
kind: "mutation",
|
|
26483
|
-
auth: "
|
|
26483
|
+
auth: "protected"
|
|
26484
26484
|
}),
|
|
26485
26485
|
setTarget: require_sleep.method(zod.z.object({
|
|
26486
26486
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26487
26487
|
target: zod.z.number()
|
|
26488
26488
|
}), zod.z.void(), {
|
|
26489
26489
|
kind: "mutation",
|
|
26490
|
-
auth: "
|
|
26490
|
+
auth: "protected"
|
|
26491
26491
|
}),
|
|
26492
26492
|
setTargetRange: require_sleep.method(zod.z.object({
|
|
26493
26493
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -26495,28 +26495,28 @@ var climateControlCapability = {
|
|
|
26495
26495
|
targetHigh: zod.z.number()
|
|
26496
26496
|
}), zod.z.void(), {
|
|
26497
26497
|
kind: "mutation",
|
|
26498
|
-
auth: "
|
|
26498
|
+
auth: "protected"
|
|
26499
26499
|
}),
|
|
26500
26500
|
setTargetHumidity: require_sleep.method(zod.z.object({
|
|
26501
26501
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26502
26502
|
targetHumidity: zod.z.number().min(0).max(100)
|
|
26503
26503
|
}), zod.z.void(), {
|
|
26504
26504
|
kind: "mutation",
|
|
26505
|
-
auth: "
|
|
26505
|
+
auth: "protected"
|
|
26506
26506
|
}),
|
|
26507
26507
|
setSwingVertical: require_sleep.method(zod.z.object({
|
|
26508
26508
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26509
26509
|
on: zod.z.boolean()
|
|
26510
26510
|
}), zod.z.void(), {
|
|
26511
26511
|
kind: "mutation",
|
|
26512
|
-
auth: "
|
|
26512
|
+
auth: "protected"
|
|
26513
26513
|
}),
|
|
26514
26514
|
setSwingHorizontal: require_sleep.method(zod.z.object({
|
|
26515
26515
|
deviceId: zod.z.number().int().nonnegative(),
|
|
26516
26516
|
on: zod.z.boolean()
|
|
26517
26517
|
}), zod.z.void(), {
|
|
26518
26518
|
kind: "mutation",
|
|
26519
|
-
auth: "
|
|
26519
|
+
auth: "protected"
|
|
26520
26520
|
})
|
|
26521
26521
|
},
|
|
26522
26522
|
status: {
|
|
@@ -26618,7 +26618,7 @@ var colorCapability = {
|
|
|
26618
26618
|
color: ColorInputSchema
|
|
26619
26619
|
}), zod.z.void(), {
|
|
26620
26620
|
kind: "mutation",
|
|
26621
|
-
auth: "
|
|
26621
|
+
auth: "protected"
|
|
26622
26622
|
}) },
|
|
26623
26623
|
events: {
|
|
26624
26624
|
/**
|
|
@@ -27043,7 +27043,7 @@ var controlCapability = {
|
|
|
27043
27043
|
control: ControlSetValueInputSchema
|
|
27044
27044
|
}), zod.z.void(), {
|
|
27045
27045
|
kind: "mutation",
|
|
27046
|
-
auth: "
|
|
27046
|
+
auth: "protected"
|
|
27047
27047
|
}) },
|
|
27048
27048
|
status: {
|
|
27049
27049
|
schema: ControlStatusSchema,
|
|
@@ -27113,29 +27113,29 @@ var coverCapability = {
|
|
|
27113
27113
|
methods: {
|
|
27114
27114
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
27115
27115
|
kind: "mutation",
|
|
27116
|
-
auth: "
|
|
27116
|
+
auth: "protected"
|
|
27117
27117
|
}),
|
|
27118
27118
|
close: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
27119
27119
|
kind: "mutation",
|
|
27120
|
-
auth: "
|
|
27120
|
+
auth: "protected"
|
|
27121
27121
|
}),
|
|
27122
27122
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
27123
27123
|
kind: "mutation",
|
|
27124
|
-
auth: "
|
|
27124
|
+
auth: "protected"
|
|
27125
27125
|
}),
|
|
27126
27126
|
setPosition: require_sleep.method(zod.z.object({
|
|
27127
27127
|
deviceId: zod.z.number().int().nonnegative(),
|
|
27128
27128
|
position: zod.z.number().min(0).max(100)
|
|
27129
27129
|
}), zod.z.void(), {
|
|
27130
27130
|
kind: "mutation",
|
|
27131
|
-
auth: "
|
|
27131
|
+
auth: "protected"
|
|
27132
27132
|
}),
|
|
27133
27133
|
setTiltPosition: require_sleep.method(zod.z.object({
|
|
27134
27134
|
deviceId: zod.z.number().int().nonnegative(),
|
|
27135
27135
|
tiltPosition: zod.z.number().min(0).max(100)
|
|
27136
27136
|
}), zod.z.void(), {
|
|
27137
27137
|
kind: "mutation",
|
|
27138
|
-
auth: "
|
|
27138
|
+
auth: "protected"
|
|
27139
27139
|
})
|
|
27140
27140
|
},
|
|
27141
27141
|
status: {
|
|
@@ -27545,6 +27545,59 @@ var IdentitySampleInfoSchema = zod.z.object({
|
|
|
27545
27545
|
deviceId: zod.z.number().int().optional(),
|
|
27546
27546
|
base64: zod.z.string().optional()
|
|
27547
27547
|
});
|
|
27548
|
+
/**
|
|
27549
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
27550
|
+
*
|
|
27551
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
27552
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
27553
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
27554
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
27555
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
27556
|
+
* where every other cross-identity pair sits under 0.50.
|
|
27557
|
+
*/
|
|
27558
|
+
var IdentitySampleAuditRowSchema = zod.z.object({
|
|
27559
|
+
sampleId: zod.z.string(),
|
|
27560
|
+
enrolledAt: zod.z.number().int(),
|
|
27561
|
+
deviceId: zod.z.number().int().optional(),
|
|
27562
|
+
source: zod.z.enum(["detected", "photo"]),
|
|
27563
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
27564
|
+
mediaKey: zod.z.string().optional(),
|
|
27565
|
+
/**
|
|
27566
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
27567
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
27568
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
27569
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
27570
|
+
*/
|
|
27571
|
+
comparable: zod.z.boolean(),
|
|
27572
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
27573
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
27574
|
+
selfMean: zod.z.number().nullable(),
|
|
27575
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
27576
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
27577
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
27578
|
+
bestForeign: zod.z.object({
|
|
27579
|
+
identityId: zod.z.string(),
|
|
27580
|
+
name: zod.z.string(),
|
|
27581
|
+
score: zod.z.number()
|
|
27582
|
+
}).optional(),
|
|
27583
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
27584
|
+
suspicion: zod.z.number()
|
|
27585
|
+
});
|
|
27586
|
+
var IdentitySampleAuditSchema = zod.z.object({
|
|
27587
|
+
identityId: zod.z.string(),
|
|
27588
|
+
name: zod.z.string(),
|
|
27589
|
+
/** The cluster face model every comparison was made in. */
|
|
27590
|
+
modelId: zod.z.string(),
|
|
27591
|
+
totalSamples: zod.z.number().int(),
|
|
27592
|
+
comparableSamples: zod.z.number().int(),
|
|
27593
|
+
flagged: zod.z.number().int(),
|
|
27594
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
27595
|
+
* only its current result. */
|
|
27596
|
+
flagThreshold: zod.z.number(),
|
|
27597
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
27598
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
27599
|
+
rows: zod.z.array(IdentitySampleAuditRowSchema).readonly()
|
|
27600
|
+
});
|
|
27548
27601
|
var FaceInfoSchema = zod.z.object({
|
|
27549
27602
|
faceId: zod.z.string(),
|
|
27550
27603
|
deviceId: zod.z.number().int(),
|
|
@@ -27706,6 +27759,19 @@ includeCrops: zod.z.boolean().optional() }).optional(), zod.z.array(IdentitySche
|
|
|
27706
27759
|
auth: "admin"
|
|
27707
27760
|
}),
|
|
27708
27761
|
listIdentitySamples: require_sleep.method(zod.z.object({ identityId: zod.z.string() }), zod.z.array(IdentitySampleInfoSchema).readonly()),
|
|
27762
|
+
/**
|
|
27763
|
+
* Re-analyse ONE person's enrolled samples against the whole gallery.
|
|
27764
|
+
*
|
|
27765
|
+
* A pure read — no write, no inference, just dot products over vectors the
|
|
27766
|
+
* hub already holds (327 of them on this cluster). `admin` for the same
|
|
27767
|
+
* reason `listIdentitySamples` is: the answer names every enrolled person
|
|
27768
|
+
* and how well one person's samples match them, which is the gallery's
|
|
27769
|
+
* shape and not a viewer-level fact.
|
|
27770
|
+
*
|
|
27771
|
+
* Removal deliberately stays `removeSample`: an analysis that could also
|
|
27772
|
+
* delete would be one confirmation away from emptying a gallery.
|
|
27773
|
+
*/
|
|
27774
|
+
auditIdentitySamples: require_sleep.method(zod.z.object({ identityId: zod.z.string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }),
|
|
27709
27775
|
removeSample: require_sleep.method(zod.z.object({
|
|
27710
27776
|
identityId: zod.z.string(),
|
|
27711
27777
|
sampleId: zod.z.string()
|
|
@@ -27917,28 +27983,28 @@ var fanControlCapability = {
|
|
|
27917
27983
|
percentage: zod.z.number().min(0).max(100)
|
|
27918
27984
|
}), zod.z.void(), {
|
|
27919
27985
|
kind: "mutation",
|
|
27920
|
-
auth: "
|
|
27986
|
+
auth: "protected"
|
|
27921
27987
|
}),
|
|
27922
27988
|
setPreset: require_sleep.method(zod.z.object({
|
|
27923
27989
|
deviceId: zod.z.number().int().nonnegative(),
|
|
27924
27990
|
preset: zod.z.string().min(1)
|
|
27925
27991
|
}), zod.z.void(), {
|
|
27926
27992
|
kind: "mutation",
|
|
27927
|
-
auth: "
|
|
27993
|
+
auth: "protected"
|
|
27928
27994
|
}),
|
|
27929
27995
|
setDirection: require_sleep.method(zod.z.object({
|
|
27930
27996
|
deviceId: zod.z.number().int().nonnegative(),
|
|
27931
27997
|
direction: FanDirectionSchema
|
|
27932
27998
|
}), zod.z.void(), {
|
|
27933
27999
|
kind: "mutation",
|
|
27934
|
-
auth: "
|
|
28000
|
+
auth: "protected"
|
|
27935
28001
|
}),
|
|
27936
28002
|
setOscillating: require_sleep.method(zod.z.object({
|
|
27937
28003
|
deviceId: zod.z.number().int().nonnegative(),
|
|
27938
28004
|
oscillating: zod.z.boolean()
|
|
27939
28005
|
}), zod.z.void(), {
|
|
27940
28006
|
kind: "mutation",
|
|
27941
|
-
auth: "
|
|
28007
|
+
auth: "protected"
|
|
27942
28008
|
})
|
|
27943
28009
|
},
|
|
27944
28010
|
status: {
|
|
@@ -28168,21 +28234,21 @@ var humidifierCapability = {
|
|
|
28168
28234
|
on: zod.z.boolean()
|
|
28169
28235
|
}), zod.z.void(), {
|
|
28170
28236
|
kind: "mutation",
|
|
28171
|
-
auth: "
|
|
28237
|
+
auth: "protected"
|
|
28172
28238
|
}),
|
|
28173
28239
|
setTargetHumidity: require_sleep.method(zod.z.object({
|
|
28174
28240
|
deviceId: zod.z.number().int().nonnegative(),
|
|
28175
28241
|
humidity: zod.z.number().min(0).max(100)
|
|
28176
28242
|
}), zod.z.void(), {
|
|
28177
28243
|
kind: "mutation",
|
|
28178
|
-
auth: "
|
|
28244
|
+
auth: "protected"
|
|
28179
28245
|
}),
|
|
28180
28246
|
setMode: require_sleep.method(zod.z.object({
|
|
28181
28247
|
deviceId: zod.z.number().int().nonnegative(),
|
|
28182
28248
|
mode: zod.z.string().min(1)
|
|
28183
28249
|
}), zod.z.void(), {
|
|
28184
28250
|
kind: "mutation",
|
|
28185
|
-
auth: "
|
|
28251
|
+
auth: "protected"
|
|
28186
28252
|
})
|
|
28187
28253
|
},
|
|
28188
28254
|
status: {
|
|
@@ -28913,15 +28979,15 @@ var lawnMowerControlCapability = {
|
|
|
28913
28979
|
methods: {
|
|
28914
28980
|
startMowing: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
28915
28981
|
kind: "mutation",
|
|
28916
|
-
auth: "
|
|
28982
|
+
auth: "protected"
|
|
28917
28983
|
}),
|
|
28918
28984
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
28919
28985
|
kind: "mutation",
|
|
28920
|
-
auth: "
|
|
28986
|
+
auth: "protected"
|
|
28921
28987
|
}),
|
|
28922
28988
|
dock: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
28923
28989
|
kind: "mutation",
|
|
28924
|
-
auth: "
|
|
28990
|
+
auth: "protected"
|
|
28925
28991
|
})
|
|
28926
28992
|
},
|
|
28927
28993
|
status: {
|
|
@@ -29348,18 +29414,18 @@ var lockControlCapability = {
|
|
|
29348
29414
|
code: zod.z.string().min(1).optional()
|
|
29349
29415
|
}), zod.z.void(), {
|
|
29350
29416
|
kind: "mutation",
|
|
29351
|
-
auth: "
|
|
29417
|
+
auth: "protected"
|
|
29352
29418
|
}),
|
|
29353
29419
|
unlock: require_sleep.method(zod.z.object({
|
|
29354
29420
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29355
29421
|
code: zod.z.string().min(1).optional()
|
|
29356
29422
|
}), zod.z.void(), {
|
|
29357
29423
|
kind: "mutation",
|
|
29358
|
-
auth: "
|
|
29424
|
+
auth: "protected"
|
|
29359
29425
|
}),
|
|
29360
29426
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29361
29427
|
kind: "mutation",
|
|
29362
|
-
auth: "
|
|
29428
|
+
auth: "protected"
|
|
29363
29429
|
})
|
|
29364
29430
|
},
|
|
29365
29431
|
status: {
|
|
@@ -29464,65 +29530,65 @@ var mediaPlayerCapability = {
|
|
|
29464
29530
|
methods: {
|
|
29465
29531
|
play: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29466
29532
|
kind: "mutation",
|
|
29467
|
-
auth: "
|
|
29533
|
+
auth: "protected"
|
|
29468
29534
|
}),
|
|
29469
29535
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29470
29536
|
kind: "mutation",
|
|
29471
|
-
auth: "
|
|
29537
|
+
auth: "protected"
|
|
29472
29538
|
}),
|
|
29473
29539
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29474
29540
|
kind: "mutation",
|
|
29475
|
-
auth: "
|
|
29541
|
+
auth: "protected"
|
|
29476
29542
|
}),
|
|
29477
29543
|
next: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29478
29544
|
kind: "mutation",
|
|
29479
|
-
auth: "
|
|
29545
|
+
auth: "protected"
|
|
29480
29546
|
}),
|
|
29481
29547
|
previous: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
29482
29548
|
kind: "mutation",
|
|
29483
|
-
auth: "
|
|
29549
|
+
auth: "protected"
|
|
29484
29550
|
}),
|
|
29485
29551
|
seek: require_sleep.method(zod.z.object({
|
|
29486
29552
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29487
29553
|
positionMs: zod.z.number().int().nonnegative()
|
|
29488
29554
|
}), zod.z.void(), {
|
|
29489
29555
|
kind: "mutation",
|
|
29490
|
-
auth: "
|
|
29556
|
+
auth: "protected"
|
|
29491
29557
|
}),
|
|
29492
29558
|
setVolume: require_sleep.method(zod.z.object({
|
|
29493
29559
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29494
29560
|
volumeLevel: zod.z.number().min(0).max(100)
|
|
29495
29561
|
}), zod.z.void(), {
|
|
29496
29562
|
kind: "mutation",
|
|
29497
|
-
auth: "
|
|
29563
|
+
auth: "protected"
|
|
29498
29564
|
}),
|
|
29499
29565
|
setMute: require_sleep.method(zod.z.object({
|
|
29500
29566
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29501
29567
|
muted: zod.z.boolean()
|
|
29502
29568
|
}), zod.z.void(), {
|
|
29503
29569
|
kind: "mutation",
|
|
29504
|
-
auth: "
|
|
29570
|
+
auth: "protected"
|
|
29505
29571
|
}),
|
|
29506
29572
|
setShuffle: require_sleep.method(zod.z.object({
|
|
29507
29573
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29508
29574
|
shuffle: zod.z.boolean()
|
|
29509
29575
|
}), zod.z.void(), {
|
|
29510
29576
|
kind: "mutation",
|
|
29511
|
-
auth: "
|
|
29577
|
+
auth: "protected"
|
|
29512
29578
|
}),
|
|
29513
29579
|
setRepeat: require_sleep.method(zod.z.object({
|
|
29514
29580
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29515
29581
|
repeat: MediaPlayerRepeatSchema
|
|
29516
29582
|
}), zod.z.void(), {
|
|
29517
29583
|
kind: "mutation",
|
|
29518
|
-
auth: "
|
|
29584
|
+
auth: "protected"
|
|
29519
29585
|
}),
|
|
29520
29586
|
selectSource: require_sleep.method(zod.z.object({
|
|
29521
29587
|
deviceId: zod.z.number().int().nonnegative(),
|
|
29522
29588
|
source: zod.z.string().min(1)
|
|
29523
29589
|
}), zod.z.void(), {
|
|
29524
29590
|
kind: "mutation",
|
|
29525
|
-
auth: "
|
|
29591
|
+
auth: "protected"
|
|
29526
29592
|
}),
|
|
29527
29593
|
playMedia: require_sleep.method(zod.z.object({
|
|
29528
29594
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -29533,7 +29599,7 @@ var mediaPlayerCapability = {
|
|
|
29533
29599
|
mediaType: zod.z.string().min(1)
|
|
29534
29600
|
}), zod.z.void(), {
|
|
29535
29601
|
kind: "mutation",
|
|
29536
|
-
auth: "
|
|
29602
|
+
auth: "protected"
|
|
29537
29603
|
})
|
|
29538
29604
|
},
|
|
29539
29605
|
status: {
|
|
@@ -31571,27 +31637,27 @@ var petFeederCapability = {
|
|
|
31571
31637
|
hopper2: gramsPortion.optional()
|
|
31572
31638
|
}), zod.z.void(), {
|
|
31573
31639
|
kind: "mutation",
|
|
31574
|
-
auth: "
|
|
31640
|
+
auth: "protected"
|
|
31575
31641
|
}),
|
|
31576
31642
|
/** Cancel an in-progress manual feed. */
|
|
31577
31643
|
cancelFeed: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
31578
31644
|
kind: "mutation",
|
|
31579
|
-
auth: "
|
|
31645
|
+
auth: "protected"
|
|
31580
31646
|
}),
|
|
31581
31647
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
31582
31648
|
resetDesiccant: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
31583
31649
|
kind: "mutation",
|
|
31584
|
-
auth: "
|
|
31650
|
+
auth: "protected"
|
|
31585
31651
|
}),
|
|
31586
31652
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
31587
31653
|
markFoodReplenished: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
31588
31654
|
kind: "mutation",
|
|
31589
|
-
auth: "
|
|
31655
|
+
auth: "protected"
|
|
31590
31656
|
}),
|
|
31591
31657
|
/** Call the pet with the recorded prompt (D3). */
|
|
31592
31658
|
callPet: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
31593
31659
|
kind: "mutation",
|
|
31594
|
-
auth: "
|
|
31660
|
+
auth: "protected"
|
|
31595
31661
|
}),
|
|
31596
31662
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
31597
31663
|
playSound: require_sleep.method(zod.z.object({
|
|
@@ -31599,7 +31665,7 @@ var petFeederCapability = {
|
|
|
31599
31665
|
soundId: zod.z.number().int().nonnegative()
|
|
31600
31666
|
}), zod.z.void(), {
|
|
31601
31667
|
kind: "mutation",
|
|
31602
|
-
auth: "
|
|
31668
|
+
auth: "protected"
|
|
31603
31669
|
}),
|
|
31604
31670
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
31605
31671
|
setChildLock: require_sleep.method(zod.z.object({
|
|
@@ -31607,7 +31673,7 @@ var petFeederCapability = {
|
|
|
31607
31673
|
on: zod.z.boolean()
|
|
31608
31674
|
}), zod.z.void(), {
|
|
31609
31675
|
kind: "mutation",
|
|
31610
|
-
auth: "
|
|
31676
|
+
auth: "protected"
|
|
31611
31677
|
}),
|
|
31612
31678
|
/** Toggle the front indicator light. */
|
|
31613
31679
|
setIndicatorLight: require_sleep.method(zod.z.object({
|
|
@@ -31615,7 +31681,7 @@ var petFeederCapability = {
|
|
|
31615
31681
|
on: zod.z.boolean()
|
|
31616
31682
|
}), zod.z.void(), {
|
|
31617
31683
|
kind: "mutation",
|
|
31618
|
-
auth: "
|
|
31684
|
+
auth: "protected"
|
|
31619
31685
|
}),
|
|
31620
31686
|
/** Toggle the dispense chime. */
|
|
31621
31687
|
setFeedSound: require_sleep.method(zod.z.object({
|
|
@@ -31623,7 +31689,7 @@ var petFeederCapability = {
|
|
|
31623
31689
|
on: zod.z.boolean()
|
|
31624
31690
|
}), zod.z.void(), {
|
|
31625
31691
|
kind: "mutation",
|
|
31626
|
-
auth: "
|
|
31692
|
+
auth: "protected"
|
|
31627
31693
|
}),
|
|
31628
31694
|
/** Set the speaker / prompt volume level. */
|
|
31629
31695
|
setVolume: require_sleep.method(zod.z.object({
|
|
@@ -31631,7 +31697,7 @@ var petFeederCapability = {
|
|
|
31631
31697
|
level: zod.z.number().int().nonnegative()
|
|
31632
31698
|
}), zod.z.void(), {
|
|
31633
31699
|
kind: "mutation",
|
|
31634
|
-
auth: "
|
|
31700
|
+
auth: "protected"
|
|
31635
31701
|
})
|
|
31636
31702
|
},
|
|
31637
31703
|
status: {
|
|
@@ -34673,7 +34739,7 @@ var switchCapability = {
|
|
|
34673
34739
|
on: zod.z.boolean()
|
|
34674
34740
|
}), zod.z.void(), {
|
|
34675
34741
|
kind: "mutation",
|
|
34676
|
-
auth: "
|
|
34742
|
+
auth: "protected"
|
|
34677
34743
|
}) },
|
|
34678
34744
|
events: { onStateChanged: { data: zod.z.object({
|
|
34679
34745
|
deviceId: zod.z.number(),
|
|
@@ -35837,30 +35903,30 @@ var vacuumControlCapability = {
|
|
|
35837
35903
|
methods: {
|
|
35838
35904
|
start: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35839
35905
|
kind: "mutation",
|
|
35840
|
-
auth: "
|
|
35906
|
+
auth: "protected"
|
|
35841
35907
|
}),
|
|
35842
35908
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35843
35909
|
kind: "mutation",
|
|
35844
|
-
auth: "
|
|
35910
|
+
auth: "protected"
|
|
35845
35911
|
}),
|
|
35846
35912
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35847
35913
|
kind: "mutation",
|
|
35848
|
-
auth: "
|
|
35914
|
+
auth: "protected"
|
|
35849
35915
|
}),
|
|
35850
35916
|
returnToBase: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35851
35917
|
kind: "mutation",
|
|
35852
|
-
auth: "
|
|
35918
|
+
auth: "protected"
|
|
35853
35919
|
}),
|
|
35854
35920
|
locate: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35855
35921
|
kind: "mutation",
|
|
35856
|
-
auth: "
|
|
35922
|
+
auth: "protected"
|
|
35857
35923
|
}),
|
|
35858
35924
|
setFanSpeed: require_sleep.method(zod.z.object({
|
|
35859
35925
|
deviceId: zod.z.number().int().nonnegative(),
|
|
35860
35926
|
speed: zod.z.string().min(1)
|
|
35861
35927
|
}), zod.z.void(), {
|
|
35862
35928
|
kind: "mutation",
|
|
35863
|
-
auth: "
|
|
35929
|
+
auth: "protected"
|
|
35864
35930
|
})
|
|
35865
35931
|
},
|
|
35866
35932
|
status: {
|
|
@@ -35924,22 +35990,22 @@ var valveCapability = {
|
|
|
35924
35990
|
methods: {
|
|
35925
35991
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35926
35992
|
kind: "mutation",
|
|
35927
|
-
auth: "
|
|
35993
|
+
auth: "protected"
|
|
35928
35994
|
}),
|
|
35929
35995
|
close: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35930
35996
|
kind: "mutation",
|
|
35931
|
-
auth: "
|
|
35997
|
+
auth: "protected"
|
|
35932
35998
|
}),
|
|
35933
35999
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
35934
36000
|
kind: "mutation",
|
|
35935
|
-
auth: "
|
|
36001
|
+
auth: "protected"
|
|
35936
36002
|
}),
|
|
35937
36003
|
setPosition: require_sleep.method(zod.z.object({
|
|
35938
36004
|
deviceId: zod.z.number().int().nonnegative(),
|
|
35939
36005
|
position: zod.z.number().min(0).max(100)
|
|
35940
36006
|
}), zod.z.void(), {
|
|
35941
36007
|
kind: "mutation",
|
|
35942
|
-
auth: "
|
|
36008
|
+
auth: "protected"
|
|
35943
36009
|
})
|
|
35944
36010
|
},
|
|
35945
36011
|
status: {
|
|
@@ -36042,21 +36108,21 @@ var waterHeaterCapability = {
|
|
|
36042
36108
|
temp: zod.z.number().finite()
|
|
36043
36109
|
}), zod.z.void(), {
|
|
36044
36110
|
kind: "mutation",
|
|
36045
|
-
auth: "
|
|
36111
|
+
auth: "protected"
|
|
36046
36112
|
}),
|
|
36047
36113
|
setOperationMode: require_sleep.method(zod.z.object({
|
|
36048
36114
|
deviceId: zod.z.number().int().nonnegative(),
|
|
36049
36115
|
mode: zod.z.string().min(1)
|
|
36050
36116
|
}), zod.z.void(), {
|
|
36051
36117
|
kind: "mutation",
|
|
36052
|
-
auth: "
|
|
36118
|
+
auth: "protected"
|
|
36053
36119
|
}),
|
|
36054
36120
|
setAway: require_sleep.method(zod.z.object({
|
|
36055
36121
|
deviceId: zod.z.number().int().nonnegative(),
|
|
36056
36122
|
on: zod.z.boolean()
|
|
36057
36123
|
}), zod.z.void(), {
|
|
36058
36124
|
kind: "mutation",
|
|
36059
|
-
auth: "
|
|
36125
|
+
auth: "protected"
|
|
36060
36126
|
})
|
|
36061
36127
|
},
|
|
36062
36128
|
status: {
|
|
@@ -42970,6 +43036,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42970
43036
|
addonId: null,
|
|
42971
43037
|
access: "create"
|
|
42972
43038
|
},
|
|
43039
|
+
"faceGallery.auditIdentitySamples": {
|
|
43040
|
+
capName: "face-gallery",
|
|
43041
|
+
capScope: "system",
|
|
43042
|
+
addonId: null,
|
|
43043
|
+
access: "view"
|
|
43044
|
+
},
|
|
42973
43045
|
"faceGallery.createIdentity": {
|
|
42974
43046
|
capName: "face-gallery",
|
|
42975
43047
|
capScope: "system",
|
|
@@ -50196,6 +50268,7 @@ function createSystemProxy(api) {
|
|
|
50196
50268
|
renameIdentity: (input) => dispatch("faceGallery", "renameIdentity", "mutation", input),
|
|
50197
50269
|
deleteIdentity: (input) => dispatch("faceGallery", "deleteIdentity", "mutation", input),
|
|
50198
50270
|
listIdentitySamples: (input) => dispatch("faceGallery", "listIdentitySamples", "query", input),
|
|
50271
|
+
auditIdentitySamples: (input) => dispatch("faceGallery", "auditIdentitySamples", "query", input),
|
|
50199
50272
|
removeSample: (input) => dispatch("faceGallery", "removeSample", "mutation", input),
|
|
50200
50273
|
getFaceMedia: (input) => dispatch("faceGallery", "getFaceMedia", "query", input),
|
|
50201
50274
|
assignFace: (input) => dispatch("faceGallery", "assignFace", "mutation", input),
|