@camstack/addon-mqtt-broker 1.2.17 → 1.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mqtt-broker.addon.js +2689 -84
- package/dist/mqtt-broker.addon.mjs +2689 -84
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ let crypto$10 = __toESM(crypto$1, 1);
|
|
|
44
44
|
crypto$1 = __toESM(crypto$1);
|
|
45
45
|
let node_fs = require("node:fs");
|
|
46
46
|
let node_path = require("node:path");
|
|
47
|
-
//#region ../types/dist/event-category-
|
|
47
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
48
48
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
49
49
|
EventCategory["SystemBoot"] = "system.boot";
|
|
50
50
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -251,6 +251,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
251
251
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
252
252
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
253
253
|
/**
|
|
254
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
255
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
256
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
257
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
258
|
+
* from the placement candidate set for as long as it holds.
|
|
259
|
+
*
|
|
260
|
+
* This exists because the state was previously invisible: little-unraid
|
|
261
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
262
|
+
* and nothing in the system said so.
|
|
263
|
+
*
|
|
264
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
265
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
266
|
+
* serves it exactly as before.
|
|
267
|
+
*/
|
|
268
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
269
|
+
/**
|
|
270
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
271
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
272
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
273
|
+
* per camera.
|
|
274
|
+
*
|
|
275
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
276
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
277
|
+
* camera" produce byte-identical silence.
|
|
278
|
+
*/
|
|
279
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
280
|
+
/**
|
|
254
281
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
255
282
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
256
283
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3042,6 +3069,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3042
3069
|
fallback: left.fallback
|
|
3043
3070
|
}, ctx);
|
|
3044
3071
|
}
|
|
3072
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3073
|
+
$ZodPipe.init(inst, def);
|
|
3074
|
+
});
|
|
3045
3075
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3046
3076
|
$ZodType.init(inst, def);
|
|
3047
3077
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5227,6 +5257,10 @@ function pipe(in_, out) {
|
|
|
5227
5257
|
out
|
|
5228
5258
|
});
|
|
5229
5259
|
}
|
|
5260
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5261
|
+
ZodPipe.init(inst, def);
|
|
5262
|
+
$ZodPreprocess.init(inst, def);
|
|
5263
|
+
});
|
|
5230
5264
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5231
5265
|
$ZodReadonly.init(inst, def);
|
|
5232
5266
|
ZodType.init(inst, def);
|
|
@@ -5285,6 +5319,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5285
5319
|
};
|
|
5286
5320
|
return inst;
|
|
5287
5321
|
}
|
|
5322
|
+
function preprocess(fn, schema) {
|
|
5323
|
+
return new ZodPreprocess({
|
|
5324
|
+
type: "pipe",
|
|
5325
|
+
in: transform(fn),
|
|
5326
|
+
out: schema
|
|
5327
|
+
});
|
|
5328
|
+
}
|
|
5288
5329
|
//#endregion
|
|
5289
5330
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5290
5331
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10852,6 +10893,8 @@ var QueryFilterSchema = object({
|
|
|
10852
10893
|
where: record(string(), unknown()).optional(),
|
|
10853
10894
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10854
10895
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10896
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10897
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10855
10898
|
orderBy: object({
|
|
10856
10899
|
field: string(),
|
|
10857
10900
|
direction: _enum(["asc", "desc"])
|
|
@@ -10871,7 +10914,8 @@ var QueryFilterSchema = object({
|
|
|
10871
10914
|
var MutationFilterSchema = object({
|
|
10872
10915
|
where: record(string(), unknown()).optional(),
|
|
10873
10916
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10874
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10917
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10918
|
+
whereNot: record(string(), unknown()).optional()
|
|
10875
10919
|
});
|
|
10876
10920
|
/** A single stored record: `{ id, data }`. */
|
|
10877
10921
|
var SettingsRecordSchema = object({
|
|
@@ -12228,6 +12272,17 @@ var LlmImageSchema = object({
|
|
|
12228
12272
|
bytes: _instanceof(Uint8Array),
|
|
12229
12273
|
mimeType: string()
|
|
12230
12274
|
});
|
|
12275
|
+
/**
|
|
12276
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12277
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12278
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12279
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12280
|
+
*/
|
|
12281
|
+
var LlmRetryPolicySchema = object({
|
|
12282
|
+
enabled: boolean().default(false),
|
|
12283
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12284
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12285
|
+
});
|
|
12231
12286
|
var LlmGenerateBaseInputSchema = object({
|
|
12232
12287
|
/** Collection routing (the notification-output posture). */
|
|
12233
12288
|
addonId: string().optional(),
|
|
@@ -12242,7 +12297,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12242
12297
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12243
12298
|
/** Per-call override of the profile default. */
|
|
12244
12299
|
maxTokens: number().int().positive().optional(),
|
|
12245
|
-
temperature: number().optional()
|
|
12300
|
+
temperature: number().optional(),
|
|
12301
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12302
|
+
topP: number().min(0).max(1).optional(),
|
|
12303
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12304
|
+
topK: number().int().positive().optional(),
|
|
12305
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12306
|
+
timeoutMs: number().int().positive().optional(),
|
|
12307
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12308
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12309
|
+
/**
|
|
12310
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12311
|
+
*
|
|
12312
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12313
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12314
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12315
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12316
|
+
* not generations, and the real load is unbounded.
|
|
12317
|
+
*
|
|
12318
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12319
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12320
|
+
*/
|
|
12321
|
+
requestId: string().optional()
|
|
12246
12322
|
});
|
|
12247
12323
|
/**
|
|
12248
12324
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12255,6 +12331,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12255
12331
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12256
12332
|
* watchdog — operator decision #3).
|
|
12257
12333
|
*/
|
|
12334
|
+
/**
|
|
12335
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12336
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12337
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12338
|
+
* the preview is exactly what the node downloads.
|
|
12339
|
+
*/
|
|
12340
|
+
var ManagedModelExtraFileSchema = object({
|
|
12341
|
+
url: string(),
|
|
12342
|
+
filename: string(),
|
|
12343
|
+
sizeBytes: number(),
|
|
12344
|
+
sha256: string().optional()
|
|
12345
|
+
});
|
|
12258
12346
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12259
12347
|
object({
|
|
12260
12348
|
kind: literal("catalog"),
|
|
@@ -12263,7 +12351,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12263
12351
|
object({
|
|
12264
12352
|
kind: literal("url"),
|
|
12265
12353
|
url: string(),
|
|
12266
|
-
sha256: string().optional()
|
|
12354
|
+
sha256: string().optional(),
|
|
12355
|
+
/** Picker/status label; the file basename when absent. */
|
|
12356
|
+
label: string().optional(),
|
|
12357
|
+
sizeBytes: number().optional(),
|
|
12358
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12267
12359
|
}),
|
|
12268
12360
|
object({
|
|
12269
12361
|
kind: literal("path"),
|
|
@@ -12281,13 +12373,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12281
12373
|
gpuLayers: number().int().default(0),
|
|
12282
12374
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12283
12375
|
threads: number().int().optional(),
|
|
12284
|
-
/** Concurrent slots. */
|
|
12376
|
+
/** Concurrent slots (`--parallel`). */
|
|
12285
12377
|
parallel: number().int().default(1),
|
|
12378
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12379
|
+
batchSize: number().int().positive().optional(),
|
|
12380
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12381
|
+
ubatchSize: number().int().positive().optional(),
|
|
12382
|
+
/**
|
|
12383
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12384
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12385
|
+
*/
|
|
12386
|
+
flashAttention: boolean().default(false),
|
|
12387
|
+
/**
|
|
12388
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12389
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12390
|
+
* what the RAM budget is counting.
|
|
12391
|
+
*/
|
|
12392
|
+
mlock: boolean().default(false),
|
|
12393
|
+
/**
|
|
12394
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12395
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12396
|
+
* store produces on every first token.
|
|
12397
|
+
*/
|
|
12398
|
+
noMmap: boolean().default(false),
|
|
12399
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12400
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12401
|
+
cacheTypeK: _enum([
|
|
12402
|
+
"f32",
|
|
12403
|
+
"f16",
|
|
12404
|
+
"q8_0",
|
|
12405
|
+
"q5_1",
|
|
12406
|
+
"q5_0",
|
|
12407
|
+
"q4_1",
|
|
12408
|
+
"q4_0"
|
|
12409
|
+
]).optional(),
|
|
12410
|
+
cacheTypeV: _enum([
|
|
12411
|
+
"f32",
|
|
12412
|
+
"f16",
|
|
12413
|
+
"q8_0",
|
|
12414
|
+
"q5_1",
|
|
12415
|
+
"q5_0",
|
|
12416
|
+
"q4_1",
|
|
12417
|
+
"q4_0"
|
|
12418
|
+
]).optional(),
|
|
12419
|
+
/**
|
|
12420
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12421
|
+
* (which most vision chat templates need and some language-only models
|
|
12422
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12423
|
+
*
|
|
12424
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12425
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12426
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12427
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12428
|
+
* twice (D62).
|
|
12429
|
+
*/
|
|
12430
|
+
extraArgs: array(string()).default([]),
|
|
12286
12431
|
/** Else lazy: first generate boots it. */
|
|
12287
12432
|
autoStart: boolean().default(false),
|
|
12288
12433
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12289
12434
|
idleStopMinutes: number().int().default(30)
|
|
12290
12435
|
});
|
|
12436
|
+
/**
|
|
12437
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12438
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12439
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12440
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12441
|
+
*/
|
|
12442
|
+
var LlmDownloadProgressSchema = object({
|
|
12443
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12444
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12445
|
+
file: string(),
|
|
12446
|
+
fileIndex: number().int(),
|
|
12447
|
+
fileCount: number().int(),
|
|
12448
|
+
/** Across the WHOLE install, not the current file. */
|
|
12449
|
+
downloadedBytes: number(),
|
|
12450
|
+
totalBytes: number().optional()
|
|
12451
|
+
});
|
|
12291
12452
|
var LlmRuntimeStatusSchema = object({
|
|
12292
12453
|
/** Status is ALWAYS node-qualified. */
|
|
12293
12454
|
nodeId: string(),
|
|
@@ -12304,6 +12465,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12304
12465
|
modelPath: string().optional(),
|
|
12305
12466
|
modelId: string().optional(),
|
|
12306
12467
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12468
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12469
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12307
12470
|
lastError: string().optional(),
|
|
12308
12471
|
crashesInWindow: number(),
|
|
12309
12472
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12314,7 +12477,14 @@ var LlmNodeModelSchema = object({
|
|
|
12314
12477
|
file: string(),
|
|
12315
12478
|
sizeBytes: number(),
|
|
12316
12479
|
catalogId: string().optional(),
|
|
12317
|
-
installedAt: number().optional()
|
|
12480
|
+
installedAt: number().optional(),
|
|
12481
|
+
/**
|
|
12482
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12483
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12484
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12485
|
+
* it the picker could list such a file and do nothing with it.
|
|
12486
|
+
*/
|
|
12487
|
+
path: string().optional()
|
|
12318
12488
|
});
|
|
12319
12489
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12320
12490
|
nodeId: string(),
|
|
@@ -12370,10 +12540,47 @@ var LlmProfileSchema = object({
|
|
|
12370
12540
|
baseUrl: string().optional(),
|
|
12371
12541
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12372
12542
|
apiKey: string().optional(),
|
|
12543
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12544
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12545
|
+
* question about a picture nobody sent. */
|
|
12373
12546
|
supportsVision: boolean(),
|
|
12374
12547
|
temperature: number().min(0).max(2).optional(),
|
|
12548
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12549
|
+
topP: number().min(0).max(1).optional(),
|
|
12550
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12551
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12552
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12553
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12554
|
+
topK: number().int().positive().optional(),
|
|
12375
12555
|
maxTokens: number().int().positive().optional(),
|
|
12556
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12557
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12558
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12559
|
+
contextLength: number().int().positive().optional(),
|
|
12560
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12561
|
+
* two system prompts fighting is worse than either alone). */
|
|
12562
|
+
systemPrompt: string().optional(),
|
|
12563
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12376
12564
|
timeoutMs: number().int().positive().default(6e4),
|
|
12565
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12566
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12567
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12568
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12569
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12570
|
+
* GPU load is exactly what happens before them. */
|
|
12571
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12572
|
+
/** Output started then stopped. */
|
|
12573
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12574
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12575
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12576
|
+
retry: LlmRetryPolicySchema.default({
|
|
12577
|
+
enabled: false,
|
|
12578
|
+
maxAttempts: 1
|
|
12579
|
+
}),
|
|
12580
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12581
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12582
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12583
|
+
toolsEnabled: boolean().default(false),
|
|
12377
12584
|
extraHeaders: record(string(), string()).optional(),
|
|
12378
12585
|
/** kind === 'managed-local' only (spec §4). */
|
|
12379
12586
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12423,6 +12630,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12423
12630
|
/** Vision models: companion projector file. */
|
|
12424
12631
|
mmprojUrl: string().optional()
|
|
12425
12632
|
});
|
|
12633
|
+
/**
|
|
12634
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12635
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12636
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12637
|
+
* exception.
|
|
12638
|
+
*
|
|
12639
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12640
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12641
|
+
*/
|
|
12642
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12643
|
+
ok: literal(true),
|
|
12644
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12645
|
+
model: ManagedModelRefSchema,
|
|
12646
|
+
label: string(),
|
|
12647
|
+
repo: string(),
|
|
12648
|
+
quantization: string(),
|
|
12649
|
+
purpose: _enum(["text", "vision"]),
|
|
12650
|
+
totalBytes: number(),
|
|
12651
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12652
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12653
|
+
extraFilenames: array(string())
|
|
12654
|
+
}), object({
|
|
12655
|
+
ok: literal(false),
|
|
12656
|
+
code: string(),
|
|
12657
|
+
message: string(),
|
|
12658
|
+
candidates: array(string()).optional(),
|
|
12659
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12660
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12661
|
+
requiredBytes: number().optional()
|
|
12662
|
+
})]);
|
|
12426
12663
|
var LlmRuntimeNodeSchema = object({
|
|
12427
12664
|
nodeId: string(),
|
|
12428
12665
|
reachable: boolean(),
|
|
@@ -12435,7 +12672,10 @@ var ProfileRefInputSchema = object({
|
|
|
12435
12672
|
addonId: string(),
|
|
12436
12673
|
profileId: string()
|
|
12437
12674
|
});
|
|
12438
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12675
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12676
|
+
addonId: string().optional(),
|
|
12677
|
+
requestId: string()
|
|
12678
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12439
12679
|
kind: "mutation",
|
|
12440
12680
|
auth: "admin"
|
|
12441
12681
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12456,6 +12696,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12456
12696
|
consumer: string().optional(),
|
|
12457
12697
|
profileId: string().optional()
|
|
12458
12698
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12699
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12700
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12701
|
+
ref: string(),
|
|
12702
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12703
|
+
maxBytes: number().positive().optional()
|
|
12704
|
+
}), HfModelResolutionSchema, {
|
|
12705
|
+
kind: "mutation",
|
|
12706
|
+
auth: "admin"
|
|
12707
|
+
}), method(object({
|
|
12459
12708
|
nodeId: string(),
|
|
12460
12709
|
model: ManagedModelRefSchema
|
|
12461
12710
|
}), _void(), {
|
|
@@ -14084,6 +14333,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14084
14333
|
"stream-offline",
|
|
14085
14334
|
"node-online",
|
|
14086
14335
|
"node-offline",
|
|
14336
|
+
"node-inference-unavailable",
|
|
14337
|
+
"detection-blind",
|
|
14087
14338
|
"addon-update-available",
|
|
14088
14339
|
"server-update-available",
|
|
14089
14340
|
"alarm-triggered",
|
|
@@ -14145,7 +14396,16 @@ var NcScheduleSchema = object({
|
|
|
14145
14396
|
});
|
|
14146
14397
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14147
14398
|
var NcPlateMatcherSchema = object({
|
|
14148
|
-
|
|
14399
|
+
/**
|
|
14400
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14401
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14402
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14403
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14404
|
+
*
|
|
14405
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14406
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14407
|
+
*/
|
|
14408
|
+
values: array(string().min(1)),
|
|
14149
14409
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14150
14410
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14151
14411
|
});
|
|
@@ -14179,28 +14439,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14179
14439
|
/**
|
|
14180
14440
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14181
14441
|
*
|
|
14182
|
-
*
|
|
14183
|
-
*
|
|
14184
|
-
*
|
|
14185
|
-
*
|
|
14186
|
-
*
|
|
14187
|
-
*
|
|
14188
|
-
*
|
|
14189
|
-
*
|
|
14190
|
-
*
|
|
14191
|
-
*
|
|
14192
|
-
*
|
|
14193
|
-
*
|
|
14194
|
-
*
|
|
14195
|
-
*
|
|
14196
|
-
*
|
|
14197
|
-
*
|
|
14198
|
-
*
|
|
14199
|
-
*
|
|
14200
|
-
*
|
|
14201
|
-
*
|
|
14202
|
-
*
|
|
14203
|
-
* `
|
|
14442
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14443
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14444
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14445
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14446
|
+
*
|
|
14447
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14448
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14449
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14450
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14451
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14452
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14453
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14454
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14455
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14456
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14457
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14458
|
+
* seconds is 100% of nothing.
|
|
14459
|
+
*
|
|
14460
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14461
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14462
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14463
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14464
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14465
|
+
* the wrong question to ask of a sparse classifier.
|
|
14466
|
+
*
|
|
14467
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14468
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14469
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14470
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14471
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14204
14472
|
*
|
|
14205
14473
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14206
14474
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14208,13 +14476,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14208
14476
|
* an operator who typed `dog` mean the same thing.
|
|
14209
14477
|
*/
|
|
14210
14478
|
var NcAudioConditionSchema = object({
|
|
14211
|
-
/**
|
|
14479
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14212
14480
|
labels: array(string().min(1)).min(1).optional(),
|
|
14213
|
-
/**
|
|
14481
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14214
14482
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14215
|
-
/**
|
|
14483
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14216
14484
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14217
|
-
/**
|
|
14485
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14218
14486
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14219
14487
|
});
|
|
14220
14488
|
/**
|
|
@@ -14352,13 +14620,81 @@ var NcRuleActionsSchema = object({
|
|
|
14352
14620
|
*/
|
|
14353
14621
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14354
14622
|
});
|
|
14623
|
+
/**
|
|
14624
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14625
|
+
*
|
|
14626
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14627
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14628
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14629
|
+
*
|
|
14630
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14631
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14632
|
+
*/
|
|
14633
|
+
var NcDeviceStateConditionSchema = object({
|
|
14634
|
+
deviceId: number().int(),
|
|
14635
|
+
/** Any of these matches. */
|
|
14636
|
+
states: array(string().min(1)).min(1)
|
|
14637
|
+
});
|
|
14638
|
+
/**
|
|
14639
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14640
|
+
*
|
|
14641
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14642
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14643
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14644
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14645
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14646
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14647
|
+
* kind exist for it — see D159.
|
|
14648
|
+
*
|
|
14649
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14650
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14651
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14652
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14653
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14654
|
+
*
|
|
14655
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14656
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14657
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14658
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14659
|
+
* override one rule against the scene's own default.
|
|
14660
|
+
*
|
|
14661
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14662
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14663
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14664
|
+
* evidence, in either direction.
|
|
14665
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14666
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14667
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14668
|
+
* reason the operator asked for a latch.
|
|
14669
|
+
*
|
|
14670
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14671
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14672
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14673
|
+
* said out loud in the log rather than dropped in silence.
|
|
14674
|
+
*/
|
|
14675
|
+
var NcSceneConditionSchema = object({
|
|
14676
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14677
|
+
sceneId: string().min(1),
|
|
14678
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14679
|
+
deviceId: number().int().optional(),
|
|
14680
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14681
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14682
|
+
/**
|
|
14683
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14684
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14685
|
+
*/
|
|
14686
|
+
latched: boolean().optional()
|
|
14687
|
+
});
|
|
14355
14688
|
var NcConditionsSchema = object({
|
|
14356
14689
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14357
|
-
deviceState:
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14690
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14691
|
+
/**
|
|
14692
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14693
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14694
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14695
|
+
* {@link NcSceneCondition} and D159.
|
|
14696
|
+
*/
|
|
14697
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14362
14698
|
/** Device scope — absent = all devices. */
|
|
14363
14699
|
devices: array(number()).optional(),
|
|
14364
14700
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14384,18 +14720,47 @@ var NcConditionsSchema = object({
|
|
|
14384
14720
|
*/
|
|
14385
14721
|
labelEquals: array(string().min(1)).optional(),
|
|
14386
14722
|
/**
|
|
14387
|
-
*
|
|
14388
|
-
*
|
|
14389
|
-
*
|
|
14723
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14724
|
+
* is about recognised people at all.
|
|
14725
|
+
*
|
|
14726
|
+
* Three states, and the empty one is the point:
|
|
14727
|
+
*
|
|
14728
|
+
* | value | meaning |
|
|
14729
|
+
* | --- | --- |
|
|
14730
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14731
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14732
|
+
* | a list | only these identities |
|
|
14733
|
+
*
|
|
14734
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14735
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14736
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14737
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14738
|
+
* with the list under it is worse than no switch (D62).
|
|
14739
|
+
*
|
|
14740
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14741
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14742
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14743
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14744
|
+
* `{{label}}` renders.
|
|
14745
|
+
*
|
|
14746
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14747
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14748
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14749
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14750
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14390
14751
|
*/
|
|
14391
14752
|
identities: array(string().min(1)).optional(),
|
|
14392
|
-
/**
|
|
14753
|
+
/**
|
|
14754
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14755
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14756
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14757
|
+
*/
|
|
14393
14758
|
plates: NcPlateMatcherSchema.optional(),
|
|
14394
14759
|
/**
|
|
14395
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14396
|
-
*
|
|
14397
|
-
* identity
|
|
14398
|
-
*
|
|
14760
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14761
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14762
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14763
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14399
14764
|
*/
|
|
14400
14765
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14401
14766
|
/**
|
|
@@ -14787,7 +15152,80 @@ var NcRuleInputSchema = object({
|
|
|
14787
15152
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14788
15153
|
* did, and absent is the only way to say that without a migration.
|
|
14789
15154
|
*/
|
|
14790
|
-
confirm: NcConfirmSchema.optional()
|
|
15155
|
+
confirm: NcConfirmSchema.optional(),
|
|
15156
|
+
/**
|
|
15157
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15158
|
+
*
|
|
15159
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15160
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15161
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15162
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15163
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15164
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15165
|
+
*
|
|
15166
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15167
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15168
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15169
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15170
|
+
*
|
|
15171
|
+
* | value | what happens |
|
|
15172
|
+
* | --- | --- |
|
|
15173
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15174
|
+
* | 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) |
|
|
15175
|
+
*
|
|
15176
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15177
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15178
|
+
* rule authored before this field meant.
|
|
15179
|
+
*
|
|
15180
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15181
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15182
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15183
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15184
|
+
*/
|
|
15185
|
+
waitForEnhancement: boolean().optional(),
|
|
15186
|
+
/**
|
|
15187
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15188
|
+
*
|
|
15189
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15190
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15191
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15192
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15193
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15194
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15195
|
+
*
|
|
15196
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15197
|
+
*
|
|
15198
|
+
* ### Why an idle cutoff and not a window
|
|
15199
|
+
*
|
|
15200
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15201
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15202
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15203
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15204
|
+
*
|
|
15205
|
+
* ### What it replaces
|
|
15206
|
+
*
|
|
15207
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15208
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15209
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15210
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15211
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15212
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15213
|
+
* throttled by the window its own first member spent.
|
|
15214
|
+
*
|
|
15215
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15216
|
+
*
|
|
15217
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15218
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15219
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15220
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15221
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15222
|
+
* path. Neither combination fires twice for one subject.
|
|
15223
|
+
*
|
|
15224
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15225
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15226
|
+
* field existed.
|
|
15227
|
+
*/
|
|
15228
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14791
15229
|
});
|
|
14792
15230
|
/**
|
|
14793
15231
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14894,6 +15332,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14894
15332
|
"occupancy",
|
|
14895
15333
|
"audio",
|
|
14896
15334
|
"deviceState",
|
|
15335
|
+
"scene",
|
|
14897
15336
|
"systemEvent"
|
|
14898
15337
|
]),
|
|
14899
15338
|
operator: _enum([
|
|
@@ -15299,7 +15738,87 @@ var MethodAccessSchema = _enum([
|
|
|
15299
15738
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15300
15739
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15301
15740
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15302
|
-
|
|
15741
|
+
/**
|
|
15742
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15743
|
+
*
|
|
15744
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15745
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15746
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15747
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15748
|
+
*
|
|
15749
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15750
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15751
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15752
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15753
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15754
|
+
* is NOT covered until the grant is edited.
|
|
15755
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15756
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15757
|
+
* re-resolves on the next request.
|
|
15758
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15759
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15760
|
+
* null/unset location matches NO `locations` selector.
|
|
15761
|
+
*/
|
|
15762
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15763
|
+
object({ kind: literal("all") }),
|
|
15764
|
+
object({
|
|
15765
|
+
kind: literal("ids"),
|
|
15766
|
+
ids: array(number().int()).min(1)
|
|
15767
|
+
}),
|
|
15768
|
+
object({
|
|
15769
|
+
kind: literal("types"),
|
|
15770
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15771
|
+
}),
|
|
15772
|
+
object({
|
|
15773
|
+
kind: literal("locations"),
|
|
15774
|
+
locations: array(string().min(1)).min(1)
|
|
15775
|
+
})
|
|
15776
|
+
]);
|
|
15777
|
+
var DeviceTokenScopeSchema = object({
|
|
15778
|
+
type: literal("device"),
|
|
15779
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15780
|
+
selector: DeviceSelectorSchema,
|
|
15781
|
+
access: array(MethodAccessSchema).min(1),
|
|
15782
|
+
/**
|
|
15783
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15784
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15785
|
+
* Direction is parent → children ONLY.
|
|
15786
|
+
*
|
|
15787
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15788
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15789
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15790
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15791
|
+
* explicitly to override that default per grant.
|
|
15792
|
+
*/
|
|
15793
|
+
includeLinked: boolean().optional()
|
|
15794
|
+
});
|
|
15795
|
+
/**
|
|
15796
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15797
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15798
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15799
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15800
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15801
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15802
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15803
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15804
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15805
|
+
*/
|
|
15806
|
+
function migrateLegacyTokenScope(raw) {
|
|
15807
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15808
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15809
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15810
|
+
const targets = Reflect.get(raw, "targets");
|
|
15811
|
+
if (!Array.isArray(targets)) return raw;
|
|
15812
|
+
return {
|
|
15813
|
+
type: "device",
|
|
15814
|
+
selector: {
|
|
15815
|
+
kind: "ids",
|
|
15816
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15817
|
+
},
|
|
15818
|
+
access: Reflect.get(raw, "access")
|
|
15819
|
+
};
|
|
15820
|
+
}
|
|
15821
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15303
15822
|
object({
|
|
15304
15823
|
type: literal("category"),
|
|
15305
15824
|
target: CapScopeSchema,
|
|
@@ -15315,18 +15834,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15315
15834
|
target: string(),
|
|
15316
15835
|
access: array(MethodAccessSchema).min(1)
|
|
15317
15836
|
}),
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
/**
|
|
15321
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15322
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15323
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15324
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15325
|
-
*/
|
|
15326
|
-
targets: array(string()).min(1),
|
|
15327
|
-
access: array(MethodAccessSchema).min(1)
|
|
15328
|
-
})
|
|
15329
|
-
]);
|
|
15837
|
+
DeviceTokenScopeSchema
|
|
15838
|
+
]));
|
|
15330
15839
|
object({
|
|
15331
15840
|
id: string(),
|
|
15332
15841
|
username: string(),
|
|
@@ -15643,7 +16152,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15643
16152
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15644
16153
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15645
16154
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15646
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16155
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15647
16156
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15648
16157
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15649
16158
|
* (`getObjectEvents` et al.).
|
|
@@ -15779,7 +16288,21 @@ union([literal(1), literal(2)]);
|
|
|
15779
16288
|
var LabelAttributionSchema = object({
|
|
15780
16289
|
stepId: string(),
|
|
15781
16290
|
modelId: string().optional(),
|
|
15782
|
-
decidedAt: number()
|
|
16291
|
+
decidedAt: number(),
|
|
16292
|
+
/**
|
|
16293
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16294
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16295
|
+
*
|
|
16296
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16297
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16298
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16299
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16300
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16301
|
+
*
|
|
16302
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16303
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16304
|
+
*/
|
|
16305
|
+
identityId: string().optional()
|
|
15783
16306
|
});
|
|
15784
16307
|
/**
|
|
15785
16308
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15916,6 +16439,28 @@ var TrackSchema = object({
|
|
|
15916
16439
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15917
16440
|
*/
|
|
15918
16441
|
hasFace: boolean().optional(),
|
|
16442
|
+
/**
|
|
16443
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16444
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16445
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16446
|
+
*
|
|
16447
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16448
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16449
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16450
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16451
|
+
* stop. This is the composition note that makes the row true.
|
|
16452
|
+
*
|
|
16453
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16454
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16455
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16456
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16457
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16458
|
+
*
|
|
16459
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16460
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16461
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16462
|
+
*/
|
|
16463
|
+
hasRider: boolean().optional(),
|
|
15919
16464
|
...TrackFlagFields,
|
|
15920
16465
|
...TrackRetrainFields
|
|
15921
16466
|
});
|
|
@@ -16265,7 +16810,10 @@ var RecentTracksQueryInput = object({
|
|
|
16265
16810
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16266
16811
|
cursor: string().optional(),
|
|
16267
16812
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16268
|
-
projection: TrackProjectionSchema.optional()
|
|
16813
|
+
projection: TrackProjectionSchema.optional(),
|
|
16814
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16815
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16816
|
+
includeStationary: boolean().optional()
|
|
16269
16817
|
});
|
|
16270
16818
|
var RecentTracksPageSchema = object({
|
|
16271
16819
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16483,7 +17031,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16483
17031
|
zone: TrackZoneFilterSchema.optional(),
|
|
16484
17032
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16485
17033
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16486
|
-
projection: TrackProjectionSchema.optional()
|
|
17034
|
+
projection: TrackProjectionSchema.optional(),
|
|
17035
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17036
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17037
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17038
|
+
includeStationary: boolean().optional()
|
|
16487
17039
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16488
17040
|
kind: "mutation",
|
|
16489
17041
|
auth: "admin"
|
|
@@ -16647,11 +17199,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16647
17199
|
auth: "admin"
|
|
16648
17200
|
}), method(object({
|
|
16649
17201
|
eventId: string(),
|
|
16650
|
-
kind: MediaFileKindEnum.optional()
|
|
17202
|
+
kind: MediaFileKindEnum.optional(),
|
|
17203
|
+
deviceId: number()
|
|
17204
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17205
|
+
trackId: string(),
|
|
17206
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17207
|
+
deviceId: number()
|
|
16651
17208
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16652
17209
|
trackId: string(),
|
|
16653
|
-
|
|
16654
|
-
}), array(
|
|
17210
|
+
deviceId: number()
|
|
17211
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16655
17212
|
kind: "mutation",
|
|
16656
17213
|
auth: "admin"
|
|
16657
17214
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17311,6 +17868,17 @@ var maxSessionHoldMsField = {
|
|
|
17311
17868
|
default: 12e4,
|
|
17312
17869
|
step: 5e3
|
|
17313
17870
|
};
|
|
17871
|
+
/**
|
|
17872
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17873
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17874
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17875
|
+
*/
|
|
17876
|
+
var audioMotionWindowMsField = {
|
|
17877
|
+
min: 5e3,
|
|
17878
|
+
max: 6e5,
|
|
17879
|
+
default: 9e4,
|
|
17880
|
+
step: 5e3
|
|
17881
|
+
};
|
|
17314
17882
|
var motionFpsField = {
|
|
17315
17883
|
min: 1,
|
|
17316
17884
|
max: 30,
|
|
@@ -17342,7 +17910,7 @@ var detectionFpsField = {
|
|
|
17342
17910
|
var occupancyRecheckSecField = {
|
|
17343
17911
|
min: 0,
|
|
17344
17912
|
max: 300,
|
|
17345
|
-
default:
|
|
17913
|
+
default: 300,
|
|
17346
17914
|
step: 5
|
|
17347
17915
|
};
|
|
17348
17916
|
var occupancyRecheckFramesField = {
|
|
@@ -17487,6 +18055,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17487
18055
|
* resolved `CameraDetectionConfig`.
|
|
17488
18056
|
*/
|
|
17489
18057
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18058
|
+
/**
|
|
18059
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18060
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18061
|
+
*
|
|
18062
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18063
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18064
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18065
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18066
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18067
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18068
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18069
|
+
*
|
|
18070
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18071
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18072
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18073
|
+
*
|
|
18074
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18075
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18076
|
+
* `maxSessionHoldMs`.
|
|
18077
|
+
*/
|
|
18078
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17490
18079
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17491
18080
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17492
18081
|
motionStreamId: string(),
|
|
@@ -17582,7 +18171,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17582
18171
|
*/
|
|
17583
18172
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17584
18173
|
});
|
|
17585
|
-
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;
|
|
18174
|
+
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;
|
|
17586
18175
|
/**
|
|
17587
18176
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17588
18177
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18568,7 +19157,31 @@ DeviceType.Camera, method(object({
|
|
|
18568
19157
|
lastCapturedAt: number().nullable(),
|
|
18569
19158
|
cacheAgeMs: number().nullable(),
|
|
18570
19159
|
etag: string().nullable()
|
|
18571
|
-
}))), systemMethod(object({
|
|
19160
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19161
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19162
|
+
battery: object({
|
|
19163
|
+
sleeping: boolean(),
|
|
19164
|
+
lastUpdated: number(),
|
|
19165
|
+
lastContactAt: number().optional()
|
|
19166
|
+
}).nullable(),
|
|
19167
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19168
|
+
state: object({
|
|
19169
|
+
isBattery: boolean(),
|
|
19170
|
+
reason: _enum([
|
|
19171
|
+
"disabled",
|
|
19172
|
+
"sleeping",
|
|
19173
|
+
"unreachable",
|
|
19174
|
+
"waking"
|
|
19175
|
+
]).nullable()
|
|
19176
|
+
}),
|
|
19177
|
+
/** The cached frame behind the next paint. */
|
|
19178
|
+
frame: object({
|
|
19179
|
+
capturedAt: number().nullable(),
|
|
19180
|
+
ageMs: number().nullable()
|
|
19181
|
+
}),
|
|
19182
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19183
|
+
waking: boolean()
|
|
19184
|
+
})), systemMethod(object({
|
|
18572
19185
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
18573
19186
|
* width) the caller will paint — the width is snapped to the server's
|
|
18574
19187
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -18598,7 +19211,16 @@ targets: array(object({
|
|
|
18598
19211
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18599
19212
|
* NOT refresh in the background. A surface should say so rather than
|
|
18600
19213
|
* present it as current. */
|
|
18601
|
-
sleeping: boolean()
|
|
19214
|
+
sleeping: boolean(),
|
|
19215
|
+
/** Current device state rendered over the cached frame. State images
|
|
19216
|
+
* remain authoritative even when their photographic background is
|
|
19217
|
+
* old; null means the link must carry a current camera frame. */
|
|
19218
|
+
stateReason: _enum([
|
|
19219
|
+
"disabled",
|
|
19220
|
+
"sleeping",
|
|
19221
|
+
"unreachable",
|
|
19222
|
+
"waking"
|
|
19223
|
+
]).nullable()
|
|
18602
19224
|
})));
|
|
18603
19225
|
/**
|
|
18604
19226
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20120,6 +20742,25 @@ var BatteryStatusSchema = object({
|
|
|
20120
20742
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20121
20743
|
lastUpdated: number(),
|
|
20122
20744
|
/**
|
|
20745
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20746
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20747
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20748
|
+
*
|
|
20749
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20750
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20751
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20752
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20753
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20754
|
+
*
|
|
20755
|
+
* It is deliberately NOT a clock in the
|
|
20756
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20757
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20758
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20759
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20760
|
+
* SQLite commit per round-trip.
|
|
20761
|
+
*/
|
|
20762
|
+
lastContactAt: number().optional(),
|
|
20763
|
+
/**
|
|
20123
20764
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20124
20765
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20125
20766
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23657,7 +24298,7 @@ method(object({
|
|
|
23657
24298
|
toMs: number()
|
|
23658
24299
|
}), RecordingAvailabilitySchema, {
|
|
23659
24300
|
kind: "query",
|
|
23660
|
-
auth: "
|
|
24301
|
+
auth: "protected"
|
|
23661
24302
|
}), method(object({
|
|
23662
24303
|
deviceId: number(),
|
|
23663
24304
|
fromMs: number(),
|
|
@@ -23665,14 +24306,14 @@ method(object({
|
|
|
23665
24306
|
tzOffsetMinutes: number()
|
|
23666
24307
|
}), RecordingDaysSchema, {
|
|
23667
24308
|
kind: "query",
|
|
23668
|
-
auth: "
|
|
24309
|
+
auth: "protected"
|
|
23669
24310
|
}), method(object({
|
|
23670
24311
|
deviceId: number(),
|
|
23671
24312
|
fromMs: number(),
|
|
23672
24313
|
toMs: number()
|
|
23673
24314
|
}), RecordingManifestSchema, {
|
|
23674
24315
|
kind: "query",
|
|
23675
|
-
auth: "
|
|
24316
|
+
auth: "protected"
|
|
23676
24317
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23677
24318
|
kind: "query",
|
|
23678
24319
|
auth: "admin"
|
|
@@ -23962,14 +24603,77 @@ method(object({
|
|
|
23962
24603
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23963
24604
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23964
24605
|
*
|
|
23965
|
-
*
|
|
23966
|
-
*
|
|
23967
|
-
*
|
|
23968
|
-
*
|
|
24606
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24607
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24608
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24609
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24610
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24611
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24612
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24613
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24614
|
+
*
|
|
24615
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24616
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24617
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24618
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24619
|
+
*
|
|
24620
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24621
|
+
* availability change; consumers never poll.
|
|
23969
24622
|
*/
|
|
23970
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
23971
|
-
*
|
|
24623
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24624
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24625
|
+
* Open by design so more can be added without a wire break.
|
|
24626
|
+
*
|
|
24627
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24628
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24629
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24630
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23972
24631
|
var SceneConditionSchema = string();
|
|
24632
|
+
/**
|
|
24633
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24634
|
+
*
|
|
24635
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24636
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24637
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24638
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24639
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24640
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24641
|
+
*
|
|
24642
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24643
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24644
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24645
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24646
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24647
|
+
* configuration choice instead of a nightly fault.
|
|
24648
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24649
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24650
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24651
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24652
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24653
|
+
*
|
|
24654
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24655
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24656
|
+
* there would hide a scene the operator never finished setting up.
|
|
24657
|
+
*/
|
|
24658
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24659
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24660
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24661
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24662
|
+
* and never counts toward hysteresis in either direction. */
|
|
24663
|
+
var SceneVerdictSchema = _enum([
|
|
24664
|
+
"matched",
|
|
24665
|
+
"diverged",
|
|
24666
|
+
"unknown"
|
|
24667
|
+
]);
|
|
24668
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24669
|
+
* silence that reads as "nothing has happened". */
|
|
24670
|
+
var SceneUnavailableSchema = _enum([
|
|
24671
|
+
"no-reference-for-condition",
|
|
24672
|
+
"view-shifted",
|
|
24673
|
+
"no-vision-profile",
|
|
24674
|
+
"encoder-model-changed",
|
|
24675
|
+
"no-snapshot"
|
|
24676
|
+
]);
|
|
23973
24677
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23974
24678
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23975
24679
|
var SceneReferenceSchema = object({
|
|
@@ -23977,7 +24681,14 @@ var SceneReferenceSchema = object({
|
|
|
23977
24681
|
modelId: string(),
|
|
23978
24682
|
condition: SceneConditionSchema,
|
|
23979
24683
|
capturedAt: number(),
|
|
23980
|
-
thumbnailMediaId: string().optional()
|
|
24684
|
+
thumbnailMediaId: string().optional(),
|
|
24685
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24686
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24687
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24688
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24689
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24690
|
+
* transition, not per poll. */
|
|
24691
|
+
anchorEmbedding: array(number()).optional()
|
|
23981
24692
|
});
|
|
23982
24693
|
var SceneMonitorStateSchema = object({
|
|
23983
24694
|
id: string(),
|
|
@@ -23999,6 +24710,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23999
24710
|
profileId: string().optional(),
|
|
24000
24711
|
hysteresisCount: number().int().positive()
|
|
24001
24712
|
})]);
|
|
24713
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24714
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24715
|
+
* out in silence rather than reporting a fault every night. */
|
|
24716
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24717
|
+
/**
|
|
24718
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24719
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24720
|
+
*
|
|
24721
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24722
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24723
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24724
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24725
|
+
*/
|
|
24726
|
+
var SceneConfirmSchema = object({
|
|
24727
|
+
enabled: boolean().default(false),
|
|
24728
|
+
prompt: string().min(1).max(1e3),
|
|
24729
|
+
profileId: string().optional(),
|
|
24730
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24731
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24732
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24733
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24734
|
+
});
|
|
24002
24735
|
var SceneMonitorSchema = object({
|
|
24003
24736
|
id: string(),
|
|
24004
24737
|
label: string(),
|
|
@@ -24017,7 +24750,56 @@ var SceneMonitorSchema = object({
|
|
|
24017
24750
|
lastConfidence: number().nullable(),
|
|
24018
24751
|
currentCondition: SceneConditionSchema.nullable(),
|
|
24019
24752
|
availability: _enum(["ok", "unavailable"]),
|
|
24020
|
-
unavailableReason: string().nullable()
|
|
24753
|
+
unavailableReason: string().nullable(),
|
|
24754
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24755
|
+
baselineStateId: string().nullable(),
|
|
24756
|
+
/** Which boolean drives notification rules and any export. */
|
|
24757
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24758
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24759
|
+
verdict: SceneVerdictSchema,
|
|
24760
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24761
|
+
latched: boolean(),
|
|
24762
|
+
/** Last reset (or creation). */
|
|
24763
|
+
armedAt: number(),
|
|
24764
|
+
divergedAt: number().nullable(),
|
|
24765
|
+
restoredAt: number().nullable(),
|
|
24766
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24767
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24768
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24769
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24770
|
+
/** An observation only advances the pending count when it is at least this
|
|
24771
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24772
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24773
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24774
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24775
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24776
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24777
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24778
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24779
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24780
|
+
* automation can react to the bin coming back without the operator's own
|
|
24781
|
+
* alarm silently clearing itself. */
|
|
24782
|
+
autoRestore: boolean().default(false),
|
|
24783
|
+
/** What to do when the current light has no reference of its own. See
|
|
24784
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24785
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24786
|
+
/**
|
|
24787
|
+
* The light whose checks are currently being SAT OUT under
|
|
24788
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24789
|
+
*
|
|
24790
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24791
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24792
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24793
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24794
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24795
|
+
* read as a broken one.
|
|
24796
|
+
*/
|
|
24797
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24798
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24799
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24800
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24801
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24802
|
+
coveredConditions: array(SceneConditionSchema)
|
|
24021
24803
|
});
|
|
24022
24804
|
var SceneMonitorStatusSchema = object({
|
|
24023
24805
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24050,7 +24832,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24050
24832
|
"both"
|
|
24051
24833
|
]).optional(),
|
|
24052
24834
|
checkIntervalSec: number().optional(),
|
|
24053
|
-
check: SceneCheckSchema.optional()
|
|
24835
|
+
check: SceneCheckSchema.optional(),
|
|
24836
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24837
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24838
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24839
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24840
|
+
autoRestore: boolean().optional(),
|
|
24841
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24842
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24843
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24054
24844
|
})
|
|
24055
24845
|
}), _void(), {
|
|
24056
24846
|
kind: "mutation",
|
|
@@ -24087,6 +24877,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24087
24877
|
}), _void(), {
|
|
24088
24878
|
kind: "mutation",
|
|
24089
24879
|
auth: "admin"
|
|
24880
|
+
}), method(object({
|
|
24881
|
+
deviceId: number(),
|
|
24882
|
+
monitorId: string(),
|
|
24883
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24884
|
+
recapture: boolean().optional()
|
|
24885
|
+
}), _void(), {
|
|
24886
|
+
kind: "mutation",
|
|
24887
|
+
auth: "admin"
|
|
24090
24888
|
});
|
|
24091
24889
|
/**
|
|
24092
24890
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24240,6 +25038,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24240
25038
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24241
25039
|
metadata: record(string(), unknown()).optional()
|
|
24242
25040
|
});
|
|
25041
|
+
object({
|
|
25042
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
25043
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25044
|
+
* one the camera itself once produced. */
|
|
25045
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25046
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25047
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25048
|
+
* re-read. */
|
|
25049
|
+
lastFetchedAt: number()
|
|
25050
|
+
});
|
|
24243
25051
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24244
25052
|
/** One of the camera's stream profiles. */
|
|
24245
25053
|
var StreamProfileSchema = _enum([
|
|
@@ -24395,12 +25203,64 @@ var NetworkAddressSchema = object({
|
|
|
24395
25203
|
family: string(),
|
|
24396
25204
|
internal: boolean()
|
|
24397
25205
|
});
|
|
25206
|
+
/**
|
|
25207
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25208
|
+
* numbers.
|
|
25209
|
+
*
|
|
25210
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25211
|
+
* nothing overwrites it.
|
|
25212
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25213
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25214
|
+
* the sun-times consumers otherwise fall back to.
|
|
25215
|
+
*
|
|
25216
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25217
|
+
* own input will eventually trust the guess.
|
|
25218
|
+
*/
|
|
25219
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25220
|
+
/**
|
|
25221
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25222
|
+
*
|
|
25223
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25224
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25225
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25226
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25227
|
+
* coordinates or presses detect.
|
|
25228
|
+
*/
|
|
25229
|
+
var SiteLocationStatusSchema = object({
|
|
25230
|
+
location: object({
|
|
25231
|
+
/** WGS84 decimal degrees. */
|
|
25232
|
+
latitude: number().min(-90).max(90),
|
|
25233
|
+
longitude: number().min(-180).max(180),
|
|
25234
|
+
source: SiteLocationSourceSchema,
|
|
25235
|
+
/** Epoch ms the value was last written. */
|
|
25236
|
+
updatedAt: number(),
|
|
25237
|
+
/**
|
|
25238
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25239
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25240
|
+
*/
|
|
25241
|
+
label: string().optional()
|
|
25242
|
+
}).nullable(),
|
|
25243
|
+
derivationAttemptedAt: number().nullable(),
|
|
25244
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25245
|
+
derivationError: string().nullable()
|
|
25246
|
+
});
|
|
25247
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25248
|
+
var SetSiteLocationInputSchema = object({
|
|
25249
|
+
latitude: number().min(-90).max(90),
|
|
25250
|
+
longitude: number().min(-180).max(180)
|
|
25251
|
+
}).nullable();
|
|
24398
25252
|
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(), {
|
|
24399
25253
|
kind: "mutation",
|
|
24400
25254
|
auth: "admin"
|
|
24401
25255
|
}), method(_void(), _void(), {
|
|
24402
25256
|
kind: "mutation",
|
|
24403
25257
|
auth: "admin"
|
|
25258
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25259
|
+
kind: "mutation",
|
|
25260
|
+
auth: "admin"
|
|
25261
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25262
|
+
kind: "mutation",
|
|
25263
|
+
auth: "admin"
|
|
24404
25264
|
});
|
|
24405
25265
|
object({
|
|
24406
25266
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27130,6 +27990,12 @@ Object.freeze({
|
|
|
27130
27990
|
addonId: null,
|
|
27131
27991
|
access: "create"
|
|
27132
27992
|
},
|
|
27993
|
+
"llm.cancel": {
|
|
27994
|
+
capName: "llm",
|
|
27995
|
+
capScope: "system",
|
|
27996
|
+
addonId: null,
|
|
27997
|
+
access: "create"
|
|
27998
|
+
},
|
|
27133
27999
|
"llm.deleteModel": {
|
|
27134
28000
|
capName: "llm",
|
|
27135
28001
|
capScope: "system",
|
|
@@ -27214,6 +28080,12 @@ Object.freeze({
|
|
|
27214
28080
|
addonId: null,
|
|
27215
28081
|
access: "view"
|
|
27216
28082
|
},
|
|
28083
|
+
"llm.resolveModelRef": {
|
|
28084
|
+
capName: "llm",
|
|
28085
|
+
capScope: "system",
|
|
28086
|
+
addonId: null,
|
|
28087
|
+
access: "create"
|
|
28088
|
+
},
|
|
27217
28089
|
"llm.setDefault": {
|
|
27218
28090
|
capName: "llm",
|
|
27219
28091
|
capScope: "system",
|
|
@@ -29380,6 +30252,12 @@ Object.freeze({
|
|
|
29380
30252
|
addonId: null,
|
|
29381
30253
|
access: "create"
|
|
29382
30254
|
},
|
|
30255
|
+
"sceneMonitor.resetScene": {
|
|
30256
|
+
capName: "scene-monitor",
|
|
30257
|
+
capScope: "device",
|
|
30258
|
+
addonId: null,
|
|
30259
|
+
access: "delete"
|
|
30260
|
+
},
|
|
29383
30261
|
"sceneMonitor.updateScene": {
|
|
29384
30262
|
capName: "scene-monitor",
|
|
29385
30263
|
capScope: "device",
|
|
@@ -29518,6 +30396,12 @@ Object.freeze({
|
|
|
29518
30396
|
addonId: null,
|
|
29519
30397
|
access: "view"
|
|
29520
30398
|
},
|
|
30399
|
+
"snapshot.getDebugState": {
|
|
30400
|
+
capName: "snapshot",
|
|
30401
|
+
capScope: "device",
|
|
30402
|
+
addonId: null,
|
|
30403
|
+
access: "view"
|
|
30404
|
+
},
|
|
29521
30405
|
"snapshot.getSnapshot": {
|
|
29522
30406
|
capName: "snapshot",
|
|
29523
30407
|
capScope: "device",
|
|
@@ -30058,6 +30942,12 @@ Object.freeze({
|
|
|
30058
30942
|
addonId: null,
|
|
30059
30943
|
access: "create"
|
|
30060
30944
|
},
|
|
30945
|
+
"system.detectSiteLocation": {
|
|
30946
|
+
capName: "system",
|
|
30947
|
+
capScope: "system",
|
|
30948
|
+
addonId: null,
|
|
30949
|
+
access: "create"
|
|
30950
|
+
},
|
|
30061
30951
|
"system.featureFlags": {
|
|
30062
30952
|
capName: "system",
|
|
30063
30953
|
capScope: "system",
|
|
@@ -30076,6 +30966,12 @@ Object.freeze({
|
|
|
30076
30966
|
addonId: null,
|
|
30077
30967
|
access: "view"
|
|
30078
30968
|
},
|
|
30969
|
+
"system.getSiteLocation": {
|
|
30970
|
+
capName: "system",
|
|
30971
|
+
capScope: "system",
|
|
30972
|
+
addonId: null,
|
|
30973
|
+
access: "view"
|
|
30974
|
+
},
|
|
30079
30975
|
"system.health": {
|
|
30080
30976
|
capName: "system",
|
|
30081
30977
|
capScope: "system",
|
|
@@ -30100,6 +30996,12 @@ Object.freeze({
|
|
|
30100
30996
|
addonId: null,
|
|
30101
30997
|
access: "create"
|
|
30102
30998
|
},
|
|
30999
|
+
"system.setSiteLocation": {
|
|
31000
|
+
capName: "system",
|
|
31001
|
+
capScope: "system",
|
|
31002
|
+
addonId: null,
|
|
31003
|
+
access: "create"
|
|
31004
|
+
},
|
|
30103
31005
|
"terminalSession.adoptLegacyMonitor": {
|
|
30104
31006
|
capName: "terminal-session",
|
|
30105
31007
|
capScope: "system",
|
|
@@ -30671,6 +31573,1709 @@ Object.freeze({
|
|
|
30671
31573
|
access: "create"
|
|
30672
31574
|
}
|
|
30673
31575
|
});
|
|
31576
|
+
Object.freeze({
|
|
31577
|
+
"accessories.setChildHidden": [{
|
|
31578
|
+
name: "childDeviceId",
|
|
31579
|
+
form: "single",
|
|
31580
|
+
optional: false
|
|
31581
|
+
}, {
|
|
31582
|
+
name: "deviceId",
|
|
31583
|
+
form: "single",
|
|
31584
|
+
optional: false
|
|
31585
|
+
}],
|
|
31586
|
+
"addonSettings.getDeviceSettings": [{
|
|
31587
|
+
name: "deviceId",
|
|
31588
|
+
form: "single",
|
|
31589
|
+
optional: false
|
|
31590
|
+
}],
|
|
31591
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31592
|
+
name: "deviceId",
|
|
31593
|
+
form: "single",
|
|
31594
|
+
optional: false
|
|
31595
|
+
}],
|
|
31596
|
+
"alarmPanel.arm": [{
|
|
31597
|
+
name: "deviceId",
|
|
31598
|
+
form: "single",
|
|
31599
|
+
optional: false
|
|
31600
|
+
}],
|
|
31601
|
+
"alarmPanel.disarm": [{
|
|
31602
|
+
name: "deviceId",
|
|
31603
|
+
form: "single",
|
|
31604
|
+
optional: false
|
|
31605
|
+
}],
|
|
31606
|
+
"alarmPanel.trigger": [{
|
|
31607
|
+
name: "deviceId",
|
|
31608
|
+
form: "single",
|
|
31609
|
+
optional: false
|
|
31610
|
+
}],
|
|
31611
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31612
|
+
name: "deviceId",
|
|
31613
|
+
form: "single",
|
|
31614
|
+
optional: false
|
|
31615
|
+
}],
|
|
31616
|
+
"audioAnalyzer.classify": [{
|
|
31617
|
+
name: "deviceId",
|
|
31618
|
+
form: "single",
|
|
31619
|
+
optional: true
|
|
31620
|
+
}],
|
|
31621
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31622
|
+
name: "deviceId",
|
|
31623
|
+
form: "single",
|
|
31624
|
+
optional: false
|
|
31625
|
+
}],
|
|
31626
|
+
"audioMetrics.getHistory": [{
|
|
31627
|
+
name: "deviceId",
|
|
31628
|
+
form: "single",
|
|
31629
|
+
optional: false
|
|
31630
|
+
}],
|
|
31631
|
+
"automationControl.disable": [{
|
|
31632
|
+
name: "deviceId",
|
|
31633
|
+
form: "single",
|
|
31634
|
+
optional: false
|
|
31635
|
+
}],
|
|
31636
|
+
"automationControl.enable": [{
|
|
31637
|
+
name: "deviceId",
|
|
31638
|
+
form: "single",
|
|
31639
|
+
optional: false
|
|
31640
|
+
}],
|
|
31641
|
+
"automationControl.trigger": [{
|
|
31642
|
+
name: "deviceId",
|
|
31643
|
+
form: "single",
|
|
31644
|
+
optional: false
|
|
31645
|
+
}],
|
|
31646
|
+
"battery.wakeForStream": [{
|
|
31647
|
+
name: "deviceId",
|
|
31648
|
+
form: "single",
|
|
31649
|
+
optional: false
|
|
31650
|
+
}],
|
|
31651
|
+
"brightness.setBrightness": [{
|
|
31652
|
+
name: "deviceId",
|
|
31653
|
+
form: "single",
|
|
31654
|
+
optional: false
|
|
31655
|
+
}],
|
|
31656
|
+
"button.press": [{
|
|
31657
|
+
name: "deviceId",
|
|
31658
|
+
form: "single",
|
|
31659
|
+
optional: false
|
|
31660
|
+
}],
|
|
31661
|
+
"cameraCredentials.getCredentials": [{
|
|
31662
|
+
name: "deviceId",
|
|
31663
|
+
form: "single",
|
|
31664
|
+
optional: false
|
|
31665
|
+
}],
|
|
31666
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31667
|
+
name: "deviceId",
|
|
31668
|
+
form: "single",
|
|
31669
|
+
optional: false
|
|
31670
|
+
}],
|
|
31671
|
+
"cameraStreams.getCameraStreams": [{
|
|
31672
|
+
name: "deviceId",
|
|
31673
|
+
form: "single",
|
|
31674
|
+
optional: false
|
|
31675
|
+
}],
|
|
31676
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31677
|
+
name: "deviceId",
|
|
31678
|
+
form: "single",
|
|
31679
|
+
optional: false
|
|
31680
|
+
}],
|
|
31681
|
+
"cameraStreams.getRtspEntries": [{
|
|
31682
|
+
name: "deviceId",
|
|
31683
|
+
form: "single",
|
|
31684
|
+
optional: false
|
|
31685
|
+
}],
|
|
31686
|
+
"cameraStreams.pickStream": [{
|
|
31687
|
+
name: "deviceId",
|
|
31688
|
+
form: "single",
|
|
31689
|
+
optional: false
|
|
31690
|
+
}],
|
|
31691
|
+
"climateControl.setFanMode": [{
|
|
31692
|
+
name: "deviceId",
|
|
31693
|
+
form: "single",
|
|
31694
|
+
optional: false
|
|
31695
|
+
}],
|
|
31696
|
+
"climateControl.setMode": [{
|
|
31697
|
+
name: "deviceId",
|
|
31698
|
+
form: "single",
|
|
31699
|
+
optional: false
|
|
31700
|
+
}],
|
|
31701
|
+
"climateControl.setPreset": [{
|
|
31702
|
+
name: "deviceId",
|
|
31703
|
+
form: "single",
|
|
31704
|
+
optional: false
|
|
31705
|
+
}],
|
|
31706
|
+
"climateControl.setSwingHorizontal": [{
|
|
31707
|
+
name: "deviceId",
|
|
31708
|
+
form: "single",
|
|
31709
|
+
optional: false
|
|
31710
|
+
}],
|
|
31711
|
+
"climateControl.setSwingVertical": [{
|
|
31712
|
+
name: "deviceId",
|
|
31713
|
+
form: "single",
|
|
31714
|
+
optional: false
|
|
31715
|
+
}],
|
|
31716
|
+
"climateControl.setTarget": [{
|
|
31717
|
+
name: "deviceId",
|
|
31718
|
+
form: "single",
|
|
31719
|
+
optional: false
|
|
31720
|
+
}],
|
|
31721
|
+
"climateControl.setTargetHumidity": [{
|
|
31722
|
+
name: "deviceId",
|
|
31723
|
+
form: "single",
|
|
31724
|
+
optional: false
|
|
31725
|
+
}],
|
|
31726
|
+
"climateControl.setTargetRange": [{
|
|
31727
|
+
name: "deviceId",
|
|
31728
|
+
form: "single",
|
|
31729
|
+
optional: false
|
|
31730
|
+
}],
|
|
31731
|
+
"color.setColor": [{
|
|
31732
|
+
name: "deviceId",
|
|
31733
|
+
form: "single",
|
|
31734
|
+
optional: false
|
|
31735
|
+
}],
|
|
31736
|
+
"consumables.reset": [{
|
|
31737
|
+
name: "deviceId",
|
|
31738
|
+
form: "single",
|
|
31739
|
+
optional: false
|
|
31740
|
+
}],
|
|
31741
|
+
"control.setValue": [{
|
|
31742
|
+
name: "deviceId",
|
|
31743
|
+
form: "single",
|
|
31744
|
+
optional: false
|
|
31745
|
+
}],
|
|
31746
|
+
"cover.close": [{
|
|
31747
|
+
name: "deviceId",
|
|
31748
|
+
form: "single",
|
|
31749
|
+
optional: false
|
|
31750
|
+
}],
|
|
31751
|
+
"cover.open": [{
|
|
31752
|
+
name: "deviceId",
|
|
31753
|
+
form: "single",
|
|
31754
|
+
optional: false
|
|
31755
|
+
}],
|
|
31756
|
+
"cover.setPosition": [{
|
|
31757
|
+
name: "deviceId",
|
|
31758
|
+
form: "single",
|
|
31759
|
+
optional: false
|
|
31760
|
+
}],
|
|
31761
|
+
"cover.setTiltPosition": [{
|
|
31762
|
+
name: "deviceId",
|
|
31763
|
+
form: "single",
|
|
31764
|
+
optional: false
|
|
31765
|
+
}],
|
|
31766
|
+
"cover.stop": [{
|
|
31767
|
+
name: "deviceId",
|
|
31768
|
+
form: "single",
|
|
31769
|
+
optional: false
|
|
31770
|
+
}],
|
|
31771
|
+
"dayNight.getOptions": [{
|
|
31772
|
+
name: "deviceId",
|
|
31773
|
+
form: "single",
|
|
31774
|
+
optional: false
|
|
31775
|
+
}],
|
|
31776
|
+
"dayNight.setSettings": [{
|
|
31777
|
+
name: "deviceId",
|
|
31778
|
+
form: "single",
|
|
31779
|
+
optional: false
|
|
31780
|
+
}],
|
|
31781
|
+
"decoder.createSession": [{
|
|
31782
|
+
name: "deviceId",
|
|
31783
|
+
form: "single",
|
|
31784
|
+
optional: true
|
|
31785
|
+
}],
|
|
31786
|
+
"deviceAdoption.release": [{
|
|
31787
|
+
name: "camDeviceId",
|
|
31788
|
+
form: "single",
|
|
31789
|
+
optional: false
|
|
31790
|
+
}],
|
|
31791
|
+
"deviceAdoption.resync": [{
|
|
31792
|
+
name: "camDeviceId",
|
|
31793
|
+
form: "single",
|
|
31794
|
+
optional: false
|
|
31795
|
+
}],
|
|
31796
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31797
|
+
name: "deviceId",
|
|
31798
|
+
form: "single",
|
|
31799
|
+
optional: false
|
|
31800
|
+
}],
|
|
31801
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31802
|
+
name: "deviceId",
|
|
31803
|
+
form: "single",
|
|
31804
|
+
optional: false
|
|
31805
|
+
}],
|
|
31806
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31807
|
+
name: "deviceId",
|
|
31808
|
+
form: "single",
|
|
31809
|
+
optional: false
|
|
31810
|
+
}],
|
|
31811
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31812
|
+
name: "childDeviceId",
|
|
31813
|
+
form: "single",
|
|
31814
|
+
optional: false
|
|
31815
|
+
}, {
|
|
31816
|
+
name: "deviceId",
|
|
31817
|
+
form: "single",
|
|
31818
|
+
optional: false
|
|
31819
|
+
}],
|
|
31820
|
+
"deviceManager.adoptionRelease": [{
|
|
31821
|
+
name: "camDeviceId",
|
|
31822
|
+
form: "single",
|
|
31823
|
+
optional: false
|
|
31824
|
+
}],
|
|
31825
|
+
"deviceManager.adoptionResync": [{
|
|
31826
|
+
name: "camDeviceId",
|
|
31827
|
+
form: "single",
|
|
31828
|
+
optional: false
|
|
31829
|
+
}],
|
|
31830
|
+
"deviceManager.applyInitialMeta": [{
|
|
31831
|
+
name: "deviceId",
|
|
31832
|
+
form: "single",
|
|
31833
|
+
optional: false
|
|
31834
|
+
}, {
|
|
31835
|
+
name: "linkDeviceId",
|
|
31836
|
+
form: "single",
|
|
31837
|
+
optional: true
|
|
31838
|
+
}],
|
|
31839
|
+
"deviceManager.disable": [{
|
|
31840
|
+
name: "deviceId",
|
|
31841
|
+
form: "single",
|
|
31842
|
+
optional: false
|
|
31843
|
+
}],
|
|
31844
|
+
"deviceManager.enable": [{
|
|
31845
|
+
name: "deviceId",
|
|
31846
|
+
form: "single",
|
|
31847
|
+
optional: false
|
|
31848
|
+
}],
|
|
31849
|
+
"deviceManager.getBindings": [{
|
|
31850
|
+
name: "deviceId",
|
|
31851
|
+
form: "single",
|
|
31852
|
+
optional: false
|
|
31853
|
+
}],
|
|
31854
|
+
"deviceManager.getChildren": [{
|
|
31855
|
+
name: "parentDeviceId",
|
|
31856
|
+
form: "single",
|
|
31857
|
+
optional: false
|
|
31858
|
+
}],
|
|
31859
|
+
"deviceManager.getConfigSchema": [{
|
|
31860
|
+
name: "deviceId",
|
|
31861
|
+
form: "single",
|
|
31862
|
+
optional: false
|
|
31863
|
+
}],
|
|
31864
|
+
"deviceManager.getDevice": [{
|
|
31865
|
+
name: "deviceId",
|
|
31866
|
+
form: "single",
|
|
31867
|
+
optional: false
|
|
31868
|
+
}],
|
|
31869
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31870
|
+
name: "deviceId",
|
|
31871
|
+
form: "single",
|
|
31872
|
+
optional: false
|
|
31873
|
+
}],
|
|
31874
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31875
|
+
name: "deviceId",
|
|
31876
|
+
form: "single",
|
|
31877
|
+
optional: false
|
|
31878
|
+
}],
|
|
31879
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31880
|
+
name: "deviceId",
|
|
31881
|
+
form: "single",
|
|
31882
|
+
optional: false
|
|
31883
|
+
}],
|
|
31884
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31885
|
+
name: "deviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: false
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31890
|
+
name: "deviceIds",
|
|
31891
|
+
form: "array",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}],
|
|
31894
|
+
"deviceManager.getLinkedDevices": [{
|
|
31895
|
+
name: "deviceId",
|
|
31896
|
+
form: "single",
|
|
31897
|
+
optional: false
|
|
31898
|
+
}],
|
|
31899
|
+
"deviceManager.getSettingsSchema": [{
|
|
31900
|
+
name: "deviceId",
|
|
31901
|
+
form: "single",
|
|
31902
|
+
optional: false
|
|
31903
|
+
}],
|
|
31904
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31905
|
+
name: "deviceId",
|
|
31906
|
+
form: "single",
|
|
31907
|
+
optional: false
|
|
31908
|
+
}],
|
|
31909
|
+
"deviceManager.getStreamSources": [{
|
|
31910
|
+
name: "deviceId",
|
|
31911
|
+
form: "single",
|
|
31912
|
+
optional: false
|
|
31913
|
+
}],
|
|
31914
|
+
"deviceManager.getWireableFields": [{
|
|
31915
|
+
name: "deviceId",
|
|
31916
|
+
form: "single",
|
|
31917
|
+
optional: false
|
|
31918
|
+
}],
|
|
31919
|
+
"deviceManager.loadConfig": [{
|
|
31920
|
+
name: "deviceId",
|
|
31921
|
+
form: "single",
|
|
31922
|
+
optional: false
|
|
31923
|
+
}],
|
|
31924
|
+
"deviceManager.loadMeta": [{
|
|
31925
|
+
name: "deviceId",
|
|
31926
|
+
form: "single",
|
|
31927
|
+
optional: false
|
|
31928
|
+
}],
|
|
31929
|
+
"deviceManager.loadRuntimeState": [{
|
|
31930
|
+
name: "deviceId",
|
|
31931
|
+
form: "single",
|
|
31932
|
+
optional: false
|
|
31933
|
+
}],
|
|
31934
|
+
"deviceManager.persistConfig": [{
|
|
31935
|
+
name: "deviceId",
|
|
31936
|
+
form: "single",
|
|
31937
|
+
optional: false
|
|
31938
|
+
}],
|
|
31939
|
+
"deviceManager.probeStreams": [{
|
|
31940
|
+
name: "deviceId",
|
|
31941
|
+
form: "single",
|
|
31942
|
+
optional: false
|
|
31943
|
+
}],
|
|
31944
|
+
"deviceManager.registerDevice": [{
|
|
31945
|
+
name: "parentDeviceId",
|
|
31946
|
+
form: "single",
|
|
31947
|
+
optional: true
|
|
31948
|
+
}],
|
|
31949
|
+
"deviceManager.remove": [{
|
|
31950
|
+
name: "deviceId",
|
|
31951
|
+
form: "single",
|
|
31952
|
+
optional: false
|
|
31953
|
+
}],
|
|
31954
|
+
"deviceManager.removeDevice": [{
|
|
31955
|
+
name: "deviceId",
|
|
31956
|
+
form: "single",
|
|
31957
|
+
optional: false
|
|
31958
|
+
}],
|
|
31959
|
+
"deviceManager.runDeviceAction": [{
|
|
31960
|
+
name: "deviceId",
|
|
31961
|
+
form: "single",
|
|
31962
|
+
optional: false
|
|
31963
|
+
}],
|
|
31964
|
+
"deviceManager.setChildLayout": [{
|
|
31965
|
+
name: "deviceId",
|
|
31966
|
+
form: "single",
|
|
31967
|
+
optional: false
|
|
31968
|
+
}],
|
|
31969
|
+
"deviceManager.setDisabled": [{
|
|
31970
|
+
name: "deviceId",
|
|
31971
|
+
form: "single",
|
|
31972
|
+
optional: false
|
|
31973
|
+
}],
|
|
31974
|
+
"deviceManager.setDisplay": [{
|
|
31975
|
+
name: "deviceId",
|
|
31976
|
+
form: "single",
|
|
31977
|
+
optional: false
|
|
31978
|
+
}],
|
|
31979
|
+
"deviceManager.setIntegrationId": [{
|
|
31980
|
+
name: "deviceId",
|
|
31981
|
+
form: "single",
|
|
31982
|
+
optional: false
|
|
31983
|
+
}],
|
|
31984
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31985
|
+
name: "deviceId",
|
|
31986
|
+
form: "single",
|
|
31987
|
+
optional: false
|
|
31988
|
+
}, {
|
|
31989
|
+
name: "linkDeviceId",
|
|
31990
|
+
form: "single",
|
|
31991
|
+
optional: true
|
|
31992
|
+
}],
|
|
31993
|
+
"deviceManager.setLocation": [{
|
|
31994
|
+
name: "deviceId",
|
|
31995
|
+
form: "single",
|
|
31996
|
+
optional: false
|
|
31997
|
+
}],
|
|
31998
|
+
"deviceManager.setMetadata": [{
|
|
31999
|
+
name: "deviceId",
|
|
32000
|
+
form: "single",
|
|
32001
|
+
optional: false
|
|
32002
|
+
}],
|
|
32003
|
+
"deviceManager.setName": [{
|
|
32004
|
+
name: "deviceId",
|
|
32005
|
+
form: "single",
|
|
32006
|
+
optional: false
|
|
32007
|
+
}],
|
|
32008
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
32009
|
+
name: "deviceId",
|
|
32010
|
+
form: "single",
|
|
32011
|
+
optional: false
|
|
32012
|
+
}],
|
|
32013
|
+
"deviceManager.setRole": [{
|
|
32014
|
+
name: "deviceId",
|
|
32015
|
+
form: "single",
|
|
32016
|
+
optional: false
|
|
32017
|
+
}],
|
|
32018
|
+
"deviceManager.setStreamProfileMap": [{
|
|
32019
|
+
name: "deviceId",
|
|
32020
|
+
form: "single",
|
|
32021
|
+
optional: false
|
|
32022
|
+
}],
|
|
32023
|
+
"deviceManager.setType": [{
|
|
32024
|
+
name: "deviceId",
|
|
32025
|
+
form: "single",
|
|
32026
|
+
optional: false
|
|
32027
|
+
}],
|
|
32028
|
+
"deviceManager.setWrapperActive": [{
|
|
32029
|
+
name: "deviceId",
|
|
32030
|
+
form: "single",
|
|
32031
|
+
optional: false
|
|
32032
|
+
}],
|
|
32033
|
+
"deviceManager.testField": [{
|
|
32034
|
+
name: "deviceId",
|
|
32035
|
+
form: "single",
|
|
32036
|
+
optional: false
|
|
32037
|
+
}],
|
|
32038
|
+
"deviceManager.updateConfig": [{
|
|
32039
|
+
name: "deviceId",
|
|
32040
|
+
form: "single",
|
|
32041
|
+
optional: false
|
|
32042
|
+
}],
|
|
32043
|
+
"deviceManager.updateDeviceField": [{
|
|
32044
|
+
name: "deviceId",
|
|
32045
|
+
form: "single",
|
|
32046
|
+
optional: false
|
|
32047
|
+
}],
|
|
32048
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32049
|
+
name: "deviceId",
|
|
32050
|
+
form: "single",
|
|
32051
|
+
optional: false
|
|
32052
|
+
}],
|
|
32053
|
+
"deviceOps.getConfigEntries": [{
|
|
32054
|
+
name: "deviceId",
|
|
32055
|
+
form: "single",
|
|
32056
|
+
optional: false
|
|
32057
|
+
}],
|
|
32058
|
+
"deviceOps.getRawState": [{
|
|
32059
|
+
name: "deviceId",
|
|
32060
|
+
form: "single",
|
|
32061
|
+
optional: false
|
|
32062
|
+
}],
|
|
32063
|
+
"deviceOps.getSettingsSchema": [{
|
|
32064
|
+
name: "deviceId",
|
|
32065
|
+
form: "single",
|
|
32066
|
+
optional: false
|
|
32067
|
+
}],
|
|
32068
|
+
"deviceOps.getStreamSources": [{
|
|
32069
|
+
name: "deviceId",
|
|
32070
|
+
form: "single",
|
|
32071
|
+
optional: false
|
|
32072
|
+
}],
|
|
32073
|
+
"deviceOps.removeDevice": [{
|
|
32074
|
+
name: "deviceId",
|
|
32075
|
+
form: "single",
|
|
32076
|
+
optional: false
|
|
32077
|
+
}],
|
|
32078
|
+
"deviceOps.runAction": [{
|
|
32079
|
+
name: "deviceId",
|
|
32080
|
+
form: "single",
|
|
32081
|
+
optional: false
|
|
32082
|
+
}],
|
|
32083
|
+
"deviceOps.setConfig": [{
|
|
32084
|
+
name: "deviceId",
|
|
32085
|
+
form: "single",
|
|
32086
|
+
optional: false
|
|
32087
|
+
}],
|
|
32088
|
+
"deviceState.getCapSlice": [{
|
|
32089
|
+
name: "deviceId",
|
|
32090
|
+
form: "single",
|
|
32091
|
+
optional: false
|
|
32092
|
+
}],
|
|
32093
|
+
"deviceState.getSnapshot": [{
|
|
32094
|
+
name: "deviceId",
|
|
32095
|
+
form: "single",
|
|
32096
|
+
optional: false
|
|
32097
|
+
}],
|
|
32098
|
+
"deviceState.setCapSlice": [{
|
|
32099
|
+
name: "deviceId",
|
|
32100
|
+
form: "single",
|
|
32101
|
+
optional: false
|
|
32102
|
+
}],
|
|
32103
|
+
"events.getEventClipUrl": [{
|
|
32104
|
+
name: "deviceId",
|
|
32105
|
+
form: "single",
|
|
32106
|
+
optional: false
|
|
32107
|
+
}],
|
|
32108
|
+
"events.getEvents": [{
|
|
32109
|
+
name: "deviceId",
|
|
32110
|
+
form: "single",
|
|
32111
|
+
optional: false
|
|
32112
|
+
}],
|
|
32113
|
+
"events.getEventThumbnail": [{
|
|
32114
|
+
name: "deviceId",
|
|
32115
|
+
form: "single",
|
|
32116
|
+
optional: false
|
|
32117
|
+
}],
|
|
32118
|
+
"faceGallery.getFaceByTrack": [{
|
|
32119
|
+
name: "deviceId",
|
|
32120
|
+
form: "single",
|
|
32121
|
+
optional: false
|
|
32122
|
+
}],
|
|
32123
|
+
"faceGallery.listRecentFaces": [{
|
|
32124
|
+
name: "deviceId",
|
|
32125
|
+
form: "single",
|
|
32126
|
+
optional: true
|
|
32127
|
+
}],
|
|
32128
|
+
"fanControl.setDirection": [{
|
|
32129
|
+
name: "deviceId",
|
|
32130
|
+
form: "single",
|
|
32131
|
+
optional: false
|
|
32132
|
+
}],
|
|
32133
|
+
"fanControl.setOscillating": [{
|
|
32134
|
+
name: "deviceId",
|
|
32135
|
+
form: "single",
|
|
32136
|
+
optional: false
|
|
32137
|
+
}],
|
|
32138
|
+
"fanControl.setPercentage": [{
|
|
32139
|
+
name: "deviceId",
|
|
32140
|
+
form: "single",
|
|
32141
|
+
optional: false
|
|
32142
|
+
}],
|
|
32143
|
+
"fanControl.setPreset": [{
|
|
32144
|
+
name: "deviceId",
|
|
32145
|
+
form: "single",
|
|
32146
|
+
optional: false
|
|
32147
|
+
}],
|
|
32148
|
+
"humidifier.setMode": [{
|
|
32149
|
+
name: "deviceId",
|
|
32150
|
+
form: "single",
|
|
32151
|
+
optional: false
|
|
32152
|
+
}],
|
|
32153
|
+
"humidifier.setOn": [{
|
|
32154
|
+
name: "deviceId",
|
|
32155
|
+
form: "single",
|
|
32156
|
+
optional: false
|
|
32157
|
+
}],
|
|
32158
|
+
"humidifier.setTargetHumidity": [{
|
|
32159
|
+
name: "deviceId",
|
|
32160
|
+
form: "single",
|
|
32161
|
+
optional: false
|
|
32162
|
+
}],
|
|
32163
|
+
"imageSettings.getOptions": [{
|
|
32164
|
+
name: "deviceId",
|
|
32165
|
+
form: "single",
|
|
32166
|
+
optional: false
|
|
32167
|
+
}],
|
|
32168
|
+
"imageSettings.setSettings": [{
|
|
32169
|
+
name: "deviceId",
|
|
32170
|
+
form: "single",
|
|
32171
|
+
optional: false
|
|
32172
|
+
}],
|
|
32173
|
+
"intercom.endTalkSession": [{
|
|
32174
|
+
name: "deviceId",
|
|
32175
|
+
form: "single",
|
|
32176
|
+
optional: false
|
|
32177
|
+
}],
|
|
32178
|
+
"intercom.handleAnswer": [{
|
|
32179
|
+
name: "deviceId",
|
|
32180
|
+
form: "single",
|
|
32181
|
+
optional: false
|
|
32182
|
+
}],
|
|
32183
|
+
"intercom.pushTalkAudio": [{
|
|
32184
|
+
name: "deviceId",
|
|
32185
|
+
form: "single",
|
|
32186
|
+
optional: false
|
|
32187
|
+
}],
|
|
32188
|
+
"intercom.startSession": [{
|
|
32189
|
+
name: "deviceId",
|
|
32190
|
+
form: "single",
|
|
32191
|
+
optional: false
|
|
32192
|
+
}],
|
|
32193
|
+
"intercom.startTalkSession": [{
|
|
32194
|
+
name: "deviceId",
|
|
32195
|
+
form: "single",
|
|
32196
|
+
optional: false
|
|
32197
|
+
}],
|
|
32198
|
+
"intercom.stopSession": [{
|
|
32199
|
+
name: "deviceId",
|
|
32200
|
+
form: "single",
|
|
32201
|
+
optional: false
|
|
32202
|
+
}],
|
|
32203
|
+
"lawnMowerControl.dock": [{
|
|
32204
|
+
name: "deviceId",
|
|
32205
|
+
form: "single",
|
|
32206
|
+
optional: false
|
|
32207
|
+
}],
|
|
32208
|
+
"lawnMowerControl.pause": [{
|
|
32209
|
+
name: "deviceId",
|
|
32210
|
+
form: "single",
|
|
32211
|
+
optional: false
|
|
32212
|
+
}],
|
|
32213
|
+
"lawnMowerControl.startMowing": [{
|
|
32214
|
+
name: "deviceId",
|
|
32215
|
+
form: "single",
|
|
32216
|
+
optional: false
|
|
32217
|
+
}],
|
|
32218
|
+
"lockControl.lock": [{
|
|
32219
|
+
name: "deviceId",
|
|
32220
|
+
form: "single",
|
|
32221
|
+
optional: false
|
|
32222
|
+
}],
|
|
32223
|
+
"lockControl.open": [{
|
|
32224
|
+
name: "deviceId",
|
|
32225
|
+
form: "single",
|
|
32226
|
+
optional: false
|
|
32227
|
+
}],
|
|
32228
|
+
"lockControl.unlock": [{
|
|
32229
|
+
name: "deviceId",
|
|
32230
|
+
form: "single",
|
|
32231
|
+
optional: false
|
|
32232
|
+
}],
|
|
32233
|
+
"mediaPlayer.next": [{
|
|
32234
|
+
name: "deviceId",
|
|
32235
|
+
form: "single",
|
|
32236
|
+
optional: false
|
|
32237
|
+
}],
|
|
32238
|
+
"mediaPlayer.pause": [{
|
|
32239
|
+
name: "deviceId",
|
|
32240
|
+
form: "single",
|
|
32241
|
+
optional: false
|
|
32242
|
+
}],
|
|
32243
|
+
"mediaPlayer.play": [{
|
|
32244
|
+
name: "deviceId",
|
|
32245
|
+
form: "single",
|
|
32246
|
+
optional: false
|
|
32247
|
+
}],
|
|
32248
|
+
"mediaPlayer.playMedia": [{
|
|
32249
|
+
name: "deviceId",
|
|
32250
|
+
form: "single",
|
|
32251
|
+
optional: false
|
|
32252
|
+
}],
|
|
32253
|
+
"mediaPlayer.previous": [{
|
|
32254
|
+
name: "deviceId",
|
|
32255
|
+
form: "single",
|
|
32256
|
+
optional: false
|
|
32257
|
+
}],
|
|
32258
|
+
"mediaPlayer.seek": [{
|
|
32259
|
+
name: "deviceId",
|
|
32260
|
+
form: "single",
|
|
32261
|
+
optional: false
|
|
32262
|
+
}],
|
|
32263
|
+
"mediaPlayer.selectSource": [{
|
|
32264
|
+
name: "deviceId",
|
|
32265
|
+
form: "single",
|
|
32266
|
+
optional: false
|
|
32267
|
+
}],
|
|
32268
|
+
"mediaPlayer.setMute": [{
|
|
32269
|
+
name: "deviceId",
|
|
32270
|
+
form: "single",
|
|
32271
|
+
optional: false
|
|
32272
|
+
}],
|
|
32273
|
+
"mediaPlayer.setRepeat": [{
|
|
32274
|
+
name: "deviceId",
|
|
32275
|
+
form: "single",
|
|
32276
|
+
optional: false
|
|
32277
|
+
}],
|
|
32278
|
+
"mediaPlayer.setShuffle": [{
|
|
32279
|
+
name: "deviceId",
|
|
32280
|
+
form: "single",
|
|
32281
|
+
optional: false
|
|
32282
|
+
}],
|
|
32283
|
+
"mediaPlayer.setVolume": [{
|
|
32284
|
+
name: "deviceId",
|
|
32285
|
+
form: "single",
|
|
32286
|
+
optional: false
|
|
32287
|
+
}],
|
|
32288
|
+
"mediaPlayer.stop": [{
|
|
32289
|
+
name: "deviceId",
|
|
32290
|
+
form: "single",
|
|
32291
|
+
optional: false
|
|
32292
|
+
}],
|
|
32293
|
+
"motion.isDetected": [{
|
|
32294
|
+
name: "deviceId",
|
|
32295
|
+
form: "single",
|
|
32296
|
+
optional: false
|
|
32297
|
+
}],
|
|
32298
|
+
"motionDetection.analyze": [{
|
|
32299
|
+
name: "deviceId",
|
|
32300
|
+
form: "single",
|
|
32301
|
+
optional: false
|
|
32302
|
+
}],
|
|
32303
|
+
"motionDetection.removeCamera": [{
|
|
32304
|
+
name: "deviceId",
|
|
32305
|
+
form: "single",
|
|
32306
|
+
optional: false
|
|
32307
|
+
}],
|
|
32308
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32309
|
+
name: "deviceId",
|
|
32310
|
+
form: "single",
|
|
32311
|
+
optional: false
|
|
32312
|
+
}],
|
|
32313
|
+
"motionZones.getOptions": [{
|
|
32314
|
+
name: "deviceId",
|
|
32315
|
+
form: "single",
|
|
32316
|
+
optional: false
|
|
32317
|
+
}],
|
|
32318
|
+
"motionZones.setZone": [{
|
|
32319
|
+
name: "deviceId",
|
|
32320
|
+
form: "single",
|
|
32321
|
+
optional: false
|
|
32322
|
+
}],
|
|
32323
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32324
|
+
name: "deviceId",
|
|
32325
|
+
form: "single",
|
|
32326
|
+
optional: false
|
|
32327
|
+
}],
|
|
32328
|
+
"networkQuality.getDeviceStats": [{
|
|
32329
|
+
name: "deviceId",
|
|
32330
|
+
form: "single",
|
|
32331
|
+
optional: false
|
|
32332
|
+
}],
|
|
32333
|
+
"networkQuality.reportClientStats": [{
|
|
32334
|
+
name: "deviceId",
|
|
32335
|
+
form: "single",
|
|
32336
|
+
optional: false
|
|
32337
|
+
}],
|
|
32338
|
+
"notificationRules.setDeviceMuted": [{
|
|
32339
|
+
name: "deviceId",
|
|
32340
|
+
form: "single",
|
|
32341
|
+
optional: false
|
|
32342
|
+
}],
|
|
32343
|
+
"notifier.cancel": [{
|
|
32344
|
+
name: "deviceId",
|
|
32345
|
+
form: "single",
|
|
32346
|
+
optional: false
|
|
32347
|
+
}],
|
|
32348
|
+
"notifier.send": [{
|
|
32349
|
+
name: "deviceId",
|
|
32350
|
+
form: "single",
|
|
32351
|
+
optional: false
|
|
32352
|
+
}],
|
|
32353
|
+
"osd.setOverlay": [{
|
|
32354
|
+
name: "deviceId",
|
|
32355
|
+
form: "single",
|
|
32356
|
+
optional: false
|
|
32357
|
+
}],
|
|
32358
|
+
"osdManager.clearSlotBinding": [{
|
|
32359
|
+
name: "deviceId",
|
|
32360
|
+
form: "single",
|
|
32361
|
+
optional: false
|
|
32362
|
+
}],
|
|
32363
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32364
|
+
name: "sourceDeviceId",
|
|
32365
|
+
form: "single",
|
|
32366
|
+
optional: false
|
|
32367
|
+
}, {
|
|
32368
|
+
name: "targetDeviceId",
|
|
32369
|
+
form: "single",
|
|
32370
|
+
optional: false
|
|
32371
|
+
}],
|
|
32372
|
+
"osdManager.getDeviceOsd": [{
|
|
32373
|
+
name: "deviceId",
|
|
32374
|
+
form: "single",
|
|
32375
|
+
optional: false
|
|
32376
|
+
}],
|
|
32377
|
+
"osdManager.getSourceCatalog": [{
|
|
32378
|
+
name: "deviceId",
|
|
32379
|
+
form: "single",
|
|
32380
|
+
optional: false
|
|
32381
|
+
}],
|
|
32382
|
+
"osdManager.previewSlot": [{
|
|
32383
|
+
name: "deviceId",
|
|
32384
|
+
form: "single",
|
|
32385
|
+
optional: false
|
|
32386
|
+
}],
|
|
32387
|
+
"osdManager.renderDevice": [{
|
|
32388
|
+
name: "deviceId",
|
|
32389
|
+
form: "single",
|
|
32390
|
+
optional: false
|
|
32391
|
+
}],
|
|
32392
|
+
"osdManager.setSlotBinding": [{
|
|
32393
|
+
name: "deviceId",
|
|
32394
|
+
form: "single",
|
|
32395
|
+
optional: false
|
|
32396
|
+
}],
|
|
32397
|
+
"petFeeder.callPet": [{
|
|
32398
|
+
name: "deviceId",
|
|
32399
|
+
form: "single",
|
|
32400
|
+
optional: false
|
|
32401
|
+
}],
|
|
32402
|
+
"petFeeder.cancelFeed": [{
|
|
32403
|
+
name: "deviceId",
|
|
32404
|
+
form: "single",
|
|
32405
|
+
optional: false
|
|
32406
|
+
}],
|
|
32407
|
+
"petFeeder.feed": [{
|
|
32408
|
+
name: "deviceId",
|
|
32409
|
+
form: "single",
|
|
32410
|
+
optional: false
|
|
32411
|
+
}],
|
|
32412
|
+
"petFeeder.markFoodReplenished": [{
|
|
32413
|
+
name: "deviceId",
|
|
32414
|
+
form: "single",
|
|
32415
|
+
optional: false
|
|
32416
|
+
}],
|
|
32417
|
+
"petFeeder.playSound": [{
|
|
32418
|
+
name: "deviceId",
|
|
32419
|
+
form: "single",
|
|
32420
|
+
optional: false
|
|
32421
|
+
}],
|
|
32422
|
+
"petFeeder.resetDesiccant": [{
|
|
32423
|
+
name: "deviceId",
|
|
32424
|
+
form: "single",
|
|
32425
|
+
optional: false
|
|
32426
|
+
}],
|
|
32427
|
+
"petFeeder.setChildLock": [{
|
|
32428
|
+
name: "deviceId",
|
|
32429
|
+
form: "single",
|
|
32430
|
+
optional: false
|
|
32431
|
+
}],
|
|
32432
|
+
"petFeeder.setFeedSound": [{
|
|
32433
|
+
name: "deviceId",
|
|
32434
|
+
form: "single",
|
|
32435
|
+
optional: false
|
|
32436
|
+
}],
|
|
32437
|
+
"petFeeder.setIndicatorLight": [{
|
|
32438
|
+
name: "deviceId",
|
|
32439
|
+
form: "single",
|
|
32440
|
+
optional: false
|
|
32441
|
+
}],
|
|
32442
|
+
"petFeeder.setVolume": [{
|
|
32443
|
+
name: "deviceId",
|
|
32444
|
+
form: "single",
|
|
32445
|
+
optional: false
|
|
32446
|
+
}],
|
|
32447
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32448
|
+
name: "deviceId",
|
|
32449
|
+
form: "single",
|
|
32450
|
+
optional: false
|
|
32451
|
+
}],
|
|
32452
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32453
|
+
name: "deviceId",
|
|
32454
|
+
form: "single",
|
|
32455
|
+
optional: false
|
|
32456
|
+
}],
|
|
32457
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32458
|
+
name: "deviceId",
|
|
32459
|
+
form: "single",
|
|
32460
|
+
optional: false
|
|
32461
|
+
}],
|
|
32462
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32463
|
+
name: "deviceId",
|
|
32464
|
+
form: "single",
|
|
32465
|
+
optional: false
|
|
32466
|
+
}],
|
|
32467
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32468
|
+
name: "deviceId",
|
|
32469
|
+
form: "single",
|
|
32470
|
+
optional: false
|
|
32471
|
+
}],
|
|
32472
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32473
|
+
name: "deviceId",
|
|
32474
|
+
form: "single",
|
|
32475
|
+
optional: false
|
|
32476
|
+
}],
|
|
32477
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32478
|
+
name: "deviceId",
|
|
32479
|
+
form: "single",
|
|
32480
|
+
optional: false
|
|
32481
|
+
}],
|
|
32482
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32483
|
+
name: "deviceId",
|
|
32484
|
+
form: "single",
|
|
32485
|
+
optional: false
|
|
32486
|
+
}],
|
|
32487
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32488
|
+
name: "deviceId",
|
|
32489
|
+
form: "single",
|
|
32490
|
+
optional: false
|
|
32491
|
+
}],
|
|
32492
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32493
|
+
name: "deviceId",
|
|
32494
|
+
form: "single",
|
|
32495
|
+
optional: false
|
|
32496
|
+
}],
|
|
32497
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32498
|
+
name: "deviceId",
|
|
32499
|
+
form: "single",
|
|
32500
|
+
optional: false
|
|
32501
|
+
}],
|
|
32502
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32503
|
+
name: "deviceId",
|
|
32504
|
+
form: "single",
|
|
32505
|
+
optional: false
|
|
32506
|
+
}],
|
|
32507
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32508
|
+
name: "deviceIds",
|
|
32509
|
+
form: "array",
|
|
32510
|
+
optional: true
|
|
32511
|
+
}],
|
|
32512
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32513
|
+
name: "deviceId",
|
|
32514
|
+
form: "single",
|
|
32515
|
+
optional: false
|
|
32516
|
+
}],
|
|
32517
|
+
"pipelineAnalytics.getTrack": [{
|
|
32518
|
+
name: "deviceId",
|
|
32519
|
+
form: "single",
|
|
32520
|
+
optional: false
|
|
32521
|
+
}],
|
|
32522
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32523
|
+
name: "deviceId",
|
|
32524
|
+
form: "single",
|
|
32525
|
+
optional: false
|
|
32526
|
+
}],
|
|
32527
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32528
|
+
name: "deviceIds",
|
|
32529
|
+
form: "array",
|
|
32530
|
+
optional: true
|
|
32531
|
+
}],
|
|
32532
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32533
|
+
name: "deviceIds",
|
|
32534
|
+
form: "array",
|
|
32535
|
+
optional: true
|
|
32536
|
+
}],
|
|
32537
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32538
|
+
name: "deviceId",
|
|
32539
|
+
form: "single",
|
|
32540
|
+
optional: false
|
|
32541
|
+
}],
|
|
32542
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32543
|
+
name: "deviceIds",
|
|
32544
|
+
form: "array",
|
|
32545
|
+
optional: false
|
|
32546
|
+
}],
|
|
32547
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32548
|
+
name: "deviceId",
|
|
32549
|
+
form: "single",
|
|
32550
|
+
optional: true
|
|
32551
|
+
}],
|
|
32552
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32553
|
+
name: "deviceIds",
|
|
32554
|
+
form: "array",
|
|
32555
|
+
optional: false
|
|
32556
|
+
}],
|
|
32557
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32558
|
+
name: "deviceIds",
|
|
32559
|
+
form: "array",
|
|
32560
|
+
optional: true
|
|
32561
|
+
}],
|
|
32562
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32563
|
+
name: "deviceId",
|
|
32564
|
+
form: "single",
|
|
32565
|
+
optional: false
|
|
32566
|
+
}],
|
|
32567
|
+
"pipelineAnalytics.listTracks": [{
|
|
32568
|
+
name: "deviceId",
|
|
32569
|
+
form: "single",
|
|
32570
|
+
optional: false
|
|
32571
|
+
}],
|
|
32572
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32573
|
+
name: "deviceId",
|
|
32574
|
+
form: "single",
|
|
32575
|
+
optional: false
|
|
32576
|
+
}],
|
|
32577
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32578
|
+
name: "deviceId",
|
|
32579
|
+
form: "single",
|
|
32580
|
+
optional: false
|
|
32581
|
+
}],
|
|
32582
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32583
|
+
name: "deviceId",
|
|
32584
|
+
form: "single",
|
|
32585
|
+
optional: false
|
|
32586
|
+
}],
|
|
32587
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32588
|
+
name: "deviceId",
|
|
32589
|
+
form: "single",
|
|
32590
|
+
optional: true
|
|
32591
|
+
}],
|
|
32592
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32593
|
+
name: "deviceId",
|
|
32594
|
+
form: "single",
|
|
32595
|
+
optional: false
|
|
32596
|
+
}],
|
|
32597
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32598
|
+
name: "deviceId",
|
|
32599
|
+
form: "single",
|
|
32600
|
+
optional: false
|
|
32601
|
+
}],
|
|
32602
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32603
|
+
name: "deviceId",
|
|
32604
|
+
form: "single",
|
|
32605
|
+
optional: true
|
|
32606
|
+
}],
|
|
32607
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32608
|
+
name: "deviceId",
|
|
32609
|
+
form: "single",
|
|
32610
|
+
optional: false
|
|
32611
|
+
}],
|
|
32612
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32613
|
+
name: "deviceId",
|
|
32614
|
+
form: "single",
|
|
32615
|
+
optional: false
|
|
32616
|
+
}],
|
|
32617
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32618
|
+
name: "deviceId",
|
|
32619
|
+
form: "single",
|
|
32620
|
+
optional: false
|
|
32621
|
+
}],
|
|
32622
|
+
"pipelineExecutor.runPipeline": [{
|
|
32623
|
+
name: "deviceId",
|
|
32624
|
+
form: "single",
|
|
32625
|
+
optional: true
|
|
32626
|
+
}],
|
|
32627
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32628
|
+
name: "deviceId",
|
|
32629
|
+
form: "single",
|
|
32630
|
+
optional: true
|
|
32631
|
+
}],
|
|
32632
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32633
|
+
name: "deviceId",
|
|
32634
|
+
form: "single",
|
|
32635
|
+
optional: false
|
|
32636
|
+
}],
|
|
32637
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32638
|
+
name: "deviceId",
|
|
32639
|
+
form: "single",
|
|
32640
|
+
optional: false
|
|
32641
|
+
}],
|
|
32642
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32643
|
+
name: "deviceId",
|
|
32644
|
+
form: "single",
|
|
32645
|
+
optional: false
|
|
32646
|
+
}],
|
|
32647
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32648
|
+
name: "deviceId",
|
|
32649
|
+
form: "single",
|
|
32650
|
+
optional: false
|
|
32651
|
+
}],
|
|
32652
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32653
|
+
name: "deviceId",
|
|
32654
|
+
form: "single",
|
|
32655
|
+
optional: false
|
|
32656
|
+
}],
|
|
32657
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32658
|
+
name: "deviceId",
|
|
32659
|
+
form: "single",
|
|
32660
|
+
optional: false
|
|
32661
|
+
}],
|
|
32662
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32663
|
+
name: "deviceIds",
|
|
32664
|
+
form: "array",
|
|
32665
|
+
optional: true
|
|
32666
|
+
}],
|
|
32667
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32668
|
+
name: "deviceId",
|
|
32669
|
+
form: "single",
|
|
32670
|
+
optional: false
|
|
32671
|
+
}],
|
|
32672
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32673
|
+
name: "deviceId",
|
|
32674
|
+
form: "single",
|
|
32675
|
+
optional: false
|
|
32676
|
+
}],
|
|
32677
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32678
|
+
name: "deviceId",
|
|
32679
|
+
form: "single",
|
|
32680
|
+
optional: false
|
|
32681
|
+
}],
|
|
32682
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32683
|
+
name: "deviceId",
|
|
32684
|
+
form: "single",
|
|
32685
|
+
optional: false
|
|
32686
|
+
}],
|
|
32687
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32688
|
+
name: "deviceId",
|
|
32689
|
+
form: "single",
|
|
32690
|
+
optional: false
|
|
32691
|
+
}],
|
|
32692
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32693
|
+
name: "deviceId",
|
|
32694
|
+
form: "single",
|
|
32695
|
+
optional: false
|
|
32696
|
+
}],
|
|
32697
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32698
|
+
name: "deviceId",
|
|
32699
|
+
form: "single",
|
|
32700
|
+
optional: false
|
|
32701
|
+
}],
|
|
32702
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32703
|
+
name: "deviceId",
|
|
32704
|
+
form: "single",
|
|
32705
|
+
optional: false
|
|
32706
|
+
}],
|
|
32707
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32708
|
+
name: "deviceId",
|
|
32709
|
+
form: "single",
|
|
32710
|
+
optional: false
|
|
32711
|
+
}],
|
|
32712
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32713
|
+
name: "deviceId",
|
|
32714
|
+
form: "single",
|
|
32715
|
+
optional: false
|
|
32716
|
+
}],
|
|
32717
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32718
|
+
name: "deviceId",
|
|
32719
|
+
form: "single",
|
|
32720
|
+
optional: false
|
|
32721
|
+
}],
|
|
32722
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32723
|
+
name: "deviceId",
|
|
32724
|
+
form: "single",
|
|
32725
|
+
optional: false
|
|
32726
|
+
}],
|
|
32727
|
+
"pipelineRunner.attachCamera": [{
|
|
32728
|
+
name: "deviceId",
|
|
32729
|
+
form: "single",
|
|
32730
|
+
optional: false
|
|
32731
|
+
}],
|
|
32732
|
+
"pipelineRunner.detachCamera": [{
|
|
32733
|
+
name: "deviceId",
|
|
32734
|
+
form: "single",
|
|
32735
|
+
optional: false
|
|
32736
|
+
}],
|
|
32737
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32738
|
+
name: "deviceId",
|
|
32739
|
+
form: "single",
|
|
32740
|
+
optional: false
|
|
32741
|
+
}],
|
|
32742
|
+
"pipelineRunner.reportMotion": [{
|
|
32743
|
+
name: "deviceId",
|
|
32744
|
+
form: "single",
|
|
32745
|
+
optional: false
|
|
32746
|
+
}],
|
|
32747
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32748
|
+
name: "deviceId",
|
|
32749
|
+
form: "single",
|
|
32750
|
+
optional: false
|
|
32751
|
+
}],
|
|
32752
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32753
|
+
name: "sourceDeviceId",
|
|
32754
|
+
form: "single",
|
|
32755
|
+
optional: false
|
|
32756
|
+
}],
|
|
32757
|
+
"plateGallery.getPlateByTrack": [{
|
|
32758
|
+
name: "deviceId",
|
|
32759
|
+
form: "single",
|
|
32760
|
+
optional: false
|
|
32761
|
+
}],
|
|
32762
|
+
"plateGallery.listPlates": [{
|
|
32763
|
+
name: "deviceId",
|
|
32764
|
+
form: "single",
|
|
32765
|
+
optional: true
|
|
32766
|
+
}],
|
|
32767
|
+
"privacyMask.getOptions": [{
|
|
32768
|
+
name: "deviceId",
|
|
32769
|
+
form: "single",
|
|
32770
|
+
optional: false
|
|
32771
|
+
}],
|
|
32772
|
+
"privacyMask.setAudioEnabled": [{
|
|
32773
|
+
name: "deviceId",
|
|
32774
|
+
form: "single",
|
|
32775
|
+
optional: false
|
|
32776
|
+
}],
|
|
32777
|
+
"privacyMask.setMask": [{
|
|
32778
|
+
name: "deviceId",
|
|
32779
|
+
form: "single",
|
|
32780
|
+
optional: false
|
|
32781
|
+
}],
|
|
32782
|
+
"ptz.continuousMove": [{
|
|
32783
|
+
name: "deviceId",
|
|
32784
|
+
form: "single",
|
|
32785
|
+
optional: false
|
|
32786
|
+
}],
|
|
32787
|
+
"ptz.deletePreset": [{
|
|
32788
|
+
name: "deviceId",
|
|
32789
|
+
form: "single",
|
|
32790
|
+
optional: false
|
|
32791
|
+
}],
|
|
32792
|
+
"ptz.getOptions": [{
|
|
32793
|
+
name: "deviceId",
|
|
32794
|
+
form: "single",
|
|
32795
|
+
optional: false
|
|
32796
|
+
}],
|
|
32797
|
+
"ptz.getPosition": [{
|
|
32798
|
+
name: "deviceId",
|
|
32799
|
+
form: "single",
|
|
32800
|
+
optional: false
|
|
32801
|
+
}],
|
|
32802
|
+
"ptz.getPresets": [{
|
|
32803
|
+
name: "deviceId",
|
|
32804
|
+
form: "single",
|
|
32805
|
+
optional: false
|
|
32806
|
+
}],
|
|
32807
|
+
"ptz.goHome": [{
|
|
32808
|
+
name: "deviceId",
|
|
32809
|
+
form: "single",
|
|
32810
|
+
optional: false
|
|
32811
|
+
}],
|
|
32812
|
+
"ptz.goToPreset": [{
|
|
32813
|
+
name: "deviceId",
|
|
32814
|
+
form: "single",
|
|
32815
|
+
optional: false
|
|
32816
|
+
}],
|
|
32817
|
+
"ptz.move": [{
|
|
32818
|
+
name: "deviceId",
|
|
32819
|
+
form: "single",
|
|
32820
|
+
optional: false
|
|
32821
|
+
}],
|
|
32822
|
+
"ptz.savePreset": [{
|
|
32823
|
+
name: "deviceId",
|
|
32824
|
+
form: "single",
|
|
32825
|
+
optional: false
|
|
32826
|
+
}],
|
|
32827
|
+
"ptz.setAutofocus": [{
|
|
32828
|
+
name: "deviceId",
|
|
32829
|
+
form: "single",
|
|
32830
|
+
optional: false
|
|
32831
|
+
}],
|
|
32832
|
+
"ptz.stop": [{
|
|
32833
|
+
name: "deviceId",
|
|
32834
|
+
form: "single",
|
|
32835
|
+
optional: false
|
|
32836
|
+
}],
|
|
32837
|
+
"ptzAutotrack.getSettings": [{
|
|
32838
|
+
name: "deviceId",
|
|
32839
|
+
form: "single",
|
|
32840
|
+
optional: false
|
|
32841
|
+
}],
|
|
32842
|
+
"ptzAutotrack.getStatus": [{
|
|
32843
|
+
name: "deviceId",
|
|
32844
|
+
form: "single",
|
|
32845
|
+
optional: false
|
|
32846
|
+
}],
|
|
32847
|
+
"ptzAutotrack.setEnabled": [{
|
|
32848
|
+
name: "deviceId",
|
|
32849
|
+
form: "single",
|
|
32850
|
+
optional: false
|
|
32851
|
+
}],
|
|
32852
|
+
"ptzAutotrack.setSettings": [{
|
|
32853
|
+
name: "deviceId",
|
|
32854
|
+
form: "single",
|
|
32855
|
+
optional: false
|
|
32856
|
+
}],
|
|
32857
|
+
"reboot.reboot": [{
|
|
32858
|
+
name: "deviceId",
|
|
32859
|
+
form: "single",
|
|
32860
|
+
optional: false
|
|
32861
|
+
}],
|
|
32862
|
+
"recording.deleteFootprint": [{
|
|
32863
|
+
name: "deviceId",
|
|
32864
|
+
form: "single",
|
|
32865
|
+
optional: false
|
|
32866
|
+
}],
|
|
32867
|
+
"recording.getAvailability": [{
|
|
32868
|
+
name: "deviceId",
|
|
32869
|
+
form: "single",
|
|
32870
|
+
optional: false
|
|
32871
|
+
}],
|
|
32872
|
+
"recording.getDaysWithRecordings": [{
|
|
32873
|
+
name: "deviceId",
|
|
32874
|
+
form: "single",
|
|
32875
|
+
optional: false
|
|
32876
|
+
}],
|
|
32877
|
+
"recording.getDeviceConfig": [{
|
|
32878
|
+
name: "deviceId",
|
|
32879
|
+
form: "single",
|
|
32880
|
+
optional: false
|
|
32881
|
+
}],
|
|
32882
|
+
"recording.getPlaybackManifest": [{
|
|
32883
|
+
name: "deviceId",
|
|
32884
|
+
form: "single",
|
|
32885
|
+
optional: false
|
|
32886
|
+
}],
|
|
32887
|
+
"recording.listOpsLog": [{
|
|
32888
|
+
name: "deviceId",
|
|
32889
|
+
form: "single",
|
|
32890
|
+
optional: true
|
|
32891
|
+
}],
|
|
32892
|
+
"recording.locateSegment": [{
|
|
32893
|
+
name: "deviceId",
|
|
32894
|
+
form: "single",
|
|
32895
|
+
optional: false
|
|
32896
|
+
}],
|
|
32897
|
+
"recording.pruneFootage": [{
|
|
32898
|
+
name: "deviceId",
|
|
32899
|
+
form: "single",
|
|
32900
|
+
optional: false
|
|
32901
|
+
}],
|
|
32902
|
+
"recording.readGopBytes": [{
|
|
32903
|
+
name: "deviceId",
|
|
32904
|
+
form: "single",
|
|
32905
|
+
optional: false
|
|
32906
|
+
}],
|
|
32907
|
+
"recording.readSegmentBytes": [{
|
|
32908
|
+
name: "deviceId",
|
|
32909
|
+
form: "single",
|
|
32910
|
+
optional: false
|
|
32911
|
+
}],
|
|
32912
|
+
"recording.relocateFootage": [{
|
|
32913
|
+
name: "deviceId",
|
|
32914
|
+
form: "single",
|
|
32915
|
+
optional: true
|
|
32916
|
+
}],
|
|
32917
|
+
"recording.renderClip": [{
|
|
32918
|
+
name: "deviceId",
|
|
32919
|
+
form: "single",
|
|
32920
|
+
optional: false
|
|
32921
|
+
}],
|
|
32922
|
+
"recording.renderGif": [{
|
|
32923
|
+
name: "deviceId",
|
|
32924
|
+
form: "single",
|
|
32925
|
+
optional: false
|
|
32926
|
+
}],
|
|
32927
|
+
"recording.rescanStorage": [{
|
|
32928
|
+
name: "deviceId",
|
|
32929
|
+
form: "single",
|
|
32930
|
+
optional: false
|
|
32931
|
+
}],
|
|
32932
|
+
"recording.setDeviceConfig": [{
|
|
32933
|
+
name: "deviceId",
|
|
32934
|
+
form: "single",
|
|
32935
|
+
optional: false
|
|
32936
|
+
}],
|
|
32937
|
+
"recording.startStorageMigrationMove": [{
|
|
32938
|
+
name: "deviceId",
|
|
32939
|
+
form: "single",
|
|
32940
|
+
optional: true
|
|
32941
|
+
}],
|
|
32942
|
+
"recordingExport.createExport": [{
|
|
32943
|
+
name: "deviceId",
|
|
32944
|
+
form: "single",
|
|
32945
|
+
optional: false
|
|
32946
|
+
}],
|
|
32947
|
+
"recordingExport.listExports": [{
|
|
32948
|
+
name: "deviceId",
|
|
32949
|
+
form: "single",
|
|
32950
|
+
optional: true
|
|
32951
|
+
}],
|
|
32952
|
+
"sceneMonitor.captureReference": [{
|
|
32953
|
+
name: "deviceId",
|
|
32954
|
+
form: "single",
|
|
32955
|
+
optional: false
|
|
32956
|
+
}],
|
|
32957
|
+
"sceneMonitor.createScene": [{
|
|
32958
|
+
name: "deviceId",
|
|
32959
|
+
form: "single",
|
|
32960
|
+
optional: false
|
|
32961
|
+
}],
|
|
32962
|
+
"sceneMonitor.deleteReference": [{
|
|
32963
|
+
name: "deviceId",
|
|
32964
|
+
form: "single",
|
|
32965
|
+
optional: false
|
|
32966
|
+
}],
|
|
32967
|
+
"sceneMonitor.deleteScene": [{
|
|
32968
|
+
name: "deviceId",
|
|
32969
|
+
form: "single",
|
|
32970
|
+
optional: false
|
|
32971
|
+
}],
|
|
32972
|
+
"sceneMonitor.listScenes": [{
|
|
32973
|
+
name: "deviceId",
|
|
32974
|
+
form: "single",
|
|
32975
|
+
optional: false
|
|
32976
|
+
}],
|
|
32977
|
+
"sceneMonitor.recheckNow": [{
|
|
32978
|
+
name: "deviceId",
|
|
32979
|
+
form: "single",
|
|
32980
|
+
optional: false
|
|
32981
|
+
}],
|
|
32982
|
+
"sceneMonitor.resetScene": [{
|
|
32983
|
+
name: "deviceId",
|
|
32984
|
+
form: "single",
|
|
32985
|
+
optional: false
|
|
32986
|
+
}],
|
|
32987
|
+
"sceneMonitor.updateScene": [{
|
|
32988
|
+
name: "deviceId",
|
|
32989
|
+
form: "single",
|
|
32990
|
+
optional: false
|
|
32991
|
+
}],
|
|
32992
|
+
"scriptRunner.run": [{
|
|
32993
|
+
name: "deviceId",
|
|
32994
|
+
form: "single",
|
|
32995
|
+
optional: false
|
|
32996
|
+
}],
|
|
32997
|
+
"scriptRunner.stop": [{
|
|
32998
|
+
name: "deviceId",
|
|
32999
|
+
form: "single",
|
|
33000
|
+
optional: false
|
|
33001
|
+
}],
|
|
33002
|
+
"snapshot.getDebugState": [{
|
|
33003
|
+
name: "deviceId",
|
|
33004
|
+
form: "single",
|
|
33005
|
+
optional: false
|
|
33006
|
+
}],
|
|
33007
|
+
"snapshot.getSnapshot": [{
|
|
33008
|
+
name: "deviceId",
|
|
33009
|
+
form: "single",
|
|
33010
|
+
optional: false
|
|
33011
|
+
}],
|
|
33012
|
+
"snapshot.getSnapshotLinks": [{
|
|
33013
|
+
name: "targets",
|
|
33014
|
+
form: "object-array",
|
|
33015
|
+
optional: false,
|
|
33016
|
+
itemField: "deviceId"
|
|
33017
|
+
}],
|
|
33018
|
+
"snapshot.getSnapshotOverview": [{
|
|
33019
|
+
name: "deviceIds",
|
|
33020
|
+
form: "array",
|
|
33021
|
+
optional: false
|
|
33022
|
+
}],
|
|
33023
|
+
"snapshot.invalidateCache": [{
|
|
33024
|
+
name: "deviceId",
|
|
33025
|
+
form: "single",
|
|
33026
|
+
optional: false
|
|
33027
|
+
}],
|
|
33028
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
33029
|
+
name: "deviceId",
|
|
33030
|
+
form: "single",
|
|
33031
|
+
optional: false
|
|
33032
|
+
}],
|
|
33033
|
+
"streamBroker.assignProfile": [{
|
|
33034
|
+
name: "deviceId",
|
|
33035
|
+
form: "single",
|
|
33036
|
+
optional: false
|
|
33037
|
+
}],
|
|
33038
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
33039
|
+
name: "deviceId",
|
|
33040
|
+
form: "single",
|
|
33041
|
+
optional: false
|
|
33042
|
+
}],
|
|
33043
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33044
|
+
name: "deviceId",
|
|
33045
|
+
form: "single",
|
|
33046
|
+
optional: false
|
|
33047
|
+
}],
|
|
33048
|
+
"streamBroker.produceEventMedia": [{
|
|
33049
|
+
name: "deviceId",
|
|
33050
|
+
form: "single",
|
|
33051
|
+
optional: false
|
|
33052
|
+
}],
|
|
33053
|
+
"streamBroker.publishCameraStream": [{
|
|
33054
|
+
name: "deviceId",
|
|
33055
|
+
form: "single",
|
|
33056
|
+
optional: false
|
|
33057
|
+
}],
|
|
33058
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33059
|
+
name: "deviceId",
|
|
33060
|
+
form: "single",
|
|
33061
|
+
optional: false
|
|
33062
|
+
}],
|
|
33063
|
+
"streamBroker.restartProfile": [{
|
|
33064
|
+
name: "deviceId",
|
|
33065
|
+
form: "single",
|
|
33066
|
+
optional: false
|
|
33067
|
+
}],
|
|
33068
|
+
"streamBroker.retractCameraStream": [{
|
|
33069
|
+
name: "deviceId",
|
|
33070
|
+
form: "single",
|
|
33071
|
+
optional: false
|
|
33072
|
+
}],
|
|
33073
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33074
|
+
name: "deviceId",
|
|
33075
|
+
form: "single",
|
|
33076
|
+
optional: false
|
|
33077
|
+
}],
|
|
33078
|
+
"streamBroker.unassignProfile": [{
|
|
33079
|
+
name: "deviceId",
|
|
33080
|
+
form: "single",
|
|
33081
|
+
optional: false
|
|
33082
|
+
}],
|
|
33083
|
+
"streamCatalog.getCatalog": [{
|
|
33084
|
+
name: "deviceId",
|
|
33085
|
+
form: "single",
|
|
33086
|
+
optional: false
|
|
33087
|
+
}],
|
|
33088
|
+
"streamParams.getConfigSchema": [{
|
|
33089
|
+
name: "deviceId",
|
|
33090
|
+
form: "single",
|
|
33091
|
+
optional: false
|
|
33092
|
+
}],
|
|
33093
|
+
"streamParams.getOptions": [{
|
|
33094
|
+
name: "deviceId",
|
|
33095
|
+
form: "single",
|
|
33096
|
+
optional: false
|
|
33097
|
+
}],
|
|
33098
|
+
"streamParams.setProfile": [{
|
|
33099
|
+
name: "deviceId",
|
|
33100
|
+
form: "single",
|
|
33101
|
+
optional: false
|
|
33102
|
+
}],
|
|
33103
|
+
"switch.setState": [{
|
|
33104
|
+
name: "deviceId",
|
|
33105
|
+
form: "single",
|
|
33106
|
+
optional: false
|
|
33107
|
+
}],
|
|
33108
|
+
"vacuumControl.locate": [{
|
|
33109
|
+
name: "deviceId",
|
|
33110
|
+
form: "single",
|
|
33111
|
+
optional: false
|
|
33112
|
+
}],
|
|
33113
|
+
"vacuumControl.pause": [{
|
|
33114
|
+
name: "deviceId",
|
|
33115
|
+
form: "single",
|
|
33116
|
+
optional: false
|
|
33117
|
+
}],
|
|
33118
|
+
"vacuumControl.returnToBase": [{
|
|
33119
|
+
name: "deviceId",
|
|
33120
|
+
form: "single",
|
|
33121
|
+
optional: false
|
|
33122
|
+
}],
|
|
33123
|
+
"vacuumControl.setFanSpeed": [{
|
|
33124
|
+
name: "deviceId",
|
|
33125
|
+
form: "single",
|
|
33126
|
+
optional: false
|
|
33127
|
+
}],
|
|
33128
|
+
"vacuumControl.start": [{
|
|
33129
|
+
name: "deviceId",
|
|
33130
|
+
form: "single",
|
|
33131
|
+
optional: false
|
|
33132
|
+
}],
|
|
33133
|
+
"vacuumControl.stop": [{
|
|
33134
|
+
name: "deviceId",
|
|
33135
|
+
form: "single",
|
|
33136
|
+
optional: false
|
|
33137
|
+
}],
|
|
33138
|
+
"valve.close": [{
|
|
33139
|
+
name: "deviceId",
|
|
33140
|
+
form: "single",
|
|
33141
|
+
optional: false
|
|
33142
|
+
}],
|
|
33143
|
+
"valve.open": [{
|
|
33144
|
+
name: "deviceId",
|
|
33145
|
+
form: "single",
|
|
33146
|
+
optional: false
|
|
33147
|
+
}],
|
|
33148
|
+
"valve.setPosition": [{
|
|
33149
|
+
name: "deviceId",
|
|
33150
|
+
form: "single",
|
|
33151
|
+
optional: false
|
|
33152
|
+
}],
|
|
33153
|
+
"valve.stop": [{
|
|
33154
|
+
name: "deviceId",
|
|
33155
|
+
form: "single",
|
|
33156
|
+
optional: false
|
|
33157
|
+
}],
|
|
33158
|
+
"videoclips.getClipPlayback": [{
|
|
33159
|
+
name: "deviceId",
|
|
33160
|
+
form: "single",
|
|
33161
|
+
optional: false
|
|
33162
|
+
}],
|
|
33163
|
+
"videoclips.listClips": [{
|
|
33164
|
+
name: "deviceId",
|
|
33165
|
+
form: "single",
|
|
33166
|
+
optional: false
|
|
33167
|
+
}],
|
|
33168
|
+
"waterHeater.setAway": [{
|
|
33169
|
+
name: "deviceId",
|
|
33170
|
+
form: "single",
|
|
33171
|
+
optional: false
|
|
33172
|
+
}],
|
|
33173
|
+
"waterHeater.setOperationMode": [{
|
|
33174
|
+
name: "deviceId",
|
|
33175
|
+
form: "single",
|
|
33176
|
+
optional: false
|
|
33177
|
+
}],
|
|
33178
|
+
"waterHeater.setTargetTemp": [{
|
|
33179
|
+
name: "deviceId",
|
|
33180
|
+
form: "single",
|
|
33181
|
+
optional: false
|
|
33182
|
+
}],
|
|
33183
|
+
"webrtcSession.addIceCandidate": [{
|
|
33184
|
+
name: "deviceId",
|
|
33185
|
+
form: "single",
|
|
33186
|
+
optional: false
|
|
33187
|
+
}],
|
|
33188
|
+
"webrtcSession.closeSession": [{
|
|
33189
|
+
name: "deviceId",
|
|
33190
|
+
form: "single",
|
|
33191
|
+
optional: false
|
|
33192
|
+
}],
|
|
33193
|
+
"webrtcSession.createSession": [{
|
|
33194
|
+
name: "deviceId",
|
|
33195
|
+
form: "single",
|
|
33196
|
+
optional: false
|
|
33197
|
+
}],
|
|
33198
|
+
"webrtcSession.getIceCandidates": [{
|
|
33199
|
+
name: "deviceId",
|
|
33200
|
+
form: "single",
|
|
33201
|
+
optional: false
|
|
33202
|
+
}],
|
|
33203
|
+
"webrtcSession.getSessionState": [{
|
|
33204
|
+
name: "deviceId",
|
|
33205
|
+
form: "single",
|
|
33206
|
+
optional: false
|
|
33207
|
+
}],
|
|
33208
|
+
"webrtcSession.handleAnswer": [{
|
|
33209
|
+
name: "deviceId",
|
|
33210
|
+
form: "single",
|
|
33211
|
+
optional: false
|
|
33212
|
+
}],
|
|
33213
|
+
"webrtcSession.handleOffer": [{
|
|
33214
|
+
name: "deviceId",
|
|
33215
|
+
form: "single",
|
|
33216
|
+
optional: false
|
|
33217
|
+
}],
|
|
33218
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33219
|
+
name: "deviceId",
|
|
33220
|
+
form: "single",
|
|
33221
|
+
optional: false
|
|
33222
|
+
}],
|
|
33223
|
+
"webrtcSession.listStreams": [{
|
|
33224
|
+
name: "deviceId",
|
|
33225
|
+
form: "single",
|
|
33226
|
+
optional: false
|
|
33227
|
+
}],
|
|
33228
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33229
|
+
name: "deviceId",
|
|
33230
|
+
form: "single",
|
|
33231
|
+
optional: false
|
|
33232
|
+
}],
|
|
33233
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33234
|
+
name: "deviceId",
|
|
33235
|
+
form: "single",
|
|
33236
|
+
optional: false
|
|
33237
|
+
}],
|
|
33238
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33239
|
+
name: "deviceId",
|
|
33240
|
+
form: "single",
|
|
33241
|
+
optional: false
|
|
33242
|
+
}],
|
|
33243
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33244
|
+
name: "deviceId",
|
|
33245
|
+
form: "single",
|
|
33246
|
+
optional: false
|
|
33247
|
+
}],
|
|
33248
|
+
"zoneRules.listRules": [{
|
|
33249
|
+
name: "deviceId",
|
|
33250
|
+
form: "single",
|
|
33251
|
+
optional: false
|
|
33252
|
+
}],
|
|
33253
|
+
"zoneRules.setRules": [{
|
|
33254
|
+
name: "deviceId",
|
|
33255
|
+
form: "single",
|
|
33256
|
+
optional: false
|
|
33257
|
+
}],
|
|
33258
|
+
"zones.addZone": [{
|
|
33259
|
+
name: "deviceId",
|
|
33260
|
+
form: "single",
|
|
33261
|
+
optional: false
|
|
33262
|
+
}],
|
|
33263
|
+
"zones.listZones": [{
|
|
33264
|
+
name: "deviceId",
|
|
33265
|
+
form: "single",
|
|
33266
|
+
optional: false
|
|
33267
|
+
}],
|
|
33268
|
+
"zones.removeZone": [{
|
|
33269
|
+
name: "deviceId",
|
|
33270
|
+
form: "single",
|
|
33271
|
+
optional: false
|
|
33272
|
+
}],
|
|
33273
|
+
"zones.updateZone": [{
|
|
33274
|
+
name: "deviceId",
|
|
33275
|
+
form: "single",
|
|
33276
|
+
optional: false
|
|
33277
|
+
}]
|
|
33278
|
+
});
|
|
30674
33279
|
Object.freeze({
|
|
30675
33280
|
"broker": "broker",
|
|
30676
33281
|
"device-export": "device-export",
|