@camstack/addon-decoder-nodeav 1.2.15 → 1.2.17
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/index.js +2730 -92
- package/dist/index.mjs +2730 -92
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -206,6 +206,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
206
206
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
207
207
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
208
208
|
/**
|
|
209
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
210
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
211
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
212
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
213
|
+
* from the placement candidate set for as long as it holds.
|
|
214
|
+
*
|
|
215
|
+
* This exists because the state was previously invisible: little-unraid
|
|
216
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
217
|
+
* and nothing in the system said so.
|
|
218
|
+
*
|
|
219
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
220
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
221
|
+
* serves it exactly as before.
|
|
222
|
+
*/
|
|
223
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
224
|
+
/**
|
|
225
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
226
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
227
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
228
|
+
* per camera.
|
|
229
|
+
*
|
|
230
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
231
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
232
|
+
* camera" produce byte-identical silence.
|
|
233
|
+
*/
|
|
234
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
235
|
+
/**
|
|
209
236
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
210
237
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
211
238
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2997,6 +3024,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2997
3024
|
fallback: left.fallback
|
|
2998
3025
|
}, ctx);
|
|
2999
3026
|
}
|
|
3027
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3028
|
+
$ZodPipe.init(inst, def);
|
|
3029
|
+
});
|
|
3000
3030
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3001
3031
|
$ZodType.init(inst, def);
|
|
3002
3032
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5182,6 +5212,10 @@ function pipe(in_, out) {
|
|
|
5182
5212
|
out
|
|
5183
5213
|
});
|
|
5184
5214
|
}
|
|
5215
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5216
|
+
ZodPipe.init(inst, def);
|
|
5217
|
+
$ZodPreprocess.init(inst, def);
|
|
5218
|
+
});
|
|
5185
5219
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5186
5220
|
$ZodReadonly.init(inst, def);
|
|
5187
5221
|
ZodType.init(inst, def);
|
|
@@ -5240,6 +5274,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5240
5274
|
};
|
|
5241
5275
|
return inst;
|
|
5242
5276
|
}
|
|
5277
|
+
function preprocess(fn, schema) {
|
|
5278
|
+
return new ZodPreprocess({
|
|
5279
|
+
type: "pipe",
|
|
5280
|
+
in: transform(fn),
|
|
5281
|
+
out: schema
|
|
5282
|
+
});
|
|
5283
|
+
}
|
|
5243
5284
|
//#endregion
|
|
5244
5285
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5245
5286
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10807,6 +10848,8 @@ var QueryFilterSchema = object({
|
|
|
10807
10848
|
where: record(string(), unknown()).optional(),
|
|
10808
10849
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10809
10850
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10851
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10852
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10810
10853
|
orderBy: object({
|
|
10811
10854
|
field: string(),
|
|
10812
10855
|
direction: _enum(["asc", "desc"])
|
|
@@ -10826,7 +10869,8 @@ var QueryFilterSchema = object({
|
|
|
10826
10869
|
var MutationFilterSchema = object({
|
|
10827
10870
|
where: record(string(), unknown()).optional(),
|
|
10828
10871
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10829
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10872
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10873
|
+
whereNot: record(string(), unknown()).optional()
|
|
10830
10874
|
});
|
|
10831
10875
|
/** A single stored record: `{ id, data }`. */
|
|
10832
10876
|
var SettingsRecordSchema = object({
|
|
@@ -12276,6 +12320,17 @@ var LlmImageSchema = object({
|
|
|
12276
12320
|
bytes: _instanceof(Uint8Array),
|
|
12277
12321
|
mimeType: string()
|
|
12278
12322
|
});
|
|
12323
|
+
/**
|
|
12324
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12325
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12326
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12327
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12328
|
+
*/
|
|
12329
|
+
var LlmRetryPolicySchema = object({
|
|
12330
|
+
enabled: boolean().default(false),
|
|
12331
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12332
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12333
|
+
});
|
|
12279
12334
|
var LlmGenerateBaseInputSchema = object({
|
|
12280
12335
|
/** Collection routing (the notification-output posture). */
|
|
12281
12336
|
addonId: string().optional(),
|
|
@@ -12290,7 +12345,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12290
12345
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12291
12346
|
/** Per-call override of the profile default. */
|
|
12292
12347
|
maxTokens: number().int().positive().optional(),
|
|
12293
|
-
temperature: number().optional()
|
|
12348
|
+
temperature: number().optional(),
|
|
12349
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12350
|
+
topP: number().min(0).max(1).optional(),
|
|
12351
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12352
|
+
topK: number().int().positive().optional(),
|
|
12353
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12354
|
+
timeoutMs: number().int().positive().optional(),
|
|
12355
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12356
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12357
|
+
/**
|
|
12358
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12359
|
+
*
|
|
12360
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12361
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12362
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12363
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12364
|
+
* not generations, and the real load is unbounded.
|
|
12365
|
+
*
|
|
12366
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12367
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12368
|
+
*/
|
|
12369
|
+
requestId: string().optional()
|
|
12294
12370
|
});
|
|
12295
12371
|
/**
|
|
12296
12372
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12303,6 +12379,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12303
12379
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12304
12380
|
* watchdog — operator decision #3).
|
|
12305
12381
|
*/
|
|
12382
|
+
/**
|
|
12383
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12384
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12385
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12386
|
+
* the preview is exactly what the node downloads.
|
|
12387
|
+
*/
|
|
12388
|
+
var ManagedModelExtraFileSchema = object({
|
|
12389
|
+
url: string(),
|
|
12390
|
+
filename: string(),
|
|
12391
|
+
sizeBytes: number(),
|
|
12392
|
+
sha256: string().optional()
|
|
12393
|
+
});
|
|
12306
12394
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12307
12395
|
object({
|
|
12308
12396
|
kind: literal("catalog"),
|
|
@@ -12311,7 +12399,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12311
12399
|
object({
|
|
12312
12400
|
kind: literal("url"),
|
|
12313
12401
|
url: string(),
|
|
12314
|
-
sha256: string().optional()
|
|
12402
|
+
sha256: string().optional(),
|
|
12403
|
+
/** Picker/status label; the file basename when absent. */
|
|
12404
|
+
label: string().optional(),
|
|
12405
|
+
sizeBytes: number().optional(),
|
|
12406
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12315
12407
|
}),
|
|
12316
12408
|
object({
|
|
12317
12409
|
kind: literal("path"),
|
|
@@ -12329,13 +12421,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12329
12421
|
gpuLayers: number().int().default(0),
|
|
12330
12422
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12331
12423
|
threads: number().int().optional(),
|
|
12332
|
-
/** Concurrent slots. */
|
|
12424
|
+
/** Concurrent slots (`--parallel`). */
|
|
12333
12425
|
parallel: number().int().default(1),
|
|
12426
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12427
|
+
batchSize: number().int().positive().optional(),
|
|
12428
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12429
|
+
ubatchSize: number().int().positive().optional(),
|
|
12430
|
+
/**
|
|
12431
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12432
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12433
|
+
*/
|
|
12434
|
+
flashAttention: boolean().default(false),
|
|
12435
|
+
/**
|
|
12436
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12437
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12438
|
+
* what the RAM budget is counting.
|
|
12439
|
+
*/
|
|
12440
|
+
mlock: boolean().default(false),
|
|
12441
|
+
/**
|
|
12442
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12443
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12444
|
+
* store produces on every first token.
|
|
12445
|
+
*/
|
|
12446
|
+
noMmap: boolean().default(false),
|
|
12447
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12448
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12449
|
+
cacheTypeK: _enum([
|
|
12450
|
+
"f32",
|
|
12451
|
+
"f16",
|
|
12452
|
+
"q8_0",
|
|
12453
|
+
"q5_1",
|
|
12454
|
+
"q5_0",
|
|
12455
|
+
"q4_1",
|
|
12456
|
+
"q4_0"
|
|
12457
|
+
]).optional(),
|
|
12458
|
+
cacheTypeV: _enum([
|
|
12459
|
+
"f32",
|
|
12460
|
+
"f16",
|
|
12461
|
+
"q8_0",
|
|
12462
|
+
"q5_1",
|
|
12463
|
+
"q5_0",
|
|
12464
|
+
"q4_1",
|
|
12465
|
+
"q4_0"
|
|
12466
|
+
]).optional(),
|
|
12467
|
+
/**
|
|
12468
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12469
|
+
* (which most vision chat templates need and some language-only models
|
|
12470
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12471
|
+
*
|
|
12472
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12473
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12474
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12475
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12476
|
+
* twice (D62).
|
|
12477
|
+
*/
|
|
12478
|
+
extraArgs: array(string()).default([]),
|
|
12334
12479
|
/** Else lazy: first generate boots it. */
|
|
12335
12480
|
autoStart: boolean().default(false),
|
|
12336
12481
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12337
12482
|
idleStopMinutes: number().int().default(30)
|
|
12338
12483
|
});
|
|
12484
|
+
/**
|
|
12485
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12486
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12487
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12488
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12489
|
+
*/
|
|
12490
|
+
var LlmDownloadProgressSchema = object({
|
|
12491
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12492
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12493
|
+
file: string(),
|
|
12494
|
+
fileIndex: number().int(),
|
|
12495
|
+
fileCount: number().int(),
|
|
12496
|
+
/** Across the WHOLE install, not the current file. */
|
|
12497
|
+
downloadedBytes: number(),
|
|
12498
|
+
totalBytes: number().optional()
|
|
12499
|
+
});
|
|
12339
12500
|
var LlmRuntimeStatusSchema = object({
|
|
12340
12501
|
/** Status is ALWAYS node-qualified. */
|
|
12341
12502
|
nodeId: string(),
|
|
@@ -12352,6 +12513,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12352
12513
|
modelPath: string().optional(),
|
|
12353
12514
|
modelId: string().optional(),
|
|
12354
12515
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12516
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12517
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12355
12518
|
lastError: string().optional(),
|
|
12356
12519
|
crashesInWindow: number(),
|
|
12357
12520
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12362,7 +12525,14 @@ var LlmNodeModelSchema = object({
|
|
|
12362
12525
|
file: string(),
|
|
12363
12526
|
sizeBytes: number(),
|
|
12364
12527
|
catalogId: string().optional(),
|
|
12365
|
-
installedAt: number().optional()
|
|
12528
|
+
installedAt: number().optional(),
|
|
12529
|
+
/**
|
|
12530
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12531
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12532
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12533
|
+
* it the picker could list such a file and do nothing with it.
|
|
12534
|
+
*/
|
|
12535
|
+
path: string().optional()
|
|
12366
12536
|
});
|
|
12367
12537
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12368
12538
|
nodeId: string(),
|
|
@@ -12418,10 +12588,47 @@ var LlmProfileSchema = object({
|
|
|
12418
12588
|
baseUrl: string().optional(),
|
|
12419
12589
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12420
12590
|
apiKey: string().optional(),
|
|
12591
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12592
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12593
|
+
* question about a picture nobody sent. */
|
|
12421
12594
|
supportsVision: boolean(),
|
|
12422
12595
|
temperature: number().min(0).max(2).optional(),
|
|
12596
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12597
|
+
topP: number().min(0).max(1).optional(),
|
|
12598
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12599
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12600
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12601
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12602
|
+
topK: number().int().positive().optional(),
|
|
12423
12603
|
maxTokens: number().int().positive().optional(),
|
|
12604
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12605
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12606
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12607
|
+
contextLength: number().int().positive().optional(),
|
|
12608
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12609
|
+
* two system prompts fighting is worse than either alone). */
|
|
12610
|
+
systemPrompt: string().optional(),
|
|
12611
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12424
12612
|
timeoutMs: number().int().positive().default(6e4),
|
|
12613
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12614
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12615
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12616
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12617
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12618
|
+
* GPU load is exactly what happens before them. */
|
|
12619
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12620
|
+
/** Output started then stopped. */
|
|
12621
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12622
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12623
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12624
|
+
retry: LlmRetryPolicySchema.default({
|
|
12625
|
+
enabled: false,
|
|
12626
|
+
maxAttempts: 1
|
|
12627
|
+
}),
|
|
12628
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12629
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12630
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12631
|
+
toolsEnabled: boolean().default(false),
|
|
12425
12632
|
extraHeaders: record(string(), string()).optional(),
|
|
12426
12633
|
/** kind === 'managed-local' only (spec §4). */
|
|
12427
12634
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12471,6 +12678,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12471
12678
|
/** Vision models: companion projector file. */
|
|
12472
12679
|
mmprojUrl: string().optional()
|
|
12473
12680
|
});
|
|
12681
|
+
/**
|
|
12682
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12683
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12684
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12685
|
+
* exception.
|
|
12686
|
+
*
|
|
12687
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12688
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12689
|
+
*/
|
|
12690
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12691
|
+
ok: literal(true),
|
|
12692
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12693
|
+
model: ManagedModelRefSchema,
|
|
12694
|
+
label: string(),
|
|
12695
|
+
repo: string(),
|
|
12696
|
+
quantization: string(),
|
|
12697
|
+
purpose: _enum(["text", "vision"]),
|
|
12698
|
+
totalBytes: number(),
|
|
12699
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12700
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12701
|
+
extraFilenames: array(string())
|
|
12702
|
+
}), object({
|
|
12703
|
+
ok: literal(false),
|
|
12704
|
+
code: string(),
|
|
12705
|
+
message: string(),
|
|
12706
|
+
candidates: array(string()).optional(),
|
|
12707
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12708
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12709
|
+
requiredBytes: number().optional()
|
|
12710
|
+
})]);
|
|
12474
12711
|
var LlmRuntimeNodeSchema = object({
|
|
12475
12712
|
nodeId: string(),
|
|
12476
12713
|
reachable: boolean(),
|
|
@@ -12483,7 +12720,10 @@ var ProfileRefInputSchema = object({
|
|
|
12483
12720
|
addonId: string(),
|
|
12484
12721
|
profileId: string()
|
|
12485
12722
|
});
|
|
12486
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12723
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12724
|
+
addonId: string().optional(),
|
|
12725
|
+
requestId: string()
|
|
12726
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12487
12727
|
kind: "mutation",
|
|
12488
12728
|
auth: "admin"
|
|
12489
12729
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12504,6 +12744,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12504
12744
|
consumer: string().optional(),
|
|
12505
12745
|
profileId: string().optional()
|
|
12506
12746
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12747
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12748
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12749
|
+
ref: string(),
|
|
12750
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12751
|
+
maxBytes: number().positive().optional()
|
|
12752
|
+
}), HfModelResolutionSchema, {
|
|
12753
|
+
kind: "mutation",
|
|
12754
|
+
auth: "admin"
|
|
12755
|
+
}), method(object({
|
|
12507
12756
|
nodeId: string(),
|
|
12508
12757
|
model: ManagedModelRefSchema
|
|
12509
12758
|
}), _void(), {
|
|
@@ -13063,11 +13312,33 @@ var NotificationFormatSchema = _enum([
|
|
|
13063
13312
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
13064
13313
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
13065
13314
|
* differently.
|
|
13315
|
+
*
|
|
13316
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
13317
|
+
*
|
|
13318
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
13319
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
13320
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
13321
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
13322
|
+
* decides its glyph, which is the only place that decision can be made
|
|
13323
|
+
* honestly.
|
|
13324
|
+
*
|
|
13325
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
13326
|
+
* `disarm` straight through; iOS feeds that string to
|
|
13327
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
13328
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
13329
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
13330
|
+
*
|
|
13331
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
13332
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
13333
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
13334
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
13335
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
13066
13336
|
*/
|
|
13067
13337
|
var NotificationActionIconSchema = _enum([
|
|
13068
13338
|
"acknowledge",
|
|
13069
13339
|
"dismiss",
|
|
13070
13340
|
"silence",
|
|
13341
|
+
"snooze",
|
|
13071
13342
|
"view",
|
|
13072
13343
|
"play",
|
|
13073
13344
|
"open",
|
|
@@ -13075,9 +13346,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
13075
13346
|
"lock",
|
|
13076
13347
|
"unlock",
|
|
13077
13348
|
"arm",
|
|
13349
|
+
"arm-home",
|
|
13350
|
+
"arm-away",
|
|
13351
|
+
"arm-night",
|
|
13078
13352
|
"disarm",
|
|
13079
13353
|
"light",
|
|
13080
|
-
"alert"
|
|
13354
|
+
"alert",
|
|
13355
|
+
"camera"
|
|
13081
13356
|
]);
|
|
13082
13357
|
/** A single tap-through action button. */
|
|
13083
13358
|
var NotificationActionSchema = object({
|
|
@@ -13277,6 +13552,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13277
13552
|
targetId: string(),
|
|
13278
13553
|
enabled: boolean()
|
|
13279
13554
|
}), _void(), { kind: "mutation" });
|
|
13555
|
+
new Set([
|
|
13556
|
+
{
|
|
13557
|
+
id: "person",
|
|
13558
|
+
name: "Person"
|
|
13559
|
+
},
|
|
13560
|
+
{
|
|
13561
|
+
id: "vehicle",
|
|
13562
|
+
name: "Vehicle"
|
|
13563
|
+
},
|
|
13564
|
+
{
|
|
13565
|
+
id: "animal",
|
|
13566
|
+
name: "Animal"
|
|
13567
|
+
},
|
|
13568
|
+
{
|
|
13569
|
+
id: "package",
|
|
13570
|
+
name: "Package"
|
|
13571
|
+
}
|
|
13572
|
+
].map((l) => l.id));
|
|
13280
13573
|
var COCO_TO_MACRO = {
|
|
13281
13574
|
mapping: {
|
|
13282
13575
|
person: "person",
|
|
@@ -14069,11 +14362,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14069
14362
|
"stream-offline",
|
|
14070
14363
|
"node-online",
|
|
14071
14364
|
"node-offline",
|
|
14365
|
+
"node-inference-unavailable",
|
|
14366
|
+
"detection-blind",
|
|
14072
14367
|
"addon-update-available",
|
|
14073
14368
|
"server-update-available",
|
|
14074
14369
|
"alarm-triggered",
|
|
14075
14370
|
"alarm-armed",
|
|
14076
14371
|
"alarm-disarmed",
|
|
14372
|
+
"alarm-arming",
|
|
14373
|
+
"alarm-arm-refused",
|
|
14077
14374
|
"camera-online",
|
|
14078
14375
|
"camera-offline",
|
|
14079
14376
|
"camera-disabled",
|
|
@@ -14128,7 +14425,16 @@ var NcScheduleSchema = object({
|
|
|
14128
14425
|
});
|
|
14129
14426
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14130
14427
|
var NcPlateMatcherSchema = object({
|
|
14131
|
-
|
|
14428
|
+
/**
|
|
14429
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14430
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14431
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14432
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14433
|
+
*
|
|
14434
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14435
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14436
|
+
*/
|
|
14437
|
+
values: array(string().min(1)),
|
|
14132
14438
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14133
14439
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14134
14440
|
});
|
|
@@ -14162,28 +14468,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14162
14468
|
/**
|
|
14163
14469
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14164
14470
|
*
|
|
14165
|
-
*
|
|
14166
|
-
*
|
|
14167
|
-
*
|
|
14168
|
-
*
|
|
14169
|
-
*
|
|
14170
|
-
*
|
|
14171
|
-
*
|
|
14172
|
-
*
|
|
14173
|
-
*
|
|
14174
|
-
*
|
|
14175
|
-
*
|
|
14176
|
-
*
|
|
14177
|
-
*
|
|
14178
|
-
*
|
|
14179
|
-
*
|
|
14180
|
-
*
|
|
14181
|
-
*
|
|
14182
|
-
*
|
|
14183
|
-
*
|
|
14184
|
-
*
|
|
14185
|
-
*
|
|
14186
|
-
* `
|
|
14471
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14472
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14473
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14474
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14475
|
+
*
|
|
14476
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14477
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14478
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14479
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14480
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14481
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14482
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14483
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14484
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14485
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14486
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14487
|
+
* seconds is 100% of nothing.
|
|
14488
|
+
*
|
|
14489
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14490
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14491
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14492
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14493
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14494
|
+
* the wrong question to ask of a sparse classifier.
|
|
14495
|
+
*
|
|
14496
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14497
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14498
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14499
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14500
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14187
14501
|
*
|
|
14188
14502
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14189
14503
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14191,13 +14505,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14191
14505
|
* an operator who typed `dog` mean the same thing.
|
|
14192
14506
|
*/
|
|
14193
14507
|
var NcAudioConditionSchema = object({
|
|
14194
|
-
/**
|
|
14508
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14195
14509
|
labels: array(string().min(1)).min(1).optional(),
|
|
14196
|
-
/**
|
|
14510
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14197
14511
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14198
|
-
/**
|
|
14512
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14199
14513
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14200
|
-
/**
|
|
14514
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14201
14515
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14202
14516
|
});
|
|
14203
14517
|
/**
|
|
@@ -14335,13 +14649,81 @@ var NcRuleActionsSchema = object({
|
|
|
14335
14649
|
*/
|
|
14336
14650
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14337
14651
|
});
|
|
14652
|
+
/**
|
|
14653
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14654
|
+
*
|
|
14655
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14656
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14657
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14658
|
+
*
|
|
14659
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14660
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14661
|
+
*/
|
|
14662
|
+
var NcDeviceStateConditionSchema = object({
|
|
14663
|
+
deviceId: number().int(),
|
|
14664
|
+
/** Any of these matches. */
|
|
14665
|
+
states: array(string().min(1)).min(1)
|
|
14666
|
+
});
|
|
14667
|
+
/**
|
|
14668
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14669
|
+
*
|
|
14670
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14671
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14672
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14673
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14674
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14675
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14676
|
+
* kind exist for it — see D159.
|
|
14677
|
+
*
|
|
14678
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14679
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14680
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14681
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14682
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14683
|
+
*
|
|
14684
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14685
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14686
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14687
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14688
|
+
* override one rule against the scene's own default.
|
|
14689
|
+
*
|
|
14690
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14691
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14692
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14693
|
+
* evidence, in either direction.
|
|
14694
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14695
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14696
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14697
|
+
* reason the operator asked for a latch.
|
|
14698
|
+
*
|
|
14699
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14700
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14701
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14702
|
+
* said out loud in the log rather than dropped in silence.
|
|
14703
|
+
*/
|
|
14704
|
+
var NcSceneConditionSchema = object({
|
|
14705
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14706
|
+
sceneId: string().min(1),
|
|
14707
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14708
|
+
deviceId: number().int().optional(),
|
|
14709
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14710
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14711
|
+
/**
|
|
14712
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14713
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14714
|
+
*/
|
|
14715
|
+
latched: boolean().optional()
|
|
14716
|
+
});
|
|
14338
14717
|
var NcConditionsSchema = object({
|
|
14339
14718
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14340
|
-
deviceState:
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14719
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14720
|
+
/**
|
|
14721
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14722
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14723
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14724
|
+
* {@link NcSceneCondition} and D159.
|
|
14725
|
+
*/
|
|
14726
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14345
14727
|
/** Device scope — absent = all devices. */
|
|
14346
14728
|
devices: array(number()).optional(),
|
|
14347
14729
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14367,18 +14749,47 @@ var NcConditionsSchema = object({
|
|
|
14367
14749
|
*/
|
|
14368
14750
|
labelEquals: array(string().min(1)).optional(),
|
|
14369
14751
|
/**
|
|
14370
|
-
*
|
|
14371
|
-
*
|
|
14372
|
-
*
|
|
14752
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14753
|
+
* is about recognised people at all.
|
|
14754
|
+
*
|
|
14755
|
+
* Three states, and the empty one is the point:
|
|
14756
|
+
*
|
|
14757
|
+
* | value | meaning |
|
|
14758
|
+
* | --- | --- |
|
|
14759
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14760
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14761
|
+
* | a list | only these identities |
|
|
14762
|
+
*
|
|
14763
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14764
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14765
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14766
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14767
|
+
* with the list under it is worse than no switch (D62).
|
|
14768
|
+
*
|
|
14769
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14770
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14771
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14772
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14773
|
+
* `{{label}}` renders.
|
|
14774
|
+
*
|
|
14775
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14776
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14777
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14778
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14779
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14373
14780
|
*/
|
|
14374
14781
|
identities: array(string().min(1)).optional(),
|
|
14375
|
-
/**
|
|
14782
|
+
/**
|
|
14783
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14784
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14785
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14786
|
+
*/
|
|
14376
14787
|
plates: NcPlateMatcherSchema.optional(),
|
|
14377
14788
|
/**
|
|
14378
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14379
|
-
*
|
|
14380
|
-
* identity
|
|
14381
|
-
*
|
|
14789
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14790
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14791
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14792
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14382
14793
|
*/
|
|
14383
14794
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14384
14795
|
/**
|
|
@@ -14770,7 +15181,80 @@ var NcRuleInputSchema = object({
|
|
|
14770
15181
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14771
15182
|
* did, and absent is the only way to say that without a migration.
|
|
14772
15183
|
*/
|
|
14773
|
-
confirm: NcConfirmSchema.optional()
|
|
15184
|
+
confirm: NcConfirmSchema.optional(),
|
|
15185
|
+
/**
|
|
15186
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15187
|
+
*
|
|
15188
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15189
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15190
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15191
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15192
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15193
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15194
|
+
*
|
|
15195
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15196
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15197
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15198
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15199
|
+
*
|
|
15200
|
+
* | value | what happens |
|
|
15201
|
+
* | --- | --- |
|
|
15202
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15203
|
+
* | 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) |
|
|
15204
|
+
*
|
|
15205
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15206
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15207
|
+
* rule authored before this field meant.
|
|
15208
|
+
*
|
|
15209
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15210
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15211
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15212
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15213
|
+
*/
|
|
15214
|
+
waitForEnhancement: boolean().optional(),
|
|
15215
|
+
/**
|
|
15216
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15217
|
+
*
|
|
15218
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15219
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15220
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15221
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15222
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15223
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15224
|
+
*
|
|
15225
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15226
|
+
*
|
|
15227
|
+
* ### Why an idle cutoff and not a window
|
|
15228
|
+
*
|
|
15229
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15230
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15231
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15232
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15233
|
+
*
|
|
15234
|
+
* ### What it replaces
|
|
15235
|
+
*
|
|
15236
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15237
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15238
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15239
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15240
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15241
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15242
|
+
* throttled by the window its own first member spent.
|
|
15243
|
+
*
|
|
15244
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15245
|
+
*
|
|
15246
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15247
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15248
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15249
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15250
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15251
|
+
* path. Neither combination fires twice for one subject.
|
|
15252
|
+
*
|
|
15253
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15254
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15255
|
+
* field existed.
|
|
15256
|
+
*/
|
|
15257
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14774
15258
|
});
|
|
14775
15259
|
/**
|
|
14776
15260
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14877,6 +15361,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14877
15361
|
"occupancy",
|
|
14878
15362
|
"audio",
|
|
14879
15363
|
"deviceState",
|
|
15364
|
+
"scene",
|
|
14880
15365
|
"systemEvent"
|
|
14881
15366
|
]),
|
|
14882
15367
|
operator: _enum([
|
|
@@ -15282,7 +15767,87 @@ var MethodAccessSchema = _enum([
|
|
|
15282
15767
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15283
15768
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15284
15769
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15285
|
-
|
|
15770
|
+
/**
|
|
15771
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15772
|
+
*
|
|
15773
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15774
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15775
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15776
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15777
|
+
*
|
|
15778
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15779
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15780
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15781
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15782
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15783
|
+
* is NOT covered until the grant is edited.
|
|
15784
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15785
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15786
|
+
* re-resolves on the next request.
|
|
15787
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15788
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15789
|
+
* null/unset location matches NO `locations` selector.
|
|
15790
|
+
*/
|
|
15791
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15792
|
+
object({ kind: literal("all") }),
|
|
15793
|
+
object({
|
|
15794
|
+
kind: literal("ids"),
|
|
15795
|
+
ids: array(number().int()).min(1)
|
|
15796
|
+
}),
|
|
15797
|
+
object({
|
|
15798
|
+
kind: literal("types"),
|
|
15799
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15800
|
+
}),
|
|
15801
|
+
object({
|
|
15802
|
+
kind: literal("locations"),
|
|
15803
|
+
locations: array(string().min(1)).min(1)
|
|
15804
|
+
})
|
|
15805
|
+
]);
|
|
15806
|
+
var DeviceTokenScopeSchema = object({
|
|
15807
|
+
type: literal("device"),
|
|
15808
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15809
|
+
selector: DeviceSelectorSchema,
|
|
15810
|
+
access: array(MethodAccessSchema).min(1),
|
|
15811
|
+
/**
|
|
15812
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15813
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15814
|
+
* Direction is parent → children ONLY.
|
|
15815
|
+
*
|
|
15816
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15817
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15818
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15819
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15820
|
+
* explicitly to override that default per grant.
|
|
15821
|
+
*/
|
|
15822
|
+
includeLinked: boolean().optional()
|
|
15823
|
+
});
|
|
15824
|
+
/**
|
|
15825
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15826
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15827
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15828
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15829
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15830
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15831
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15832
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15833
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15834
|
+
*/
|
|
15835
|
+
function migrateLegacyTokenScope(raw) {
|
|
15836
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15837
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15838
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15839
|
+
const targets = Reflect.get(raw, "targets");
|
|
15840
|
+
if (!Array.isArray(targets)) return raw;
|
|
15841
|
+
return {
|
|
15842
|
+
type: "device",
|
|
15843
|
+
selector: {
|
|
15844
|
+
kind: "ids",
|
|
15845
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15846
|
+
},
|
|
15847
|
+
access: Reflect.get(raw, "access")
|
|
15848
|
+
};
|
|
15849
|
+
}
|
|
15850
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15286
15851
|
object({
|
|
15287
15852
|
type: literal("category"),
|
|
15288
15853
|
target: CapScopeSchema,
|
|
@@ -15298,18 +15863,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15298
15863
|
target: string(),
|
|
15299
15864
|
access: array(MethodAccessSchema).min(1)
|
|
15300
15865
|
}),
|
|
15301
|
-
|
|
15302
|
-
|
|
15303
|
-
/**
|
|
15304
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15305
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15306
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15307
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15308
|
-
*/
|
|
15309
|
-
targets: array(string()).min(1),
|
|
15310
|
-
access: array(MethodAccessSchema).min(1)
|
|
15311
|
-
})
|
|
15312
|
-
]);
|
|
15866
|
+
DeviceTokenScopeSchema
|
|
15867
|
+
]));
|
|
15313
15868
|
object({
|
|
15314
15869
|
id: string(),
|
|
15315
15870
|
username: string(),
|
|
@@ -15626,7 +16181,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15626
16181
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15627
16182
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15628
16183
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15629
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16184
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15630
16185
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15631
16186
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15632
16187
|
* (`getObjectEvents` et al.).
|
|
@@ -15762,7 +16317,21 @@ union([literal(1), literal(2)]);
|
|
|
15762
16317
|
var LabelAttributionSchema = object({
|
|
15763
16318
|
stepId: string(),
|
|
15764
16319
|
modelId: string().optional(),
|
|
15765
|
-
decidedAt: number()
|
|
16320
|
+
decidedAt: number(),
|
|
16321
|
+
/**
|
|
16322
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16323
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16324
|
+
*
|
|
16325
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16326
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16327
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16328
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16329
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16330
|
+
*
|
|
16331
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16332
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16333
|
+
*/
|
|
16334
|
+
identityId: string().optional()
|
|
15766
16335
|
});
|
|
15767
16336
|
/**
|
|
15768
16337
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15899,6 +16468,28 @@ var TrackSchema = object({
|
|
|
15899
16468
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15900
16469
|
*/
|
|
15901
16470
|
hasFace: boolean().optional(),
|
|
16471
|
+
/**
|
|
16472
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16473
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16474
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16475
|
+
*
|
|
16476
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16477
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16478
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16479
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16480
|
+
* stop. This is the composition note that makes the row true.
|
|
16481
|
+
*
|
|
16482
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16483
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16484
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16485
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16486
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16487
|
+
*
|
|
16488
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16489
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16490
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16491
|
+
*/
|
|
16492
|
+
hasRider: boolean().optional(),
|
|
15902
16493
|
...TrackFlagFields,
|
|
15903
16494
|
...TrackRetrainFields
|
|
15904
16495
|
});
|
|
@@ -16248,7 +16839,10 @@ var RecentTracksQueryInput = object({
|
|
|
16248
16839
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16249
16840
|
cursor: string().optional(),
|
|
16250
16841
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16251
|
-
projection: TrackProjectionSchema.optional()
|
|
16842
|
+
projection: TrackProjectionSchema.optional(),
|
|
16843
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16844
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16845
|
+
includeStationary: boolean().optional()
|
|
16252
16846
|
});
|
|
16253
16847
|
var RecentTracksPageSchema = object({
|
|
16254
16848
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16466,7 +17060,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16466
17060
|
zone: TrackZoneFilterSchema.optional(),
|
|
16467
17061
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16468
17062
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16469
|
-
projection: TrackProjectionSchema.optional()
|
|
17063
|
+
projection: TrackProjectionSchema.optional(),
|
|
17064
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17065
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17066
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17067
|
+
includeStationary: boolean().optional()
|
|
16470
17068
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16471
17069
|
kind: "mutation",
|
|
16472
17070
|
auth: "admin"
|
|
@@ -16630,11 +17228,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16630
17228
|
auth: "admin"
|
|
16631
17229
|
}), method(object({
|
|
16632
17230
|
eventId: string(),
|
|
16633
|
-
kind: MediaFileKindEnum.optional()
|
|
17231
|
+
kind: MediaFileKindEnum.optional(),
|
|
17232
|
+
deviceId: number()
|
|
16634
17233
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16635
17234
|
trackId: string(),
|
|
16636
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16637
|
-
|
|
17235
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17236
|
+
deviceId: number()
|
|
17237
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17238
|
+
trackId: string(),
|
|
17239
|
+
deviceId: number()
|
|
17240
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16638
17241
|
kind: "mutation",
|
|
16639
17242
|
auth: "admin"
|
|
16640
17243
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17294,6 +17897,17 @@ var maxSessionHoldMsField = {
|
|
|
17294
17897
|
default: 12e4,
|
|
17295
17898
|
step: 5e3
|
|
17296
17899
|
};
|
|
17900
|
+
/**
|
|
17901
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17902
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17903
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17904
|
+
*/
|
|
17905
|
+
var audioMotionWindowMsField = {
|
|
17906
|
+
min: 5e3,
|
|
17907
|
+
max: 6e5,
|
|
17908
|
+
default: 9e4,
|
|
17909
|
+
step: 5e3
|
|
17910
|
+
};
|
|
17297
17911
|
var motionFpsField = {
|
|
17298
17912
|
min: 1,
|
|
17299
17913
|
max: 30,
|
|
@@ -17306,10 +17920,26 @@ var detectionFpsField = {
|
|
|
17306
17920
|
default: 10,
|
|
17307
17921
|
step: 1
|
|
17308
17922
|
};
|
|
17923
|
+
/**
|
|
17924
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
17925
|
+
*
|
|
17926
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
17927
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
17928
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
17929
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
17930
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
17931
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
17932
|
+
*
|
|
17933
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
17934
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
17935
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
17936
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
17937
|
+
* that ships with an addon deploy.
|
|
17938
|
+
*/
|
|
17309
17939
|
var occupancyRecheckSecField = {
|
|
17310
17940
|
min: 0,
|
|
17311
17941
|
max: 300,
|
|
17312
|
-
default:
|
|
17942
|
+
default: 300,
|
|
17313
17943
|
step: 5
|
|
17314
17944
|
};
|
|
17315
17945
|
var occupancyRecheckFramesField = {
|
|
@@ -17454,6 +18084,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17454
18084
|
* resolved `CameraDetectionConfig`.
|
|
17455
18085
|
*/
|
|
17456
18086
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18087
|
+
/**
|
|
18088
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18089
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18090
|
+
*
|
|
18091
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18092
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18093
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18094
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18095
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18096
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18097
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18098
|
+
*
|
|
18099
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18100
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18101
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18102
|
+
*
|
|
18103
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18104
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18105
|
+
* `maxSessionHoldMs`.
|
|
18106
|
+
*/
|
|
18107
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17457
18108
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17458
18109
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17459
18110
|
motionStreamId: string(),
|
|
@@ -17507,15 +18158,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17507
18158
|
*/
|
|
17508
18159
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17509
18160
|
/**
|
|
17510
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17511
|
-
*
|
|
17512
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17513
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17514
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
18161
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
18162
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17515
18163
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17516
18164
|
* (and only render) when this is enabled.
|
|
17517
|
-
|
|
17518
|
-
|
|
18165
|
+
*
|
|
18166
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
18167
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
18168
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
18169
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
18170
|
+
* object is counted only while the stationary registry holds it, and the
|
|
18171
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
18172
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
18173
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
18174
|
+
*/
|
|
18175
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17519
18176
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17520
18177
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17521
18178
|
/**
|
|
@@ -17543,7 +18200,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17543
18200
|
*/
|
|
17544
18201
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17545
18202
|
});
|
|
17546
|
-
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;
|
|
18203
|
+
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;
|
|
17547
18204
|
/**
|
|
17548
18205
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17549
18206
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18559,7 +19216,16 @@ targets: array(object({
|
|
|
18559
19216
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18560
19217
|
* NOT refresh in the background. A surface should say so rather than
|
|
18561
19218
|
* present it as current. */
|
|
18562
|
-
sleeping: boolean()
|
|
19219
|
+
sleeping: boolean(),
|
|
19220
|
+
/** Current device state rendered over the cached frame. State images
|
|
19221
|
+
* remain authoritative even when their photographic background is
|
|
19222
|
+
* old; null means the link must carry a current camera frame. */
|
|
19223
|
+
stateReason: _enum([
|
|
19224
|
+
"disabled",
|
|
19225
|
+
"sleeping",
|
|
19226
|
+
"unreachable",
|
|
19227
|
+
"waking"
|
|
19228
|
+
]).nullable()
|
|
18563
19229
|
})));
|
|
18564
19230
|
/**
|
|
18565
19231
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20081,6 +20747,25 @@ var BatteryStatusSchema = object({
|
|
|
20081
20747
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20082
20748
|
lastUpdated: number(),
|
|
20083
20749
|
/**
|
|
20750
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20751
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20752
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20753
|
+
*
|
|
20754
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20755
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20756
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20757
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20758
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20759
|
+
*
|
|
20760
|
+
* It is deliberately NOT a clock in the
|
|
20761
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20762
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20763
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20764
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20765
|
+
* SQLite commit per round-trip.
|
|
20766
|
+
*/
|
|
20767
|
+
lastContactAt: number().optional(),
|
|
20768
|
+
/**
|
|
20084
20769
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20085
20770
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20086
20771
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23618,7 +24303,7 @@ method(object({
|
|
|
23618
24303
|
toMs: number()
|
|
23619
24304
|
}), RecordingAvailabilitySchema, {
|
|
23620
24305
|
kind: "query",
|
|
23621
|
-
auth: "
|
|
24306
|
+
auth: "protected"
|
|
23622
24307
|
}), method(object({
|
|
23623
24308
|
deviceId: number(),
|
|
23624
24309
|
fromMs: number(),
|
|
@@ -23626,14 +24311,14 @@ method(object({
|
|
|
23626
24311
|
tzOffsetMinutes: number()
|
|
23627
24312
|
}), RecordingDaysSchema, {
|
|
23628
24313
|
kind: "query",
|
|
23629
|
-
auth: "
|
|
24314
|
+
auth: "protected"
|
|
23630
24315
|
}), method(object({
|
|
23631
24316
|
deviceId: number(),
|
|
23632
24317
|
fromMs: number(),
|
|
23633
24318
|
toMs: number()
|
|
23634
24319
|
}), RecordingManifestSchema, {
|
|
23635
24320
|
kind: "query",
|
|
23636
|
-
auth: "
|
|
24321
|
+
auth: "protected"
|
|
23637
24322
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23638
24323
|
kind: "query",
|
|
23639
24324
|
auth: "admin"
|
|
@@ -23923,14 +24608,77 @@ method(object({
|
|
|
23923
24608
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23924
24609
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23925
24610
|
*
|
|
23926
|
-
*
|
|
23927
|
-
*
|
|
23928
|
-
*
|
|
23929
|
-
*
|
|
23930
|
-
|
|
23931
|
-
|
|
23932
|
-
*
|
|
24611
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24612
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24613
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24614
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24615
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24616
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24617
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24618
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24619
|
+
*
|
|
24620
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24621
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24622
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24623
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24624
|
+
*
|
|
24625
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24626
|
+
* availability change; consumers never poll.
|
|
24627
|
+
*/
|
|
24628
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24629
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24630
|
+
* Open by design so more can be added without a wire break.
|
|
24631
|
+
*
|
|
24632
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24633
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24634
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24635
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23933
24636
|
var SceneConditionSchema = string();
|
|
24637
|
+
/**
|
|
24638
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24639
|
+
*
|
|
24640
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24641
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24642
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24643
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24644
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24645
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24646
|
+
*
|
|
24647
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24648
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24649
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24650
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24651
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24652
|
+
* configuration choice instead of a nightly fault.
|
|
24653
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24654
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24655
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24656
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24657
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24658
|
+
*
|
|
24659
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24660
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24661
|
+
* there would hide a scene the operator never finished setting up.
|
|
24662
|
+
*/
|
|
24663
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24664
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24665
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24666
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24667
|
+
* and never counts toward hysteresis in either direction. */
|
|
24668
|
+
var SceneVerdictSchema = _enum([
|
|
24669
|
+
"matched",
|
|
24670
|
+
"diverged",
|
|
24671
|
+
"unknown"
|
|
24672
|
+
]);
|
|
24673
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24674
|
+
* silence that reads as "nothing has happened". */
|
|
24675
|
+
var SceneUnavailableSchema = _enum([
|
|
24676
|
+
"no-reference-for-condition",
|
|
24677
|
+
"view-shifted",
|
|
24678
|
+
"no-vision-profile",
|
|
24679
|
+
"encoder-model-changed",
|
|
24680
|
+
"no-snapshot"
|
|
24681
|
+
]);
|
|
23934
24682
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23935
24683
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23936
24684
|
var SceneReferenceSchema = object({
|
|
@@ -23938,7 +24686,14 @@ var SceneReferenceSchema = object({
|
|
|
23938
24686
|
modelId: string(),
|
|
23939
24687
|
condition: SceneConditionSchema,
|
|
23940
24688
|
capturedAt: number(),
|
|
23941
|
-
thumbnailMediaId: string().optional()
|
|
24689
|
+
thumbnailMediaId: string().optional(),
|
|
24690
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24691
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24692
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24693
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24694
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24695
|
+
* transition, not per poll. */
|
|
24696
|
+
anchorEmbedding: array(number()).optional()
|
|
23942
24697
|
});
|
|
23943
24698
|
var SceneMonitorStateSchema = object({
|
|
23944
24699
|
id: string(),
|
|
@@ -23960,6 +24715,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23960
24715
|
profileId: string().optional(),
|
|
23961
24716
|
hysteresisCount: number().int().positive()
|
|
23962
24717
|
})]);
|
|
24718
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24719
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24720
|
+
* out in silence rather than reporting a fault every night. */
|
|
24721
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24722
|
+
/**
|
|
24723
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24724
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24725
|
+
*
|
|
24726
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24727
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24728
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24729
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24730
|
+
*/
|
|
24731
|
+
var SceneConfirmSchema = object({
|
|
24732
|
+
enabled: boolean().default(false),
|
|
24733
|
+
prompt: string().min(1).max(1e3),
|
|
24734
|
+
profileId: string().optional(),
|
|
24735
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24736
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24737
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24738
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24739
|
+
});
|
|
23963
24740
|
var SceneMonitorSchema = object({
|
|
23964
24741
|
id: string(),
|
|
23965
24742
|
label: string(),
|
|
@@ -23978,7 +24755,56 @@ var SceneMonitorSchema = object({
|
|
|
23978
24755
|
lastConfidence: number().nullable(),
|
|
23979
24756
|
currentCondition: SceneConditionSchema.nullable(),
|
|
23980
24757
|
availability: _enum(["ok", "unavailable"]),
|
|
23981
|
-
unavailableReason: string().nullable()
|
|
24758
|
+
unavailableReason: string().nullable(),
|
|
24759
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24760
|
+
baselineStateId: string().nullable(),
|
|
24761
|
+
/** Which boolean drives notification rules and any export. */
|
|
24762
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24763
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24764
|
+
verdict: SceneVerdictSchema,
|
|
24765
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24766
|
+
latched: boolean(),
|
|
24767
|
+
/** Last reset (or creation). */
|
|
24768
|
+
armedAt: number(),
|
|
24769
|
+
divergedAt: number().nullable(),
|
|
24770
|
+
restoredAt: number().nullable(),
|
|
24771
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24772
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24773
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24774
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24775
|
+
/** An observation only advances the pending count when it is at least this
|
|
24776
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24777
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24778
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24779
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24780
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24781
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24782
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24783
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24784
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24785
|
+
* automation can react to the bin coming back without the operator's own
|
|
24786
|
+
* alarm silently clearing itself. */
|
|
24787
|
+
autoRestore: boolean().default(false),
|
|
24788
|
+
/** What to do when the current light has no reference of its own. See
|
|
24789
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24790
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24791
|
+
/**
|
|
24792
|
+
* The light whose checks are currently being SAT OUT under
|
|
24793
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24794
|
+
*
|
|
24795
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24796
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24797
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24798
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24799
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24800
|
+
* read as a broken one.
|
|
24801
|
+
*/
|
|
24802
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24803
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24804
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24805
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24806
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24807
|
+
coveredConditions: array(SceneConditionSchema)
|
|
23982
24808
|
});
|
|
23983
24809
|
var SceneMonitorStatusSchema = object({
|
|
23984
24810
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24011,7 +24837,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24011
24837
|
"both"
|
|
24012
24838
|
]).optional(),
|
|
24013
24839
|
checkIntervalSec: number().optional(),
|
|
24014
|
-
check: SceneCheckSchema.optional()
|
|
24840
|
+
check: SceneCheckSchema.optional(),
|
|
24841
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24842
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24843
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24844
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24845
|
+
autoRestore: boolean().optional(),
|
|
24846
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24847
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24848
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24015
24849
|
})
|
|
24016
24850
|
}), _void(), {
|
|
24017
24851
|
kind: "mutation",
|
|
@@ -24048,6 +24882,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24048
24882
|
}), _void(), {
|
|
24049
24883
|
kind: "mutation",
|
|
24050
24884
|
auth: "admin"
|
|
24885
|
+
}), method(object({
|
|
24886
|
+
deviceId: number(),
|
|
24887
|
+
monitorId: string(),
|
|
24888
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24889
|
+
recapture: boolean().optional()
|
|
24890
|
+
}), _void(), {
|
|
24891
|
+
kind: "mutation",
|
|
24892
|
+
auth: "admin"
|
|
24051
24893
|
});
|
|
24052
24894
|
/**
|
|
24053
24895
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24201,6 +25043,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24201
25043
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24202
25044
|
metadata: record(string(), unknown()).optional()
|
|
24203
25045
|
});
|
|
25046
|
+
object({
|
|
25047
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
25048
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25049
|
+
* one the camera itself once produced. */
|
|
25050
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25051
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25052
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25053
|
+
* re-read. */
|
|
25054
|
+
lastFetchedAt: number()
|
|
25055
|
+
});
|
|
24204
25056
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24205
25057
|
/** One of the camera's stream profiles. */
|
|
24206
25058
|
var StreamProfileSchema = _enum([
|
|
@@ -24356,12 +25208,64 @@ var NetworkAddressSchema = object({
|
|
|
24356
25208
|
family: string(),
|
|
24357
25209
|
internal: boolean()
|
|
24358
25210
|
});
|
|
25211
|
+
/**
|
|
25212
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25213
|
+
* numbers.
|
|
25214
|
+
*
|
|
25215
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25216
|
+
* nothing overwrites it.
|
|
25217
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25218
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25219
|
+
* the sun-times consumers otherwise fall back to.
|
|
25220
|
+
*
|
|
25221
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25222
|
+
* own input will eventually trust the guess.
|
|
25223
|
+
*/
|
|
25224
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25225
|
+
/**
|
|
25226
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25227
|
+
*
|
|
25228
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25229
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25230
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25231
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25232
|
+
* coordinates or presses detect.
|
|
25233
|
+
*/
|
|
25234
|
+
var SiteLocationStatusSchema = object({
|
|
25235
|
+
location: object({
|
|
25236
|
+
/** WGS84 decimal degrees. */
|
|
25237
|
+
latitude: number().min(-90).max(90),
|
|
25238
|
+
longitude: number().min(-180).max(180),
|
|
25239
|
+
source: SiteLocationSourceSchema,
|
|
25240
|
+
/** Epoch ms the value was last written. */
|
|
25241
|
+
updatedAt: number(),
|
|
25242
|
+
/**
|
|
25243
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25244
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25245
|
+
*/
|
|
25246
|
+
label: string().optional()
|
|
25247
|
+
}).nullable(),
|
|
25248
|
+
derivationAttemptedAt: number().nullable(),
|
|
25249
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25250
|
+
derivationError: string().nullable()
|
|
25251
|
+
});
|
|
25252
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25253
|
+
var SetSiteLocationInputSchema = object({
|
|
25254
|
+
latitude: number().min(-90).max(90),
|
|
25255
|
+
longitude: number().min(-180).max(180)
|
|
25256
|
+
}).nullable();
|
|
24359
25257
|
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(), {
|
|
24360
25258
|
kind: "mutation",
|
|
24361
25259
|
auth: "admin"
|
|
24362
25260
|
}), method(_void(), _void(), {
|
|
24363
25261
|
kind: "mutation",
|
|
24364
25262
|
auth: "admin"
|
|
25263
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25264
|
+
kind: "mutation",
|
|
25265
|
+
auth: "admin"
|
|
25266
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25267
|
+
kind: "mutation",
|
|
25268
|
+
auth: "admin"
|
|
24365
25269
|
});
|
|
24366
25270
|
object({
|
|
24367
25271
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27091,6 +27995,12 @@ Object.freeze({
|
|
|
27091
27995
|
addonId: null,
|
|
27092
27996
|
access: "create"
|
|
27093
27997
|
},
|
|
27998
|
+
"llm.cancel": {
|
|
27999
|
+
capName: "llm",
|
|
28000
|
+
capScope: "system",
|
|
28001
|
+
addonId: null,
|
|
28002
|
+
access: "create"
|
|
28003
|
+
},
|
|
27094
28004
|
"llm.deleteModel": {
|
|
27095
28005
|
capName: "llm",
|
|
27096
28006
|
capScope: "system",
|
|
@@ -27175,6 +28085,12 @@ Object.freeze({
|
|
|
27175
28085
|
addonId: null,
|
|
27176
28086
|
access: "view"
|
|
27177
28087
|
},
|
|
28088
|
+
"llm.resolveModelRef": {
|
|
28089
|
+
capName: "llm",
|
|
28090
|
+
capScope: "system",
|
|
28091
|
+
addonId: null,
|
|
28092
|
+
access: "create"
|
|
28093
|
+
},
|
|
27178
28094
|
"llm.setDefault": {
|
|
27179
28095
|
capName: "llm",
|
|
27180
28096
|
capScope: "system",
|
|
@@ -29341,6 +30257,12 @@ Object.freeze({
|
|
|
29341
30257
|
addonId: null,
|
|
29342
30258
|
access: "create"
|
|
29343
30259
|
},
|
|
30260
|
+
"sceneMonitor.resetScene": {
|
|
30261
|
+
capName: "scene-monitor",
|
|
30262
|
+
capScope: "device",
|
|
30263
|
+
addonId: null,
|
|
30264
|
+
access: "delete"
|
|
30265
|
+
},
|
|
29344
30266
|
"sceneMonitor.updateScene": {
|
|
29345
30267
|
capName: "scene-monitor",
|
|
29346
30268
|
capScope: "device",
|
|
@@ -30019,6 +30941,12 @@ Object.freeze({
|
|
|
30019
30941
|
addonId: null,
|
|
30020
30942
|
access: "create"
|
|
30021
30943
|
},
|
|
30944
|
+
"system.detectSiteLocation": {
|
|
30945
|
+
capName: "system",
|
|
30946
|
+
capScope: "system",
|
|
30947
|
+
addonId: null,
|
|
30948
|
+
access: "create"
|
|
30949
|
+
},
|
|
30022
30950
|
"system.featureFlags": {
|
|
30023
30951
|
capName: "system",
|
|
30024
30952
|
capScope: "system",
|
|
@@ -30037,6 +30965,12 @@ Object.freeze({
|
|
|
30037
30965
|
addonId: null,
|
|
30038
30966
|
access: "view"
|
|
30039
30967
|
},
|
|
30968
|
+
"system.getSiteLocation": {
|
|
30969
|
+
capName: "system",
|
|
30970
|
+
capScope: "system",
|
|
30971
|
+
addonId: null,
|
|
30972
|
+
access: "view"
|
|
30973
|
+
},
|
|
30040
30974
|
"system.health": {
|
|
30041
30975
|
capName: "system",
|
|
30042
30976
|
capScope: "system",
|
|
@@ -30061,6 +30995,12 @@ Object.freeze({
|
|
|
30061
30995
|
addonId: null,
|
|
30062
30996
|
access: "create"
|
|
30063
30997
|
},
|
|
30998
|
+
"system.setSiteLocation": {
|
|
30999
|
+
capName: "system",
|
|
31000
|
+
capScope: "system",
|
|
31001
|
+
addonId: null,
|
|
31002
|
+
access: "create"
|
|
31003
|
+
},
|
|
30064
31004
|
"terminalSession.adoptLegacyMonitor": {
|
|
30065
31005
|
capName: "terminal-session",
|
|
30066
31006
|
capScope: "system",
|
|
@@ -30632,6 +31572,1704 @@ Object.freeze({
|
|
|
30632
31572
|
access: "create"
|
|
30633
31573
|
}
|
|
30634
31574
|
});
|
|
31575
|
+
Object.freeze({
|
|
31576
|
+
"accessories.setChildHidden": [{
|
|
31577
|
+
name: "childDeviceId",
|
|
31578
|
+
form: "single",
|
|
31579
|
+
optional: false
|
|
31580
|
+
}, {
|
|
31581
|
+
name: "deviceId",
|
|
31582
|
+
form: "single",
|
|
31583
|
+
optional: false
|
|
31584
|
+
}],
|
|
31585
|
+
"addonSettings.getDeviceSettings": [{
|
|
31586
|
+
name: "deviceId",
|
|
31587
|
+
form: "single",
|
|
31588
|
+
optional: false
|
|
31589
|
+
}],
|
|
31590
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31591
|
+
name: "deviceId",
|
|
31592
|
+
form: "single",
|
|
31593
|
+
optional: false
|
|
31594
|
+
}],
|
|
31595
|
+
"alarmPanel.arm": [{
|
|
31596
|
+
name: "deviceId",
|
|
31597
|
+
form: "single",
|
|
31598
|
+
optional: false
|
|
31599
|
+
}],
|
|
31600
|
+
"alarmPanel.disarm": [{
|
|
31601
|
+
name: "deviceId",
|
|
31602
|
+
form: "single",
|
|
31603
|
+
optional: false
|
|
31604
|
+
}],
|
|
31605
|
+
"alarmPanel.trigger": [{
|
|
31606
|
+
name: "deviceId",
|
|
31607
|
+
form: "single",
|
|
31608
|
+
optional: false
|
|
31609
|
+
}],
|
|
31610
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31611
|
+
name: "deviceId",
|
|
31612
|
+
form: "single",
|
|
31613
|
+
optional: false
|
|
31614
|
+
}],
|
|
31615
|
+
"audioAnalyzer.classify": [{
|
|
31616
|
+
name: "deviceId",
|
|
31617
|
+
form: "single",
|
|
31618
|
+
optional: true
|
|
31619
|
+
}],
|
|
31620
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31621
|
+
name: "deviceId",
|
|
31622
|
+
form: "single",
|
|
31623
|
+
optional: false
|
|
31624
|
+
}],
|
|
31625
|
+
"audioMetrics.getHistory": [{
|
|
31626
|
+
name: "deviceId",
|
|
31627
|
+
form: "single",
|
|
31628
|
+
optional: false
|
|
31629
|
+
}],
|
|
31630
|
+
"automationControl.disable": [{
|
|
31631
|
+
name: "deviceId",
|
|
31632
|
+
form: "single",
|
|
31633
|
+
optional: false
|
|
31634
|
+
}],
|
|
31635
|
+
"automationControl.enable": [{
|
|
31636
|
+
name: "deviceId",
|
|
31637
|
+
form: "single",
|
|
31638
|
+
optional: false
|
|
31639
|
+
}],
|
|
31640
|
+
"automationControl.trigger": [{
|
|
31641
|
+
name: "deviceId",
|
|
31642
|
+
form: "single",
|
|
31643
|
+
optional: false
|
|
31644
|
+
}],
|
|
31645
|
+
"battery.wakeForStream": [{
|
|
31646
|
+
name: "deviceId",
|
|
31647
|
+
form: "single",
|
|
31648
|
+
optional: false
|
|
31649
|
+
}],
|
|
31650
|
+
"brightness.setBrightness": [{
|
|
31651
|
+
name: "deviceId",
|
|
31652
|
+
form: "single",
|
|
31653
|
+
optional: false
|
|
31654
|
+
}],
|
|
31655
|
+
"button.press": [{
|
|
31656
|
+
name: "deviceId",
|
|
31657
|
+
form: "single",
|
|
31658
|
+
optional: false
|
|
31659
|
+
}],
|
|
31660
|
+
"cameraCredentials.getCredentials": [{
|
|
31661
|
+
name: "deviceId",
|
|
31662
|
+
form: "single",
|
|
31663
|
+
optional: false
|
|
31664
|
+
}],
|
|
31665
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31666
|
+
name: "deviceId",
|
|
31667
|
+
form: "single",
|
|
31668
|
+
optional: false
|
|
31669
|
+
}],
|
|
31670
|
+
"cameraStreams.getCameraStreams": [{
|
|
31671
|
+
name: "deviceId",
|
|
31672
|
+
form: "single",
|
|
31673
|
+
optional: false
|
|
31674
|
+
}],
|
|
31675
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31676
|
+
name: "deviceId",
|
|
31677
|
+
form: "single",
|
|
31678
|
+
optional: false
|
|
31679
|
+
}],
|
|
31680
|
+
"cameraStreams.getRtspEntries": [{
|
|
31681
|
+
name: "deviceId",
|
|
31682
|
+
form: "single",
|
|
31683
|
+
optional: false
|
|
31684
|
+
}],
|
|
31685
|
+
"cameraStreams.pickStream": [{
|
|
31686
|
+
name: "deviceId",
|
|
31687
|
+
form: "single",
|
|
31688
|
+
optional: false
|
|
31689
|
+
}],
|
|
31690
|
+
"climateControl.setFanMode": [{
|
|
31691
|
+
name: "deviceId",
|
|
31692
|
+
form: "single",
|
|
31693
|
+
optional: false
|
|
31694
|
+
}],
|
|
31695
|
+
"climateControl.setMode": [{
|
|
31696
|
+
name: "deviceId",
|
|
31697
|
+
form: "single",
|
|
31698
|
+
optional: false
|
|
31699
|
+
}],
|
|
31700
|
+
"climateControl.setPreset": [{
|
|
31701
|
+
name: "deviceId",
|
|
31702
|
+
form: "single",
|
|
31703
|
+
optional: false
|
|
31704
|
+
}],
|
|
31705
|
+
"climateControl.setSwingHorizontal": [{
|
|
31706
|
+
name: "deviceId",
|
|
31707
|
+
form: "single",
|
|
31708
|
+
optional: false
|
|
31709
|
+
}],
|
|
31710
|
+
"climateControl.setSwingVertical": [{
|
|
31711
|
+
name: "deviceId",
|
|
31712
|
+
form: "single",
|
|
31713
|
+
optional: false
|
|
31714
|
+
}],
|
|
31715
|
+
"climateControl.setTarget": [{
|
|
31716
|
+
name: "deviceId",
|
|
31717
|
+
form: "single",
|
|
31718
|
+
optional: false
|
|
31719
|
+
}],
|
|
31720
|
+
"climateControl.setTargetHumidity": [{
|
|
31721
|
+
name: "deviceId",
|
|
31722
|
+
form: "single",
|
|
31723
|
+
optional: false
|
|
31724
|
+
}],
|
|
31725
|
+
"climateControl.setTargetRange": [{
|
|
31726
|
+
name: "deviceId",
|
|
31727
|
+
form: "single",
|
|
31728
|
+
optional: false
|
|
31729
|
+
}],
|
|
31730
|
+
"color.setColor": [{
|
|
31731
|
+
name: "deviceId",
|
|
31732
|
+
form: "single",
|
|
31733
|
+
optional: false
|
|
31734
|
+
}],
|
|
31735
|
+
"consumables.reset": [{
|
|
31736
|
+
name: "deviceId",
|
|
31737
|
+
form: "single",
|
|
31738
|
+
optional: false
|
|
31739
|
+
}],
|
|
31740
|
+
"control.setValue": [{
|
|
31741
|
+
name: "deviceId",
|
|
31742
|
+
form: "single",
|
|
31743
|
+
optional: false
|
|
31744
|
+
}],
|
|
31745
|
+
"cover.close": [{
|
|
31746
|
+
name: "deviceId",
|
|
31747
|
+
form: "single",
|
|
31748
|
+
optional: false
|
|
31749
|
+
}],
|
|
31750
|
+
"cover.open": [{
|
|
31751
|
+
name: "deviceId",
|
|
31752
|
+
form: "single",
|
|
31753
|
+
optional: false
|
|
31754
|
+
}],
|
|
31755
|
+
"cover.setPosition": [{
|
|
31756
|
+
name: "deviceId",
|
|
31757
|
+
form: "single",
|
|
31758
|
+
optional: false
|
|
31759
|
+
}],
|
|
31760
|
+
"cover.setTiltPosition": [{
|
|
31761
|
+
name: "deviceId",
|
|
31762
|
+
form: "single",
|
|
31763
|
+
optional: false
|
|
31764
|
+
}],
|
|
31765
|
+
"cover.stop": [{
|
|
31766
|
+
name: "deviceId",
|
|
31767
|
+
form: "single",
|
|
31768
|
+
optional: false
|
|
31769
|
+
}],
|
|
31770
|
+
"dayNight.getOptions": [{
|
|
31771
|
+
name: "deviceId",
|
|
31772
|
+
form: "single",
|
|
31773
|
+
optional: false
|
|
31774
|
+
}],
|
|
31775
|
+
"dayNight.setSettings": [{
|
|
31776
|
+
name: "deviceId",
|
|
31777
|
+
form: "single",
|
|
31778
|
+
optional: false
|
|
31779
|
+
}],
|
|
31780
|
+
"decoder.createSession": [{
|
|
31781
|
+
name: "deviceId",
|
|
31782
|
+
form: "single",
|
|
31783
|
+
optional: true
|
|
31784
|
+
}],
|
|
31785
|
+
"deviceAdoption.release": [{
|
|
31786
|
+
name: "camDeviceId",
|
|
31787
|
+
form: "single",
|
|
31788
|
+
optional: false
|
|
31789
|
+
}],
|
|
31790
|
+
"deviceAdoption.resync": [{
|
|
31791
|
+
name: "camDeviceId",
|
|
31792
|
+
form: "single",
|
|
31793
|
+
optional: false
|
|
31794
|
+
}],
|
|
31795
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31796
|
+
name: "deviceId",
|
|
31797
|
+
form: "single",
|
|
31798
|
+
optional: false
|
|
31799
|
+
}],
|
|
31800
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31801
|
+
name: "deviceId",
|
|
31802
|
+
form: "single",
|
|
31803
|
+
optional: false
|
|
31804
|
+
}],
|
|
31805
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31806
|
+
name: "deviceId",
|
|
31807
|
+
form: "single",
|
|
31808
|
+
optional: false
|
|
31809
|
+
}],
|
|
31810
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31811
|
+
name: "childDeviceId",
|
|
31812
|
+
form: "single",
|
|
31813
|
+
optional: false
|
|
31814
|
+
}, {
|
|
31815
|
+
name: "deviceId",
|
|
31816
|
+
form: "single",
|
|
31817
|
+
optional: false
|
|
31818
|
+
}],
|
|
31819
|
+
"deviceManager.adoptionRelease": [{
|
|
31820
|
+
name: "camDeviceId",
|
|
31821
|
+
form: "single",
|
|
31822
|
+
optional: false
|
|
31823
|
+
}],
|
|
31824
|
+
"deviceManager.adoptionResync": [{
|
|
31825
|
+
name: "camDeviceId",
|
|
31826
|
+
form: "single",
|
|
31827
|
+
optional: false
|
|
31828
|
+
}],
|
|
31829
|
+
"deviceManager.applyInitialMeta": [{
|
|
31830
|
+
name: "deviceId",
|
|
31831
|
+
form: "single",
|
|
31832
|
+
optional: false
|
|
31833
|
+
}, {
|
|
31834
|
+
name: "linkDeviceId",
|
|
31835
|
+
form: "single",
|
|
31836
|
+
optional: true
|
|
31837
|
+
}],
|
|
31838
|
+
"deviceManager.disable": [{
|
|
31839
|
+
name: "deviceId",
|
|
31840
|
+
form: "single",
|
|
31841
|
+
optional: false
|
|
31842
|
+
}],
|
|
31843
|
+
"deviceManager.enable": [{
|
|
31844
|
+
name: "deviceId",
|
|
31845
|
+
form: "single",
|
|
31846
|
+
optional: false
|
|
31847
|
+
}],
|
|
31848
|
+
"deviceManager.getBindings": [{
|
|
31849
|
+
name: "deviceId",
|
|
31850
|
+
form: "single",
|
|
31851
|
+
optional: false
|
|
31852
|
+
}],
|
|
31853
|
+
"deviceManager.getChildren": [{
|
|
31854
|
+
name: "parentDeviceId",
|
|
31855
|
+
form: "single",
|
|
31856
|
+
optional: false
|
|
31857
|
+
}],
|
|
31858
|
+
"deviceManager.getConfigSchema": [{
|
|
31859
|
+
name: "deviceId",
|
|
31860
|
+
form: "single",
|
|
31861
|
+
optional: false
|
|
31862
|
+
}],
|
|
31863
|
+
"deviceManager.getDevice": [{
|
|
31864
|
+
name: "deviceId",
|
|
31865
|
+
form: "single",
|
|
31866
|
+
optional: false
|
|
31867
|
+
}],
|
|
31868
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31869
|
+
name: "deviceId",
|
|
31870
|
+
form: "single",
|
|
31871
|
+
optional: false
|
|
31872
|
+
}],
|
|
31873
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31874
|
+
name: "deviceId",
|
|
31875
|
+
form: "single",
|
|
31876
|
+
optional: false
|
|
31877
|
+
}],
|
|
31878
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31879
|
+
name: "deviceId",
|
|
31880
|
+
form: "single",
|
|
31881
|
+
optional: false
|
|
31882
|
+
}],
|
|
31883
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31884
|
+
name: "deviceId",
|
|
31885
|
+
form: "single",
|
|
31886
|
+
optional: false
|
|
31887
|
+
}],
|
|
31888
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31889
|
+
name: "deviceIds",
|
|
31890
|
+
form: "array",
|
|
31891
|
+
optional: false
|
|
31892
|
+
}],
|
|
31893
|
+
"deviceManager.getLinkedDevices": [{
|
|
31894
|
+
name: "deviceId",
|
|
31895
|
+
form: "single",
|
|
31896
|
+
optional: false
|
|
31897
|
+
}],
|
|
31898
|
+
"deviceManager.getSettingsSchema": [{
|
|
31899
|
+
name: "deviceId",
|
|
31900
|
+
form: "single",
|
|
31901
|
+
optional: false
|
|
31902
|
+
}],
|
|
31903
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31904
|
+
name: "deviceId",
|
|
31905
|
+
form: "single",
|
|
31906
|
+
optional: false
|
|
31907
|
+
}],
|
|
31908
|
+
"deviceManager.getStreamSources": [{
|
|
31909
|
+
name: "deviceId",
|
|
31910
|
+
form: "single",
|
|
31911
|
+
optional: false
|
|
31912
|
+
}],
|
|
31913
|
+
"deviceManager.getWireableFields": [{
|
|
31914
|
+
name: "deviceId",
|
|
31915
|
+
form: "single",
|
|
31916
|
+
optional: false
|
|
31917
|
+
}],
|
|
31918
|
+
"deviceManager.loadConfig": [{
|
|
31919
|
+
name: "deviceId",
|
|
31920
|
+
form: "single",
|
|
31921
|
+
optional: false
|
|
31922
|
+
}],
|
|
31923
|
+
"deviceManager.loadMeta": [{
|
|
31924
|
+
name: "deviceId",
|
|
31925
|
+
form: "single",
|
|
31926
|
+
optional: false
|
|
31927
|
+
}],
|
|
31928
|
+
"deviceManager.loadRuntimeState": [{
|
|
31929
|
+
name: "deviceId",
|
|
31930
|
+
form: "single",
|
|
31931
|
+
optional: false
|
|
31932
|
+
}],
|
|
31933
|
+
"deviceManager.persistConfig": [{
|
|
31934
|
+
name: "deviceId",
|
|
31935
|
+
form: "single",
|
|
31936
|
+
optional: false
|
|
31937
|
+
}],
|
|
31938
|
+
"deviceManager.probeStreams": [{
|
|
31939
|
+
name: "deviceId",
|
|
31940
|
+
form: "single",
|
|
31941
|
+
optional: false
|
|
31942
|
+
}],
|
|
31943
|
+
"deviceManager.registerDevice": [{
|
|
31944
|
+
name: "parentDeviceId",
|
|
31945
|
+
form: "single",
|
|
31946
|
+
optional: true
|
|
31947
|
+
}],
|
|
31948
|
+
"deviceManager.remove": [{
|
|
31949
|
+
name: "deviceId",
|
|
31950
|
+
form: "single",
|
|
31951
|
+
optional: false
|
|
31952
|
+
}],
|
|
31953
|
+
"deviceManager.removeDevice": [{
|
|
31954
|
+
name: "deviceId",
|
|
31955
|
+
form: "single",
|
|
31956
|
+
optional: false
|
|
31957
|
+
}],
|
|
31958
|
+
"deviceManager.runDeviceAction": [{
|
|
31959
|
+
name: "deviceId",
|
|
31960
|
+
form: "single",
|
|
31961
|
+
optional: false
|
|
31962
|
+
}],
|
|
31963
|
+
"deviceManager.setChildLayout": [{
|
|
31964
|
+
name: "deviceId",
|
|
31965
|
+
form: "single",
|
|
31966
|
+
optional: false
|
|
31967
|
+
}],
|
|
31968
|
+
"deviceManager.setDisabled": [{
|
|
31969
|
+
name: "deviceId",
|
|
31970
|
+
form: "single",
|
|
31971
|
+
optional: false
|
|
31972
|
+
}],
|
|
31973
|
+
"deviceManager.setDisplay": [{
|
|
31974
|
+
name: "deviceId",
|
|
31975
|
+
form: "single",
|
|
31976
|
+
optional: false
|
|
31977
|
+
}],
|
|
31978
|
+
"deviceManager.setIntegrationId": [{
|
|
31979
|
+
name: "deviceId",
|
|
31980
|
+
form: "single",
|
|
31981
|
+
optional: false
|
|
31982
|
+
}],
|
|
31983
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31984
|
+
name: "deviceId",
|
|
31985
|
+
form: "single",
|
|
31986
|
+
optional: false
|
|
31987
|
+
}, {
|
|
31988
|
+
name: "linkDeviceId",
|
|
31989
|
+
form: "single",
|
|
31990
|
+
optional: true
|
|
31991
|
+
}],
|
|
31992
|
+
"deviceManager.setLocation": [{
|
|
31993
|
+
name: "deviceId",
|
|
31994
|
+
form: "single",
|
|
31995
|
+
optional: false
|
|
31996
|
+
}],
|
|
31997
|
+
"deviceManager.setMetadata": [{
|
|
31998
|
+
name: "deviceId",
|
|
31999
|
+
form: "single",
|
|
32000
|
+
optional: false
|
|
32001
|
+
}],
|
|
32002
|
+
"deviceManager.setName": [{
|
|
32003
|
+
name: "deviceId",
|
|
32004
|
+
form: "single",
|
|
32005
|
+
optional: false
|
|
32006
|
+
}],
|
|
32007
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
32008
|
+
name: "deviceId",
|
|
32009
|
+
form: "single",
|
|
32010
|
+
optional: false
|
|
32011
|
+
}],
|
|
32012
|
+
"deviceManager.setRole": [{
|
|
32013
|
+
name: "deviceId",
|
|
32014
|
+
form: "single",
|
|
32015
|
+
optional: false
|
|
32016
|
+
}],
|
|
32017
|
+
"deviceManager.setStreamProfileMap": [{
|
|
32018
|
+
name: "deviceId",
|
|
32019
|
+
form: "single",
|
|
32020
|
+
optional: false
|
|
32021
|
+
}],
|
|
32022
|
+
"deviceManager.setType": [{
|
|
32023
|
+
name: "deviceId",
|
|
32024
|
+
form: "single",
|
|
32025
|
+
optional: false
|
|
32026
|
+
}],
|
|
32027
|
+
"deviceManager.setWrapperActive": [{
|
|
32028
|
+
name: "deviceId",
|
|
32029
|
+
form: "single",
|
|
32030
|
+
optional: false
|
|
32031
|
+
}],
|
|
32032
|
+
"deviceManager.testField": [{
|
|
32033
|
+
name: "deviceId",
|
|
32034
|
+
form: "single",
|
|
32035
|
+
optional: false
|
|
32036
|
+
}],
|
|
32037
|
+
"deviceManager.updateConfig": [{
|
|
32038
|
+
name: "deviceId",
|
|
32039
|
+
form: "single",
|
|
32040
|
+
optional: false
|
|
32041
|
+
}],
|
|
32042
|
+
"deviceManager.updateDeviceField": [{
|
|
32043
|
+
name: "deviceId",
|
|
32044
|
+
form: "single",
|
|
32045
|
+
optional: false
|
|
32046
|
+
}],
|
|
32047
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32048
|
+
name: "deviceId",
|
|
32049
|
+
form: "single",
|
|
32050
|
+
optional: false
|
|
32051
|
+
}],
|
|
32052
|
+
"deviceOps.getConfigEntries": [{
|
|
32053
|
+
name: "deviceId",
|
|
32054
|
+
form: "single",
|
|
32055
|
+
optional: false
|
|
32056
|
+
}],
|
|
32057
|
+
"deviceOps.getRawState": [{
|
|
32058
|
+
name: "deviceId",
|
|
32059
|
+
form: "single",
|
|
32060
|
+
optional: false
|
|
32061
|
+
}],
|
|
32062
|
+
"deviceOps.getSettingsSchema": [{
|
|
32063
|
+
name: "deviceId",
|
|
32064
|
+
form: "single",
|
|
32065
|
+
optional: false
|
|
32066
|
+
}],
|
|
32067
|
+
"deviceOps.getStreamSources": [{
|
|
32068
|
+
name: "deviceId",
|
|
32069
|
+
form: "single",
|
|
32070
|
+
optional: false
|
|
32071
|
+
}],
|
|
32072
|
+
"deviceOps.removeDevice": [{
|
|
32073
|
+
name: "deviceId",
|
|
32074
|
+
form: "single",
|
|
32075
|
+
optional: false
|
|
32076
|
+
}],
|
|
32077
|
+
"deviceOps.runAction": [{
|
|
32078
|
+
name: "deviceId",
|
|
32079
|
+
form: "single",
|
|
32080
|
+
optional: false
|
|
32081
|
+
}],
|
|
32082
|
+
"deviceOps.setConfig": [{
|
|
32083
|
+
name: "deviceId",
|
|
32084
|
+
form: "single",
|
|
32085
|
+
optional: false
|
|
32086
|
+
}],
|
|
32087
|
+
"deviceState.getCapSlice": [{
|
|
32088
|
+
name: "deviceId",
|
|
32089
|
+
form: "single",
|
|
32090
|
+
optional: false
|
|
32091
|
+
}],
|
|
32092
|
+
"deviceState.getSnapshot": [{
|
|
32093
|
+
name: "deviceId",
|
|
32094
|
+
form: "single",
|
|
32095
|
+
optional: false
|
|
32096
|
+
}],
|
|
32097
|
+
"deviceState.setCapSlice": [{
|
|
32098
|
+
name: "deviceId",
|
|
32099
|
+
form: "single",
|
|
32100
|
+
optional: false
|
|
32101
|
+
}],
|
|
32102
|
+
"events.getEventClipUrl": [{
|
|
32103
|
+
name: "deviceId",
|
|
32104
|
+
form: "single",
|
|
32105
|
+
optional: false
|
|
32106
|
+
}],
|
|
32107
|
+
"events.getEvents": [{
|
|
32108
|
+
name: "deviceId",
|
|
32109
|
+
form: "single",
|
|
32110
|
+
optional: false
|
|
32111
|
+
}],
|
|
32112
|
+
"events.getEventThumbnail": [{
|
|
32113
|
+
name: "deviceId",
|
|
32114
|
+
form: "single",
|
|
32115
|
+
optional: false
|
|
32116
|
+
}],
|
|
32117
|
+
"faceGallery.getFaceByTrack": [{
|
|
32118
|
+
name: "deviceId",
|
|
32119
|
+
form: "single",
|
|
32120
|
+
optional: false
|
|
32121
|
+
}],
|
|
32122
|
+
"faceGallery.listRecentFaces": [{
|
|
32123
|
+
name: "deviceId",
|
|
32124
|
+
form: "single",
|
|
32125
|
+
optional: true
|
|
32126
|
+
}],
|
|
32127
|
+
"fanControl.setDirection": [{
|
|
32128
|
+
name: "deviceId",
|
|
32129
|
+
form: "single",
|
|
32130
|
+
optional: false
|
|
32131
|
+
}],
|
|
32132
|
+
"fanControl.setOscillating": [{
|
|
32133
|
+
name: "deviceId",
|
|
32134
|
+
form: "single",
|
|
32135
|
+
optional: false
|
|
32136
|
+
}],
|
|
32137
|
+
"fanControl.setPercentage": [{
|
|
32138
|
+
name: "deviceId",
|
|
32139
|
+
form: "single",
|
|
32140
|
+
optional: false
|
|
32141
|
+
}],
|
|
32142
|
+
"fanControl.setPreset": [{
|
|
32143
|
+
name: "deviceId",
|
|
32144
|
+
form: "single",
|
|
32145
|
+
optional: false
|
|
32146
|
+
}],
|
|
32147
|
+
"humidifier.setMode": [{
|
|
32148
|
+
name: "deviceId",
|
|
32149
|
+
form: "single",
|
|
32150
|
+
optional: false
|
|
32151
|
+
}],
|
|
32152
|
+
"humidifier.setOn": [{
|
|
32153
|
+
name: "deviceId",
|
|
32154
|
+
form: "single",
|
|
32155
|
+
optional: false
|
|
32156
|
+
}],
|
|
32157
|
+
"humidifier.setTargetHumidity": [{
|
|
32158
|
+
name: "deviceId",
|
|
32159
|
+
form: "single",
|
|
32160
|
+
optional: false
|
|
32161
|
+
}],
|
|
32162
|
+
"imageSettings.getOptions": [{
|
|
32163
|
+
name: "deviceId",
|
|
32164
|
+
form: "single",
|
|
32165
|
+
optional: false
|
|
32166
|
+
}],
|
|
32167
|
+
"imageSettings.setSettings": [{
|
|
32168
|
+
name: "deviceId",
|
|
32169
|
+
form: "single",
|
|
32170
|
+
optional: false
|
|
32171
|
+
}],
|
|
32172
|
+
"intercom.endTalkSession": [{
|
|
32173
|
+
name: "deviceId",
|
|
32174
|
+
form: "single",
|
|
32175
|
+
optional: false
|
|
32176
|
+
}],
|
|
32177
|
+
"intercom.handleAnswer": [{
|
|
32178
|
+
name: "deviceId",
|
|
32179
|
+
form: "single",
|
|
32180
|
+
optional: false
|
|
32181
|
+
}],
|
|
32182
|
+
"intercom.pushTalkAudio": [{
|
|
32183
|
+
name: "deviceId",
|
|
32184
|
+
form: "single",
|
|
32185
|
+
optional: false
|
|
32186
|
+
}],
|
|
32187
|
+
"intercom.startSession": [{
|
|
32188
|
+
name: "deviceId",
|
|
32189
|
+
form: "single",
|
|
32190
|
+
optional: false
|
|
32191
|
+
}],
|
|
32192
|
+
"intercom.startTalkSession": [{
|
|
32193
|
+
name: "deviceId",
|
|
32194
|
+
form: "single",
|
|
32195
|
+
optional: false
|
|
32196
|
+
}],
|
|
32197
|
+
"intercom.stopSession": [{
|
|
32198
|
+
name: "deviceId",
|
|
32199
|
+
form: "single",
|
|
32200
|
+
optional: false
|
|
32201
|
+
}],
|
|
32202
|
+
"lawnMowerControl.dock": [{
|
|
32203
|
+
name: "deviceId",
|
|
32204
|
+
form: "single",
|
|
32205
|
+
optional: false
|
|
32206
|
+
}],
|
|
32207
|
+
"lawnMowerControl.pause": [{
|
|
32208
|
+
name: "deviceId",
|
|
32209
|
+
form: "single",
|
|
32210
|
+
optional: false
|
|
32211
|
+
}],
|
|
32212
|
+
"lawnMowerControl.startMowing": [{
|
|
32213
|
+
name: "deviceId",
|
|
32214
|
+
form: "single",
|
|
32215
|
+
optional: false
|
|
32216
|
+
}],
|
|
32217
|
+
"lockControl.lock": [{
|
|
32218
|
+
name: "deviceId",
|
|
32219
|
+
form: "single",
|
|
32220
|
+
optional: false
|
|
32221
|
+
}],
|
|
32222
|
+
"lockControl.open": [{
|
|
32223
|
+
name: "deviceId",
|
|
32224
|
+
form: "single",
|
|
32225
|
+
optional: false
|
|
32226
|
+
}],
|
|
32227
|
+
"lockControl.unlock": [{
|
|
32228
|
+
name: "deviceId",
|
|
32229
|
+
form: "single",
|
|
32230
|
+
optional: false
|
|
32231
|
+
}],
|
|
32232
|
+
"mediaPlayer.next": [{
|
|
32233
|
+
name: "deviceId",
|
|
32234
|
+
form: "single",
|
|
32235
|
+
optional: false
|
|
32236
|
+
}],
|
|
32237
|
+
"mediaPlayer.pause": [{
|
|
32238
|
+
name: "deviceId",
|
|
32239
|
+
form: "single",
|
|
32240
|
+
optional: false
|
|
32241
|
+
}],
|
|
32242
|
+
"mediaPlayer.play": [{
|
|
32243
|
+
name: "deviceId",
|
|
32244
|
+
form: "single",
|
|
32245
|
+
optional: false
|
|
32246
|
+
}],
|
|
32247
|
+
"mediaPlayer.playMedia": [{
|
|
32248
|
+
name: "deviceId",
|
|
32249
|
+
form: "single",
|
|
32250
|
+
optional: false
|
|
32251
|
+
}],
|
|
32252
|
+
"mediaPlayer.previous": [{
|
|
32253
|
+
name: "deviceId",
|
|
32254
|
+
form: "single",
|
|
32255
|
+
optional: false
|
|
32256
|
+
}],
|
|
32257
|
+
"mediaPlayer.seek": [{
|
|
32258
|
+
name: "deviceId",
|
|
32259
|
+
form: "single",
|
|
32260
|
+
optional: false
|
|
32261
|
+
}],
|
|
32262
|
+
"mediaPlayer.selectSource": [{
|
|
32263
|
+
name: "deviceId",
|
|
32264
|
+
form: "single",
|
|
32265
|
+
optional: false
|
|
32266
|
+
}],
|
|
32267
|
+
"mediaPlayer.setMute": [{
|
|
32268
|
+
name: "deviceId",
|
|
32269
|
+
form: "single",
|
|
32270
|
+
optional: false
|
|
32271
|
+
}],
|
|
32272
|
+
"mediaPlayer.setRepeat": [{
|
|
32273
|
+
name: "deviceId",
|
|
32274
|
+
form: "single",
|
|
32275
|
+
optional: false
|
|
32276
|
+
}],
|
|
32277
|
+
"mediaPlayer.setShuffle": [{
|
|
32278
|
+
name: "deviceId",
|
|
32279
|
+
form: "single",
|
|
32280
|
+
optional: false
|
|
32281
|
+
}],
|
|
32282
|
+
"mediaPlayer.setVolume": [{
|
|
32283
|
+
name: "deviceId",
|
|
32284
|
+
form: "single",
|
|
32285
|
+
optional: false
|
|
32286
|
+
}],
|
|
32287
|
+
"mediaPlayer.stop": [{
|
|
32288
|
+
name: "deviceId",
|
|
32289
|
+
form: "single",
|
|
32290
|
+
optional: false
|
|
32291
|
+
}],
|
|
32292
|
+
"motion.isDetected": [{
|
|
32293
|
+
name: "deviceId",
|
|
32294
|
+
form: "single",
|
|
32295
|
+
optional: false
|
|
32296
|
+
}],
|
|
32297
|
+
"motionDetection.analyze": [{
|
|
32298
|
+
name: "deviceId",
|
|
32299
|
+
form: "single",
|
|
32300
|
+
optional: false
|
|
32301
|
+
}],
|
|
32302
|
+
"motionDetection.removeCamera": [{
|
|
32303
|
+
name: "deviceId",
|
|
32304
|
+
form: "single",
|
|
32305
|
+
optional: false
|
|
32306
|
+
}],
|
|
32307
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32308
|
+
name: "deviceId",
|
|
32309
|
+
form: "single",
|
|
32310
|
+
optional: false
|
|
32311
|
+
}],
|
|
32312
|
+
"motionZones.getOptions": [{
|
|
32313
|
+
name: "deviceId",
|
|
32314
|
+
form: "single",
|
|
32315
|
+
optional: false
|
|
32316
|
+
}],
|
|
32317
|
+
"motionZones.setZone": [{
|
|
32318
|
+
name: "deviceId",
|
|
32319
|
+
form: "single",
|
|
32320
|
+
optional: false
|
|
32321
|
+
}],
|
|
32322
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32323
|
+
name: "deviceId",
|
|
32324
|
+
form: "single",
|
|
32325
|
+
optional: false
|
|
32326
|
+
}],
|
|
32327
|
+
"networkQuality.getDeviceStats": [{
|
|
32328
|
+
name: "deviceId",
|
|
32329
|
+
form: "single",
|
|
32330
|
+
optional: false
|
|
32331
|
+
}],
|
|
32332
|
+
"networkQuality.reportClientStats": [{
|
|
32333
|
+
name: "deviceId",
|
|
32334
|
+
form: "single",
|
|
32335
|
+
optional: false
|
|
32336
|
+
}],
|
|
32337
|
+
"notificationRules.setDeviceMuted": [{
|
|
32338
|
+
name: "deviceId",
|
|
32339
|
+
form: "single",
|
|
32340
|
+
optional: false
|
|
32341
|
+
}],
|
|
32342
|
+
"notifier.cancel": [{
|
|
32343
|
+
name: "deviceId",
|
|
32344
|
+
form: "single",
|
|
32345
|
+
optional: false
|
|
32346
|
+
}],
|
|
32347
|
+
"notifier.send": [{
|
|
32348
|
+
name: "deviceId",
|
|
32349
|
+
form: "single",
|
|
32350
|
+
optional: false
|
|
32351
|
+
}],
|
|
32352
|
+
"osd.setOverlay": [{
|
|
32353
|
+
name: "deviceId",
|
|
32354
|
+
form: "single",
|
|
32355
|
+
optional: false
|
|
32356
|
+
}],
|
|
32357
|
+
"osdManager.clearSlotBinding": [{
|
|
32358
|
+
name: "deviceId",
|
|
32359
|
+
form: "single",
|
|
32360
|
+
optional: false
|
|
32361
|
+
}],
|
|
32362
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32363
|
+
name: "sourceDeviceId",
|
|
32364
|
+
form: "single",
|
|
32365
|
+
optional: false
|
|
32366
|
+
}, {
|
|
32367
|
+
name: "targetDeviceId",
|
|
32368
|
+
form: "single",
|
|
32369
|
+
optional: false
|
|
32370
|
+
}],
|
|
32371
|
+
"osdManager.getDeviceOsd": [{
|
|
32372
|
+
name: "deviceId",
|
|
32373
|
+
form: "single",
|
|
32374
|
+
optional: false
|
|
32375
|
+
}],
|
|
32376
|
+
"osdManager.getSourceCatalog": [{
|
|
32377
|
+
name: "deviceId",
|
|
32378
|
+
form: "single",
|
|
32379
|
+
optional: false
|
|
32380
|
+
}],
|
|
32381
|
+
"osdManager.previewSlot": [{
|
|
32382
|
+
name: "deviceId",
|
|
32383
|
+
form: "single",
|
|
32384
|
+
optional: false
|
|
32385
|
+
}],
|
|
32386
|
+
"osdManager.renderDevice": [{
|
|
32387
|
+
name: "deviceId",
|
|
32388
|
+
form: "single",
|
|
32389
|
+
optional: false
|
|
32390
|
+
}],
|
|
32391
|
+
"osdManager.setSlotBinding": [{
|
|
32392
|
+
name: "deviceId",
|
|
32393
|
+
form: "single",
|
|
32394
|
+
optional: false
|
|
32395
|
+
}],
|
|
32396
|
+
"petFeeder.callPet": [{
|
|
32397
|
+
name: "deviceId",
|
|
32398
|
+
form: "single",
|
|
32399
|
+
optional: false
|
|
32400
|
+
}],
|
|
32401
|
+
"petFeeder.cancelFeed": [{
|
|
32402
|
+
name: "deviceId",
|
|
32403
|
+
form: "single",
|
|
32404
|
+
optional: false
|
|
32405
|
+
}],
|
|
32406
|
+
"petFeeder.feed": [{
|
|
32407
|
+
name: "deviceId",
|
|
32408
|
+
form: "single",
|
|
32409
|
+
optional: false
|
|
32410
|
+
}],
|
|
32411
|
+
"petFeeder.markFoodReplenished": [{
|
|
32412
|
+
name: "deviceId",
|
|
32413
|
+
form: "single",
|
|
32414
|
+
optional: false
|
|
32415
|
+
}],
|
|
32416
|
+
"petFeeder.playSound": [{
|
|
32417
|
+
name: "deviceId",
|
|
32418
|
+
form: "single",
|
|
32419
|
+
optional: false
|
|
32420
|
+
}],
|
|
32421
|
+
"petFeeder.resetDesiccant": [{
|
|
32422
|
+
name: "deviceId",
|
|
32423
|
+
form: "single",
|
|
32424
|
+
optional: false
|
|
32425
|
+
}],
|
|
32426
|
+
"petFeeder.setChildLock": [{
|
|
32427
|
+
name: "deviceId",
|
|
32428
|
+
form: "single",
|
|
32429
|
+
optional: false
|
|
32430
|
+
}],
|
|
32431
|
+
"petFeeder.setFeedSound": [{
|
|
32432
|
+
name: "deviceId",
|
|
32433
|
+
form: "single",
|
|
32434
|
+
optional: false
|
|
32435
|
+
}],
|
|
32436
|
+
"petFeeder.setIndicatorLight": [{
|
|
32437
|
+
name: "deviceId",
|
|
32438
|
+
form: "single",
|
|
32439
|
+
optional: false
|
|
32440
|
+
}],
|
|
32441
|
+
"petFeeder.setVolume": [{
|
|
32442
|
+
name: "deviceId",
|
|
32443
|
+
form: "single",
|
|
32444
|
+
optional: false
|
|
32445
|
+
}],
|
|
32446
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32447
|
+
name: "deviceId",
|
|
32448
|
+
form: "single",
|
|
32449
|
+
optional: false
|
|
32450
|
+
}],
|
|
32451
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32452
|
+
name: "deviceId",
|
|
32453
|
+
form: "single",
|
|
32454
|
+
optional: false
|
|
32455
|
+
}],
|
|
32456
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32457
|
+
name: "deviceId",
|
|
32458
|
+
form: "single",
|
|
32459
|
+
optional: false
|
|
32460
|
+
}],
|
|
32461
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32462
|
+
name: "deviceId",
|
|
32463
|
+
form: "single",
|
|
32464
|
+
optional: false
|
|
32465
|
+
}],
|
|
32466
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32467
|
+
name: "deviceId",
|
|
32468
|
+
form: "single",
|
|
32469
|
+
optional: false
|
|
32470
|
+
}],
|
|
32471
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32472
|
+
name: "deviceId",
|
|
32473
|
+
form: "single",
|
|
32474
|
+
optional: false
|
|
32475
|
+
}],
|
|
32476
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32477
|
+
name: "deviceId",
|
|
32478
|
+
form: "single",
|
|
32479
|
+
optional: false
|
|
32480
|
+
}],
|
|
32481
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32482
|
+
name: "deviceId",
|
|
32483
|
+
form: "single",
|
|
32484
|
+
optional: false
|
|
32485
|
+
}],
|
|
32486
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32487
|
+
name: "deviceId",
|
|
32488
|
+
form: "single",
|
|
32489
|
+
optional: false
|
|
32490
|
+
}],
|
|
32491
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32492
|
+
name: "deviceId",
|
|
32493
|
+
form: "single",
|
|
32494
|
+
optional: false
|
|
32495
|
+
}],
|
|
32496
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32497
|
+
name: "deviceId",
|
|
32498
|
+
form: "single",
|
|
32499
|
+
optional: false
|
|
32500
|
+
}],
|
|
32501
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32502
|
+
name: "deviceId",
|
|
32503
|
+
form: "single",
|
|
32504
|
+
optional: false
|
|
32505
|
+
}],
|
|
32506
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32507
|
+
name: "deviceIds",
|
|
32508
|
+
form: "array",
|
|
32509
|
+
optional: true
|
|
32510
|
+
}],
|
|
32511
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32512
|
+
name: "deviceId",
|
|
32513
|
+
form: "single",
|
|
32514
|
+
optional: false
|
|
32515
|
+
}],
|
|
32516
|
+
"pipelineAnalytics.getTrack": [{
|
|
32517
|
+
name: "deviceId",
|
|
32518
|
+
form: "single",
|
|
32519
|
+
optional: false
|
|
32520
|
+
}],
|
|
32521
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32522
|
+
name: "deviceId",
|
|
32523
|
+
form: "single",
|
|
32524
|
+
optional: false
|
|
32525
|
+
}],
|
|
32526
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32527
|
+
name: "deviceIds",
|
|
32528
|
+
form: "array",
|
|
32529
|
+
optional: true
|
|
32530
|
+
}],
|
|
32531
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32532
|
+
name: "deviceIds",
|
|
32533
|
+
form: "array",
|
|
32534
|
+
optional: true
|
|
32535
|
+
}],
|
|
32536
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32537
|
+
name: "deviceId",
|
|
32538
|
+
form: "single",
|
|
32539
|
+
optional: false
|
|
32540
|
+
}],
|
|
32541
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32542
|
+
name: "deviceIds",
|
|
32543
|
+
form: "array",
|
|
32544
|
+
optional: false
|
|
32545
|
+
}],
|
|
32546
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32547
|
+
name: "deviceId",
|
|
32548
|
+
form: "single",
|
|
32549
|
+
optional: true
|
|
32550
|
+
}],
|
|
32551
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32552
|
+
name: "deviceIds",
|
|
32553
|
+
form: "array",
|
|
32554
|
+
optional: false
|
|
32555
|
+
}],
|
|
32556
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32557
|
+
name: "deviceIds",
|
|
32558
|
+
form: "array",
|
|
32559
|
+
optional: true
|
|
32560
|
+
}],
|
|
32561
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32562
|
+
name: "deviceId",
|
|
32563
|
+
form: "single",
|
|
32564
|
+
optional: false
|
|
32565
|
+
}],
|
|
32566
|
+
"pipelineAnalytics.listTracks": [{
|
|
32567
|
+
name: "deviceId",
|
|
32568
|
+
form: "single",
|
|
32569
|
+
optional: false
|
|
32570
|
+
}],
|
|
32571
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32572
|
+
name: "deviceId",
|
|
32573
|
+
form: "single",
|
|
32574
|
+
optional: false
|
|
32575
|
+
}],
|
|
32576
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32577
|
+
name: "deviceId",
|
|
32578
|
+
form: "single",
|
|
32579
|
+
optional: false
|
|
32580
|
+
}],
|
|
32581
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32582
|
+
name: "deviceId",
|
|
32583
|
+
form: "single",
|
|
32584
|
+
optional: false
|
|
32585
|
+
}],
|
|
32586
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32587
|
+
name: "deviceId",
|
|
32588
|
+
form: "single",
|
|
32589
|
+
optional: true
|
|
32590
|
+
}],
|
|
32591
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32592
|
+
name: "deviceId",
|
|
32593
|
+
form: "single",
|
|
32594
|
+
optional: false
|
|
32595
|
+
}],
|
|
32596
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32597
|
+
name: "deviceId",
|
|
32598
|
+
form: "single",
|
|
32599
|
+
optional: false
|
|
32600
|
+
}],
|
|
32601
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32602
|
+
name: "deviceId",
|
|
32603
|
+
form: "single",
|
|
32604
|
+
optional: true
|
|
32605
|
+
}],
|
|
32606
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32607
|
+
name: "deviceId",
|
|
32608
|
+
form: "single",
|
|
32609
|
+
optional: false
|
|
32610
|
+
}],
|
|
32611
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32612
|
+
name: "deviceId",
|
|
32613
|
+
form: "single",
|
|
32614
|
+
optional: false
|
|
32615
|
+
}],
|
|
32616
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32617
|
+
name: "deviceId",
|
|
32618
|
+
form: "single",
|
|
32619
|
+
optional: false
|
|
32620
|
+
}],
|
|
32621
|
+
"pipelineExecutor.runPipeline": [{
|
|
32622
|
+
name: "deviceId",
|
|
32623
|
+
form: "single",
|
|
32624
|
+
optional: true
|
|
32625
|
+
}],
|
|
32626
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32627
|
+
name: "deviceId",
|
|
32628
|
+
form: "single",
|
|
32629
|
+
optional: true
|
|
32630
|
+
}],
|
|
32631
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32632
|
+
name: "deviceId",
|
|
32633
|
+
form: "single",
|
|
32634
|
+
optional: false
|
|
32635
|
+
}],
|
|
32636
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32637
|
+
name: "deviceId",
|
|
32638
|
+
form: "single",
|
|
32639
|
+
optional: false
|
|
32640
|
+
}],
|
|
32641
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32642
|
+
name: "deviceId",
|
|
32643
|
+
form: "single",
|
|
32644
|
+
optional: false
|
|
32645
|
+
}],
|
|
32646
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32647
|
+
name: "deviceId",
|
|
32648
|
+
form: "single",
|
|
32649
|
+
optional: false
|
|
32650
|
+
}],
|
|
32651
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32652
|
+
name: "deviceId",
|
|
32653
|
+
form: "single",
|
|
32654
|
+
optional: false
|
|
32655
|
+
}],
|
|
32656
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32657
|
+
name: "deviceId",
|
|
32658
|
+
form: "single",
|
|
32659
|
+
optional: false
|
|
32660
|
+
}],
|
|
32661
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32662
|
+
name: "deviceIds",
|
|
32663
|
+
form: "array",
|
|
32664
|
+
optional: true
|
|
32665
|
+
}],
|
|
32666
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32667
|
+
name: "deviceId",
|
|
32668
|
+
form: "single",
|
|
32669
|
+
optional: false
|
|
32670
|
+
}],
|
|
32671
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32672
|
+
name: "deviceId",
|
|
32673
|
+
form: "single",
|
|
32674
|
+
optional: false
|
|
32675
|
+
}],
|
|
32676
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32677
|
+
name: "deviceId",
|
|
32678
|
+
form: "single",
|
|
32679
|
+
optional: false
|
|
32680
|
+
}],
|
|
32681
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32682
|
+
name: "deviceId",
|
|
32683
|
+
form: "single",
|
|
32684
|
+
optional: false
|
|
32685
|
+
}],
|
|
32686
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32687
|
+
name: "deviceId",
|
|
32688
|
+
form: "single",
|
|
32689
|
+
optional: false
|
|
32690
|
+
}],
|
|
32691
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32692
|
+
name: "deviceId",
|
|
32693
|
+
form: "single",
|
|
32694
|
+
optional: false
|
|
32695
|
+
}],
|
|
32696
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32697
|
+
name: "deviceId",
|
|
32698
|
+
form: "single",
|
|
32699
|
+
optional: false
|
|
32700
|
+
}],
|
|
32701
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32702
|
+
name: "deviceId",
|
|
32703
|
+
form: "single",
|
|
32704
|
+
optional: false
|
|
32705
|
+
}],
|
|
32706
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32707
|
+
name: "deviceId",
|
|
32708
|
+
form: "single",
|
|
32709
|
+
optional: false
|
|
32710
|
+
}],
|
|
32711
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32712
|
+
name: "deviceId",
|
|
32713
|
+
form: "single",
|
|
32714
|
+
optional: false
|
|
32715
|
+
}],
|
|
32716
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32717
|
+
name: "deviceId",
|
|
32718
|
+
form: "single",
|
|
32719
|
+
optional: false
|
|
32720
|
+
}],
|
|
32721
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32722
|
+
name: "deviceId",
|
|
32723
|
+
form: "single",
|
|
32724
|
+
optional: false
|
|
32725
|
+
}],
|
|
32726
|
+
"pipelineRunner.attachCamera": [{
|
|
32727
|
+
name: "deviceId",
|
|
32728
|
+
form: "single",
|
|
32729
|
+
optional: false
|
|
32730
|
+
}],
|
|
32731
|
+
"pipelineRunner.detachCamera": [{
|
|
32732
|
+
name: "deviceId",
|
|
32733
|
+
form: "single",
|
|
32734
|
+
optional: false
|
|
32735
|
+
}],
|
|
32736
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32737
|
+
name: "deviceId",
|
|
32738
|
+
form: "single",
|
|
32739
|
+
optional: false
|
|
32740
|
+
}],
|
|
32741
|
+
"pipelineRunner.reportMotion": [{
|
|
32742
|
+
name: "deviceId",
|
|
32743
|
+
form: "single",
|
|
32744
|
+
optional: false
|
|
32745
|
+
}],
|
|
32746
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32747
|
+
name: "deviceId",
|
|
32748
|
+
form: "single",
|
|
32749
|
+
optional: false
|
|
32750
|
+
}],
|
|
32751
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32752
|
+
name: "sourceDeviceId",
|
|
32753
|
+
form: "single",
|
|
32754
|
+
optional: false
|
|
32755
|
+
}],
|
|
32756
|
+
"plateGallery.getPlateByTrack": [{
|
|
32757
|
+
name: "deviceId",
|
|
32758
|
+
form: "single",
|
|
32759
|
+
optional: false
|
|
32760
|
+
}],
|
|
32761
|
+
"plateGallery.listPlates": [{
|
|
32762
|
+
name: "deviceId",
|
|
32763
|
+
form: "single",
|
|
32764
|
+
optional: true
|
|
32765
|
+
}],
|
|
32766
|
+
"privacyMask.getOptions": [{
|
|
32767
|
+
name: "deviceId",
|
|
32768
|
+
form: "single",
|
|
32769
|
+
optional: false
|
|
32770
|
+
}],
|
|
32771
|
+
"privacyMask.setAudioEnabled": [{
|
|
32772
|
+
name: "deviceId",
|
|
32773
|
+
form: "single",
|
|
32774
|
+
optional: false
|
|
32775
|
+
}],
|
|
32776
|
+
"privacyMask.setMask": [{
|
|
32777
|
+
name: "deviceId",
|
|
32778
|
+
form: "single",
|
|
32779
|
+
optional: false
|
|
32780
|
+
}],
|
|
32781
|
+
"ptz.continuousMove": [{
|
|
32782
|
+
name: "deviceId",
|
|
32783
|
+
form: "single",
|
|
32784
|
+
optional: false
|
|
32785
|
+
}],
|
|
32786
|
+
"ptz.deletePreset": [{
|
|
32787
|
+
name: "deviceId",
|
|
32788
|
+
form: "single",
|
|
32789
|
+
optional: false
|
|
32790
|
+
}],
|
|
32791
|
+
"ptz.getOptions": [{
|
|
32792
|
+
name: "deviceId",
|
|
32793
|
+
form: "single",
|
|
32794
|
+
optional: false
|
|
32795
|
+
}],
|
|
32796
|
+
"ptz.getPosition": [{
|
|
32797
|
+
name: "deviceId",
|
|
32798
|
+
form: "single",
|
|
32799
|
+
optional: false
|
|
32800
|
+
}],
|
|
32801
|
+
"ptz.getPresets": [{
|
|
32802
|
+
name: "deviceId",
|
|
32803
|
+
form: "single",
|
|
32804
|
+
optional: false
|
|
32805
|
+
}],
|
|
32806
|
+
"ptz.goHome": [{
|
|
32807
|
+
name: "deviceId",
|
|
32808
|
+
form: "single",
|
|
32809
|
+
optional: false
|
|
32810
|
+
}],
|
|
32811
|
+
"ptz.goToPreset": [{
|
|
32812
|
+
name: "deviceId",
|
|
32813
|
+
form: "single",
|
|
32814
|
+
optional: false
|
|
32815
|
+
}],
|
|
32816
|
+
"ptz.move": [{
|
|
32817
|
+
name: "deviceId",
|
|
32818
|
+
form: "single",
|
|
32819
|
+
optional: false
|
|
32820
|
+
}],
|
|
32821
|
+
"ptz.savePreset": [{
|
|
32822
|
+
name: "deviceId",
|
|
32823
|
+
form: "single",
|
|
32824
|
+
optional: false
|
|
32825
|
+
}],
|
|
32826
|
+
"ptz.setAutofocus": [{
|
|
32827
|
+
name: "deviceId",
|
|
32828
|
+
form: "single",
|
|
32829
|
+
optional: false
|
|
32830
|
+
}],
|
|
32831
|
+
"ptz.stop": [{
|
|
32832
|
+
name: "deviceId",
|
|
32833
|
+
form: "single",
|
|
32834
|
+
optional: false
|
|
32835
|
+
}],
|
|
32836
|
+
"ptzAutotrack.getSettings": [{
|
|
32837
|
+
name: "deviceId",
|
|
32838
|
+
form: "single",
|
|
32839
|
+
optional: false
|
|
32840
|
+
}],
|
|
32841
|
+
"ptzAutotrack.getStatus": [{
|
|
32842
|
+
name: "deviceId",
|
|
32843
|
+
form: "single",
|
|
32844
|
+
optional: false
|
|
32845
|
+
}],
|
|
32846
|
+
"ptzAutotrack.setEnabled": [{
|
|
32847
|
+
name: "deviceId",
|
|
32848
|
+
form: "single",
|
|
32849
|
+
optional: false
|
|
32850
|
+
}],
|
|
32851
|
+
"ptzAutotrack.setSettings": [{
|
|
32852
|
+
name: "deviceId",
|
|
32853
|
+
form: "single",
|
|
32854
|
+
optional: false
|
|
32855
|
+
}],
|
|
32856
|
+
"reboot.reboot": [{
|
|
32857
|
+
name: "deviceId",
|
|
32858
|
+
form: "single",
|
|
32859
|
+
optional: false
|
|
32860
|
+
}],
|
|
32861
|
+
"recording.deleteFootprint": [{
|
|
32862
|
+
name: "deviceId",
|
|
32863
|
+
form: "single",
|
|
32864
|
+
optional: false
|
|
32865
|
+
}],
|
|
32866
|
+
"recording.getAvailability": [{
|
|
32867
|
+
name: "deviceId",
|
|
32868
|
+
form: "single",
|
|
32869
|
+
optional: false
|
|
32870
|
+
}],
|
|
32871
|
+
"recording.getDaysWithRecordings": [{
|
|
32872
|
+
name: "deviceId",
|
|
32873
|
+
form: "single",
|
|
32874
|
+
optional: false
|
|
32875
|
+
}],
|
|
32876
|
+
"recording.getDeviceConfig": [{
|
|
32877
|
+
name: "deviceId",
|
|
32878
|
+
form: "single",
|
|
32879
|
+
optional: false
|
|
32880
|
+
}],
|
|
32881
|
+
"recording.getPlaybackManifest": [{
|
|
32882
|
+
name: "deviceId",
|
|
32883
|
+
form: "single",
|
|
32884
|
+
optional: false
|
|
32885
|
+
}],
|
|
32886
|
+
"recording.listOpsLog": [{
|
|
32887
|
+
name: "deviceId",
|
|
32888
|
+
form: "single",
|
|
32889
|
+
optional: true
|
|
32890
|
+
}],
|
|
32891
|
+
"recording.locateSegment": [{
|
|
32892
|
+
name: "deviceId",
|
|
32893
|
+
form: "single",
|
|
32894
|
+
optional: false
|
|
32895
|
+
}],
|
|
32896
|
+
"recording.pruneFootage": [{
|
|
32897
|
+
name: "deviceId",
|
|
32898
|
+
form: "single",
|
|
32899
|
+
optional: false
|
|
32900
|
+
}],
|
|
32901
|
+
"recording.readGopBytes": [{
|
|
32902
|
+
name: "deviceId",
|
|
32903
|
+
form: "single",
|
|
32904
|
+
optional: false
|
|
32905
|
+
}],
|
|
32906
|
+
"recording.readSegmentBytes": [{
|
|
32907
|
+
name: "deviceId",
|
|
32908
|
+
form: "single",
|
|
32909
|
+
optional: false
|
|
32910
|
+
}],
|
|
32911
|
+
"recording.relocateFootage": [{
|
|
32912
|
+
name: "deviceId",
|
|
32913
|
+
form: "single",
|
|
32914
|
+
optional: true
|
|
32915
|
+
}],
|
|
32916
|
+
"recording.renderClip": [{
|
|
32917
|
+
name: "deviceId",
|
|
32918
|
+
form: "single",
|
|
32919
|
+
optional: false
|
|
32920
|
+
}],
|
|
32921
|
+
"recording.renderGif": [{
|
|
32922
|
+
name: "deviceId",
|
|
32923
|
+
form: "single",
|
|
32924
|
+
optional: false
|
|
32925
|
+
}],
|
|
32926
|
+
"recording.rescanStorage": [{
|
|
32927
|
+
name: "deviceId",
|
|
32928
|
+
form: "single",
|
|
32929
|
+
optional: false
|
|
32930
|
+
}],
|
|
32931
|
+
"recording.setDeviceConfig": [{
|
|
32932
|
+
name: "deviceId",
|
|
32933
|
+
form: "single",
|
|
32934
|
+
optional: false
|
|
32935
|
+
}],
|
|
32936
|
+
"recording.startStorageMigrationMove": [{
|
|
32937
|
+
name: "deviceId",
|
|
32938
|
+
form: "single",
|
|
32939
|
+
optional: true
|
|
32940
|
+
}],
|
|
32941
|
+
"recordingExport.createExport": [{
|
|
32942
|
+
name: "deviceId",
|
|
32943
|
+
form: "single",
|
|
32944
|
+
optional: false
|
|
32945
|
+
}],
|
|
32946
|
+
"recordingExport.listExports": [{
|
|
32947
|
+
name: "deviceId",
|
|
32948
|
+
form: "single",
|
|
32949
|
+
optional: true
|
|
32950
|
+
}],
|
|
32951
|
+
"sceneMonitor.captureReference": [{
|
|
32952
|
+
name: "deviceId",
|
|
32953
|
+
form: "single",
|
|
32954
|
+
optional: false
|
|
32955
|
+
}],
|
|
32956
|
+
"sceneMonitor.createScene": [{
|
|
32957
|
+
name: "deviceId",
|
|
32958
|
+
form: "single",
|
|
32959
|
+
optional: false
|
|
32960
|
+
}],
|
|
32961
|
+
"sceneMonitor.deleteReference": [{
|
|
32962
|
+
name: "deviceId",
|
|
32963
|
+
form: "single",
|
|
32964
|
+
optional: false
|
|
32965
|
+
}],
|
|
32966
|
+
"sceneMonitor.deleteScene": [{
|
|
32967
|
+
name: "deviceId",
|
|
32968
|
+
form: "single",
|
|
32969
|
+
optional: false
|
|
32970
|
+
}],
|
|
32971
|
+
"sceneMonitor.listScenes": [{
|
|
32972
|
+
name: "deviceId",
|
|
32973
|
+
form: "single",
|
|
32974
|
+
optional: false
|
|
32975
|
+
}],
|
|
32976
|
+
"sceneMonitor.recheckNow": [{
|
|
32977
|
+
name: "deviceId",
|
|
32978
|
+
form: "single",
|
|
32979
|
+
optional: false
|
|
32980
|
+
}],
|
|
32981
|
+
"sceneMonitor.resetScene": [{
|
|
32982
|
+
name: "deviceId",
|
|
32983
|
+
form: "single",
|
|
32984
|
+
optional: false
|
|
32985
|
+
}],
|
|
32986
|
+
"sceneMonitor.updateScene": [{
|
|
32987
|
+
name: "deviceId",
|
|
32988
|
+
form: "single",
|
|
32989
|
+
optional: false
|
|
32990
|
+
}],
|
|
32991
|
+
"scriptRunner.run": [{
|
|
32992
|
+
name: "deviceId",
|
|
32993
|
+
form: "single",
|
|
32994
|
+
optional: false
|
|
32995
|
+
}],
|
|
32996
|
+
"scriptRunner.stop": [{
|
|
32997
|
+
name: "deviceId",
|
|
32998
|
+
form: "single",
|
|
32999
|
+
optional: false
|
|
33000
|
+
}],
|
|
33001
|
+
"snapshot.getSnapshot": [{
|
|
33002
|
+
name: "deviceId",
|
|
33003
|
+
form: "single",
|
|
33004
|
+
optional: false
|
|
33005
|
+
}],
|
|
33006
|
+
"snapshot.getSnapshotLinks": [{
|
|
33007
|
+
name: "targets",
|
|
33008
|
+
form: "object-array",
|
|
33009
|
+
optional: false,
|
|
33010
|
+
itemField: "deviceId"
|
|
33011
|
+
}],
|
|
33012
|
+
"snapshot.getSnapshotOverview": [{
|
|
33013
|
+
name: "deviceIds",
|
|
33014
|
+
form: "array",
|
|
33015
|
+
optional: false
|
|
33016
|
+
}],
|
|
33017
|
+
"snapshot.invalidateCache": [{
|
|
33018
|
+
name: "deviceId",
|
|
33019
|
+
form: "single",
|
|
33020
|
+
optional: false
|
|
33021
|
+
}],
|
|
33022
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
33023
|
+
name: "deviceId",
|
|
33024
|
+
form: "single",
|
|
33025
|
+
optional: false
|
|
33026
|
+
}],
|
|
33027
|
+
"streamBroker.assignProfile": [{
|
|
33028
|
+
name: "deviceId",
|
|
33029
|
+
form: "single",
|
|
33030
|
+
optional: false
|
|
33031
|
+
}],
|
|
33032
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
33033
|
+
name: "deviceId",
|
|
33034
|
+
form: "single",
|
|
33035
|
+
optional: false
|
|
33036
|
+
}],
|
|
33037
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33038
|
+
name: "deviceId",
|
|
33039
|
+
form: "single",
|
|
33040
|
+
optional: false
|
|
33041
|
+
}],
|
|
33042
|
+
"streamBroker.produceEventMedia": [{
|
|
33043
|
+
name: "deviceId",
|
|
33044
|
+
form: "single",
|
|
33045
|
+
optional: false
|
|
33046
|
+
}],
|
|
33047
|
+
"streamBroker.publishCameraStream": [{
|
|
33048
|
+
name: "deviceId",
|
|
33049
|
+
form: "single",
|
|
33050
|
+
optional: false
|
|
33051
|
+
}],
|
|
33052
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33053
|
+
name: "deviceId",
|
|
33054
|
+
form: "single",
|
|
33055
|
+
optional: false
|
|
33056
|
+
}],
|
|
33057
|
+
"streamBroker.restartProfile": [{
|
|
33058
|
+
name: "deviceId",
|
|
33059
|
+
form: "single",
|
|
33060
|
+
optional: false
|
|
33061
|
+
}],
|
|
33062
|
+
"streamBroker.retractCameraStream": [{
|
|
33063
|
+
name: "deviceId",
|
|
33064
|
+
form: "single",
|
|
33065
|
+
optional: false
|
|
33066
|
+
}],
|
|
33067
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33068
|
+
name: "deviceId",
|
|
33069
|
+
form: "single",
|
|
33070
|
+
optional: false
|
|
33071
|
+
}],
|
|
33072
|
+
"streamBroker.unassignProfile": [{
|
|
33073
|
+
name: "deviceId",
|
|
33074
|
+
form: "single",
|
|
33075
|
+
optional: false
|
|
33076
|
+
}],
|
|
33077
|
+
"streamCatalog.getCatalog": [{
|
|
33078
|
+
name: "deviceId",
|
|
33079
|
+
form: "single",
|
|
33080
|
+
optional: false
|
|
33081
|
+
}],
|
|
33082
|
+
"streamParams.getConfigSchema": [{
|
|
33083
|
+
name: "deviceId",
|
|
33084
|
+
form: "single",
|
|
33085
|
+
optional: false
|
|
33086
|
+
}],
|
|
33087
|
+
"streamParams.getOptions": [{
|
|
33088
|
+
name: "deviceId",
|
|
33089
|
+
form: "single",
|
|
33090
|
+
optional: false
|
|
33091
|
+
}],
|
|
33092
|
+
"streamParams.setProfile": [{
|
|
33093
|
+
name: "deviceId",
|
|
33094
|
+
form: "single",
|
|
33095
|
+
optional: false
|
|
33096
|
+
}],
|
|
33097
|
+
"switch.setState": [{
|
|
33098
|
+
name: "deviceId",
|
|
33099
|
+
form: "single",
|
|
33100
|
+
optional: false
|
|
33101
|
+
}],
|
|
33102
|
+
"vacuumControl.locate": [{
|
|
33103
|
+
name: "deviceId",
|
|
33104
|
+
form: "single",
|
|
33105
|
+
optional: false
|
|
33106
|
+
}],
|
|
33107
|
+
"vacuumControl.pause": [{
|
|
33108
|
+
name: "deviceId",
|
|
33109
|
+
form: "single",
|
|
33110
|
+
optional: false
|
|
33111
|
+
}],
|
|
33112
|
+
"vacuumControl.returnToBase": [{
|
|
33113
|
+
name: "deviceId",
|
|
33114
|
+
form: "single",
|
|
33115
|
+
optional: false
|
|
33116
|
+
}],
|
|
33117
|
+
"vacuumControl.setFanSpeed": [{
|
|
33118
|
+
name: "deviceId",
|
|
33119
|
+
form: "single",
|
|
33120
|
+
optional: false
|
|
33121
|
+
}],
|
|
33122
|
+
"vacuumControl.start": [{
|
|
33123
|
+
name: "deviceId",
|
|
33124
|
+
form: "single",
|
|
33125
|
+
optional: false
|
|
33126
|
+
}],
|
|
33127
|
+
"vacuumControl.stop": [{
|
|
33128
|
+
name: "deviceId",
|
|
33129
|
+
form: "single",
|
|
33130
|
+
optional: false
|
|
33131
|
+
}],
|
|
33132
|
+
"valve.close": [{
|
|
33133
|
+
name: "deviceId",
|
|
33134
|
+
form: "single",
|
|
33135
|
+
optional: false
|
|
33136
|
+
}],
|
|
33137
|
+
"valve.open": [{
|
|
33138
|
+
name: "deviceId",
|
|
33139
|
+
form: "single",
|
|
33140
|
+
optional: false
|
|
33141
|
+
}],
|
|
33142
|
+
"valve.setPosition": [{
|
|
33143
|
+
name: "deviceId",
|
|
33144
|
+
form: "single",
|
|
33145
|
+
optional: false
|
|
33146
|
+
}],
|
|
33147
|
+
"valve.stop": [{
|
|
33148
|
+
name: "deviceId",
|
|
33149
|
+
form: "single",
|
|
33150
|
+
optional: false
|
|
33151
|
+
}],
|
|
33152
|
+
"videoclips.getClipPlayback": [{
|
|
33153
|
+
name: "deviceId",
|
|
33154
|
+
form: "single",
|
|
33155
|
+
optional: false
|
|
33156
|
+
}],
|
|
33157
|
+
"videoclips.listClips": [{
|
|
33158
|
+
name: "deviceId",
|
|
33159
|
+
form: "single",
|
|
33160
|
+
optional: false
|
|
33161
|
+
}],
|
|
33162
|
+
"waterHeater.setAway": [{
|
|
33163
|
+
name: "deviceId",
|
|
33164
|
+
form: "single",
|
|
33165
|
+
optional: false
|
|
33166
|
+
}],
|
|
33167
|
+
"waterHeater.setOperationMode": [{
|
|
33168
|
+
name: "deviceId",
|
|
33169
|
+
form: "single",
|
|
33170
|
+
optional: false
|
|
33171
|
+
}],
|
|
33172
|
+
"waterHeater.setTargetTemp": [{
|
|
33173
|
+
name: "deviceId",
|
|
33174
|
+
form: "single",
|
|
33175
|
+
optional: false
|
|
33176
|
+
}],
|
|
33177
|
+
"webrtcSession.addIceCandidate": [{
|
|
33178
|
+
name: "deviceId",
|
|
33179
|
+
form: "single",
|
|
33180
|
+
optional: false
|
|
33181
|
+
}],
|
|
33182
|
+
"webrtcSession.closeSession": [{
|
|
33183
|
+
name: "deviceId",
|
|
33184
|
+
form: "single",
|
|
33185
|
+
optional: false
|
|
33186
|
+
}],
|
|
33187
|
+
"webrtcSession.createSession": [{
|
|
33188
|
+
name: "deviceId",
|
|
33189
|
+
form: "single",
|
|
33190
|
+
optional: false
|
|
33191
|
+
}],
|
|
33192
|
+
"webrtcSession.getIceCandidates": [{
|
|
33193
|
+
name: "deviceId",
|
|
33194
|
+
form: "single",
|
|
33195
|
+
optional: false
|
|
33196
|
+
}],
|
|
33197
|
+
"webrtcSession.getSessionState": [{
|
|
33198
|
+
name: "deviceId",
|
|
33199
|
+
form: "single",
|
|
33200
|
+
optional: false
|
|
33201
|
+
}],
|
|
33202
|
+
"webrtcSession.handleAnswer": [{
|
|
33203
|
+
name: "deviceId",
|
|
33204
|
+
form: "single",
|
|
33205
|
+
optional: false
|
|
33206
|
+
}],
|
|
33207
|
+
"webrtcSession.handleOffer": [{
|
|
33208
|
+
name: "deviceId",
|
|
33209
|
+
form: "single",
|
|
33210
|
+
optional: false
|
|
33211
|
+
}],
|
|
33212
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33213
|
+
name: "deviceId",
|
|
33214
|
+
form: "single",
|
|
33215
|
+
optional: false
|
|
33216
|
+
}],
|
|
33217
|
+
"webrtcSession.listStreams": [{
|
|
33218
|
+
name: "deviceId",
|
|
33219
|
+
form: "single",
|
|
33220
|
+
optional: false
|
|
33221
|
+
}],
|
|
33222
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33223
|
+
name: "deviceId",
|
|
33224
|
+
form: "single",
|
|
33225
|
+
optional: false
|
|
33226
|
+
}],
|
|
33227
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33228
|
+
name: "deviceId",
|
|
33229
|
+
form: "single",
|
|
33230
|
+
optional: false
|
|
33231
|
+
}],
|
|
33232
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33233
|
+
name: "deviceId",
|
|
33234
|
+
form: "single",
|
|
33235
|
+
optional: false
|
|
33236
|
+
}],
|
|
33237
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33238
|
+
name: "deviceId",
|
|
33239
|
+
form: "single",
|
|
33240
|
+
optional: false
|
|
33241
|
+
}],
|
|
33242
|
+
"zoneRules.listRules": [{
|
|
33243
|
+
name: "deviceId",
|
|
33244
|
+
form: "single",
|
|
33245
|
+
optional: false
|
|
33246
|
+
}],
|
|
33247
|
+
"zoneRules.setRules": [{
|
|
33248
|
+
name: "deviceId",
|
|
33249
|
+
form: "single",
|
|
33250
|
+
optional: false
|
|
33251
|
+
}],
|
|
33252
|
+
"zones.addZone": [{
|
|
33253
|
+
name: "deviceId",
|
|
33254
|
+
form: "single",
|
|
33255
|
+
optional: false
|
|
33256
|
+
}],
|
|
33257
|
+
"zones.listZones": [{
|
|
33258
|
+
name: "deviceId",
|
|
33259
|
+
form: "single",
|
|
33260
|
+
optional: false
|
|
33261
|
+
}],
|
|
33262
|
+
"zones.removeZone": [{
|
|
33263
|
+
name: "deviceId",
|
|
33264
|
+
form: "single",
|
|
33265
|
+
optional: false
|
|
33266
|
+
}],
|
|
33267
|
+
"zones.updateZone": [{
|
|
33268
|
+
name: "deviceId",
|
|
33269
|
+
form: "single",
|
|
33270
|
+
optional: false
|
|
33271
|
+
}]
|
|
33272
|
+
});
|
|
30635
33273
|
Object.freeze({
|
|
30636
33274
|
"broker": "broker",
|
|
30637
33275
|
"device-export": "device-export",
|