@camstack/addon-mqtt-broker 1.2.17 → 1.2.18
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/mqtt-broker.addon.js +2653 -83
- package/dist/mqtt-broker.addon.mjs +2653 -83
- package/package.json +1 -1
|
@@ -39,7 +39,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
39
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
40
40
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region ../types/dist/event-category-
|
|
42
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
43
43
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
44
44
|
EventCategory["SystemBoot"] = "system.boot";
|
|
45
45
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -246,6 +246,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
246
246
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
247
247
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
248
248
|
/**
|
|
249
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
250
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
251
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
252
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
253
|
+
* from the placement candidate set for as long as it holds.
|
|
254
|
+
*
|
|
255
|
+
* This exists because the state was previously invisible: little-unraid
|
|
256
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
257
|
+
* and nothing in the system said so.
|
|
258
|
+
*
|
|
259
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
260
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
261
|
+
* serves it exactly as before.
|
|
262
|
+
*/
|
|
263
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
264
|
+
/**
|
|
265
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
266
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
267
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
268
|
+
* per camera.
|
|
269
|
+
*
|
|
270
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
271
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
272
|
+
* camera" produce byte-identical silence.
|
|
273
|
+
*/
|
|
274
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
275
|
+
/**
|
|
249
276
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
250
277
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
251
278
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3037,6 +3064,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3037
3064
|
fallback: left.fallback
|
|
3038
3065
|
}, ctx);
|
|
3039
3066
|
}
|
|
3067
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3068
|
+
$ZodPipe.init(inst, def);
|
|
3069
|
+
});
|
|
3040
3070
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3041
3071
|
$ZodType.init(inst, def);
|
|
3042
3072
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5222,6 +5252,10 @@ function pipe(in_, out) {
|
|
|
5222
5252
|
out
|
|
5223
5253
|
});
|
|
5224
5254
|
}
|
|
5255
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5256
|
+
ZodPipe.init(inst, def);
|
|
5257
|
+
$ZodPreprocess.init(inst, def);
|
|
5258
|
+
});
|
|
5225
5259
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5226
5260
|
$ZodReadonly.init(inst, def);
|
|
5227
5261
|
ZodType.init(inst, def);
|
|
@@ -5280,6 +5314,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5280
5314
|
};
|
|
5281
5315
|
return inst;
|
|
5282
5316
|
}
|
|
5317
|
+
function preprocess(fn, schema) {
|
|
5318
|
+
return new ZodPreprocess({
|
|
5319
|
+
type: "pipe",
|
|
5320
|
+
in: transform(fn),
|
|
5321
|
+
out: schema
|
|
5322
|
+
});
|
|
5323
|
+
}
|
|
5283
5324
|
//#endregion
|
|
5284
5325
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5285
5326
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10847,6 +10888,8 @@ var QueryFilterSchema = object({
|
|
|
10847
10888
|
where: record(string(), unknown()).optional(),
|
|
10848
10889
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10849
10890
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10891
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10892
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10850
10893
|
orderBy: object({
|
|
10851
10894
|
field: string(),
|
|
10852
10895
|
direction: _enum(["asc", "desc"])
|
|
@@ -10866,7 +10909,8 @@ var QueryFilterSchema = object({
|
|
|
10866
10909
|
var MutationFilterSchema = object({
|
|
10867
10910
|
where: record(string(), unknown()).optional(),
|
|
10868
10911
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10869
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10912
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10913
|
+
whereNot: record(string(), unknown()).optional()
|
|
10870
10914
|
});
|
|
10871
10915
|
/** A single stored record: `{ id, data }`. */
|
|
10872
10916
|
var SettingsRecordSchema = object({
|
|
@@ -12223,6 +12267,17 @@ var LlmImageSchema = object({
|
|
|
12223
12267
|
bytes: _instanceof(Uint8Array),
|
|
12224
12268
|
mimeType: string()
|
|
12225
12269
|
});
|
|
12270
|
+
/**
|
|
12271
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12272
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12273
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12274
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12275
|
+
*/
|
|
12276
|
+
var LlmRetryPolicySchema = object({
|
|
12277
|
+
enabled: boolean().default(false),
|
|
12278
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12279
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12280
|
+
});
|
|
12226
12281
|
var LlmGenerateBaseInputSchema = object({
|
|
12227
12282
|
/** Collection routing (the notification-output posture). */
|
|
12228
12283
|
addonId: string().optional(),
|
|
@@ -12237,7 +12292,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12237
12292
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12238
12293
|
/** Per-call override of the profile default. */
|
|
12239
12294
|
maxTokens: number().int().positive().optional(),
|
|
12240
|
-
temperature: number().optional()
|
|
12295
|
+
temperature: number().optional(),
|
|
12296
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12297
|
+
topP: number().min(0).max(1).optional(),
|
|
12298
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12299
|
+
topK: number().int().positive().optional(),
|
|
12300
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12301
|
+
timeoutMs: number().int().positive().optional(),
|
|
12302
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12303
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12304
|
+
/**
|
|
12305
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12306
|
+
*
|
|
12307
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12308
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12309
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12310
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12311
|
+
* not generations, and the real load is unbounded.
|
|
12312
|
+
*
|
|
12313
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12314
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12315
|
+
*/
|
|
12316
|
+
requestId: string().optional()
|
|
12241
12317
|
});
|
|
12242
12318
|
/**
|
|
12243
12319
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12250,6 +12326,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12250
12326
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12251
12327
|
* watchdog — operator decision #3).
|
|
12252
12328
|
*/
|
|
12329
|
+
/**
|
|
12330
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12331
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12332
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12333
|
+
* the preview is exactly what the node downloads.
|
|
12334
|
+
*/
|
|
12335
|
+
var ManagedModelExtraFileSchema = object({
|
|
12336
|
+
url: string(),
|
|
12337
|
+
filename: string(),
|
|
12338
|
+
sizeBytes: number(),
|
|
12339
|
+
sha256: string().optional()
|
|
12340
|
+
});
|
|
12253
12341
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12254
12342
|
object({
|
|
12255
12343
|
kind: literal("catalog"),
|
|
@@ -12258,7 +12346,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12258
12346
|
object({
|
|
12259
12347
|
kind: literal("url"),
|
|
12260
12348
|
url: string(),
|
|
12261
|
-
sha256: string().optional()
|
|
12349
|
+
sha256: string().optional(),
|
|
12350
|
+
/** Picker/status label; the file basename when absent. */
|
|
12351
|
+
label: string().optional(),
|
|
12352
|
+
sizeBytes: number().optional(),
|
|
12353
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12262
12354
|
}),
|
|
12263
12355
|
object({
|
|
12264
12356
|
kind: literal("path"),
|
|
@@ -12276,13 +12368,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12276
12368
|
gpuLayers: number().int().default(0),
|
|
12277
12369
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12278
12370
|
threads: number().int().optional(),
|
|
12279
|
-
/** Concurrent slots. */
|
|
12371
|
+
/** Concurrent slots (`--parallel`). */
|
|
12280
12372
|
parallel: number().int().default(1),
|
|
12373
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12374
|
+
batchSize: number().int().positive().optional(),
|
|
12375
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12376
|
+
ubatchSize: number().int().positive().optional(),
|
|
12377
|
+
/**
|
|
12378
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12379
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12380
|
+
*/
|
|
12381
|
+
flashAttention: boolean().default(false),
|
|
12382
|
+
/**
|
|
12383
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12384
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12385
|
+
* what the RAM budget is counting.
|
|
12386
|
+
*/
|
|
12387
|
+
mlock: boolean().default(false),
|
|
12388
|
+
/**
|
|
12389
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12390
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12391
|
+
* store produces on every first token.
|
|
12392
|
+
*/
|
|
12393
|
+
noMmap: boolean().default(false),
|
|
12394
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12395
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12396
|
+
cacheTypeK: _enum([
|
|
12397
|
+
"f32",
|
|
12398
|
+
"f16",
|
|
12399
|
+
"q8_0",
|
|
12400
|
+
"q5_1",
|
|
12401
|
+
"q5_0",
|
|
12402
|
+
"q4_1",
|
|
12403
|
+
"q4_0"
|
|
12404
|
+
]).optional(),
|
|
12405
|
+
cacheTypeV: _enum([
|
|
12406
|
+
"f32",
|
|
12407
|
+
"f16",
|
|
12408
|
+
"q8_0",
|
|
12409
|
+
"q5_1",
|
|
12410
|
+
"q5_0",
|
|
12411
|
+
"q4_1",
|
|
12412
|
+
"q4_0"
|
|
12413
|
+
]).optional(),
|
|
12414
|
+
/**
|
|
12415
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12416
|
+
* (which most vision chat templates need and some language-only models
|
|
12417
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12418
|
+
*
|
|
12419
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12420
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12421
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12422
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12423
|
+
* twice (D62).
|
|
12424
|
+
*/
|
|
12425
|
+
extraArgs: array(string()).default([]),
|
|
12281
12426
|
/** Else lazy: first generate boots it. */
|
|
12282
12427
|
autoStart: boolean().default(false),
|
|
12283
12428
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12284
12429
|
idleStopMinutes: number().int().default(30)
|
|
12285
12430
|
});
|
|
12431
|
+
/**
|
|
12432
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12433
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12434
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12435
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12436
|
+
*/
|
|
12437
|
+
var LlmDownloadProgressSchema = object({
|
|
12438
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12439
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12440
|
+
file: string(),
|
|
12441
|
+
fileIndex: number().int(),
|
|
12442
|
+
fileCount: number().int(),
|
|
12443
|
+
/** Across the WHOLE install, not the current file. */
|
|
12444
|
+
downloadedBytes: number(),
|
|
12445
|
+
totalBytes: number().optional()
|
|
12446
|
+
});
|
|
12286
12447
|
var LlmRuntimeStatusSchema = object({
|
|
12287
12448
|
/** Status is ALWAYS node-qualified. */
|
|
12288
12449
|
nodeId: string(),
|
|
@@ -12299,6 +12460,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12299
12460
|
modelPath: string().optional(),
|
|
12300
12461
|
modelId: string().optional(),
|
|
12301
12462
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12463
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12464
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12302
12465
|
lastError: string().optional(),
|
|
12303
12466
|
crashesInWindow: number(),
|
|
12304
12467
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12309,7 +12472,14 @@ var LlmNodeModelSchema = object({
|
|
|
12309
12472
|
file: string(),
|
|
12310
12473
|
sizeBytes: number(),
|
|
12311
12474
|
catalogId: string().optional(),
|
|
12312
|
-
installedAt: number().optional()
|
|
12475
|
+
installedAt: number().optional(),
|
|
12476
|
+
/**
|
|
12477
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12478
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12479
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12480
|
+
* it the picker could list such a file and do nothing with it.
|
|
12481
|
+
*/
|
|
12482
|
+
path: string().optional()
|
|
12313
12483
|
});
|
|
12314
12484
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12315
12485
|
nodeId: string(),
|
|
@@ -12365,10 +12535,47 @@ var LlmProfileSchema = object({
|
|
|
12365
12535
|
baseUrl: string().optional(),
|
|
12366
12536
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12367
12537
|
apiKey: string().optional(),
|
|
12538
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12539
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12540
|
+
* question about a picture nobody sent. */
|
|
12368
12541
|
supportsVision: boolean(),
|
|
12369
12542
|
temperature: number().min(0).max(2).optional(),
|
|
12543
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12544
|
+
topP: number().min(0).max(1).optional(),
|
|
12545
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12546
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12547
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12548
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12549
|
+
topK: number().int().positive().optional(),
|
|
12370
12550
|
maxTokens: number().int().positive().optional(),
|
|
12551
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12552
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12553
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12554
|
+
contextLength: number().int().positive().optional(),
|
|
12555
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12556
|
+
* two system prompts fighting is worse than either alone). */
|
|
12557
|
+
systemPrompt: string().optional(),
|
|
12558
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12371
12559
|
timeoutMs: number().int().positive().default(6e4),
|
|
12560
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12561
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12562
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12563
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12564
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12565
|
+
* GPU load is exactly what happens before them. */
|
|
12566
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12567
|
+
/** Output started then stopped. */
|
|
12568
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12569
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12570
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12571
|
+
retry: LlmRetryPolicySchema.default({
|
|
12572
|
+
enabled: false,
|
|
12573
|
+
maxAttempts: 1
|
|
12574
|
+
}),
|
|
12575
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12576
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12577
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12578
|
+
toolsEnabled: boolean().default(false),
|
|
12372
12579
|
extraHeaders: record(string(), string()).optional(),
|
|
12373
12580
|
/** kind === 'managed-local' only (spec §4). */
|
|
12374
12581
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12418,6 +12625,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12418
12625
|
/** Vision models: companion projector file. */
|
|
12419
12626
|
mmprojUrl: string().optional()
|
|
12420
12627
|
});
|
|
12628
|
+
/**
|
|
12629
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12630
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12631
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12632
|
+
* exception.
|
|
12633
|
+
*
|
|
12634
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12635
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12636
|
+
*/
|
|
12637
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12638
|
+
ok: literal(true),
|
|
12639
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12640
|
+
model: ManagedModelRefSchema,
|
|
12641
|
+
label: string(),
|
|
12642
|
+
repo: string(),
|
|
12643
|
+
quantization: string(),
|
|
12644
|
+
purpose: _enum(["text", "vision"]),
|
|
12645
|
+
totalBytes: number(),
|
|
12646
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12647
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12648
|
+
extraFilenames: array(string())
|
|
12649
|
+
}), object({
|
|
12650
|
+
ok: literal(false),
|
|
12651
|
+
code: string(),
|
|
12652
|
+
message: string(),
|
|
12653
|
+
candidates: array(string()).optional(),
|
|
12654
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12655
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12656
|
+
requiredBytes: number().optional()
|
|
12657
|
+
})]);
|
|
12421
12658
|
var LlmRuntimeNodeSchema = object({
|
|
12422
12659
|
nodeId: string(),
|
|
12423
12660
|
reachable: boolean(),
|
|
@@ -12430,7 +12667,10 @@ var ProfileRefInputSchema = object({
|
|
|
12430
12667
|
addonId: string(),
|
|
12431
12668
|
profileId: string()
|
|
12432
12669
|
});
|
|
12433
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12670
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12671
|
+
addonId: string().optional(),
|
|
12672
|
+
requestId: string()
|
|
12673
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12434
12674
|
kind: "mutation",
|
|
12435
12675
|
auth: "admin"
|
|
12436
12676
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12451,6 +12691,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12451
12691
|
consumer: string().optional(),
|
|
12452
12692
|
profileId: string().optional()
|
|
12453
12693
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12694
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12695
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12696
|
+
ref: string(),
|
|
12697
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12698
|
+
maxBytes: number().positive().optional()
|
|
12699
|
+
}), HfModelResolutionSchema, {
|
|
12700
|
+
kind: "mutation",
|
|
12701
|
+
auth: "admin"
|
|
12702
|
+
}), method(object({
|
|
12454
12703
|
nodeId: string(),
|
|
12455
12704
|
model: ManagedModelRefSchema
|
|
12456
12705
|
}), _void(), {
|
|
@@ -14079,6 +14328,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14079
14328
|
"stream-offline",
|
|
14080
14329
|
"node-online",
|
|
14081
14330
|
"node-offline",
|
|
14331
|
+
"node-inference-unavailable",
|
|
14332
|
+
"detection-blind",
|
|
14082
14333
|
"addon-update-available",
|
|
14083
14334
|
"server-update-available",
|
|
14084
14335
|
"alarm-triggered",
|
|
@@ -14140,7 +14391,16 @@ var NcScheduleSchema = object({
|
|
|
14140
14391
|
});
|
|
14141
14392
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14142
14393
|
var NcPlateMatcherSchema = object({
|
|
14143
|
-
|
|
14394
|
+
/**
|
|
14395
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14396
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14397
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14398
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14399
|
+
*
|
|
14400
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14401
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14402
|
+
*/
|
|
14403
|
+
values: array(string().min(1)),
|
|
14144
14404
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14145
14405
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14146
14406
|
});
|
|
@@ -14174,28 +14434,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14174
14434
|
/**
|
|
14175
14435
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14176
14436
|
*
|
|
14177
|
-
*
|
|
14178
|
-
*
|
|
14179
|
-
*
|
|
14180
|
-
*
|
|
14181
|
-
*
|
|
14182
|
-
*
|
|
14183
|
-
*
|
|
14184
|
-
*
|
|
14185
|
-
*
|
|
14186
|
-
*
|
|
14187
|
-
*
|
|
14188
|
-
*
|
|
14189
|
-
*
|
|
14190
|
-
*
|
|
14191
|
-
*
|
|
14192
|
-
*
|
|
14193
|
-
*
|
|
14194
|
-
*
|
|
14195
|
-
*
|
|
14196
|
-
*
|
|
14197
|
-
*
|
|
14198
|
-
* `
|
|
14437
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14438
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14439
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14440
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14441
|
+
*
|
|
14442
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14443
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14444
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14445
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14446
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14447
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14448
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14449
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14450
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14451
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14452
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14453
|
+
* seconds is 100% of nothing.
|
|
14454
|
+
*
|
|
14455
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14456
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14457
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14458
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14459
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14460
|
+
* the wrong question to ask of a sparse classifier.
|
|
14461
|
+
*
|
|
14462
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14463
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14464
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14465
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14466
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14199
14467
|
*
|
|
14200
14468
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14201
14469
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14203,13 +14471,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14203
14471
|
* an operator who typed `dog` mean the same thing.
|
|
14204
14472
|
*/
|
|
14205
14473
|
var NcAudioConditionSchema = object({
|
|
14206
|
-
/**
|
|
14474
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14207
14475
|
labels: array(string().min(1)).min(1).optional(),
|
|
14208
|
-
/**
|
|
14476
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14209
14477
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14210
|
-
/**
|
|
14478
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14211
14479
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14212
|
-
/**
|
|
14480
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14213
14481
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14214
14482
|
});
|
|
14215
14483
|
/**
|
|
@@ -14347,13 +14615,81 @@ var NcRuleActionsSchema = object({
|
|
|
14347
14615
|
*/
|
|
14348
14616
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14349
14617
|
});
|
|
14618
|
+
/**
|
|
14619
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14620
|
+
*
|
|
14621
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14622
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14623
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14624
|
+
*
|
|
14625
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14626
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14627
|
+
*/
|
|
14628
|
+
var NcDeviceStateConditionSchema = object({
|
|
14629
|
+
deviceId: number().int(),
|
|
14630
|
+
/** Any of these matches. */
|
|
14631
|
+
states: array(string().min(1)).min(1)
|
|
14632
|
+
});
|
|
14633
|
+
/**
|
|
14634
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14635
|
+
*
|
|
14636
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14637
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14638
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14639
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14640
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14641
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14642
|
+
* kind exist for it — see D159.
|
|
14643
|
+
*
|
|
14644
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14645
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14646
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14647
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14648
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14649
|
+
*
|
|
14650
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14651
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14652
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14653
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14654
|
+
* override one rule against the scene's own default.
|
|
14655
|
+
*
|
|
14656
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14657
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14658
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14659
|
+
* evidence, in either direction.
|
|
14660
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14661
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14662
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14663
|
+
* reason the operator asked for a latch.
|
|
14664
|
+
*
|
|
14665
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14666
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14667
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14668
|
+
* said out loud in the log rather than dropped in silence.
|
|
14669
|
+
*/
|
|
14670
|
+
var NcSceneConditionSchema = object({
|
|
14671
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14672
|
+
sceneId: string().min(1),
|
|
14673
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14674
|
+
deviceId: number().int().optional(),
|
|
14675
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14676
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14677
|
+
/**
|
|
14678
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14679
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14680
|
+
*/
|
|
14681
|
+
latched: boolean().optional()
|
|
14682
|
+
});
|
|
14350
14683
|
var NcConditionsSchema = object({
|
|
14351
14684
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14352
|
-
deviceState:
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
|
|
14685
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14686
|
+
/**
|
|
14687
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14688
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14689
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14690
|
+
* {@link NcSceneCondition} and D159.
|
|
14691
|
+
*/
|
|
14692
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14357
14693
|
/** Device scope — absent = all devices. */
|
|
14358
14694
|
devices: array(number()).optional(),
|
|
14359
14695
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14379,18 +14715,47 @@ var NcConditionsSchema = object({
|
|
|
14379
14715
|
*/
|
|
14380
14716
|
labelEquals: array(string().min(1)).optional(),
|
|
14381
14717
|
/**
|
|
14382
|
-
*
|
|
14383
|
-
*
|
|
14384
|
-
*
|
|
14718
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14719
|
+
* is about recognised people at all.
|
|
14720
|
+
*
|
|
14721
|
+
* Three states, and the empty one is the point:
|
|
14722
|
+
*
|
|
14723
|
+
* | value | meaning |
|
|
14724
|
+
* | --- | --- |
|
|
14725
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14726
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14727
|
+
* | a list | only these identities |
|
|
14728
|
+
*
|
|
14729
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14730
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14731
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14732
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14733
|
+
* with the list under it is worse than no switch (D62).
|
|
14734
|
+
*
|
|
14735
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14736
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14737
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14738
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14739
|
+
* `{{label}}` renders.
|
|
14740
|
+
*
|
|
14741
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14742
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14743
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14744
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14745
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14385
14746
|
*/
|
|
14386
14747
|
identities: array(string().min(1)).optional(),
|
|
14387
|
-
/**
|
|
14748
|
+
/**
|
|
14749
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14750
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14751
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14752
|
+
*/
|
|
14388
14753
|
plates: NcPlateMatcherSchema.optional(),
|
|
14389
14754
|
/**
|
|
14390
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14391
|
-
*
|
|
14392
|
-
* identity
|
|
14393
|
-
*
|
|
14755
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14756
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14757
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14758
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14394
14759
|
*/
|
|
14395
14760
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14396
14761
|
/**
|
|
@@ -14782,7 +15147,80 @@ var NcRuleInputSchema = object({
|
|
|
14782
15147
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14783
15148
|
* did, and absent is the only way to say that without a migration.
|
|
14784
15149
|
*/
|
|
14785
|
-
confirm: NcConfirmSchema.optional()
|
|
15150
|
+
confirm: NcConfirmSchema.optional(),
|
|
15151
|
+
/**
|
|
15152
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15153
|
+
*
|
|
15154
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15155
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15156
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15157
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15158
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15159
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15160
|
+
*
|
|
15161
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15162
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15163
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15164
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15165
|
+
*
|
|
15166
|
+
* | value | what happens |
|
|
15167
|
+
* | --- | --- |
|
|
15168
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15169
|
+
* | absent / `false` | it fires at once WITHOUT the name, and if recognition lands before the track closes a SECOND, "…is Gianluca" notification follows (one per track, per rule, per target) |
|
|
15170
|
+
*
|
|
15171
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15172
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15173
|
+
* rule authored before this field meant.
|
|
15174
|
+
*
|
|
15175
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15176
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15177
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15178
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15179
|
+
*/
|
|
15180
|
+
waitForEnhancement: boolean().optional(),
|
|
15181
|
+
/**
|
|
15182
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15183
|
+
*
|
|
15184
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15185
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15186
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15187
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15188
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15189
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15190
|
+
*
|
|
15191
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15192
|
+
*
|
|
15193
|
+
* ### Why an idle cutoff and not a window
|
|
15194
|
+
*
|
|
15195
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15196
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15197
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15198
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15199
|
+
*
|
|
15200
|
+
* ### What it replaces
|
|
15201
|
+
*
|
|
15202
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15203
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15204
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15205
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15206
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15207
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15208
|
+
* throttled by the window its own first member spent.
|
|
15209
|
+
*
|
|
15210
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15211
|
+
*
|
|
15212
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15213
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15214
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15215
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15216
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15217
|
+
* path. Neither combination fires twice for one subject.
|
|
15218
|
+
*
|
|
15219
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15220
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15221
|
+
* field existed.
|
|
15222
|
+
*/
|
|
15223
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14786
15224
|
});
|
|
14787
15225
|
/**
|
|
14788
15226
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14889,6 +15327,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14889
15327
|
"occupancy",
|
|
14890
15328
|
"audio",
|
|
14891
15329
|
"deviceState",
|
|
15330
|
+
"scene",
|
|
14892
15331
|
"systemEvent"
|
|
14893
15332
|
]),
|
|
14894
15333
|
operator: _enum([
|
|
@@ -15294,7 +15733,87 @@ var MethodAccessSchema = _enum([
|
|
|
15294
15733
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15295
15734
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15296
15735
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15297
|
-
|
|
15736
|
+
/**
|
|
15737
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15738
|
+
*
|
|
15739
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15740
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15741
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15742
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15743
|
+
*
|
|
15744
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15745
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15746
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15747
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15748
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15749
|
+
* is NOT covered until the grant is edited.
|
|
15750
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15751
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15752
|
+
* re-resolves on the next request.
|
|
15753
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15754
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15755
|
+
* null/unset location matches NO `locations` selector.
|
|
15756
|
+
*/
|
|
15757
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15758
|
+
object({ kind: literal("all") }),
|
|
15759
|
+
object({
|
|
15760
|
+
kind: literal("ids"),
|
|
15761
|
+
ids: array(number().int()).min(1)
|
|
15762
|
+
}),
|
|
15763
|
+
object({
|
|
15764
|
+
kind: literal("types"),
|
|
15765
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15766
|
+
}),
|
|
15767
|
+
object({
|
|
15768
|
+
kind: literal("locations"),
|
|
15769
|
+
locations: array(string().min(1)).min(1)
|
|
15770
|
+
})
|
|
15771
|
+
]);
|
|
15772
|
+
var DeviceTokenScopeSchema = object({
|
|
15773
|
+
type: literal("device"),
|
|
15774
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15775
|
+
selector: DeviceSelectorSchema,
|
|
15776
|
+
access: array(MethodAccessSchema).min(1),
|
|
15777
|
+
/**
|
|
15778
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15779
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15780
|
+
* Direction is parent → children ONLY.
|
|
15781
|
+
*
|
|
15782
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15783
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15784
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15785
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15786
|
+
* explicitly to override that default per grant.
|
|
15787
|
+
*/
|
|
15788
|
+
includeLinked: boolean().optional()
|
|
15789
|
+
});
|
|
15790
|
+
/**
|
|
15791
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15792
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15793
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15794
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15795
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15796
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15797
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15798
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15799
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15800
|
+
*/
|
|
15801
|
+
function migrateLegacyTokenScope(raw) {
|
|
15802
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15803
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15804
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15805
|
+
const targets = Reflect.get(raw, "targets");
|
|
15806
|
+
if (!Array.isArray(targets)) return raw;
|
|
15807
|
+
return {
|
|
15808
|
+
type: "device",
|
|
15809
|
+
selector: {
|
|
15810
|
+
kind: "ids",
|
|
15811
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15812
|
+
},
|
|
15813
|
+
access: Reflect.get(raw, "access")
|
|
15814
|
+
};
|
|
15815
|
+
}
|
|
15816
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15298
15817
|
object({
|
|
15299
15818
|
type: literal("category"),
|
|
15300
15819
|
target: CapScopeSchema,
|
|
@@ -15310,18 +15829,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15310
15829
|
target: string(),
|
|
15311
15830
|
access: array(MethodAccessSchema).min(1)
|
|
15312
15831
|
}),
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
/**
|
|
15316
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15317
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15318
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15319
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15320
|
-
*/
|
|
15321
|
-
targets: array(string()).min(1),
|
|
15322
|
-
access: array(MethodAccessSchema).min(1)
|
|
15323
|
-
})
|
|
15324
|
-
]);
|
|
15832
|
+
DeviceTokenScopeSchema
|
|
15833
|
+
]));
|
|
15325
15834
|
object({
|
|
15326
15835
|
id: string(),
|
|
15327
15836
|
username: string(),
|
|
@@ -15638,7 +16147,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15638
16147
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15639
16148
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15640
16149
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15641
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16150
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15642
16151
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15643
16152
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15644
16153
|
* (`getObjectEvents` et al.).
|
|
@@ -15774,7 +16283,21 @@ union([literal(1), literal(2)]);
|
|
|
15774
16283
|
var LabelAttributionSchema = object({
|
|
15775
16284
|
stepId: string(),
|
|
15776
16285
|
modelId: string().optional(),
|
|
15777
|
-
decidedAt: number()
|
|
16286
|
+
decidedAt: number(),
|
|
16287
|
+
/**
|
|
16288
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16289
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16290
|
+
*
|
|
16291
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16292
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16293
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16294
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16295
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16296
|
+
*
|
|
16297
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16298
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16299
|
+
*/
|
|
16300
|
+
identityId: string().optional()
|
|
15778
16301
|
});
|
|
15779
16302
|
/**
|
|
15780
16303
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15911,6 +16434,28 @@ var TrackSchema = object({
|
|
|
15911
16434
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15912
16435
|
*/
|
|
15913
16436
|
hasFace: boolean().optional(),
|
|
16437
|
+
/**
|
|
16438
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16439
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16440
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16441
|
+
*
|
|
16442
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16443
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16444
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16445
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16446
|
+
* stop. This is the composition note that makes the row true.
|
|
16447
|
+
*
|
|
16448
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16449
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16450
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16451
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16452
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16453
|
+
*
|
|
16454
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16455
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16456
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16457
|
+
*/
|
|
16458
|
+
hasRider: boolean().optional(),
|
|
15914
16459
|
...TrackFlagFields,
|
|
15915
16460
|
...TrackRetrainFields
|
|
15916
16461
|
});
|
|
@@ -16260,7 +16805,10 @@ var RecentTracksQueryInput = object({
|
|
|
16260
16805
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16261
16806
|
cursor: string().optional(),
|
|
16262
16807
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16263
|
-
projection: TrackProjectionSchema.optional()
|
|
16808
|
+
projection: TrackProjectionSchema.optional(),
|
|
16809
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16810
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16811
|
+
includeStationary: boolean().optional()
|
|
16264
16812
|
});
|
|
16265
16813
|
var RecentTracksPageSchema = object({
|
|
16266
16814
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16478,7 +17026,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16478
17026
|
zone: TrackZoneFilterSchema.optional(),
|
|
16479
17027
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16480
17028
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16481
|
-
projection: TrackProjectionSchema.optional()
|
|
17029
|
+
projection: TrackProjectionSchema.optional(),
|
|
17030
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17031
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17032
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17033
|
+
includeStationary: boolean().optional()
|
|
16482
17034
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16483
17035
|
kind: "mutation",
|
|
16484
17036
|
auth: "admin"
|
|
@@ -16642,11 +17194,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16642
17194
|
auth: "admin"
|
|
16643
17195
|
}), method(object({
|
|
16644
17196
|
eventId: string(),
|
|
16645
|
-
kind: MediaFileKindEnum.optional()
|
|
17197
|
+
kind: MediaFileKindEnum.optional(),
|
|
17198
|
+
deviceId: number()
|
|
17199
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17200
|
+
trackId: string(),
|
|
17201
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17202
|
+
deviceId: number()
|
|
16646
17203
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16647
17204
|
trackId: string(),
|
|
16648
|
-
|
|
16649
|
-
}), array(
|
|
17205
|
+
deviceId: number()
|
|
17206
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16650
17207
|
kind: "mutation",
|
|
16651
17208
|
auth: "admin"
|
|
16652
17209
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17306,6 +17863,17 @@ var maxSessionHoldMsField = {
|
|
|
17306
17863
|
default: 12e4,
|
|
17307
17864
|
step: 5e3
|
|
17308
17865
|
};
|
|
17866
|
+
/**
|
|
17867
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17868
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17869
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17870
|
+
*/
|
|
17871
|
+
var audioMotionWindowMsField = {
|
|
17872
|
+
min: 5e3,
|
|
17873
|
+
max: 6e5,
|
|
17874
|
+
default: 9e4,
|
|
17875
|
+
step: 5e3
|
|
17876
|
+
};
|
|
17309
17877
|
var motionFpsField = {
|
|
17310
17878
|
min: 1,
|
|
17311
17879
|
max: 30,
|
|
@@ -17337,7 +17905,7 @@ var detectionFpsField = {
|
|
|
17337
17905
|
var occupancyRecheckSecField = {
|
|
17338
17906
|
min: 0,
|
|
17339
17907
|
max: 300,
|
|
17340
|
-
default:
|
|
17908
|
+
default: 300,
|
|
17341
17909
|
step: 5
|
|
17342
17910
|
};
|
|
17343
17911
|
var occupancyRecheckFramesField = {
|
|
@@ -17482,6 +18050,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17482
18050
|
* resolved `CameraDetectionConfig`.
|
|
17483
18051
|
*/
|
|
17484
18052
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18053
|
+
/**
|
|
18054
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18055
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18056
|
+
*
|
|
18057
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18058
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18059
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18060
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18061
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18062
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18063
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18064
|
+
*
|
|
18065
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18066
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18067
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18068
|
+
*
|
|
18069
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18070
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18071
|
+
* `maxSessionHoldMs`.
|
|
18072
|
+
*/
|
|
18073
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17485
18074
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17486
18075
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17487
18076
|
motionStreamId: string(),
|
|
@@ -17577,7 +18166,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17577
18166
|
*/
|
|
17578
18167
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17579
18168
|
});
|
|
17580
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
18169
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
17581
18170
|
/**
|
|
17582
18171
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17583
18172
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18593,7 +19182,16 @@ targets: array(object({
|
|
|
18593
19182
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18594
19183
|
* NOT refresh in the background. A surface should say so rather than
|
|
18595
19184
|
* present it as current. */
|
|
18596
|
-
sleeping: boolean()
|
|
19185
|
+
sleeping: boolean(),
|
|
19186
|
+
/** Current device state rendered over the cached frame. State images
|
|
19187
|
+
* remain authoritative even when their photographic background is
|
|
19188
|
+
* old; null means the link must carry a current camera frame. */
|
|
19189
|
+
stateReason: _enum([
|
|
19190
|
+
"disabled",
|
|
19191
|
+
"sleeping",
|
|
19192
|
+
"unreachable",
|
|
19193
|
+
"waking"
|
|
19194
|
+
]).nullable()
|
|
18597
19195
|
})));
|
|
18598
19196
|
/**
|
|
18599
19197
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20115,6 +20713,25 @@ var BatteryStatusSchema = object({
|
|
|
20115
20713
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20116
20714
|
lastUpdated: number(),
|
|
20117
20715
|
/**
|
|
20716
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20717
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20718
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20719
|
+
*
|
|
20720
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20721
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20722
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20723
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20724
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20725
|
+
*
|
|
20726
|
+
* It is deliberately NOT a clock in the
|
|
20727
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20728
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20729
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20730
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20731
|
+
* SQLite commit per round-trip.
|
|
20732
|
+
*/
|
|
20733
|
+
lastContactAt: number().optional(),
|
|
20734
|
+
/**
|
|
20118
20735
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20119
20736
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20120
20737
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23652,7 +24269,7 @@ method(object({
|
|
|
23652
24269
|
toMs: number()
|
|
23653
24270
|
}), RecordingAvailabilitySchema, {
|
|
23654
24271
|
kind: "query",
|
|
23655
|
-
auth: "
|
|
24272
|
+
auth: "protected"
|
|
23656
24273
|
}), method(object({
|
|
23657
24274
|
deviceId: number(),
|
|
23658
24275
|
fromMs: number(),
|
|
@@ -23660,14 +24277,14 @@ method(object({
|
|
|
23660
24277
|
tzOffsetMinutes: number()
|
|
23661
24278
|
}), RecordingDaysSchema, {
|
|
23662
24279
|
kind: "query",
|
|
23663
|
-
auth: "
|
|
24280
|
+
auth: "protected"
|
|
23664
24281
|
}), method(object({
|
|
23665
24282
|
deviceId: number(),
|
|
23666
24283
|
fromMs: number(),
|
|
23667
24284
|
toMs: number()
|
|
23668
24285
|
}), RecordingManifestSchema, {
|
|
23669
24286
|
kind: "query",
|
|
23670
|
-
auth: "
|
|
24287
|
+
auth: "protected"
|
|
23671
24288
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23672
24289
|
kind: "query",
|
|
23673
24290
|
auth: "admin"
|
|
@@ -23957,14 +24574,77 @@ method(object({
|
|
|
23957
24574
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23958
24575
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23959
24576
|
*
|
|
23960
|
-
*
|
|
23961
|
-
*
|
|
23962
|
-
*
|
|
23963
|
-
*
|
|
24577
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24578
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24579
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24580
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24581
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24582
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24583
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24584
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24585
|
+
*
|
|
24586
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24587
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24588
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24589
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24590
|
+
*
|
|
24591
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24592
|
+
* availability change; consumers never poll.
|
|
23964
24593
|
*/
|
|
23965
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
23966
|
-
*
|
|
24594
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24595
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24596
|
+
* Open by design so more can be added without a wire break.
|
|
24597
|
+
*
|
|
24598
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24599
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24600
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24601
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23967
24602
|
var SceneConditionSchema = string();
|
|
24603
|
+
/**
|
|
24604
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24605
|
+
*
|
|
24606
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24607
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24608
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24609
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24610
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24611
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24612
|
+
*
|
|
24613
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24614
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24615
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24616
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24617
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24618
|
+
* configuration choice instead of a nightly fault.
|
|
24619
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24620
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24621
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24622
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24623
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24624
|
+
*
|
|
24625
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24626
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24627
|
+
* there would hide a scene the operator never finished setting up.
|
|
24628
|
+
*/
|
|
24629
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24630
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24631
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24632
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24633
|
+
* and never counts toward hysteresis in either direction. */
|
|
24634
|
+
var SceneVerdictSchema = _enum([
|
|
24635
|
+
"matched",
|
|
24636
|
+
"diverged",
|
|
24637
|
+
"unknown"
|
|
24638
|
+
]);
|
|
24639
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24640
|
+
* silence that reads as "nothing has happened". */
|
|
24641
|
+
var SceneUnavailableSchema = _enum([
|
|
24642
|
+
"no-reference-for-condition",
|
|
24643
|
+
"view-shifted",
|
|
24644
|
+
"no-vision-profile",
|
|
24645
|
+
"encoder-model-changed",
|
|
24646
|
+
"no-snapshot"
|
|
24647
|
+
]);
|
|
23968
24648
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23969
24649
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23970
24650
|
var SceneReferenceSchema = object({
|
|
@@ -23972,7 +24652,14 @@ var SceneReferenceSchema = object({
|
|
|
23972
24652
|
modelId: string(),
|
|
23973
24653
|
condition: SceneConditionSchema,
|
|
23974
24654
|
capturedAt: number(),
|
|
23975
|
-
thumbnailMediaId: string().optional()
|
|
24655
|
+
thumbnailMediaId: string().optional(),
|
|
24656
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24657
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24658
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24659
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24660
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24661
|
+
* transition, not per poll. */
|
|
24662
|
+
anchorEmbedding: array(number()).optional()
|
|
23976
24663
|
});
|
|
23977
24664
|
var SceneMonitorStateSchema = object({
|
|
23978
24665
|
id: string(),
|
|
@@ -23994,6 +24681,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23994
24681
|
profileId: string().optional(),
|
|
23995
24682
|
hysteresisCount: number().int().positive()
|
|
23996
24683
|
})]);
|
|
24684
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24685
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24686
|
+
* out in silence rather than reporting a fault every night. */
|
|
24687
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24688
|
+
/**
|
|
24689
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24690
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24691
|
+
*
|
|
24692
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24693
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24694
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24695
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24696
|
+
*/
|
|
24697
|
+
var SceneConfirmSchema = object({
|
|
24698
|
+
enabled: boolean().default(false),
|
|
24699
|
+
prompt: string().min(1).max(1e3),
|
|
24700
|
+
profileId: string().optional(),
|
|
24701
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24702
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24703
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24704
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24705
|
+
});
|
|
23997
24706
|
var SceneMonitorSchema = object({
|
|
23998
24707
|
id: string(),
|
|
23999
24708
|
label: string(),
|
|
@@ -24012,7 +24721,56 @@ var SceneMonitorSchema = object({
|
|
|
24012
24721
|
lastConfidence: number().nullable(),
|
|
24013
24722
|
currentCondition: SceneConditionSchema.nullable(),
|
|
24014
24723
|
availability: _enum(["ok", "unavailable"]),
|
|
24015
|
-
unavailableReason: string().nullable()
|
|
24724
|
+
unavailableReason: string().nullable(),
|
|
24725
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24726
|
+
baselineStateId: string().nullable(),
|
|
24727
|
+
/** Which boolean drives notification rules and any export. */
|
|
24728
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24729
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24730
|
+
verdict: SceneVerdictSchema,
|
|
24731
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24732
|
+
latched: boolean(),
|
|
24733
|
+
/** Last reset (or creation). */
|
|
24734
|
+
armedAt: number(),
|
|
24735
|
+
divergedAt: number().nullable(),
|
|
24736
|
+
restoredAt: number().nullable(),
|
|
24737
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24738
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24739
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24740
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24741
|
+
/** An observation only advances the pending count when it is at least this
|
|
24742
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24743
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24744
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24745
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24746
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24747
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24748
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24749
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24750
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24751
|
+
* automation can react to the bin coming back without the operator's own
|
|
24752
|
+
* alarm silently clearing itself. */
|
|
24753
|
+
autoRestore: boolean().default(false),
|
|
24754
|
+
/** What to do when the current light has no reference of its own. See
|
|
24755
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24756
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24757
|
+
/**
|
|
24758
|
+
* The light whose checks are currently being SAT OUT under
|
|
24759
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24760
|
+
*
|
|
24761
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24762
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24763
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24764
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24765
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24766
|
+
* read as a broken one.
|
|
24767
|
+
*/
|
|
24768
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24769
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24770
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24771
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24772
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24773
|
+
coveredConditions: array(SceneConditionSchema)
|
|
24016
24774
|
});
|
|
24017
24775
|
var SceneMonitorStatusSchema = object({
|
|
24018
24776
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24045,7 +24803,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24045
24803
|
"both"
|
|
24046
24804
|
]).optional(),
|
|
24047
24805
|
checkIntervalSec: number().optional(),
|
|
24048
|
-
check: SceneCheckSchema.optional()
|
|
24806
|
+
check: SceneCheckSchema.optional(),
|
|
24807
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24808
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24809
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24810
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24811
|
+
autoRestore: boolean().optional(),
|
|
24812
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24813
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24814
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24049
24815
|
})
|
|
24050
24816
|
}), _void(), {
|
|
24051
24817
|
kind: "mutation",
|
|
@@ -24082,6 +24848,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24082
24848
|
}), _void(), {
|
|
24083
24849
|
kind: "mutation",
|
|
24084
24850
|
auth: "admin"
|
|
24851
|
+
}), method(object({
|
|
24852
|
+
deviceId: number(),
|
|
24853
|
+
monitorId: string(),
|
|
24854
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24855
|
+
recapture: boolean().optional()
|
|
24856
|
+
}), _void(), {
|
|
24857
|
+
kind: "mutation",
|
|
24858
|
+
auth: "admin"
|
|
24085
24859
|
});
|
|
24086
24860
|
/**
|
|
24087
24861
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24235,6 +25009,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24235
25009
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24236
25010
|
metadata: record(string(), unknown()).optional()
|
|
24237
25011
|
});
|
|
25012
|
+
object({
|
|
25013
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
25014
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25015
|
+
* one the camera itself once produced. */
|
|
25016
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25017
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25018
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25019
|
+
* re-read. */
|
|
25020
|
+
lastFetchedAt: number()
|
|
25021
|
+
});
|
|
24238
25022
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24239
25023
|
/** One of the camera's stream profiles. */
|
|
24240
25024
|
var StreamProfileSchema = _enum([
|
|
@@ -24390,12 +25174,64 @@ var NetworkAddressSchema = object({
|
|
|
24390
25174
|
family: string(),
|
|
24391
25175
|
internal: boolean()
|
|
24392
25176
|
});
|
|
25177
|
+
/**
|
|
25178
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25179
|
+
* numbers.
|
|
25180
|
+
*
|
|
25181
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25182
|
+
* nothing overwrites it.
|
|
25183
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25184
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25185
|
+
* the sun-times consumers otherwise fall back to.
|
|
25186
|
+
*
|
|
25187
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25188
|
+
* own input will eventually trust the guess.
|
|
25189
|
+
*/
|
|
25190
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25191
|
+
/**
|
|
25192
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25193
|
+
*
|
|
25194
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25195
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25196
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25197
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25198
|
+
* coordinates or presses detect.
|
|
25199
|
+
*/
|
|
25200
|
+
var SiteLocationStatusSchema = object({
|
|
25201
|
+
location: object({
|
|
25202
|
+
/** WGS84 decimal degrees. */
|
|
25203
|
+
latitude: number().min(-90).max(90),
|
|
25204
|
+
longitude: number().min(-180).max(180),
|
|
25205
|
+
source: SiteLocationSourceSchema,
|
|
25206
|
+
/** Epoch ms the value was last written. */
|
|
25207
|
+
updatedAt: number(),
|
|
25208
|
+
/**
|
|
25209
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25210
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25211
|
+
*/
|
|
25212
|
+
label: string().optional()
|
|
25213
|
+
}).nullable(),
|
|
25214
|
+
derivationAttemptedAt: number().nullable(),
|
|
25215
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25216
|
+
derivationError: string().nullable()
|
|
25217
|
+
});
|
|
25218
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25219
|
+
var SetSiteLocationInputSchema = object({
|
|
25220
|
+
latitude: number().min(-90).max(90),
|
|
25221
|
+
longitude: number().min(-180).max(180)
|
|
25222
|
+
}).nullable();
|
|
24393
25223
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
24394
25224
|
kind: "mutation",
|
|
24395
25225
|
auth: "admin"
|
|
24396
25226
|
}), method(_void(), _void(), {
|
|
24397
25227
|
kind: "mutation",
|
|
24398
25228
|
auth: "admin"
|
|
25229
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25230
|
+
kind: "mutation",
|
|
25231
|
+
auth: "admin"
|
|
25232
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25233
|
+
kind: "mutation",
|
|
25234
|
+
auth: "admin"
|
|
24399
25235
|
});
|
|
24400
25236
|
object({
|
|
24401
25237
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27125,6 +27961,12 @@ Object.freeze({
|
|
|
27125
27961
|
addonId: null,
|
|
27126
27962
|
access: "create"
|
|
27127
27963
|
},
|
|
27964
|
+
"llm.cancel": {
|
|
27965
|
+
capName: "llm",
|
|
27966
|
+
capScope: "system",
|
|
27967
|
+
addonId: null,
|
|
27968
|
+
access: "create"
|
|
27969
|
+
},
|
|
27128
27970
|
"llm.deleteModel": {
|
|
27129
27971
|
capName: "llm",
|
|
27130
27972
|
capScope: "system",
|
|
@@ -27209,6 +28051,12 @@ Object.freeze({
|
|
|
27209
28051
|
addonId: null,
|
|
27210
28052
|
access: "view"
|
|
27211
28053
|
},
|
|
28054
|
+
"llm.resolveModelRef": {
|
|
28055
|
+
capName: "llm",
|
|
28056
|
+
capScope: "system",
|
|
28057
|
+
addonId: null,
|
|
28058
|
+
access: "create"
|
|
28059
|
+
},
|
|
27212
28060
|
"llm.setDefault": {
|
|
27213
28061
|
capName: "llm",
|
|
27214
28062
|
capScope: "system",
|
|
@@ -29375,6 +30223,12 @@ Object.freeze({
|
|
|
29375
30223
|
addonId: null,
|
|
29376
30224
|
access: "create"
|
|
29377
30225
|
},
|
|
30226
|
+
"sceneMonitor.resetScene": {
|
|
30227
|
+
capName: "scene-monitor",
|
|
30228
|
+
capScope: "device",
|
|
30229
|
+
addonId: null,
|
|
30230
|
+
access: "delete"
|
|
30231
|
+
},
|
|
29378
30232
|
"sceneMonitor.updateScene": {
|
|
29379
30233
|
capName: "scene-monitor",
|
|
29380
30234
|
capScope: "device",
|
|
@@ -30053,6 +30907,12 @@ Object.freeze({
|
|
|
30053
30907
|
addonId: null,
|
|
30054
30908
|
access: "create"
|
|
30055
30909
|
},
|
|
30910
|
+
"system.detectSiteLocation": {
|
|
30911
|
+
capName: "system",
|
|
30912
|
+
capScope: "system",
|
|
30913
|
+
addonId: null,
|
|
30914
|
+
access: "create"
|
|
30915
|
+
},
|
|
30056
30916
|
"system.featureFlags": {
|
|
30057
30917
|
capName: "system",
|
|
30058
30918
|
capScope: "system",
|
|
@@ -30071,6 +30931,12 @@ Object.freeze({
|
|
|
30071
30931
|
addonId: null,
|
|
30072
30932
|
access: "view"
|
|
30073
30933
|
},
|
|
30934
|
+
"system.getSiteLocation": {
|
|
30935
|
+
capName: "system",
|
|
30936
|
+
capScope: "system",
|
|
30937
|
+
addonId: null,
|
|
30938
|
+
access: "view"
|
|
30939
|
+
},
|
|
30074
30940
|
"system.health": {
|
|
30075
30941
|
capName: "system",
|
|
30076
30942
|
capScope: "system",
|
|
@@ -30095,6 +30961,12 @@ Object.freeze({
|
|
|
30095
30961
|
addonId: null,
|
|
30096
30962
|
access: "create"
|
|
30097
30963
|
},
|
|
30964
|
+
"system.setSiteLocation": {
|
|
30965
|
+
capName: "system",
|
|
30966
|
+
capScope: "system",
|
|
30967
|
+
addonId: null,
|
|
30968
|
+
access: "create"
|
|
30969
|
+
},
|
|
30098
30970
|
"terminalSession.adoptLegacyMonitor": {
|
|
30099
30971
|
capName: "terminal-session",
|
|
30100
30972
|
capScope: "system",
|
|
@@ -30666,6 +31538,1704 @@ Object.freeze({
|
|
|
30666
31538
|
access: "create"
|
|
30667
31539
|
}
|
|
30668
31540
|
});
|
|
31541
|
+
Object.freeze({
|
|
31542
|
+
"accessories.setChildHidden": [{
|
|
31543
|
+
name: "childDeviceId",
|
|
31544
|
+
form: "single",
|
|
31545
|
+
optional: false
|
|
31546
|
+
}, {
|
|
31547
|
+
name: "deviceId",
|
|
31548
|
+
form: "single",
|
|
31549
|
+
optional: false
|
|
31550
|
+
}],
|
|
31551
|
+
"addonSettings.getDeviceSettings": [{
|
|
31552
|
+
name: "deviceId",
|
|
31553
|
+
form: "single",
|
|
31554
|
+
optional: false
|
|
31555
|
+
}],
|
|
31556
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31557
|
+
name: "deviceId",
|
|
31558
|
+
form: "single",
|
|
31559
|
+
optional: false
|
|
31560
|
+
}],
|
|
31561
|
+
"alarmPanel.arm": [{
|
|
31562
|
+
name: "deviceId",
|
|
31563
|
+
form: "single",
|
|
31564
|
+
optional: false
|
|
31565
|
+
}],
|
|
31566
|
+
"alarmPanel.disarm": [{
|
|
31567
|
+
name: "deviceId",
|
|
31568
|
+
form: "single",
|
|
31569
|
+
optional: false
|
|
31570
|
+
}],
|
|
31571
|
+
"alarmPanel.trigger": [{
|
|
31572
|
+
name: "deviceId",
|
|
31573
|
+
form: "single",
|
|
31574
|
+
optional: false
|
|
31575
|
+
}],
|
|
31576
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31577
|
+
name: "deviceId",
|
|
31578
|
+
form: "single",
|
|
31579
|
+
optional: false
|
|
31580
|
+
}],
|
|
31581
|
+
"audioAnalyzer.classify": [{
|
|
31582
|
+
name: "deviceId",
|
|
31583
|
+
form: "single",
|
|
31584
|
+
optional: true
|
|
31585
|
+
}],
|
|
31586
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31587
|
+
name: "deviceId",
|
|
31588
|
+
form: "single",
|
|
31589
|
+
optional: false
|
|
31590
|
+
}],
|
|
31591
|
+
"audioMetrics.getHistory": [{
|
|
31592
|
+
name: "deviceId",
|
|
31593
|
+
form: "single",
|
|
31594
|
+
optional: false
|
|
31595
|
+
}],
|
|
31596
|
+
"automationControl.disable": [{
|
|
31597
|
+
name: "deviceId",
|
|
31598
|
+
form: "single",
|
|
31599
|
+
optional: false
|
|
31600
|
+
}],
|
|
31601
|
+
"automationControl.enable": [{
|
|
31602
|
+
name: "deviceId",
|
|
31603
|
+
form: "single",
|
|
31604
|
+
optional: false
|
|
31605
|
+
}],
|
|
31606
|
+
"automationControl.trigger": [{
|
|
31607
|
+
name: "deviceId",
|
|
31608
|
+
form: "single",
|
|
31609
|
+
optional: false
|
|
31610
|
+
}],
|
|
31611
|
+
"battery.wakeForStream": [{
|
|
31612
|
+
name: "deviceId",
|
|
31613
|
+
form: "single",
|
|
31614
|
+
optional: false
|
|
31615
|
+
}],
|
|
31616
|
+
"brightness.setBrightness": [{
|
|
31617
|
+
name: "deviceId",
|
|
31618
|
+
form: "single",
|
|
31619
|
+
optional: false
|
|
31620
|
+
}],
|
|
31621
|
+
"button.press": [{
|
|
31622
|
+
name: "deviceId",
|
|
31623
|
+
form: "single",
|
|
31624
|
+
optional: false
|
|
31625
|
+
}],
|
|
31626
|
+
"cameraCredentials.getCredentials": [{
|
|
31627
|
+
name: "deviceId",
|
|
31628
|
+
form: "single",
|
|
31629
|
+
optional: false
|
|
31630
|
+
}],
|
|
31631
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31632
|
+
name: "deviceId",
|
|
31633
|
+
form: "single",
|
|
31634
|
+
optional: false
|
|
31635
|
+
}],
|
|
31636
|
+
"cameraStreams.getCameraStreams": [{
|
|
31637
|
+
name: "deviceId",
|
|
31638
|
+
form: "single",
|
|
31639
|
+
optional: false
|
|
31640
|
+
}],
|
|
31641
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31642
|
+
name: "deviceId",
|
|
31643
|
+
form: "single",
|
|
31644
|
+
optional: false
|
|
31645
|
+
}],
|
|
31646
|
+
"cameraStreams.getRtspEntries": [{
|
|
31647
|
+
name: "deviceId",
|
|
31648
|
+
form: "single",
|
|
31649
|
+
optional: false
|
|
31650
|
+
}],
|
|
31651
|
+
"cameraStreams.pickStream": [{
|
|
31652
|
+
name: "deviceId",
|
|
31653
|
+
form: "single",
|
|
31654
|
+
optional: false
|
|
31655
|
+
}],
|
|
31656
|
+
"climateControl.setFanMode": [{
|
|
31657
|
+
name: "deviceId",
|
|
31658
|
+
form: "single",
|
|
31659
|
+
optional: false
|
|
31660
|
+
}],
|
|
31661
|
+
"climateControl.setMode": [{
|
|
31662
|
+
name: "deviceId",
|
|
31663
|
+
form: "single",
|
|
31664
|
+
optional: false
|
|
31665
|
+
}],
|
|
31666
|
+
"climateControl.setPreset": [{
|
|
31667
|
+
name: "deviceId",
|
|
31668
|
+
form: "single",
|
|
31669
|
+
optional: false
|
|
31670
|
+
}],
|
|
31671
|
+
"climateControl.setSwingHorizontal": [{
|
|
31672
|
+
name: "deviceId",
|
|
31673
|
+
form: "single",
|
|
31674
|
+
optional: false
|
|
31675
|
+
}],
|
|
31676
|
+
"climateControl.setSwingVertical": [{
|
|
31677
|
+
name: "deviceId",
|
|
31678
|
+
form: "single",
|
|
31679
|
+
optional: false
|
|
31680
|
+
}],
|
|
31681
|
+
"climateControl.setTarget": [{
|
|
31682
|
+
name: "deviceId",
|
|
31683
|
+
form: "single",
|
|
31684
|
+
optional: false
|
|
31685
|
+
}],
|
|
31686
|
+
"climateControl.setTargetHumidity": [{
|
|
31687
|
+
name: "deviceId",
|
|
31688
|
+
form: "single",
|
|
31689
|
+
optional: false
|
|
31690
|
+
}],
|
|
31691
|
+
"climateControl.setTargetRange": [{
|
|
31692
|
+
name: "deviceId",
|
|
31693
|
+
form: "single",
|
|
31694
|
+
optional: false
|
|
31695
|
+
}],
|
|
31696
|
+
"color.setColor": [{
|
|
31697
|
+
name: "deviceId",
|
|
31698
|
+
form: "single",
|
|
31699
|
+
optional: false
|
|
31700
|
+
}],
|
|
31701
|
+
"consumables.reset": [{
|
|
31702
|
+
name: "deviceId",
|
|
31703
|
+
form: "single",
|
|
31704
|
+
optional: false
|
|
31705
|
+
}],
|
|
31706
|
+
"control.setValue": [{
|
|
31707
|
+
name: "deviceId",
|
|
31708
|
+
form: "single",
|
|
31709
|
+
optional: false
|
|
31710
|
+
}],
|
|
31711
|
+
"cover.close": [{
|
|
31712
|
+
name: "deviceId",
|
|
31713
|
+
form: "single",
|
|
31714
|
+
optional: false
|
|
31715
|
+
}],
|
|
31716
|
+
"cover.open": [{
|
|
31717
|
+
name: "deviceId",
|
|
31718
|
+
form: "single",
|
|
31719
|
+
optional: false
|
|
31720
|
+
}],
|
|
31721
|
+
"cover.setPosition": [{
|
|
31722
|
+
name: "deviceId",
|
|
31723
|
+
form: "single",
|
|
31724
|
+
optional: false
|
|
31725
|
+
}],
|
|
31726
|
+
"cover.setTiltPosition": [{
|
|
31727
|
+
name: "deviceId",
|
|
31728
|
+
form: "single",
|
|
31729
|
+
optional: false
|
|
31730
|
+
}],
|
|
31731
|
+
"cover.stop": [{
|
|
31732
|
+
name: "deviceId",
|
|
31733
|
+
form: "single",
|
|
31734
|
+
optional: false
|
|
31735
|
+
}],
|
|
31736
|
+
"dayNight.getOptions": [{
|
|
31737
|
+
name: "deviceId",
|
|
31738
|
+
form: "single",
|
|
31739
|
+
optional: false
|
|
31740
|
+
}],
|
|
31741
|
+
"dayNight.setSettings": [{
|
|
31742
|
+
name: "deviceId",
|
|
31743
|
+
form: "single",
|
|
31744
|
+
optional: false
|
|
31745
|
+
}],
|
|
31746
|
+
"decoder.createSession": [{
|
|
31747
|
+
name: "deviceId",
|
|
31748
|
+
form: "single",
|
|
31749
|
+
optional: true
|
|
31750
|
+
}],
|
|
31751
|
+
"deviceAdoption.release": [{
|
|
31752
|
+
name: "camDeviceId",
|
|
31753
|
+
form: "single",
|
|
31754
|
+
optional: false
|
|
31755
|
+
}],
|
|
31756
|
+
"deviceAdoption.resync": [{
|
|
31757
|
+
name: "camDeviceId",
|
|
31758
|
+
form: "single",
|
|
31759
|
+
optional: false
|
|
31760
|
+
}],
|
|
31761
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31762
|
+
name: "deviceId",
|
|
31763
|
+
form: "single",
|
|
31764
|
+
optional: false
|
|
31765
|
+
}],
|
|
31766
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31767
|
+
name: "deviceId",
|
|
31768
|
+
form: "single",
|
|
31769
|
+
optional: false
|
|
31770
|
+
}],
|
|
31771
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31772
|
+
name: "deviceId",
|
|
31773
|
+
form: "single",
|
|
31774
|
+
optional: false
|
|
31775
|
+
}],
|
|
31776
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31777
|
+
name: "childDeviceId",
|
|
31778
|
+
form: "single",
|
|
31779
|
+
optional: false
|
|
31780
|
+
}, {
|
|
31781
|
+
name: "deviceId",
|
|
31782
|
+
form: "single",
|
|
31783
|
+
optional: false
|
|
31784
|
+
}],
|
|
31785
|
+
"deviceManager.adoptionRelease": [{
|
|
31786
|
+
name: "camDeviceId",
|
|
31787
|
+
form: "single",
|
|
31788
|
+
optional: false
|
|
31789
|
+
}],
|
|
31790
|
+
"deviceManager.adoptionResync": [{
|
|
31791
|
+
name: "camDeviceId",
|
|
31792
|
+
form: "single",
|
|
31793
|
+
optional: false
|
|
31794
|
+
}],
|
|
31795
|
+
"deviceManager.applyInitialMeta": [{
|
|
31796
|
+
name: "deviceId",
|
|
31797
|
+
form: "single",
|
|
31798
|
+
optional: false
|
|
31799
|
+
}, {
|
|
31800
|
+
name: "linkDeviceId",
|
|
31801
|
+
form: "single",
|
|
31802
|
+
optional: true
|
|
31803
|
+
}],
|
|
31804
|
+
"deviceManager.disable": [{
|
|
31805
|
+
name: "deviceId",
|
|
31806
|
+
form: "single",
|
|
31807
|
+
optional: false
|
|
31808
|
+
}],
|
|
31809
|
+
"deviceManager.enable": [{
|
|
31810
|
+
name: "deviceId",
|
|
31811
|
+
form: "single",
|
|
31812
|
+
optional: false
|
|
31813
|
+
}],
|
|
31814
|
+
"deviceManager.getBindings": [{
|
|
31815
|
+
name: "deviceId",
|
|
31816
|
+
form: "single",
|
|
31817
|
+
optional: false
|
|
31818
|
+
}],
|
|
31819
|
+
"deviceManager.getChildren": [{
|
|
31820
|
+
name: "parentDeviceId",
|
|
31821
|
+
form: "single",
|
|
31822
|
+
optional: false
|
|
31823
|
+
}],
|
|
31824
|
+
"deviceManager.getConfigSchema": [{
|
|
31825
|
+
name: "deviceId",
|
|
31826
|
+
form: "single",
|
|
31827
|
+
optional: false
|
|
31828
|
+
}],
|
|
31829
|
+
"deviceManager.getDevice": [{
|
|
31830
|
+
name: "deviceId",
|
|
31831
|
+
form: "single",
|
|
31832
|
+
optional: false
|
|
31833
|
+
}],
|
|
31834
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31835
|
+
name: "deviceId",
|
|
31836
|
+
form: "single",
|
|
31837
|
+
optional: false
|
|
31838
|
+
}],
|
|
31839
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31840
|
+
name: "deviceId",
|
|
31841
|
+
form: "single",
|
|
31842
|
+
optional: false
|
|
31843
|
+
}],
|
|
31844
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31845
|
+
name: "deviceId",
|
|
31846
|
+
form: "single",
|
|
31847
|
+
optional: false
|
|
31848
|
+
}],
|
|
31849
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31850
|
+
name: "deviceId",
|
|
31851
|
+
form: "single",
|
|
31852
|
+
optional: false
|
|
31853
|
+
}],
|
|
31854
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31855
|
+
name: "deviceIds",
|
|
31856
|
+
form: "array",
|
|
31857
|
+
optional: false
|
|
31858
|
+
}],
|
|
31859
|
+
"deviceManager.getLinkedDevices": [{
|
|
31860
|
+
name: "deviceId",
|
|
31861
|
+
form: "single",
|
|
31862
|
+
optional: false
|
|
31863
|
+
}],
|
|
31864
|
+
"deviceManager.getSettingsSchema": [{
|
|
31865
|
+
name: "deviceId",
|
|
31866
|
+
form: "single",
|
|
31867
|
+
optional: false
|
|
31868
|
+
}],
|
|
31869
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31870
|
+
name: "deviceId",
|
|
31871
|
+
form: "single",
|
|
31872
|
+
optional: false
|
|
31873
|
+
}],
|
|
31874
|
+
"deviceManager.getStreamSources": [{
|
|
31875
|
+
name: "deviceId",
|
|
31876
|
+
form: "single",
|
|
31877
|
+
optional: false
|
|
31878
|
+
}],
|
|
31879
|
+
"deviceManager.getWireableFields": [{
|
|
31880
|
+
name: "deviceId",
|
|
31881
|
+
form: "single",
|
|
31882
|
+
optional: false
|
|
31883
|
+
}],
|
|
31884
|
+
"deviceManager.loadConfig": [{
|
|
31885
|
+
name: "deviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: false
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceManager.loadMeta": [{
|
|
31890
|
+
name: "deviceId",
|
|
31891
|
+
form: "single",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}],
|
|
31894
|
+
"deviceManager.loadRuntimeState": [{
|
|
31895
|
+
name: "deviceId",
|
|
31896
|
+
form: "single",
|
|
31897
|
+
optional: false
|
|
31898
|
+
}],
|
|
31899
|
+
"deviceManager.persistConfig": [{
|
|
31900
|
+
name: "deviceId",
|
|
31901
|
+
form: "single",
|
|
31902
|
+
optional: false
|
|
31903
|
+
}],
|
|
31904
|
+
"deviceManager.probeStreams": [{
|
|
31905
|
+
name: "deviceId",
|
|
31906
|
+
form: "single",
|
|
31907
|
+
optional: false
|
|
31908
|
+
}],
|
|
31909
|
+
"deviceManager.registerDevice": [{
|
|
31910
|
+
name: "parentDeviceId",
|
|
31911
|
+
form: "single",
|
|
31912
|
+
optional: true
|
|
31913
|
+
}],
|
|
31914
|
+
"deviceManager.remove": [{
|
|
31915
|
+
name: "deviceId",
|
|
31916
|
+
form: "single",
|
|
31917
|
+
optional: false
|
|
31918
|
+
}],
|
|
31919
|
+
"deviceManager.removeDevice": [{
|
|
31920
|
+
name: "deviceId",
|
|
31921
|
+
form: "single",
|
|
31922
|
+
optional: false
|
|
31923
|
+
}],
|
|
31924
|
+
"deviceManager.runDeviceAction": [{
|
|
31925
|
+
name: "deviceId",
|
|
31926
|
+
form: "single",
|
|
31927
|
+
optional: false
|
|
31928
|
+
}],
|
|
31929
|
+
"deviceManager.setChildLayout": [{
|
|
31930
|
+
name: "deviceId",
|
|
31931
|
+
form: "single",
|
|
31932
|
+
optional: false
|
|
31933
|
+
}],
|
|
31934
|
+
"deviceManager.setDisabled": [{
|
|
31935
|
+
name: "deviceId",
|
|
31936
|
+
form: "single",
|
|
31937
|
+
optional: false
|
|
31938
|
+
}],
|
|
31939
|
+
"deviceManager.setDisplay": [{
|
|
31940
|
+
name: "deviceId",
|
|
31941
|
+
form: "single",
|
|
31942
|
+
optional: false
|
|
31943
|
+
}],
|
|
31944
|
+
"deviceManager.setIntegrationId": [{
|
|
31945
|
+
name: "deviceId",
|
|
31946
|
+
form: "single",
|
|
31947
|
+
optional: false
|
|
31948
|
+
}],
|
|
31949
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31950
|
+
name: "deviceId",
|
|
31951
|
+
form: "single",
|
|
31952
|
+
optional: false
|
|
31953
|
+
}, {
|
|
31954
|
+
name: "linkDeviceId",
|
|
31955
|
+
form: "single",
|
|
31956
|
+
optional: true
|
|
31957
|
+
}],
|
|
31958
|
+
"deviceManager.setLocation": [{
|
|
31959
|
+
name: "deviceId",
|
|
31960
|
+
form: "single",
|
|
31961
|
+
optional: false
|
|
31962
|
+
}],
|
|
31963
|
+
"deviceManager.setMetadata": [{
|
|
31964
|
+
name: "deviceId",
|
|
31965
|
+
form: "single",
|
|
31966
|
+
optional: false
|
|
31967
|
+
}],
|
|
31968
|
+
"deviceManager.setName": [{
|
|
31969
|
+
name: "deviceId",
|
|
31970
|
+
form: "single",
|
|
31971
|
+
optional: false
|
|
31972
|
+
}],
|
|
31973
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31974
|
+
name: "deviceId",
|
|
31975
|
+
form: "single",
|
|
31976
|
+
optional: false
|
|
31977
|
+
}],
|
|
31978
|
+
"deviceManager.setRole": [{
|
|
31979
|
+
name: "deviceId",
|
|
31980
|
+
form: "single",
|
|
31981
|
+
optional: false
|
|
31982
|
+
}],
|
|
31983
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31984
|
+
name: "deviceId",
|
|
31985
|
+
form: "single",
|
|
31986
|
+
optional: false
|
|
31987
|
+
}],
|
|
31988
|
+
"deviceManager.setType": [{
|
|
31989
|
+
name: "deviceId",
|
|
31990
|
+
form: "single",
|
|
31991
|
+
optional: false
|
|
31992
|
+
}],
|
|
31993
|
+
"deviceManager.setWrapperActive": [{
|
|
31994
|
+
name: "deviceId",
|
|
31995
|
+
form: "single",
|
|
31996
|
+
optional: false
|
|
31997
|
+
}],
|
|
31998
|
+
"deviceManager.testField": [{
|
|
31999
|
+
name: "deviceId",
|
|
32000
|
+
form: "single",
|
|
32001
|
+
optional: false
|
|
32002
|
+
}],
|
|
32003
|
+
"deviceManager.updateConfig": [{
|
|
32004
|
+
name: "deviceId",
|
|
32005
|
+
form: "single",
|
|
32006
|
+
optional: false
|
|
32007
|
+
}],
|
|
32008
|
+
"deviceManager.updateDeviceField": [{
|
|
32009
|
+
name: "deviceId",
|
|
32010
|
+
form: "single",
|
|
32011
|
+
optional: false
|
|
32012
|
+
}],
|
|
32013
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32014
|
+
name: "deviceId",
|
|
32015
|
+
form: "single",
|
|
32016
|
+
optional: false
|
|
32017
|
+
}],
|
|
32018
|
+
"deviceOps.getConfigEntries": [{
|
|
32019
|
+
name: "deviceId",
|
|
32020
|
+
form: "single",
|
|
32021
|
+
optional: false
|
|
32022
|
+
}],
|
|
32023
|
+
"deviceOps.getRawState": [{
|
|
32024
|
+
name: "deviceId",
|
|
32025
|
+
form: "single",
|
|
32026
|
+
optional: false
|
|
32027
|
+
}],
|
|
32028
|
+
"deviceOps.getSettingsSchema": [{
|
|
32029
|
+
name: "deviceId",
|
|
32030
|
+
form: "single",
|
|
32031
|
+
optional: false
|
|
32032
|
+
}],
|
|
32033
|
+
"deviceOps.getStreamSources": [{
|
|
32034
|
+
name: "deviceId",
|
|
32035
|
+
form: "single",
|
|
32036
|
+
optional: false
|
|
32037
|
+
}],
|
|
32038
|
+
"deviceOps.removeDevice": [{
|
|
32039
|
+
name: "deviceId",
|
|
32040
|
+
form: "single",
|
|
32041
|
+
optional: false
|
|
32042
|
+
}],
|
|
32043
|
+
"deviceOps.runAction": [{
|
|
32044
|
+
name: "deviceId",
|
|
32045
|
+
form: "single",
|
|
32046
|
+
optional: false
|
|
32047
|
+
}],
|
|
32048
|
+
"deviceOps.setConfig": [{
|
|
32049
|
+
name: "deviceId",
|
|
32050
|
+
form: "single",
|
|
32051
|
+
optional: false
|
|
32052
|
+
}],
|
|
32053
|
+
"deviceState.getCapSlice": [{
|
|
32054
|
+
name: "deviceId",
|
|
32055
|
+
form: "single",
|
|
32056
|
+
optional: false
|
|
32057
|
+
}],
|
|
32058
|
+
"deviceState.getSnapshot": [{
|
|
32059
|
+
name: "deviceId",
|
|
32060
|
+
form: "single",
|
|
32061
|
+
optional: false
|
|
32062
|
+
}],
|
|
32063
|
+
"deviceState.setCapSlice": [{
|
|
32064
|
+
name: "deviceId",
|
|
32065
|
+
form: "single",
|
|
32066
|
+
optional: false
|
|
32067
|
+
}],
|
|
32068
|
+
"events.getEventClipUrl": [{
|
|
32069
|
+
name: "deviceId",
|
|
32070
|
+
form: "single",
|
|
32071
|
+
optional: false
|
|
32072
|
+
}],
|
|
32073
|
+
"events.getEvents": [{
|
|
32074
|
+
name: "deviceId",
|
|
32075
|
+
form: "single",
|
|
32076
|
+
optional: false
|
|
32077
|
+
}],
|
|
32078
|
+
"events.getEventThumbnail": [{
|
|
32079
|
+
name: "deviceId",
|
|
32080
|
+
form: "single",
|
|
32081
|
+
optional: false
|
|
32082
|
+
}],
|
|
32083
|
+
"faceGallery.getFaceByTrack": [{
|
|
32084
|
+
name: "deviceId",
|
|
32085
|
+
form: "single",
|
|
32086
|
+
optional: false
|
|
32087
|
+
}],
|
|
32088
|
+
"faceGallery.listRecentFaces": [{
|
|
32089
|
+
name: "deviceId",
|
|
32090
|
+
form: "single",
|
|
32091
|
+
optional: true
|
|
32092
|
+
}],
|
|
32093
|
+
"fanControl.setDirection": [{
|
|
32094
|
+
name: "deviceId",
|
|
32095
|
+
form: "single",
|
|
32096
|
+
optional: false
|
|
32097
|
+
}],
|
|
32098
|
+
"fanControl.setOscillating": [{
|
|
32099
|
+
name: "deviceId",
|
|
32100
|
+
form: "single",
|
|
32101
|
+
optional: false
|
|
32102
|
+
}],
|
|
32103
|
+
"fanControl.setPercentage": [{
|
|
32104
|
+
name: "deviceId",
|
|
32105
|
+
form: "single",
|
|
32106
|
+
optional: false
|
|
32107
|
+
}],
|
|
32108
|
+
"fanControl.setPreset": [{
|
|
32109
|
+
name: "deviceId",
|
|
32110
|
+
form: "single",
|
|
32111
|
+
optional: false
|
|
32112
|
+
}],
|
|
32113
|
+
"humidifier.setMode": [{
|
|
32114
|
+
name: "deviceId",
|
|
32115
|
+
form: "single",
|
|
32116
|
+
optional: false
|
|
32117
|
+
}],
|
|
32118
|
+
"humidifier.setOn": [{
|
|
32119
|
+
name: "deviceId",
|
|
32120
|
+
form: "single",
|
|
32121
|
+
optional: false
|
|
32122
|
+
}],
|
|
32123
|
+
"humidifier.setTargetHumidity": [{
|
|
32124
|
+
name: "deviceId",
|
|
32125
|
+
form: "single",
|
|
32126
|
+
optional: false
|
|
32127
|
+
}],
|
|
32128
|
+
"imageSettings.getOptions": [{
|
|
32129
|
+
name: "deviceId",
|
|
32130
|
+
form: "single",
|
|
32131
|
+
optional: false
|
|
32132
|
+
}],
|
|
32133
|
+
"imageSettings.setSettings": [{
|
|
32134
|
+
name: "deviceId",
|
|
32135
|
+
form: "single",
|
|
32136
|
+
optional: false
|
|
32137
|
+
}],
|
|
32138
|
+
"intercom.endTalkSession": [{
|
|
32139
|
+
name: "deviceId",
|
|
32140
|
+
form: "single",
|
|
32141
|
+
optional: false
|
|
32142
|
+
}],
|
|
32143
|
+
"intercom.handleAnswer": [{
|
|
32144
|
+
name: "deviceId",
|
|
32145
|
+
form: "single",
|
|
32146
|
+
optional: false
|
|
32147
|
+
}],
|
|
32148
|
+
"intercom.pushTalkAudio": [{
|
|
32149
|
+
name: "deviceId",
|
|
32150
|
+
form: "single",
|
|
32151
|
+
optional: false
|
|
32152
|
+
}],
|
|
32153
|
+
"intercom.startSession": [{
|
|
32154
|
+
name: "deviceId",
|
|
32155
|
+
form: "single",
|
|
32156
|
+
optional: false
|
|
32157
|
+
}],
|
|
32158
|
+
"intercom.startTalkSession": [{
|
|
32159
|
+
name: "deviceId",
|
|
32160
|
+
form: "single",
|
|
32161
|
+
optional: false
|
|
32162
|
+
}],
|
|
32163
|
+
"intercom.stopSession": [{
|
|
32164
|
+
name: "deviceId",
|
|
32165
|
+
form: "single",
|
|
32166
|
+
optional: false
|
|
32167
|
+
}],
|
|
32168
|
+
"lawnMowerControl.dock": [{
|
|
32169
|
+
name: "deviceId",
|
|
32170
|
+
form: "single",
|
|
32171
|
+
optional: false
|
|
32172
|
+
}],
|
|
32173
|
+
"lawnMowerControl.pause": [{
|
|
32174
|
+
name: "deviceId",
|
|
32175
|
+
form: "single",
|
|
32176
|
+
optional: false
|
|
32177
|
+
}],
|
|
32178
|
+
"lawnMowerControl.startMowing": [{
|
|
32179
|
+
name: "deviceId",
|
|
32180
|
+
form: "single",
|
|
32181
|
+
optional: false
|
|
32182
|
+
}],
|
|
32183
|
+
"lockControl.lock": [{
|
|
32184
|
+
name: "deviceId",
|
|
32185
|
+
form: "single",
|
|
32186
|
+
optional: false
|
|
32187
|
+
}],
|
|
32188
|
+
"lockControl.open": [{
|
|
32189
|
+
name: "deviceId",
|
|
32190
|
+
form: "single",
|
|
32191
|
+
optional: false
|
|
32192
|
+
}],
|
|
32193
|
+
"lockControl.unlock": [{
|
|
32194
|
+
name: "deviceId",
|
|
32195
|
+
form: "single",
|
|
32196
|
+
optional: false
|
|
32197
|
+
}],
|
|
32198
|
+
"mediaPlayer.next": [{
|
|
32199
|
+
name: "deviceId",
|
|
32200
|
+
form: "single",
|
|
32201
|
+
optional: false
|
|
32202
|
+
}],
|
|
32203
|
+
"mediaPlayer.pause": [{
|
|
32204
|
+
name: "deviceId",
|
|
32205
|
+
form: "single",
|
|
32206
|
+
optional: false
|
|
32207
|
+
}],
|
|
32208
|
+
"mediaPlayer.play": [{
|
|
32209
|
+
name: "deviceId",
|
|
32210
|
+
form: "single",
|
|
32211
|
+
optional: false
|
|
32212
|
+
}],
|
|
32213
|
+
"mediaPlayer.playMedia": [{
|
|
32214
|
+
name: "deviceId",
|
|
32215
|
+
form: "single",
|
|
32216
|
+
optional: false
|
|
32217
|
+
}],
|
|
32218
|
+
"mediaPlayer.previous": [{
|
|
32219
|
+
name: "deviceId",
|
|
32220
|
+
form: "single",
|
|
32221
|
+
optional: false
|
|
32222
|
+
}],
|
|
32223
|
+
"mediaPlayer.seek": [{
|
|
32224
|
+
name: "deviceId",
|
|
32225
|
+
form: "single",
|
|
32226
|
+
optional: false
|
|
32227
|
+
}],
|
|
32228
|
+
"mediaPlayer.selectSource": [{
|
|
32229
|
+
name: "deviceId",
|
|
32230
|
+
form: "single",
|
|
32231
|
+
optional: false
|
|
32232
|
+
}],
|
|
32233
|
+
"mediaPlayer.setMute": [{
|
|
32234
|
+
name: "deviceId",
|
|
32235
|
+
form: "single",
|
|
32236
|
+
optional: false
|
|
32237
|
+
}],
|
|
32238
|
+
"mediaPlayer.setRepeat": [{
|
|
32239
|
+
name: "deviceId",
|
|
32240
|
+
form: "single",
|
|
32241
|
+
optional: false
|
|
32242
|
+
}],
|
|
32243
|
+
"mediaPlayer.setShuffle": [{
|
|
32244
|
+
name: "deviceId",
|
|
32245
|
+
form: "single",
|
|
32246
|
+
optional: false
|
|
32247
|
+
}],
|
|
32248
|
+
"mediaPlayer.setVolume": [{
|
|
32249
|
+
name: "deviceId",
|
|
32250
|
+
form: "single",
|
|
32251
|
+
optional: false
|
|
32252
|
+
}],
|
|
32253
|
+
"mediaPlayer.stop": [{
|
|
32254
|
+
name: "deviceId",
|
|
32255
|
+
form: "single",
|
|
32256
|
+
optional: false
|
|
32257
|
+
}],
|
|
32258
|
+
"motion.isDetected": [{
|
|
32259
|
+
name: "deviceId",
|
|
32260
|
+
form: "single",
|
|
32261
|
+
optional: false
|
|
32262
|
+
}],
|
|
32263
|
+
"motionDetection.analyze": [{
|
|
32264
|
+
name: "deviceId",
|
|
32265
|
+
form: "single",
|
|
32266
|
+
optional: false
|
|
32267
|
+
}],
|
|
32268
|
+
"motionDetection.removeCamera": [{
|
|
32269
|
+
name: "deviceId",
|
|
32270
|
+
form: "single",
|
|
32271
|
+
optional: false
|
|
32272
|
+
}],
|
|
32273
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32274
|
+
name: "deviceId",
|
|
32275
|
+
form: "single",
|
|
32276
|
+
optional: false
|
|
32277
|
+
}],
|
|
32278
|
+
"motionZones.getOptions": [{
|
|
32279
|
+
name: "deviceId",
|
|
32280
|
+
form: "single",
|
|
32281
|
+
optional: false
|
|
32282
|
+
}],
|
|
32283
|
+
"motionZones.setZone": [{
|
|
32284
|
+
name: "deviceId",
|
|
32285
|
+
form: "single",
|
|
32286
|
+
optional: false
|
|
32287
|
+
}],
|
|
32288
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32289
|
+
name: "deviceId",
|
|
32290
|
+
form: "single",
|
|
32291
|
+
optional: false
|
|
32292
|
+
}],
|
|
32293
|
+
"networkQuality.getDeviceStats": [{
|
|
32294
|
+
name: "deviceId",
|
|
32295
|
+
form: "single",
|
|
32296
|
+
optional: false
|
|
32297
|
+
}],
|
|
32298
|
+
"networkQuality.reportClientStats": [{
|
|
32299
|
+
name: "deviceId",
|
|
32300
|
+
form: "single",
|
|
32301
|
+
optional: false
|
|
32302
|
+
}],
|
|
32303
|
+
"notificationRules.setDeviceMuted": [{
|
|
32304
|
+
name: "deviceId",
|
|
32305
|
+
form: "single",
|
|
32306
|
+
optional: false
|
|
32307
|
+
}],
|
|
32308
|
+
"notifier.cancel": [{
|
|
32309
|
+
name: "deviceId",
|
|
32310
|
+
form: "single",
|
|
32311
|
+
optional: false
|
|
32312
|
+
}],
|
|
32313
|
+
"notifier.send": [{
|
|
32314
|
+
name: "deviceId",
|
|
32315
|
+
form: "single",
|
|
32316
|
+
optional: false
|
|
32317
|
+
}],
|
|
32318
|
+
"osd.setOverlay": [{
|
|
32319
|
+
name: "deviceId",
|
|
32320
|
+
form: "single",
|
|
32321
|
+
optional: false
|
|
32322
|
+
}],
|
|
32323
|
+
"osdManager.clearSlotBinding": [{
|
|
32324
|
+
name: "deviceId",
|
|
32325
|
+
form: "single",
|
|
32326
|
+
optional: false
|
|
32327
|
+
}],
|
|
32328
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32329
|
+
name: "sourceDeviceId",
|
|
32330
|
+
form: "single",
|
|
32331
|
+
optional: false
|
|
32332
|
+
}, {
|
|
32333
|
+
name: "targetDeviceId",
|
|
32334
|
+
form: "single",
|
|
32335
|
+
optional: false
|
|
32336
|
+
}],
|
|
32337
|
+
"osdManager.getDeviceOsd": [{
|
|
32338
|
+
name: "deviceId",
|
|
32339
|
+
form: "single",
|
|
32340
|
+
optional: false
|
|
32341
|
+
}],
|
|
32342
|
+
"osdManager.getSourceCatalog": [{
|
|
32343
|
+
name: "deviceId",
|
|
32344
|
+
form: "single",
|
|
32345
|
+
optional: false
|
|
32346
|
+
}],
|
|
32347
|
+
"osdManager.previewSlot": [{
|
|
32348
|
+
name: "deviceId",
|
|
32349
|
+
form: "single",
|
|
32350
|
+
optional: false
|
|
32351
|
+
}],
|
|
32352
|
+
"osdManager.renderDevice": [{
|
|
32353
|
+
name: "deviceId",
|
|
32354
|
+
form: "single",
|
|
32355
|
+
optional: false
|
|
32356
|
+
}],
|
|
32357
|
+
"osdManager.setSlotBinding": [{
|
|
32358
|
+
name: "deviceId",
|
|
32359
|
+
form: "single",
|
|
32360
|
+
optional: false
|
|
32361
|
+
}],
|
|
32362
|
+
"petFeeder.callPet": [{
|
|
32363
|
+
name: "deviceId",
|
|
32364
|
+
form: "single",
|
|
32365
|
+
optional: false
|
|
32366
|
+
}],
|
|
32367
|
+
"petFeeder.cancelFeed": [{
|
|
32368
|
+
name: "deviceId",
|
|
32369
|
+
form: "single",
|
|
32370
|
+
optional: false
|
|
32371
|
+
}],
|
|
32372
|
+
"petFeeder.feed": [{
|
|
32373
|
+
name: "deviceId",
|
|
32374
|
+
form: "single",
|
|
32375
|
+
optional: false
|
|
32376
|
+
}],
|
|
32377
|
+
"petFeeder.markFoodReplenished": [{
|
|
32378
|
+
name: "deviceId",
|
|
32379
|
+
form: "single",
|
|
32380
|
+
optional: false
|
|
32381
|
+
}],
|
|
32382
|
+
"petFeeder.playSound": [{
|
|
32383
|
+
name: "deviceId",
|
|
32384
|
+
form: "single",
|
|
32385
|
+
optional: false
|
|
32386
|
+
}],
|
|
32387
|
+
"petFeeder.resetDesiccant": [{
|
|
32388
|
+
name: "deviceId",
|
|
32389
|
+
form: "single",
|
|
32390
|
+
optional: false
|
|
32391
|
+
}],
|
|
32392
|
+
"petFeeder.setChildLock": [{
|
|
32393
|
+
name: "deviceId",
|
|
32394
|
+
form: "single",
|
|
32395
|
+
optional: false
|
|
32396
|
+
}],
|
|
32397
|
+
"petFeeder.setFeedSound": [{
|
|
32398
|
+
name: "deviceId",
|
|
32399
|
+
form: "single",
|
|
32400
|
+
optional: false
|
|
32401
|
+
}],
|
|
32402
|
+
"petFeeder.setIndicatorLight": [{
|
|
32403
|
+
name: "deviceId",
|
|
32404
|
+
form: "single",
|
|
32405
|
+
optional: false
|
|
32406
|
+
}],
|
|
32407
|
+
"petFeeder.setVolume": [{
|
|
32408
|
+
name: "deviceId",
|
|
32409
|
+
form: "single",
|
|
32410
|
+
optional: false
|
|
32411
|
+
}],
|
|
32412
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32413
|
+
name: "deviceId",
|
|
32414
|
+
form: "single",
|
|
32415
|
+
optional: false
|
|
32416
|
+
}],
|
|
32417
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32418
|
+
name: "deviceId",
|
|
32419
|
+
form: "single",
|
|
32420
|
+
optional: false
|
|
32421
|
+
}],
|
|
32422
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32423
|
+
name: "deviceId",
|
|
32424
|
+
form: "single",
|
|
32425
|
+
optional: false
|
|
32426
|
+
}],
|
|
32427
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32428
|
+
name: "deviceId",
|
|
32429
|
+
form: "single",
|
|
32430
|
+
optional: false
|
|
32431
|
+
}],
|
|
32432
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32433
|
+
name: "deviceId",
|
|
32434
|
+
form: "single",
|
|
32435
|
+
optional: false
|
|
32436
|
+
}],
|
|
32437
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32438
|
+
name: "deviceId",
|
|
32439
|
+
form: "single",
|
|
32440
|
+
optional: false
|
|
32441
|
+
}],
|
|
32442
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32443
|
+
name: "deviceId",
|
|
32444
|
+
form: "single",
|
|
32445
|
+
optional: false
|
|
32446
|
+
}],
|
|
32447
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32448
|
+
name: "deviceId",
|
|
32449
|
+
form: "single",
|
|
32450
|
+
optional: false
|
|
32451
|
+
}],
|
|
32452
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32453
|
+
name: "deviceId",
|
|
32454
|
+
form: "single",
|
|
32455
|
+
optional: false
|
|
32456
|
+
}],
|
|
32457
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32458
|
+
name: "deviceId",
|
|
32459
|
+
form: "single",
|
|
32460
|
+
optional: false
|
|
32461
|
+
}],
|
|
32462
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32463
|
+
name: "deviceId",
|
|
32464
|
+
form: "single",
|
|
32465
|
+
optional: false
|
|
32466
|
+
}],
|
|
32467
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32468
|
+
name: "deviceId",
|
|
32469
|
+
form: "single",
|
|
32470
|
+
optional: false
|
|
32471
|
+
}],
|
|
32472
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32473
|
+
name: "deviceIds",
|
|
32474
|
+
form: "array",
|
|
32475
|
+
optional: true
|
|
32476
|
+
}],
|
|
32477
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32478
|
+
name: "deviceId",
|
|
32479
|
+
form: "single",
|
|
32480
|
+
optional: false
|
|
32481
|
+
}],
|
|
32482
|
+
"pipelineAnalytics.getTrack": [{
|
|
32483
|
+
name: "deviceId",
|
|
32484
|
+
form: "single",
|
|
32485
|
+
optional: false
|
|
32486
|
+
}],
|
|
32487
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32488
|
+
name: "deviceId",
|
|
32489
|
+
form: "single",
|
|
32490
|
+
optional: false
|
|
32491
|
+
}],
|
|
32492
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32493
|
+
name: "deviceIds",
|
|
32494
|
+
form: "array",
|
|
32495
|
+
optional: true
|
|
32496
|
+
}],
|
|
32497
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32498
|
+
name: "deviceIds",
|
|
32499
|
+
form: "array",
|
|
32500
|
+
optional: true
|
|
32501
|
+
}],
|
|
32502
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32503
|
+
name: "deviceId",
|
|
32504
|
+
form: "single",
|
|
32505
|
+
optional: false
|
|
32506
|
+
}],
|
|
32507
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32508
|
+
name: "deviceIds",
|
|
32509
|
+
form: "array",
|
|
32510
|
+
optional: false
|
|
32511
|
+
}],
|
|
32512
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32513
|
+
name: "deviceId",
|
|
32514
|
+
form: "single",
|
|
32515
|
+
optional: true
|
|
32516
|
+
}],
|
|
32517
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32518
|
+
name: "deviceIds",
|
|
32519
|
+
form: "array",
|
|
32520
|
+
optional: false
|
|
32521
|
+
}],
|
|
32522
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32523
|
+
name: "deviceIds",
|
|
32524
|
+
form: "array",
|
|
32525
|
+
optional: true
|
|
32526
|
+
}],
|
|
32527
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32528
|
+
name: "deviceId",
|
|
32529
|
+
form: "single",
|
|
32530
|
+
optional: false
|
|
32531
|
+
}],
|
|
32532
|
+
"pipelineAnalytics.listTracks": [{
|
|
32533
|
+
name: "deviceId",
|
|
32534
|
+
form: "single",
|
|
32535
|
+
optional: false
|
|
32536
|
+
}],
|
|
32537
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32538
|
+
name: "deviceId",
|
|
32539
|
+
form: "single",
|
|
32540
|
+
optional: false
|
|
32541
|
+
}],
|
|
32542
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32543
|
+
name: "deviceId",
|
|
32544
|
+
form: "single",
|
|
32545
|
+
optional: false
|
|
32546
|
+
}],
|
|
32547
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32548
|
+
name: "deviceId",
|
|
32549
|
+
form: "single",
|
|
32550
|
+
optional: false
|
|
32551
|
+
}],
|
|
32552
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32553
|
+
name: "deviceId",
|
|
32554
|
+
form: "single",
|
|
32555
|
+
optional: true
|
|
32556
|
+
}],
|
|
32557
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32558
|
+
name: "deviceId",
|
|
32559
|
+
form: "single",
|
|
32560
|
+
optional: false
|
|
32561
|
+
}],
|
|
32562
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32563
|
+
name: "deviceId",
|
|
32564
|
+
form: "single",
|
|
32565
|
+
optional: false
|
|
32566
|
+
}],
|
|
32567
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32568
|
+
name: "deviceId",
|
|
32569
|
+
form: "single",
|
|
32570
|
+
optional: true
|
|
32571
|
+
}],
|
|
32572
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32573
|
+
name: "deviceId",
|
|
32574
|
+
form: "single",
|
|
32575
|
+
optional: false
|
|
32576
|
+
}],
|
|
32577
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32578
|
+
name: "deviceId",
|
|
32579
|
+
form: "single",
|
|
32580
|
+
optional: false
|
|
32581
|
+
}],
|
|
32582
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32583
|
+
name: "deviceId",
|
|
32584
|
+
form: "single",
|
|
32585
|
+
optional: false
|
|
32586
|
+
}],
|
|
32587
|
+
"pipelineExecutor.runPipeline": [{
|
|
32588
|
+
name: "deviceId",
|
|
32589
|
+
form: "single",
|
|
32590
|
+
optional: true
|
|
32591
|
+
}],
|
|
32592
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32593
|
+
name: "deviceId",
|
|
32594
|
+
form: "single",
|
|
32595
|
+
optional: true
|
|
32596
|
+
}],
|
|
32597
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32598
|
+
name: "deviceId",
|
|
32599
|
+
form: "single",
|
|
32600
|
+
optional: false
|
|
32601
|
+
}],
|
|
32602
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32603
|
+
name: "deviceId",
|
|
32604
|
+
form: "single",
|
|
32605
|
+
optional: false
|
|
32606
|
+
}],
|
|
32607
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32608
|
+
name: "deviceId",
|
|
32609
|
+
form: "single",
|
|
32610
|
+
optional: false
|
|
32611
|
+
}],
|
|
32612
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32613
|
+
name: "deviceId",
|
|
32614
|
+
form: "single",
|
|
32615
|
+
optional: false
|
|
32616
|
+
}],
|
|
32617
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32618
|
+
name: "deviceId",
|
|
32619
|
+
form: "single",
|
|
32620
|
+
optional: false
|
|
32621
|
+
}],
|
|
32622
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32623
|
+
name: "deviceId",
|
|
32624
|
+
form: "single",
|
|
32625
|
+
optional: false
|
|
32626
|
+
}],
|
|
32627
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32628
|
+
name: "deviceIds",
|
|
32629
|
+
form: "array",
|
|
32630
|
+
optional: true
|
|
32631
|
+
}],
|
|
32632
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32633
|
+
name: "deviceId",
|
|
32634
|
+
form: "single",
|
|
32635
|
+
optional: false
|
|
32636
|
+
}],
|
|
32637
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32638
|
+
name: "deviceId",
|
|
32639
|
+
form: "single",
|
|
32640
|
+
optional: false
|
|
32641
|
+
}],
|
|
32642
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32643
|
+
name: "deviceId",
|
|
32644
|
+
form: "single",
|
|
32645
|
+
optional: false
|
|
32646
|
+
}],
|
|
32647
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32648
|
+
name: "deviceId",
|
|
32649
|
+
form: "single",
|
|
32650
|
+
optional: false
|
|
32651
|
+
}],
|
|
32652
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32653
|
+
name: "deviceId",
|
|
32654
|
+
form: "single",
|
|
32655
|
+
optional: false
|
|
32656
|
+
}],
|
|
32657
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32658
|
+
name: "deviceId",
|
|
32659
|
+
form: "single",
|
|
32660
|
+
optional: false
|
|
32661
|
+
}],
|
|
32662
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32663
|
+
name: "deviceId",
|
|
32664
|
+
form: "single",
|
|
32665
|
+
optional: false
|
|
32666
|
+
}],
|
|
32667
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32668
|
+
name: "deviceId",
|
|
32669
|
+
form: "single",
|
|
32670
|
+
optional: false
|
|
32671
|
+
}],
|
|
32672
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32673
|
+
name: "deviceId",
|
|
32674
|
+
form: "single",
|
|
32675
|
+
optional: false
|
|
32676
|
+
}],
|
|
32677
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32678
|
+
name: "deviceId",
|
|
32679
|
+
form: "single",
|
|
32680
|
+
optional: false
|
|
32681
|
+
}],
|
|
32682
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32683
|
+
name: "deviceId",
|
|
32684
|
+
form: "single",
|
|
32685
|
+
optional: false
|
|
32686
|
+
}],
|
|
32687
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32688
|
+
name: "deviceId",
|
|
32689
|
+
form: "single",
|
|
32690
|
+
optional: false
|
|
32691
|
+
}],
|
|
32692
|
+
"pipelineRunner.attachCamera": [{
|
|
32693
|
+
name: "deviceId",
|
|
32694
|
+
form: "single",
|
|
32695
|
+
optional: false
|
|
32696
|
+
}],
|
|
32697
|
+
"pipelineRunner.detachCamera": [{
|
|
32698
|
+
name: "deviceId",
|
|
32699
|
+
form: "single",
|
|
32700
|
+
optional: false
|
|
32701
|
+
}],
|
|
32702
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32703
|
+
name: "deviceId",
|
|
32704
|
+
form: "single",
|
|
32705
|
+
optional: false
|
|
32706
|
+
}],
|
|
32707
|
+
"pipelineRunner.reportMotion": [{
|
|
32708
|
+
name: "deviceId",
|
|
32709
|
+
form: "single",
|
|
32710
|
+
optional: false
|
|
32711
|
+
}],
|
|
32712
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32713
|
+
name: "deviceId",
|
|
32714
|
+
form: "single",
|
|
32715
|
+
optional: false
|
|
32716
|
+
}],
|
|
32717
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32718
|
+
name: "sourceDeviceId",
|
|
32719
|
+
form: "single",
|
|
32720
|
+
optional: false
|
|
32721
|
+
}],
|
|
32722
|
+
"plateGallery.getPlateByTrack": [{
|
|
32723
|
+
name: "deviceId",
|
|
32724
|
+
form: "single",
|
|
32725
|
+
optional: false
|
|
32726
|
+
}],
|
|
32727
|
+
"plateGallery.listPlates": [{
|
|
32728
|
+
name: "deviceId",
|
|
32729
|
+
form: "single",
|
|
32730
|
+
optional: true
|
|
32731
|
+
}],
|
|
32732
|
+
"privacyMask.getOptions": [{
|
|
32733
|
+
name: "deviceId",
|
|
32734
|
+
form: "single",
|
|
32735
|
+
optional: false
|
|
32736
|
+
}],
|
|
32737
|
+
"privacyMask.setAudioEnabled": [{
|
|
32738
|
+
name: "deviceId",
|
|
32739
|
+
form: "single",
|
|
32740
|
+
optional: false
|
|
32741
|
+
}],
|
|
32742
|
+
"privacyMask.setMask": [{
|
|
32743
|
+
name: "deviceId",
|
|
32744
|
+
form: "single",
|
|
32745
|
+
optional: false
|
|
32746
|
+
}],
|
|
32747
|
+
"ptz.continuousMove": [{
|
|
32748
|
+
name: "deviceId",
|
|
32749
|
+
form: "single",
|
|
32750
|
+
optional: false
|
|
32751
|
+
}],
|
|
32752
|
+
"ptz.deletePreset": [{
|
|
32753
|
+
name: "deviceId",
|
|
32754
|
+
form: "single",
|
|
32755
|
+
optional: false
|
|
32756
|
+
}],
|
|
32757
|
+
"ptz.getOptions": [{
|
|
32758
|
+
name: "deviceId",
|
|
32759
|
+
form: "single",
|
|
32760
|
+
optional: false
|
|
32761
|
+
}],
|
|
32762
|
+
"ptz.getPosition": [{
|
|
32763
|
+
name: "deviceId",
|
|
32764
|
+
form: "single",
|
|
32765
|
+
optional: false
|
|
32766
|
+
}],
|
|
32767
|
+
"ptz.getPresets": [{
|
|
32768
|
+
name: "deviceId",
|
|
32769
|
+
form: "single",
|
|
32770
|
+
optional: false
|
|
32771
|
+
}],
|
|
32772
|
+
"ptz.goHome": [{
|
|
32773
|
+
name: "deviceId",
|
|
32774
|
+
form: "single",
|
|
32775
|
+
optional: false
|
|
32776
|
+
}],
|
|
32777
|
+
"ptz.goToPreset": [{
|
|
32778
|
+
name: "deviceId",
|
|
32779
|
+
form: "single",
|
|
32780
|
+
optional: false
|
|
32781
|
+
}],
|
|
32782
|
+
"ptz.move": [{
|
|
32783
|
+
name: "deviceId",
|
|
32784
|
+
form: "single",
|
|
32785
|
+
optional: false
|
|
32786
|
+
}],
|
|
32787
|
+
"ptz.savePreset": [{
|
|
32788
|
+
name: "deviceId",
|
|
32789
|
+
form: "single",
|
|
32790
|
+
optional: false
|
|
32791
|
+
}],
|
|
32792
|
+
"ptz.setAutofocus": [{
|
|
32793
|
+
name: "deviceId",
|
|
32794
|
+
form: "single",
|
|
32795
|
+
optional: false
|
|
32796
|
+
}],
|
|
32797
|
+
"ptz.stop": [{
|
|
32798
|
+
name: "deviceId",
|
|
32799
|
+
form: "single",
|
|
32800
|
+
optional: false
|
|
32801
|
+
}],
|
|
32802
|
+
"ptzAutotrack.getSettings": [{
|
|
32803
|
+
name: "deviceId",
|
|
32804
|
+
form: "single",
|
|
32805
|
+
optional: false
|
|
32806
|
+
}],
|
|
32807
|
+
"ptzAutotrack.getStatus": [{
|
|
32808
|
+
name: "deviceId",
|
|
32809
|
+
form: "single",
|
|
32810
|
+
optional: false
|
|
32811
|
+
}],
|
|
32812
|
+
"ptzAutotrack.setEnabled": [{
|
|
32813
|
+
name: "deviceId",
|
|
32814
|
+
form: "single",
|
|
32815
|
+
optional: false
|
|
32816
|
+
}],
|
|
32817
|
+
"ptzAutotrack.setSettings": [{
|
|
32818
|
+
name: "deviceId",
|
|
32819
|
+
form: "single",
|
|
32820
|
+
optional: false
|
|
32821
|
+
}],
|
|
32822
|
+
"reboot.reboot": [{
|
|
32823
|
+
name: "deviceId",
|
|
32824
|
+
form: "single",
|
|
32825
|
+
optional: false
|
|
32826
|
+
}],
|
|
32827
|
+
"recording.deleteFootprint": [{
|
|
32828
|
+
name: "deviceId",
|
|
32829
|
+
form: "single",
|
|
32830
|
+
optional: false
|
|
32831
|
+
}],
|
|
32832
|
+
"recording.getAvailability": [{
|
|
32833
|
+
name: "deviceId",
|
|
32834
|
+
form: "single",
|
|
32835
|
+
optional: false
|
|
32836
|
+
}],
|
|
32837
|
+
"recording.getDaysWithRecordings": [{
|
|
32838
|
+
name: "deviceId",
|
|
32839
|
+
form: "single",
|
|
32840
|
+
optional: false
|
|
32841
|
+
}],
|
|
32842
|
+
"recording.getDeviceConfig": [{
|
|
32843
|
+
name: "deviceId",
|
|
32844
|
+
form: "single",
|
|
32845
|
+
optional: false
|
|
32846
|
+
}],
|
|
32847
|
+
"recording.getPlaybackManifest": [{
|
|
32848
|
+
name: "deviceId",
|
|
32849
|
+
form: "single",
|
|
32850
|
+
optional: false
|
|
32851
|
+
}],
|
|
32852
|
+
"recording.listOpsLog": [{
|
|
32853
|
+
name: "deviceId",
|
|
32854
|
+
form: "single",
|
|
32855
|
+
optional: true
|
|
32856
|
+
}],
|
|
32857
|
+
"recording.locateSegment": [{
|
|
32858
|
+
name: "deviceId",
|
|
32859
|
+
form: "single",
|
|
32860
|
+
optional: false
|
|
32861
|
+
}],
|
|
32862
|
+
"recording.pruneFootage": [{
|
|
32863
|
+
name: "deviceId",
|
|
32864
|
+
form: "single",
|
|
32865
|
+
optional: false
|
|
32866
|
+
}],
|
|
32867
|
+
"recording.readGopBytes": [{
|
|
32868
|
+
name: "deviceId",
|
|
32869
|
+
form: "single",
|
|
32870
|
+
optional: false
|
|
32871
|
+
}],
|
|
32872
|
+
"recording.readSegmentBytes": [{
|
|
32873
|
+
name: "deviceId",
|
|
32874
|
+
form: "single",
|
|
32875
|
+
optional: false
|
|
32876
|
+
}],
|
|
32877
|
+
"recording.relocateFootage": [{
|
|
32878
|
+
name: "deviceId",
|
|
32879
|
+
form: "single",
|
|
32880
|
+
optional: true
|
|
32881
|
+
}],
|
|
32882
|
+
"recording.renderClip": [{
|
|
32883
|
+
name: "deviceId",
|
|
32884
|
+
form: "single",
|
|
32885
|
+
optional: false
|
|
32886
|
+
}],
|
|
32887
|
+
"recording.renderGif": [{
|
|
32888
|
+
name: "deviceId",
|
|
32889
|
+
form: "single",
|
|
32890
|
+
optional: false
|
|
32891
|
+
}],
|
|
32892
|
+
"recording.rescanStorage": [{
|
|
32893
|
+
name: "deviceId",
|
|
32894
|
+
form: "single",
|
|
32895
|
+
optional: false
|
|
32896
|
+
}],
|
|
32897
|
+
"recording.setDeviceConfig": [{
|
|
32898
|
+
name: "deviceId",
|
|
32899
|
+
form: "single",
|
|
32900
|
+
optional: false
|
|
32901
|
+
}],
|
|
32902
|
+
"recording.startStorageMigrationMove": [{
|
|
32903
|
+
name: "deviceId",
|
|
32904
|
+
form: "single",
|
|
32905
|
+
optional: true
|
|
32906
|
+
}],
|
|
32907
|
+
"recordingExport.createExport": [{
|
|
32908
|
+
name: "deviceId",
|
|
32909
|
+
form: "single",
|
|
32910
|
+
optional: false
|
|
32911
|
+
}],
|
|
32912
|
+
"recordingExport.listExports": [{
|
|
32913
|
+
name: "deviceId",
|
|
32914
|
+
form: "single",
|
|
32915
|
+
optional: true
|
|
32916
|
+
}],
|
|
32917
|
+
"sceneMonitor.captureReference": [{
|
|
32918
|
+
name: "deviceId",
|
|
32919
|
+
form: "single",
|
|
32920
|
+
optional: false
|
|
32921
|
+
}],
|
|
32922
|
+
"sceneMonitor.createScene": [{
|
|
32923
|
+
name: "deviceId",
|
|
32924
|
+
form: "single",
|
|
32925
|
+
optional: false
|
|
32926
|
+
}],
|
|
32927
|
+
"sceneMonitor.deleteReference": [{
|
|
32928
|
+
name: "deviceId",
|
|
32929
|
+
form: "single",
|
|
32930
|
+
optional: false
|
|
32931
|
+
}],
|
|
32932
|
+
"sceneMonitor.deleteScene": [{
|
|
32933
|
+
name: "deviceId",
|
|
32934
|
+
form: "single",
|
|
32935
|
+
optional: false
|
|
32936
|
+
}],
|
|
32937
|
+
"sceneMonitor.listScenes": [{
|
|
32938
|
+
name: "deviceId",
|
|
32939
|
+
form: "single",
|
|
32940
|
+
optional: false
|
|
32941
|
+
}],
|
|
32942
|
+
"sceneMonitor.recheckNow": [{
|
|
32943
|
+
name: "deviceId",
|
|
32944
|
+
form: "single",
|
|
32945
|
+
optional: false
|
|
32946
|
+
}],
|
|
32947
|
+
"sceneMonitor.resetScene": [{
|
|
32948
|
+
name: "deviceId",
|
|
32949
|
+
form: "single",
|
|
32950
|
+
optional: false
|
|
32951
|
+
}],
|
|
32952
|
+
"sceneMonitor.updateScene": [{
|
|
32953
|
+
name: "deviceId",
|
|
32954
|
+
form: "single",
|
|
32955
|
+
optional: false
|
|
32956
|
+
}],
|
|
32957
|
+
"scriptRunner.run": [{
|
|
32958
|
+
name: "deviceId",
|
|
32959
|
+
form: "single",
|
|
32960
|
+
optional: false
|
|
32961
|
+
}],
|
|
32962
|
+
"scriptRunner.stop": [{
|
|
32963
|
+
name: "deviceId",
|
|
32964
|
+
form: "single",
|
|
32965
|
+
optional: false
|
|
32966
|
+
}],
|
|
32967
|
+
"snapshot.getSnapshot": [{
|
|
32968
|
+
name: "deviceId",
|
|
32969
|
+
form: "single",
|
|
32970
|
+
optional: false
|
|
32971
|
+
}],
|
|
32972
|
+
"snapshot.getSnapshotLinks": [{
|
|
32973
|
+
name: "targets",
|
|
32974
|
+
form: "object-array",
|
|
32975
|
+
optional: false,
|
|
32976
|
+
itemField: "deviceId"
|
|
32977
|
+
}],
|
|
32978
|
+
"snapshot.getSnapshotOverview": [{
|
|
32979
|
+
name: "deviceIds",
|
|
32980
|
+
form: "array",
|
|
32981
|
+
optional: false
|
|
32982
|
+
}],
|
|
32983
|
+
"snapshot.invalidateCache": [{
|
|
32984
|
+
name: "deviceId",
|
|
32985
|
+
form: "single",
|
|
32986
|
+
optional: false
|
|
32987
|
+
}],
|
|
32988
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32989
|
+
name: "deviceId",
|
|
32990
|
+
form: "single",
|
|
32991
|
+
optional: false
|
|
32992
|
+
}],
|
|
32993
|
+
"streamBroker.assignProfile": [{
|
|
32994
|
+
name: "deviceId",
|
|
32995
|
+
form: "single",
|
|
32996
|
+
optional: false
|
|
32997
|
+
}],
|
|
32998
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32999
|
+
name: "deviceId",
|
|
33000
|
+
form: "single",
|
|
33001
|
+
optional: false
|
|
33002
|
+
}],
|
|
33003
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33004
|
+
name: "deviceId",
|
|
33005
|
+
form: "single",
|
|
33006
|
+
optional: false
|
|
33007
|
+
}],
|
|
33008
|
+
"streamBroker.produceEventMedia": [{
|
|
33009
|
+
name: "deviceId",
|
|
33010
|
+
form: "single",
|
|
33011
|
+
optional: false
|
|
33012
|
+
}],
|
|
33013
|
+
"streamBroker.publishCameraStream": [{
|
|
33014
|
+
name: "deviceId",
|
|
33015
|
+
form: "single",
|
|
33016
|
+
optional: false
|
|
33017
|
+
}],
|
|
33018
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33019
|
+
name: "deviceId",
|
|
33020
|
+
form: "single",
|
|
33021
|
+
optional: false
|
|
33022
|
+
}],
|
|
33023
|
+
"streamBroker.restartProfile": [{
|
|
33024
|
+
name: "deviceId",
|
|
33025
|
+
form: "single",
|
|
33026
|
+
optional: false
|
|
33027
|
+
}],
|
|
33028
|
+
"streamBroker.retractCameraStream": [{
|
|
33029
|
+
name: "deviceId",
|
|
33030
|
+
form: "single",
|
|
33031
|
+
optional: false
|
|
33032
|
+
}],
|
|
33033
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33034
|
+
name: "deviceId",
|
|
33035
|
+
form: "single",
|
|
33036
|
+
optional: false
|
|
33037
|
+
}],
|
|
33038
|
+
"streamBroker.unassignProfile": [{
|
|
33039
|
+
name: "deviceId",
|
|
33040
|
+
form: "single",
|
|
33041
|
+
optional: false
|
|
33042
|
+
}],
|
|
33043
|
+
"streamCatalog.getCatalog": [{
|
|
33044
|
+
name: "deviceId",
|
|
33045
|
+
form: "single",
|
|
33046
|
+
optional: false
|
|
33047
|
+
}],
|
|
33048
|
+
"streamParams.getConfigSchema": [{
|
|
33049
|
+
name: "deviceId",
|
|
33050
|
+
form: "single",
|
|
33051
|
+
optional: false
|
|
33052
|
+
}],
|
|
33053
|
+
"streamParams.getOptions": [{
|
|
33054
|
+
name: "deviceId",
|
|
33055
|
+
form: "single",
|
|
33056
|
+
optional: false
|
|
33057
|
+
}],
|
|
33058
|
+
"streamParams.setProfile": [{
|
|
33059
|
+
name: "deviceId",
|
|
33060
|
+
form: "single",
|
|
33061
|
+
optional: false
|
|
33062
|
+
}],
|
|
33063
|
+
"switch.setState": [{
|
|
33064
|
+
name: "deviceId",
|
|
33065
|
+
form: "single",
|
|
33066
|
+
optional: false
|
|
33067
|
+
}],
|
|
33068
|
+
"vacuumControl.locate": [{
|
|
33069
|
+
name: "deviceId",
|
|
33070
|
+
form: "single",
|
|
33071
|
+
optional: false
|
|
33072
|
+
}],
|
|
33073
|
+
"vacuumControl.pause": [{
|
|
33074
|
+
name: "deviceId",
|
|
33075
|
+
form: "single",
|
|
33076
|
+
optional: false
|
|
33077
|
+
}],
|
|
33078
|
+
"vacuumControl.returnToBase": [{
|
|
33079
|
+
name: "deviceId",
|
|
33080
|
+
form: "single",
|
|
33081
|
+
optional: false
|
|
33082
|
+
}],
|
|
33083
|
+
"vacuumControl.setFanSpeed": [{
|
|
33084
|
+
name: "deviceId",
|
|
33085
|
+
form: "single",
|
|
33086
|
+
optional: false
|
|
33087
|
+
}],
|
|
33088
|
+
"vacuumControl.start": [{
|
|
33089
|
+
name: "deviceId",
|
|
33090
|
+
form: "single",
|
|
33091
|
+
optional: false
|
|
33092
|
+
}],
|
|
33093
|
+
"vacuumControl.stop": [{
|
|
33094
|
+
name: "deviceId",
|
|
33095
|
+
form: "single",
|
|
33096
|
+
optional: false
|
|
33097
|
+
}],
|
|
33098
|
+
"valve.close": [{
|
|
33099
|
+
name: "deviceId",
|
|
33100
|
+
form: "single",
|
|
33101
|
+
optional: false
|
|
33102
|
+
}],
|
|
33103
|
+
"valve.open": [{
|
|
33104
|
+
name: "deviceId",
|
|
33105
|
+
form: "single",
|
|
33106
|
+
optional: false
|
|
33107
|
+
}],
|
|
33108
|
+
"valve.setPosition": [{
|
|
33109
|
+
name: "deviceId",
|
|
33110
|
+
form: "single",
|
|
33111
|
+
optional: false
|
|
33112
|
+
}],
|
|
33113
|
+
"valve.stop": [{
|
|
33114
|
+
name: "deviceId",
|
|
33115
|
+
form: "single",
|
|
33116
|
+
optional: false
|
|
33117
|
+
}],
|
|
33118
|
+
"videoclips.getClipPlayback": [{
|
|
33119
|
+
name: "deviceId",
|
|
33120
|
+
form: "single",
|
|
33121
|
+
optional: false
|
|
33122
|
+
}],
|
|
33123
|
+
"videoclips.listClips": [{
|
|
33124
|
+
name: "deviceId",
|
|
33125
|
+
form: "single",
|
|
33126
|
+
optional: false
|
|
33127
|
+
}],
|
|
33128
|
+
"waterHeater.setAway": [{
|
|
33129
|
+
name: "deviceId",
|
|
33130
|
+
form: "single",
|
|
33131
|
+
optional: false
|
|
33132
|
+
}],
|
|
33133
|
+
"waterHeater.setOperationMode": [{
|
|
33134
|
+
name: "deviceId",
|
|
33135
|
+
form: "single",
|
|
33136
|
+
optional: false
|
|
33137
|
+
}],
|
|
33138
|
+
"waterHeater.setTargetTemp": [{
|
|
33139
|
+
name: "deviceId",
|
|
33140
|
+
form: "single",
|
|
33141
|
+
optional: false
|
|
33142
|
+
}],
|
|
33143
|
+
"webrtcSession.addIceCandidate": [{
|
|
33144
|
+
name: "deviceId",
|
|
33145
|
+
form: "single",
|
|
33146
|
+
optional: false
|
|
33147
|
+
}],
|
|
33148
|
+
"webrtcSession.closeSession": [{
|
|
33149
|
+
name: "deviceId",
|
|
33150
|
+
form: "single",
|
|
33151
|
+
optional: false
|
|
33152
|
+
}],
|
|
33153
|
+
"webrtcSession.createSession": [{
|
|
33154
|
+
name: "deviceId",
|
|
33155
|
+
form: "single",
|
|
33156
|
+
optional: false
|
|
33157
|
+
}],
|
|
33158
|
+
"webrtcSession.getIceCandidates": [{
|
|
33159
|
+
name: "deviceId",
|
|
33160
|
+
form: "single",
|
|
33161
|
+
optional: false
|
|
33162
|
+
}],
|
|
33163
|
+
"webrtcSession.getSessionState": [{
|
|
33164
|
+
name: "deviceId",
|
|
33165
|
+
form: "single",
|
|
33166
|
+
optional: false
|
|
33167
|
+
}],
|
|
33168
|
+
"webrtcSession.handleAnswer": [{
|
|
33169
|
+
name: "deviceId",
|
|
33170
|
+
form: "single",
|
|
33171
|
+
optional: false
|
|
33172
|
+
}],
|
|
33173
|
+
"webrtcSession.handleOffer": [{
|
|
33174
|
+
name: "deviceId",
|
|
33175
|
+
form: "single",
|
|
33176
|
+
optional: false
|
|
33177
|
+
}],
|
|
33178
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33179
|
+
name: "deviceId",
|
|
33180
|
+
form: "single",
|
|
33181
|
+
optional: false
|
|
33182
|
+
}],
|
|
33183
|
+
"webrtcSession.listStreams": [{
|
|
33184
|
+
name: "deviceId",
|
|
33185
|
+
form: "single",
|
|
33186
|
+
optional: false
|
|
33187
|
+
}],
|
|
33188
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33189
|
+
name: "deviceId",
|
|
33190
|
+
form: "single",
|
|
33191
|
+
optional: false
|
|
33192
|
+
}],
|
|
33193
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33194
|
+
name: "deviceId",
|
|
33195
|
+
form: "single",
|
|
33196
|
+
optional: false
|
|
33197
|
+
}],
|
|
33198
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33199
|
+
name: "deviceId",
|
|
33200
|
+
form: "single",
|
|
33201
|
+
optional: false
|
|
33202
|
+
}],
|
|
33203
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33204
|
+
name: "deviceId",
|
|
33205
|
+
form: "single",
|
|
33206
|
+
optional: false
|
|
33207
|
+
}],
|
|
33208
|
+
"zoneRules.listRules": [{
|
|
33209
|
+
name: "deviceId",
|
|
33210
|
+
form: "single",
|
|
33211
|
+
optional: false
|
|
33212
|
+
}],
|
|
33213
|
+
"zoneRules.setRules": [{
|
|
33214
|
+
name: "deviceId",
|
|
33215
|
+
form: "single",
|
|
33216
|
+
optional: false
|
|
33217
|
+
}],
|
|
33218
|
+
"zones.addZone": [{
|
|
33219
|
+
name: "deviceId",
|
|
33220
|
+
form: "single",
|
|
33221
|
+
optional: false
|
|
33222
|
+
}],
|
|
33223
|
+
"zones.listZones": [{
|
|
33224
|
+
name: "deviceId",
|
|
33225
|
+
form: "single",
|
|
33226
|
+
optional: false
|
|
33227
|
+
}],
|
|
33228
|
+
"zones.removeZone": [{
|
|
33229
|
+
name: "deviceId",
|
|
33230
|
+
form: "single",
|
|
33231
|
+
optional: false
|
|
33232
|
+
}],
|
|
33233
|
+
"zones.updateZone": [{
|
|
33234
|
+
name: "deviceId",
|
|
33235
|
+
form: "single",
|
|
33236
|
+
optional: false
|
|
33237
|
+
}]
|
|
33238
|
+
});
|
|
30669
33239
|
Object.freeze({
|
|
30670
33240
|
"broker": "broker",
|
|
30671
33241
|
"device-export": "device-export",
|