@camstack/addon-static-turn 1.2.16 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/static-turn.addon.js +2690 -85
- package/dist/static-turn.addon.mjs +2690 -85
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2996,6 +3023,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2996
3023
|
fallback: left.fallback
|
|
2997
3024
|
}, ctx);
|
|
2998
3025
|
}
|
|
3026
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3027
|
+
$ZodPipe.init(inst, def);
|
|
3028
|
+
});
|
|
2999
3029
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3000
3030
|
$ZodType.init(inst, def);
|
|
3001
3031
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5181,6 +5211,10 @@ function pipe(in_, out) {
|
|
|
5181
5211
|
out
|
|
5182
5212
|
});
|
|
5183
5213
|
}
|
|
5214
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5215
|
+
ZodPipe.init(inst, def);
|
|
5216
|
+
$ZodPreprocess.init(inst, def);
|
|
5217
|
+
});
|
|
5184
5218
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5185
5219
|
$ZodReadonly.init(inst, def);
|
|
5186
5220
|
ZodType.init(inst, def);
|
|
@@ -5239,6 +5273,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5239
5273
|
};
|
|
5240
5274
|
return inst;
|
|
5241
5275
|
}
|
|
5276
|
+
function preprocess(fn, schema) {
|
|
5277
|
+
return new ZodPreprocess({
|
|
5278
|
+
type: "pipe",
|
|
5279
|
+
in: transform(fn),
|
|
5280
|
+
out: schema
|
|
5281
|
+
});
|
|
5282
|
+
}
|
|
5242
5283
|
//#endregion
|
|
5243
5284
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5244
5285
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10757,6 +10798,8 @@ var QueryFilterSchema = object({
|
|
|
10757
10798
|
where: record(string(), unknown()).optional(),
|
|
10758
10799
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10759
10800
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10801
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10802
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10760
10803
|
orderBy: object({
|
|
10761
10804
|
field: string(),
|
|
10762
10805
|
direction: _enum(["asc", "desc"])
|
|
@@ -10776,7 +10819,8 @@ var QueryFilterSchema = object({
|
|
|
10776
10819
|
var MutationFilterSchema = object({
|
|
10777
10820
|
where: record(string(), unknown()).optional(),
|
|
10778
10821
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10779
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10822
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10823
|
+
whereNot: record(string(), unknown()).optional()
|
|
10780
10824
|
});
|
|
10781
10825
|
/** A single stored record: `{ id, data }`. */
|
|
10782
10826
|
var SettingsRecordSchema = object({
|
|
@@ -12133,6 +12177,17 @@ var LlmImageSchema = object({
|
|
|
12133
12177
|
bytes: _instanceof(Uint8Array),
|
|
12134
12178
|
mimeType: string()
|
|
12135
12179
|
});
|
|
12180
|
+
/**
|
|
12181
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12182
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12183
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12184
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12185
|
+
*/
|
|
12186
|
+
var LlmRetryPolicySchema = object({
|
|
12187
|
+
enabled: boolean().default(false),
|
|
12188
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12189
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12190
|
+
});
|
|
12136
12191
|
var LlmGenerateBaseInputSchema = object({
|
|
12137
12192
|
/** Collection routing (the notification-output posture). */
|
|
12138
12193
|
addonId: string().optional(),
|
|
@@ -12147,7 +12202,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12147
12202
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12148
12203
|
/** Per-call override of the profile default. */
|
|
12149
12204
|
maxTokens: number().int().positive().optional(),
|
|
12150
|
-
temperature: number().optional()
|
|
12205
|
+
temperature: number().optional(),
|
|
12206
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12207
|
+
topP: number().min(0).max(1).optional(),
|
|
12208
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12209
|
+
topK: number().int().positive().optional(),
|
|
12210
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12211
|
+
timeoutMs: number().int().positive().optional(),
|
|
12212
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12213
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12214
|
+
/**
|
|
12215
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12216
|
+
*
|
|
12217
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12218
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12219
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12220
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12221
|
+
* not generations, and the real load is unbounded.
|
|
12222
|
+
*
|
|
12223
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12224
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12225
|
+
*/
|
|
12226
|
+
requestId: string().optional()
|
|
12151
12227
|
});
|
|
12152
12228
|
/**
|
|
12153
12229
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12160,6 +12236,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12160
12236
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12161
12237
|
* watchdog — operator decision #3).
|
|
12162
12238
|
*/
|
|
12239
|
+
/**
|
|
12240
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12241
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12242
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12243
|
+
* the preview is exactly what the node downloads.
|
|
12244
|
+
*/
|
|
12245
|
+
var ManagedModelExtraFileSchema = object({
|
|
12246
|
+
url: string(),
|
|
12247
|
+
filename: string(),
|
|
12248
|
+
sizeBytes: number(),
|
|
12249
|
+
sha256: string().optional()
|
|
12250
|
+
});
|
|
12163
12251
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12164
12252
|
object({
|
|
12165
12253
|
kind: literal("catalog"),
|
|
@@ -12168,7 +12256,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12168
12256
|
object({
|
|
12169
12257
|
kind: literal("url"),
|
|
12170
12258
|
url: string(),
|
|
12171
|
-
sha256: string().optional()
|
|
12259
|
+
sha256: string().optional(),
|
|
12260
|
+
/** Picker/status label; the file basename when absent. */
|
|
12261
|
+
label: string().optional(),
|
|
12262
|
+
sizeBytes: number().optional(),
|
|
12263
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12172
12264
|
}),
|
|
12173
12265
|
object({
|
|
12174
12266
|
kind: literal("path"),
|
|
@@ -12186,13 +12278,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12186
12278
|
gpuLayers: number().int().default(0),
|
|
12187
12279
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12188
12280
|
threads: number().int().optional(),
|
|
12189
|
-
/** Concurrent slots. */
|
|
12281
|
+
/** Concurrent slots (`--parallel`). */
|
|
12190
12282
|
parallel: number().int().default(1),
|
|
12283
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12284
|
+
batchSize: number().int().positive().optional(),
|
|
12285
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12286
|
+
ubatchSize: number().int().positive().optional(),
|
|
12287
|
+
/**
|
|
12288
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12289
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12290
|
+
*/
|
|
12291
|
+
flashAttention: boolean().default(false),
|
|
12292
|
+
/**
|
|
12293
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12294
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12295
|
+
* what the RAM budget is counting.
|
|
12296
|
+
*/
|
|
12297
|
+
mlock: boolean().default(false),
|
|
12298
|
+
/**
|
|
12299
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12300
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12301
|
+
* store produces on every first token.
|
|
12302
|
+
*/
|
|
12303
|
+
noMmap: boolean().default(false),
|
|
12304
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12305
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12306
|
+
cacheTypeK: _enum([
|
|
12307
|
+
"f32",
|
|
12308
|
+
"f16",
|
|
12309
|
+
"q8_0",
|
|
12310
|
+
"q5_1",
|
|
12311
|
+
"q5_0",
|
|
12312
|
+
"q4_1",
|
|
12313
|
+
"q4_0"
|
|
12314
|
+
]).optional(),
|
|
12315
|
+
cacheTypeV: _enum([
|
|
12316
|
+
"f32",
|
|
12317
|
+
"f16",
|
|
12318
|
+
"q8_0",
|
|
12319
|
+
"q5_1",
|
|
12320
|
+
"q5_0",
|
|
12321
|
+
"q4_1",
|
|
12322
|
+
"q4_0"
|
|
12323
|
+
]).optional(),
|
|
12324
|
+
/**
|
|
12325
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12326
|
+
* (which most vision chat templates need and some language-only models
|
|
12327
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12328
|
+
*
|
|
12329
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12330
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12331
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12332
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12333
|
+
* twice (D62).
|
|
12334
|
+
*/
|
|
12335
|
+
extraArgs: array(string()).default([]),
|
|
12191
12336
|
/** Else lazy: first generate boots it. */
|
|
12192
12337
|
autoStart: boolean().default(false),
|
|
12193
12338
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12194
12339
|
idleStopMinutes: number().int().default(30)
|
|
12195
12340
|
});
|
|
12341
|
+
/**
|
|
12342
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12343
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12344
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12345
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12346
|
+
*/
|
|
12347
|
+
var LlmDownloadProgressSchema = object({
|
|
12348
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12349
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12350
|
+
file: string(),
|
|
12351
|
+
fileIndex: number().int(),
|
|
12352
|
+
fileCount: number().int(),
|
|
12353
|
+
/** Across the WHOLE install, not the current file. */
|
|
12354
|
+
downloadedBytes: number(),
|
|
12355
|
+
totalBytes: number().optional()
|
|
12356
|
+
});
|
|
12196
12357
|
var LlmRuntimeStatusSchema = object({
|
|
12197
12358
|
/** Status is ALWAYS node-qualified. */
|
|
12198
12359
|
nodeId: string(),
|
|
@@ -12209,6 +12370,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12209
12370
|
modelPath: string().optional(),
|
|
12210
12371
|
modelId: string().optional(),
|
|
12211
12372
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12373
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12374
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12212
12375
|
lastError: string().optional(),
|
|
12213
12376
|
crashesInWindow: number(),
|
|
12214
12377
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12219,7 +12382,14 @@ var LlmNodeModelSchema = object({
|
|
|
12219
12382
|
file: string(),
|
|
12220
12383
|
sizeBytes: number(),
|
|
12221
12384
|
catalogId: string().optional(),
|
|
12222
|
-
installedAt: number().optional()
|
|
12385
|
+
installedAt: number().optional(),
|
|
12386
|
+
/**
|
|
12387
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12388
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12389
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12390
|
+
* it the picker could list such a file and do nothing with it.
|
|
12391
|
+
*/
|
|
12392
|
+
path: string().optional()
|
|
12223
12393
|
});
|
|
12224
12394
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12225
12395
|
nodeId: string(),
|
|
@@ -12275,10 +12445,47 @@ var LlmProfileSchema = object({
|
|
|
12275
12445
|
baseUrl: string().optional(),
|
|
12276
12446
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12277
12447
|
apiKey: string().optional(),
|
|
12448
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12449
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12450
|
+
* question about a picture nobody sent. */
|
|
12278
12451
|
supportsVision: boolean(),
|
|
12279
12452
|
temperature: number().min(0).max(2).optional(),
|
|
12453
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12454
|
+
topP: number().min(0).max(1).optional(),
|
|
12455
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12456
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12457
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12458
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12459
|
+
topK: number().int().positive().optional(),
|
|
12280
12460
|
maxTokens: number().int().positive().optional(),
|
|
12461
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12462
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12463
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12464
|
+
contextLength: number().int().positive().optional(),
|
|
12465
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12466
|
+
* two system prompts fighting is worse than either alone). */
|
|
12467
|
+
systemPrompt: string().optional(),
|
|
12468
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12281
12469
|
timeoutMs: number().int().positive().default(6e4),
|
|
12470
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12471
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12472
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12473
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12474
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12475
|
+
* GPU load is exactly what happens before them. */
|
|
12476
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12477
|
+
/** Output started then stopped. */
|
|
12478
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12479
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12480
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12481
|
+
retry: LlmRetryPolicySchema.default({
|
|
12482
|
+
enabled: false,
|
|
12483
|
+
maxAttempts: 1
|
|
12484
|
+
}),
|
|
12485
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12486
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12487
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12488
|
+
toolsEnabled: boolean().default(false),
|
|
12282
12489
|
extraHeaders: record(string(), string()).optional(),
|
|
12283
12490
|
/** kind === 'managed-local' only (spec §4). */
|
|
12284
12491
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12328,6 +12535,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12328
12535
|
/** Vision models: companion projector file. */
|
|
12329
12536
|
mmprojUrl: string().optional()
|
|
12330
12537
|
});
|
|
12538
|
+
/**
|
|
12539
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12540
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12541
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12542
|
+
* exception.
|
|
12543
|
+
*
|
|
12544
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12545
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12546
|
+
*/
|
|
12547
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12548
|
+
ok: literal(true),
|
|
12549
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12550
|
+
model: ManagedModelRefSchema,
|
|
12551
|
+
label: string(),
|
|
12552
|
+
repo: string(),
|
|
12553
|
+
quantization: string(),
|
|
12554
|
+
purpose: _enum(["text", "vision"]),
|
|
12555
|
+
totalBytes: number(),
|
|
12556
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12557
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12558
|
+
extraFilenames: array(string())
|
|
12559
|
+
}), object({
|
|
12560
|
+
ok: literal(false),
|
|
12561
|
+
code: string(),
|
|
12562
|
+
message: string(),
|
|
12563
|
+
candidates: array(string()).optional(),
|
|
12564
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12565
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12566
|
+
requiredBytes: number().optional()
|
|
12567
|
+
})]);
|
|
12331
12568
|
var LlmRuntimeNodeSchema = object({
|
|
12332
12569
|
nodeId: string(),
|
|
12333
12570
|
reachable: boolean(),
|
|
@@ -12340,7 +12577,10 @@ var ProfileRefInputSchema = object({
|
|
|
12340
12577
|
addonId: string(),
|
|
12341
12578
|
profileId: string()
|
|
12342
12579
|
});
|
|
12343
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12580
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12581
|
+
addonId: string().optional(),
|
|
12582
|
+
requestId: string()
|
|
12583
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12344
12584
|
kind: "mutation",
|
|
12345
12585
|
auth: "admin"
|
|
12346
12586
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12361,6 +12601,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12361
12601
|
consumer: string().optional(),
|
|
12362
12602
|
profileId: string().optional()
|
|
12363
12603
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12604
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12605
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12606
|
+
ref: string(),
|
|
12607
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12608
|
+
maxBytes: number().positive().optional()
|
|
12609
|
+
}), HfModelResolutionSchema, {
|
|
12610
|
+
kind: "mutation",
|
|
12611
|
+
auth: "admin"
|
|
12612
|
+
}), method(object({
|
|
12364
12613
|
nodeId: string(),
|
|
12365
12614
|
model: ManagedModelRefSchema
|
|
12366
12615
|
}), _void(), {
|
|
@@ -13970,6 +14219,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13970
14219
|
"stream-offline",
|
|
13971
14220
|
"node-online",
|
|
13972
14221
|
"node-offline",
|
|
14222
|
+
"node-inference-unavailable",
|
|
14223
|
+
"detection-blind",
|
|
13973
14224
|
"addon-update-available",
|
|
13974
14225
|
"server-update-available",
|
|
13975
14226
|
"alarm-triggered",
|
|
@@ -14031,7 +14282,16 @@ var NcScheduleSchema = object({
|
|
|
14031
14282
|
});
|
|
14032
14283
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14033
14284
|
var NcPlateMatcherSchema = object({
|
|
14034
|
-
|
|
14285
|
+
/**
|
|
14286
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14287
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14288
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14289
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14290
|
+
*
|
|
14291
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14292
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14293
|
+
*/
|
|
14294
|
+
values: array(string().min(1)),
|
|
14035
14295
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14036
14296
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14037
14297
|
});
|
|
@@ -14065,28 +14325,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14065
14325
|
/**
|
|
14066
14326
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14067
14327
|
*
|
|
14068
|
-
*
|
|
14069
|
-
*
|
|
14070
|
-
*
|
|
14071
|
-
*
|
|
14072
|
-
*
|
|
14073
|
-
*
|
|
14074
|
-
*
|
|
14075
|
-
*
|
|
14076
|
-
*
|
|
14077
|
-
*
|
|
14078
|
-
*
|
|
14079
|
-
*
|
|
14080
|
-
*
|
|
14081
|
-
*
|
|
14082
|
-
*
|
|
14083
|
-
*
|
|
14084
|
-
*
|
|
14085
|
-
*
|
|
14086
|
-
*
|
|
14087
|
-
*
|
|
14088
|
-
*
|
|
14089
|
-
* `
|
|
14328
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14329
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14330
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14331
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14332
|
+
*
|
|
14333
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14334
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14335
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14336
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14337
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14338
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14339
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14340
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14341
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14342
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14343
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14344
|
+
* seconds is 100% of nothing.
|
|
14345
|
+
*
|
|
14346
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14347
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14348
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14349
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14350
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14351
|
+
* the wrong question to ask of a sparse classifier.
|
|
14352
|
+
*
|
|
14353
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14354
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14355
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14356
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14357
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14090
14358
|
*
|
|
14091
14359
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14092
14360
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14094,13 +14362,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14094
14362
|
* an operator who typed `dog` mean the same thing.
|
|
14095
14363
|
*/
|
|
14096
14364
|
var NcAudioConditionSchema = object({
|
|
14097
|
-
/**
|
|
14365
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14098
14366
|
labels: array(string().min(1)).min(1).optional(),
|
|
14099
|
-
/**
|
|
14367
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14100
14368
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14101
|
-
/**
|
|
14369
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14102
14370
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14103
|
-
/**
|
|
14371
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14104
14372
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14105
14373
|
});
|
|
14106
14374
|
/**
|
|
@@ -14238,13 +14506,81 @@ var NcRuleActionsSchema = object({
|
|
|
14238
14506
|
*/
|
|
14239
14507
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14240
14508
|
});
|
|
14509
|
+
/**
|
|
14510
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14511
|
+
*
|
|
14512
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14513
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14514
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14515
|
+
*
|
|
14516
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14517
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14518
|
+
*/
|
|
14519
|
+
var NcDeviceStateConditionSchema = object({
|
|
14520
|
+
deviceId: number().int(),
|
|
14521
|
+
/** Any of these matches. */
|
|
14522
|
+
states: array(string().min(1)).min(1)
|
|
14523
|
+
});
|
|
14524
|
+
/**
|
|
14525
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14526
|
+
*
|
|
14527
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14528
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14529
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14530
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14531
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14532
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14533
|
+
* kind exist for it — see D159.
|
|
14534
|
+
*
|
|
14535
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14536
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14537
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14538
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14539
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14540
|
+
*
|
|
14541
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14542
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14543
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14544
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14545
|
+
* override one rule against the scene's own default.
|
|
14546
|
+
*
|
|
14547
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14548
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14549
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14550
|
+
* evidence, in either direction.
|
|
14551
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14552
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14553
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14554
|
+
* reason the operator asked for a latch.
|
|
14555
|
+
*
|
|
14556
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14557
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14558
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14559
|
+
* said out loud in the log rather than dropped in silence.
|
|
14560
|
+
*/
|
|
14561
|
+
var NcSceneConditionSchema = object({
|
|
14562
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14563
|
+
sceneId: string().min(1),
|
|
14564
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14565
|
+
deviceId: number().int().optional(),
|
|
14566
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14567
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14568
|
+
/**
|
|
14569
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14570
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14571
|
+
*/
|
|
14572
|
+
latched: boolean().optional()
|
|
14573
|
+
});
|
|
14241
14574
|
var NcConditionsSchema = object({
|
|
14242
14575
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14243
|
-
deviceState:
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14576
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14577
|
+
/**
|
|
14578
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14579
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14580
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14581
|
+
* {@link NcSceneCondition} and D159.
|
|
14582
|
+
*/
|
|
14583
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14248
14584
|
/** Device scope — absent = all devices. */
|
|
14249
14585
|
devices: array(number()).optional(),
|
|
14250
14586
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14270,18 +14606,47 @@ var NcConditionsSchema = object({
|
|
|
14270
14606
|
*/
|
|
14271
14607
|
labelEquals: array(string().min(1)).optional(),
|
|
14272
14608
|
/**
|
|
14273
|
-
*
|
|
14274
|
-
*
|
|
14275
|
-
*
|
|
14609
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14610
|
+
* is about recognised people at all.
|
|
14611
|
+
*
|
|
14612
|
+
* Three states, and the empty one is the point:
|
|
14613
|
+
*
|
|
14614
|
+
* | value | meaning |
|
|
14615
|
+
* | --- | --- |
|
|
14616
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14617
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14618
|
+
* | a list | only these identities |
|
|
14619
|
+
*
|
|
14620
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14621
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14622
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14623
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14624
|
+
* with the list under it is worse than no switch (D62).
|
|
14625
|
+
*
|
|
14626
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14627
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14628
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14629
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14630
|
+
* `{{label}}` renders.
|
|
14631
|
+
*
|
|
14632
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14633
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14634
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14635
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14636
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14276
14637
|
*/
|
|
14277
14638
|
identities: array(string().min(1)).optional(),
|
|
14278
|
-
/**
|
|
14639
|
+
/**
|
|
14640
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14641
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14642
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14643
|
+
*/
|
|
14279
14644
|
plates: NcPlateMatcherSchema.optional(),
|
|
14280
14645
|
/**
|
|
14281
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14282
|
-
*
|
|
14283
|
-
* identity
|
|
14284
|
-
*
|
|
14646
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14647
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14648
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14649
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14285
14650
|
*/
|
|
14286
14651
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14287
14652
|
/**
|
|
@@ -14673,7 +15038,80 @@ var NcRuleInputSchema = object({
|
|
|
14673
15038
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14674
15039
|
* did, and absent is the only way to say that without a migration.
|
|
14675
15040
|
*/
|
|
14676
|
-
confirm: NcConfirmSchema.optional()
|
|
15041
|
+
confirm: NcConfirmSchema.optional(),
|
|
15042
|
+
/**
|
|
15043
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15044
|
+
*
|
|
15045
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15046
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15047
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15048
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15049
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15050
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15051
|
+
*
|
|
15052
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15053
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15054
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15055
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15056
|
+
*
|
|
15057
|
+
* | value | what happens |
|
|
15058
|
+
* | --- | --- |
|
|
15059
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15060
|
+
* | 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) |
|
|
15061
|
+
*
|
|
15062
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15063
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15064
|
+
* rule authored before this field meant.
|
|
15065
|
+
*
|
|
15066
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15067
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15068
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15069
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15070
|
+
*/
|
|
15071
|
+
waitForEnhancement: boolean().optional(),
|
|
15072
|
+
/**
|
|
15073
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15074
|
+
*
|
|
15075
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15076
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15077
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15078
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15079
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15080
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15081
|
+
*
|
|
15082
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15083
|
+
*
|
|
15084
|
+
* ### Why an idle cutoff and not a window
|
|
15085
|
+
*
|
|
15086
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15087
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15088
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15089
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15090
|
+
*
|
|
15091
|
+
* ### What it replaces
|
|
15092
|
+
*
|
|
15093
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15094
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15095
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15096
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15097
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15098
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15099
|
+
* throttled by the window its own first member spent.
|
|
15100
|
+
*
|
|
15101
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15102
|
+
*
|
|
15103
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15104
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15105
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15106
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15107
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15108
|
+
* path. Neither combination fires twice for one subject.
|
|
15109
|
+
*
|
|
15110
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15111
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15112
|
+
* field existed.
|
|
15113
|
+
*/
|
|
15114
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14677
15115
|
});
|
|
14678
15116
|
/**
|
|
14679
15117
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14780,6 +15218,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14780
15218
|
"occupancy",
|
|
14781
15219
|
"audio",
|
|
14782
15220
|
"deviceState",
|
|
15221
|
+
"scene",
|
|
14783
15222
|
"systemEvent"
|
|
14784
15223
|
]),
|
|
14785
15224
|
operator: _enum([
|
|
@@ -15185,7 +15624,87 @@ var MethodAccessSchema = _enum([
|
|
|
15185
15624
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15186
15625
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15187
15626
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15188
|
-
|
|
15627
|
+
/**
|
|
15628
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15629
|
+
*
|
|
15630
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15631
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15632
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15633
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15634
|
+
*
|
|
15635
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15636
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15637
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15638
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15639
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15640
|
+
* is NOT covered until the grant is edited.
|
|
15641
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15642
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15643
|
+
* re-resolves on the next request.
|
|
15644
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15645
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15646
|
+
* null/unset location matches NO `locations` selector.
|
|
15647
|
+
*/
|
|
15648
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15649
|
+
object({ kind: literal("all") }),
|
|
15650
|
+
object({
|
|
15651
|
+
kind: literal("ids"),
|
|
15652
|
+
ids: array(number().int()).min(1)
|
|
15653
|
+
}),
|
|
15654
|
+
object({
|
|
15655
|
+
kind: literal("types"),
|
|
15656
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15657
|
+
}),
|
|
15658
|
+
object({
|
|
15659
|
+
kind: literal("locations"),
|
|
15660
|
+
locations: array(string().min(1)).min(1)
|
|
15661
|
+
})
|
|
15662
|
+
]);
|
|
15663
|
+
var DeviceTokenScopeSchema = object({
|
|
15664
|
+
type: literal("device"),
|
|
15665
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15666
|
+
selector: DeviceSelectorSchema,
|
|
15667
|
+
access: array(MethodAccessSchema).min(1),
|
|
15668
|
+
/**
|
|
15669
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15670
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15671
|
+
* Direction is parent → children ONLY.
|
|
15672
|
+
*
|
|
15673
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15674
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15675
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15676
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15677
|
+
* explicitly to override that default per grant.
|
|
15678
|
+
*/
|
|
15679
|
+
includeLinked: boolean().optional()
|
|
15680
|
+
});
|
|
15681
|
+
/**
|
|
15682
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15683
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15684
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15685
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15686
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15687
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15688
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15689
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15690
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15691
|
+
*/
|
|
15692
|
+
function migrateLegacyTokenScope(raw) {
|
|
15693
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15694
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15695
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15696
|
+
const targets = Reflect.get(raw, "targets");
|
|
15697
|
+
if (!Array.isArray(targets)) return raw;
|
|
15698
|
+
return {
|
|
15699
|
+
type: "device",
|
|
15700
|
+
selector: {
|
|
15701
|
+
kind: "ids",
|
|
15702
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15703
|
+
},
|
|
15704
|
+
access: Reflect.get(raw, "access")
|
|
15705
|
+
};
|
|
15706
|
+
}
|
|
15707
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15189
15708
|
object({
|
|
15190
15709
|
type: literal("category"),
|
|
15191
15710
|
target: CapScopeSchema,
|
|
@@ -15201,18 +15720,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15201
15720
|
target: string(),
|
|
15202
15721
|
access: array(MethodAccessSchema).min(1)
|
|
15203
15722
|
}),
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
/**
|
|
15207
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15208
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15209
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15210
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15211
|
-
*/
|
|
15212
|
-
targets: array(string()).min(1),
|
|
15213
|
-
access: array(MethodAccessSchema).min(1)
|
|
15214
|
-
})
|
|
15215
|
-
]);
|
|
15723
|
+
DeviceTokenScopeSchema
|
|
15724
|
+
]));
|
|
15216
15725
|
object({
|
|
15217
15726
|
id: string(),
|
|
15218
15727
|
username: string(),
|
|
@@ -15529,7 +16038,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15529
16038
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15530
16039
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15531
16040
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15532
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16041
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15533
16042
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15534
16043
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15535
16044
|
* (`getObjectEvents` et al.).
|
|
@@ -15665,7 +16174,21 @@ union([literal(1), literal(2)]);
|
|
|
15665
16174
|
var LabelAttributionSchema = object({
|
|
15666
16175
|
stepId: string(),
|
|
15667
16176
|
modelId: string().optional(),
|
|
15668
|
-
decidedAt: number()
|
|
16177
|
+
decidedAt: number(),
|
|
16178
|
+
/**
|
|
16179
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16180
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16181
|
+
*
|
|
16182
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16183
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16184
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16185
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16186
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16187
|
+
*
|
|
16188
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16189
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16190
|
+
*/
|
|
16191
|
+
identityId: string().optional()
|
|
15669
16192
|
});
|
|
15670
16193
|
/**
|
|
15671
16194
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15802,6 +16325,28 @@ var TrackSchema = object({
|
|
|
15802
16325
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15803
16326
|
*/
|
|
15804
16327
|
hasFace: boolean().optional(),
|
|
16328
|
+
/**
|
|
16329
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16330
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16331
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16332
|
+
*
|
|
16333
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16334
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16335
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16336
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16337
|
+
* stop. This is the composition note that makes the row true.
|
|
16338
|
+
*
|
|
16339
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16340
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16341
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16342
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16343
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16344
|
+
*
|
|
16345
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16346
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16347
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16348
|
+
*/
|
|
16349
|
+
hasRider: boolean().optional(),
|
|
15805
16350
|
...TrackFlagFields,
|
|
15806
16351
|
...TrackRetrainFields
|
|
15807
16352
|
});
|
|
@@ -16151,7 +16696,10 @@ var RecentTracksQueryInput = object({
|
|
|
16151
16696
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16152
16697
|
cursor: string().optional(),
|
|
16153
16698
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16154
|
-
projection: TrackProjectionSchema.optional()
|
|
16699
|
+
projection: TrackProjectionSchema.optional(),
|
|
16700
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16701
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16702
|
+
includeStationary: boolean().optional()
|
|
16155
16703
|
});
|
|
16156
16704
|
var RecentTracksPageSchema = object({
|
|
16157
16705
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16369,7 +16917,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16369
16917
|
zone: TrackZoneFilterSchema.optional(),
|
|
16370
16918
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16371
16919
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16372
|
-
projection: TrackProjectionSchema.optional()
|
|
16920
|
+
projection: TrackProjectionSchema.optional(),
|
|
16921
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
16922
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
16923
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
16924
|
+
includeStationary: boolean().optional()
|
|
16373
16925
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16374
16926
|
kind: "mutation",
|
|
16375
16927
|
auth: "admin"
|
|
@@ -16533,11 +17085,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16533
17085
|
auth: "admin"
|
|
16534
17086
|
}), method(object({
|
|
16535
17087
|
eventId: string(),
|
|
16536
|
-
kind: MediaFileKindEnum.optional()
|
|
17088
|
+
kind: MediaFileKindEnum.optional(),
|
|
17089
|
+
deviceId: number()
|
|
16537
17090
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16538
17091
|
trackId: string(),
|
|
16539
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16540
|
-
|
|
17092
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17093
|
+
deviceId: number()
|
|
17094
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17095
|
+
trackId: string(),
|
|
17096
|
+
deviceId: number()
|
|
17097
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16541
17098
|
kind: "mutation",
|
|
16542
17099
|
auth: "admin"
|
|
16543
17100
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17197,6 +17754,17 @@ var maxSessionHoldMsField = {
|
|
|
17197
17754
|
default: 12e4,
|
|
17198
17755
|
step: 5e3
|
|
17199
17756
|
};
|
|
17757
|
+
/**
|
|
17758
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17759
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17760
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17761
|
+
*/
|
|
17762
|
+
var audioMotionWindowMsField = {
|
|
17763
|
+
min: 5e3,
|
|
17764
|
+
max: 6e5,
|
|
17765
|
+
default: 9e4,
|
|
17766
|
+
step: 5e3
|
|
17767
|
+
};
|
|
17200
17768
|
var motionFpsField = {
|
|
17201
17769
|
min: 1,
|
|
17202
17770
|
max: 30,
|
|
@@ -17228,7 +17796,7 @@ var detectionFpsField = {
|
|
|
17228
17796
|
var occupancyRecheckSecField = {
|
|
17229
17797
|
min: 0,
|
|
17230
17798
|
max: 300,
|
|
17231
|
-
default:
|
|
17799
|
+
default: 300,
|
|
17232
17800
|
step: 5
|
|
17233
17801
|
};
|
|
17234
17802
|
var occupancyRecheckFramesField = {
|
|
@@ -17373,6 +17941,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17373
17941
|
* resolved `CameraDetectionConfig`.
|
|
17374
17942
|
*/
|
|
17375
17943
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
17944
|
+
/**
|
|
17945
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
17946
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
17947
|
+
*
|
|
17948
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
17949
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
17950
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
17951
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
17952
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
17953
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
17954
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
17955
|
+
*
|
|
17956
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
17957
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
17958
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
17959
|
+
*
|
|
17960
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
17961
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
17962
|
+
* `maxSessionHoldMs`.
|
|
17963
|
+
*/
|
|
17964
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17376
17965
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17377
17966
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17378
17967
|
motionStreamId: string(),
|
|
@@ -17468,7 +18057,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17468
18057
|
*/
|
|
17469
18058
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17470
18059
|
});
|
|
17471
|
-
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;
|
|
18060
|
+
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;
|
|
17472
18061
|
/**
|
|
17473
18062
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17474
18063
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18454,7 +19043,31 @@ DeviceType.Camera, method(object({
|
|
|
18454
19043
|
lastCapturedAt: number().nullable(),
|
|
18455
19044
|
cacheAgeMs: number().nullable(),
|
|
18456
19045
|
etag: string().nullable()
|
|
18457
|
-
}))), systemMethod(object({
|
|
19046
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19047
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19048
|
+
battery: object({
|
|
19049
|
+
sleeping: boolean(),
|
|
19050
|
+
lastUpdated: number(),
|
|
19051
|
+
lastContactAt: number().optional()
|
|
19052
|
+
}).nullable(),
|
|
19053
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19054
|
+
state: object({
|
|
19055
|
+
isBattery: boolean(),
|
|
19056
|
+
reason: _enum([
|
|
19057
|
+
"disabled",
|
|
19058
|
+
"sleeping",
|
|
19059
|
+
"unreachable",
|
|
19060
|
+
"waking"
|
|
19061
|
+
]).nullable()
|
|
19062
|
+
}),
|
|
19063
|
+
/** The cached frame behind the next paint. */
|
|
19064
|
+
frame: object({
|
|
19065
|
+
capturedAt: number().nullable(),
|
|
19066
|
+
ageMs: number().nullable()
|
|
19067
|
+
}),
|
|
19068
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19069
|
+
waking: boolean()
|
|
19070
|
+
})), systemMethod(object({
|
|
18458
19071
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
18459
19072
|
* width) the caller will paint — the width is snapped to the server's
|
|
18460
19073
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -18484,7 +19097,16 @@ targets: array(object({
|
|
|
18484
19097
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18485
19098
|
* NOT refresh in the background. A surface should say so rather than
|
|
18486
19099
|
* present it as current. */
|
|
18487
|
-
sleeping: boolean()
|
|
19100
|
+
sleeping: boolean(),
|
|
19101
|
+
/** Current device state rendered over the cached frame. State images
|
|
19102
|
+
* remain authoritative even when their photographic background is
|
|
19103
|
+
* old; null means the link must carry a current camera frame. */
|
|
19104
|
+
stateReason: _enum([
|
|
19105
|
+
"disabled",
|
|
19106
|
+
"sleeping",
|
|
19107
|
+
"unreachable",
|
|
19108
|
+
"waking"
|
|
19109
|
+
]).nullable()
|
|
18488
19110
|
})));
|
|
18489
19111
|
/**
|
|
18490
19112
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20029,6 +20651,25 @@ var BatteryStatusSchema = object({
|
|
|
20029
20651
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20030
20652
|
lastUpdated: number(),
|
|
20031
20653
|
/**
|
|
20654
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20655
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20656
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20657
|
+
*
|
|
20658
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20659
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20660
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20661
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20662
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20663
|
+
*
|
|
20664
|
+
* It is deliberately NOT a clock in the
|
|
20665
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20666
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20667
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20668
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20669
|
+
* SQLite commit per round-trip.
|
|
20670
|
+
*/
|
|
20671
|
+
lastContactAt: number().optional(),
|
|
20672
|
+
/**
|
|
20032
20673
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20033
20674
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20034
20675
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23566,7 +24207,7 @@ method(object({
|
|
|
23566
24207
|
toMs: number()
|
|
23567
24208
|
}), RecordingAvailabilitySchema, {
|
|
23568
24209
|
kind: "query",
|
|
23569
|
-
auth: "
|
|
24210
|
+
auth: "protected"
|
|
23570
24211
|
}), method(object({
|
|
23571
24212
|
deviceId: number(),
|
|
23572
24213
|
fromMs: number(),
|
|
@@ -23574,14 +24215,14 @@ method(object({
|
|
|
23574
24215
|
tzOffsetMinutes: number()
|
|
23575
24216
|
}), RecordingDaysSchema, {
|
|
23576
24217
|
kind: "query",
|
|
23577
|
-
auth: "
|
|
24218
|
+
auth: "protected"
|
|
23578
24219
|
}), method(object({
|
|
23579
24220
|
deviceId: number(),
|
|
23580
24221
|
fromMs: number(),
|
|
23581
24222
|
toMs: number()
|
|
23582
24223
|
}), RecordingManifestSchema, {
|
|
23583
24224
|
kind: "query",
|
|
23584
|
-
auth: "
|
|
24225
|
+
auth: "protected"
|
|
23585
24226
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23586
24227
|
kind: "query",
|
|
23587
24228
|
auth: "admin"
|
|
@@ -23871,14 +24512,77 @@ method(object({
|
|
|
23871
24512
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23872
24513
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23873
24514
|
*
|
|
23874
|
-
*
|
|
23875
|
-
*
|
|
23876
|
-
*
|
|
23877
|
-
*
|
|
23878
|
-
|
|
23879
|
-
|
|
23880
|
-
*
|
|
24515
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24516
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24517
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24518
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24519
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24520
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24521
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24522
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24523
|
+
*
|
|
24524
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24525
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24526
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24527
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24528
|
+
*
|
|
24529
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24530
|
+
* availability change; consumers never poll.
|
|
24531
|
+
*/
|
|
24532
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24533
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24534
|
+
* Open by design so more can be added without a wire break.
|
|
24535
|
+
*
|
|
24536
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24537
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24538
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24539
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23881
24540
|
var SceneConditionSchema = string();
|
|
24541
|
+
/**
|
|
24542
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24543
|
+
*
|
|
24544
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24545
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24546
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24547
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24548
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24549
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24550
|
+
*
|
|
24551
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24552
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24553
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24554
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24555
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24556
|
+
* configuration choice instead of a nightly fault.
|
|
24557
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24558
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24559
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24560
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24561
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24562
|
+
*
|
|
24563
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24564
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24565
|
+
* there would hide a scene the operator never finished setting up.
|
|
24566
|
+
*/
|
|
24567
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24568
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24569
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24570
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24571
|
+
* and never counts toward hysteresis in either direction. */
|
|
24572
|
+
var SceneVerdictSchema = _enum([
|
|
24573
|
+
"matched",
|
|
24574
|
+
"diverged",
|
|
24575
|
+
"unknown"
|
|
24576
|
+
]);
|
|
24577
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24578
|
+
* silence that reads as "nothing has happened". */
|
|
24579
|
+
var SceneUnavailableSchema = _enum([
|
|
24580
|
+
"no-reference-for-condition",
|
|
24581
|
+
"view-shifted",
|
|
24582
|
+
"no-vision-profile",
|
|
24583
|
+
"encoder-model-changed",
|
|
24584
|
+
"no-snapshot"
|
|
24585
|
+
]);
|
|
23882
24586
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23883
24587
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23884
24588
|
var SceneReferenceSchema = object({
|
|
@@ -23886,7 +24590,14 @@ var SceneReferenceSchema = object({
|
|
|
23886
24590
|
modelId: string(),
|
|
23887
24591
|
condition: SceneConditionSchema,
|
|
23888
24592
|
capturedAt: number(),
|
|
23889
|
-
thumbnailMediaId: string().optional()
|
|
24593
|
+
thumbnailMediaId: string().optional(),
|
|
24594
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24595
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24596
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24597
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24598
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24599
|
+
* transition, not per poll. */
|
|
24600
|
+
anchorEmbedding: array(number()).optional()
|
|
23890
24601
|
});
|
|
23891
24602
|
var SceneMonitorStateSchema = object({
|
|
23892
24603
|
id: string(),
|
|
@@ -23908,6 +24619,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23908
24619
|
profileId: string().optional(),
|
|
23909
24620
|
hysteresisCount: number().int().positive()
|
|
23910
24621
|
})]);
|
|
24622
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24623
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24624
|
+
* out in silence rather than reporting a fault every night. */
|
|
24625
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24626
|
+
/**
|
|
24627
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24628
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24629
|
+
*
|
|
24630
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24631
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24632
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24633
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24634
|
+
*/
|
|
24635
|
+
var SceneConfirmSchema = object({
|
|
24636
|
+
enabled: boolean().default(false),
|
|
24637
|
+
prompt: string().min(1).max(1e3),
|
|
24638
|
+
profileId: string().optional(),
|
|
24639
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24640
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24641
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24642
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24643
|
+
});
|
|
23911
24644
|
var SceneMonitorSchema = object({
|
|
23912
24645
|
id: string(),
|
|
23913
24646
|
label: string(),
|
|
@@ -23926,7 +24659,56 @@ var SceneMonitorSchema = object({
|
|
|
23926
24659
|
lastConfidence: number().nullable(),
|
|
23927
24660
|
currentCondition: SceneConditionSchema.nullable(),
|
|
23928
24661
|
availability: _enum(["ok", "unavailable"]),
|
|
23929
|
-
unavailableReason: string().nullable()
|
|
24662
|
+
unavailableReason: string().nullable(),
|
|
24663
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24664
|
+
baselineStateId: string().nullable(),
|
|
24665
|
+
/** Which boolean drives notification rules and any export. */
|
|
24666
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24667
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24668
|
+
verdict: SceneVerdictSchema,
|
|
24669
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24670
|
+
latched: boolean(),
|
|
24671
|
+
/** Last reset (or creation). */
|
|
24672
|
+
armedAt: number(),
|
|
24673
|
+
divergedAt: number().nullable(),
|
|
24674
|
+
restoredAt: number().nullable(),
|
|
24675
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24676
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24677
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24678
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24679
|
+
/** An observation only advances the pending count when it is at least this
|
|
24680
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24681
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24682
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24683
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24684
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24685
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24686
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24687
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24688
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24689
|
+
* automation can react to the bin coming back without the operator's own
|
|
24690
|
+
* alarm silently clearing itself. */
|
|
24691
|
+
autoRestore: boolean().default(false),
|
|
24692
|
+
/** What to do when the current light has no reference of its own. See
|
|
24693
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24694
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24695
|
+
/**
|
|
24696
|
+
* The light whose checks are currently being SAT OUT under
|
|
24697
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24698
|
+
*
|
|
24699
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24700
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24701
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24702
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24703
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24704
|
+
* read as a broken one.
|
|
24705
|
+
*/
|
|
24706
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24707
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24708
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24709
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24710
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24711
|
+
coveredConditions: array(SceneConditionSchema)
|
|
23930
24712
|
});
|
|
23931
24713
|
var SceneMonitorStatusSchema = object({
|
|
23932
24714
|
monitors: array(SceneMonitorSchema),
|
|
@@ -23959,7 +24741,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23959
24741
|
"both"
|
|
23960
24742
|
]).optional(),
|
|
23961
24743
|
checkIntervalSec: number().optional(),
|
|
23962
|
-
check: SceneCheckSchema.optional()
|
|
24744
|
+
check: SceneCheckSchema.optional(),
|
|
24745
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24746
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24747
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24748
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24749
|
+
autoRestore: boolean().optional(),
|
|
24750
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24751
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24752
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
23963
24753
|
})
|
|
23964
24754
|
}), _void(), {
|
|
23965
24755
|
kind: "mutation",
|
|
@@ -23996,6 +24786,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23996
24786
|
}), _void(), {
|
|
23997
24787
|
kind: "mutation",
|
|
23998
24788
|
auth: "admin"
|
|
24789
|
+
}), method(object({
|
|
24790
|
+
deviceId: number(),
|
|
24791
|
+
monitorId: string(),
|
|
24792
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24793
|
+
recapture: boolean().optional()
|
|
24794
|
+
}), _void(), {
|
|
24795
|
+
kind: "mutation",
|
|
24796
|
+
auth: "admin"
|
|
23999
24797
|
});
|
|
24000
24798
|
/**
|
|
24001
24799
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24149,6 +24947,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24149
24947
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24150
24948
|
metadata: record(string(), unknown()).optional()
|
|
24151
24949
|
});
|
|
24950
|
+
object({
|
|
24951
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
24952
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
24953
|
+
* one the camera itself once produced. */
|
|
24954
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
24955
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
24956
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
24957
|
+
* re-read. */
|
|
24958
|
+
lastFetchedAt: number()
|
|
24959
|
+
});
|
|
24152
24960
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24153
24961
|
/** One of the camera's stream profiles. */
|
|
24154
24962
|
var StreamProfileSchema = _enum([
|
|
@@ -24304,12 +25112,64 @@ var NetworkAddressSchema = object({
|
|
|
24304
25112
|
family: string(),
|
|
24305
25113
|
internal: boolean()
|
|
24306
25114
|
});
|
|
25115
|
+
/**
|
|
25116
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25117
|
+
* numbers.
|
|
25118
|
+
*
|
|
25119
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25120
|
+
* nothing overwrites it.
|
|
25121
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25122
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25123
|
+
* the sun-times consumers otherwise fall back to.
|
|
25124
|
+
*
|
|
25125
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25126
|
+
* own input will eventually trust the guess.
|
|
25127
|
+
*/
|
|
25128
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25129
|
+
/**
|
|
25130
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25131
|
+
*
|
|
25132
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25133
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25134
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25135
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25136
|
+
* coordinates or presses detect.
|
|
25137
|
+
*/
|
|
25138
|
+
var SiteLocationStatusSchema = object({
|
|
25139
|
+
location: object({
|
|
25140
|
+
/** WGS84 decimal degrees. */
|
|
25141
|
+
latitude: number().min(-90).max(90),
|
|
25142
|
+
longitude: number().min(-180).max(180),
|
|
25143
|
+
source: SiteLocationSourceSchema,
|
|
25144
|
+
/** Epoch ms the value was last written. */
|
|
25145
|
+
updatedAt: number(),
|
|
25146
|
+
/**
|
|
25147
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25148
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25149
|
+
*/
|
|
25150
|
+
label: string().optional()
|
|
25151
|
+
}).nullable(),
|
|
25152
|
+
derivationAttemptedAt: number().nullable(),
|
|
25153
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25154
|
+
derivationError: string().nullable()
|
|
25155
|
+
});
|
|
25156
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25157
|
+
var SetSiteLocationInputSchema = object({
|
|
25158
|
+
latitude: number().min(-90).max(90),
|
|
25159
|
+
longitude: number().min(-180).max(180)
|
|
25160
|
+
}).nullable();
|
|
24307
25161
|
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(), {
|
|
24308
25162
|
kind: "mutation",
|
|
24309
25163
|
auth: "admin"
|
|
24310
25164
|
}), method(_void(), _void(), {
|
|
24311
25165
|
kind: "mutation",
|
|
24312
25166
|
auth: "admin"
|
|
25167
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25168
|
+
kind: "mutation",
|
|
25169
|
+
auth: "admin"
|
|
25170
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25171
|
+
kind: "mutation",
|
|
25172
|
+
auth: "admin"
|
|
24313
25173
|
});
|
|
24314
25174
|
object({
|
|
24315
25175
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27039,6 +27899,12 @@ Object.freeze({
|
|
|
27039
27899
|
addonId: null,
|
|
27040
27900
|
access: "create"
|
|
27041
27901
|
},
|
|
27902
|
+
"llm.cancel": {
|
|
27903
|
+
capName: "llm",
|
|
27904
|
+
capScope: "system",
|
|
27905
|
+
addonId: null,
|
|
27906
|
+
access: "create"
|
|
27907
|
+
},
|
|
27042
27908
|
"llm.deleteModel": {
|
|
27043
27909
|
capName: "llm",
|
|
27044
27910
|
capScope: "system",
|
|
@@ -27123,6 +27989,12 @@ Object.freeze({
|
|
|
27123
27989
|
addonId: null,
|
|
27124
27990
|
access: "view"
|
|
27125
27991
|
},
|
|
27992
|
+
"llm.resolveModelRef": {
|
|
27993
|
+
capName: "llm",
|
|
27994
|
+
capScope: "system",
|
|
27995
|
+
addonId: null,
|
|
27996
|
+
access: "create"
|
|
27997
|
+
},
|
|
27126
27998
|
"llm.setDefault": {
|
|
27127
27999
|
capName: "llm",
|
|
27128
28000
|
capScope: "system",
|
|
@@ -29289,6 +30161,12 @@ Object.freeze({
|
|
|
29289
30161
|
addonId: null,
|
|
29290
30162
|
access: "create"
|
|
29291
30163
|
},
|
|
30164
|
+
"sceneMonitor.resetScene": {
|
|
30165
|
+
capName: "scene-monitor",
|
|
30166
|
+
capScope: "device",
|
|
30167
|
+
addonId: null,
|
|
30168
|
+
access: "delete"
|
|
30169
|
+
},
|
|
29292
30170
|
"sceneMonitor.updateScene": {
|
|
29293
30171
|
capName: "scene-monitor",
|
|
29294
30172
|
capScope: "device",
|
|
@@ -29427,6 +30305,12 @@ Object.freeze({
|
|
|
29427
30305
|
addonId: null,
|
|
29428
30306
|
access: "view"
|
|
29429
30307
|
},
|
|
30308
|
+
"snapshot.getDebugState": {
|
|
30309
|
+
capName: "snapshot",
|
|
30310
|
+
capScope: "device",
|
|
30311
|
+
addonId: null,
|
|
30312
|
+
access: "view"
|
|
30313
|
+
},
|
|
29430
30314
|
"snapshot.getSnapshot": {
|
|
29431
30315
|
capName: "snapshot",
|
|
29432
30316
|
capScope: "device",
|
|
@@ -29967,6 +30851,12 @@ Object.freeze({
|
|
|
29967
30851
|
addonId: null,
|
|
29968
30852
|
access: "create"
|
|
29969
30853
|
},
|
|
30854
|
+
"system.detectSiteLocation": {
|
|
30855
|
+
capName: "system",
|
|
30856
|
+
capScope: "system",
|
|
30857
|
+
addonId: null,
|
|
30858
|
+
access: "create"
|
|
30859
|
+
},
|
|
29970
30860
|
"system.featureFlags": {
|
|
29971
30861
|
capName: "system",
|
|
29972
30862
|
capScope: "system",
|
|
@@ -29985,6 +30875,12 @@ Object.freeze({
|
|
|
29985
30875
|
addonId: null,
|
|
29986
30876
|
access: "view"
|
|
29987
30877
|
},
|
|
30878
|
+
"system.getSiteLocation": {
|
|
30879
|
+
capName: "system",
|
|
30880
|
+
capScope: "system",
|
|
30881
|
+
addonId: null,
|
|
30882
|
+
access: "view"
|
|
30883
|
+
},
|
|
29988
30884
|
"system.health": {
|
|
29989
30885
|
capName: "system",
|
|
29990
30886
|
capScope: "system",
|
|
@@ -30009,6 +30905,12 @@ Object.freeze({
|
|
|
30009
30905
|
addonId: null,
|
|
30010
30906
|
access: "create"
|
|
30011
30907
|
},
|
|
30908
|
+
"system.setSiteLocation": {
|
|
30909
|
+
capName: "system",
|
|
30910
|
+
capScope: "system",
|
|
30911
|
+
addonId: null,
|
|
30912
|
+
access: "create"
|
|
30913
|
+
},
|
|
30012
30914
|
"terminalSession.adoptLegacyMonitor": {
|
|
30013
30915
|
capName: "terminal-session",
|
|
30014
30916
|
capScope: "system",
|
|
@@ -30580,6 +31482,1709 @@ Object.freeze({
|
|
|
30580
31482
|
access: "create"
|
|
30581
31483
|
}
|
|
30582
31484
|
});
|
|
31485
|
+
Object.freeze({
|
|
31486
|
+
"accessories.setChildHidden": [{
|
|
31487
|
+
name: "childDeviceId",
|
|
31488
|
+
form: "single",
|
|
31489
|
+
optional: false
|
|
31490
|
+
}, {
|
|
31491
|
+
name: "deviceId",
|
|
31492
|
+
form: "single",
|
|
31493
|
+
optional: false
|
|
31494
|
+
}],
|
|
31495
|
+
"addonSettings.getDeviceSettings": [{
|
|
31496
|
+
name: "deviceId",
|
|
31497
|
+
form: "single",
|
|
31498
|
+
optional: false
|
|
31499
|
+
}],
|
|
31500
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31501
|
+
name: "deviceId",
|
|
31502
|
+
form: "single",
|
|
31503
|
+
optional: false
|
|
31504
|
+
}],
|
|
31505
|
+
"alarmPanel.arm": [{
|
|
31506
|
+
name: "deviceId",
|
|
31507
|
+
form: "single",
|
|
31508
|
+
optional: false
|
|
31509
|
+
}],
|
|
31510
|
+
"alarmPanel.disarm": [{
|
|
31511
|
+
name: "deviceId",
|
|
31512
|
+
form: "single",
|
|
31513
|
+
optional: false
|
|
31514
|
+
}],
|
|
31515
|
+
"alarmPanel.trigger": [{
|
|
31516
|
+
name: "deviceId",
|
|
31517
|
+
form: "single",
|
|
31518
|
+
optional: false
|
|
31519
|
+
}],
|
|
31520
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31521
|
+
name: "deviceId",
|
|
31522
|
+
form: "single",
|
|
31523
|
+
optional: false
|
|
31524
|
+
}],
|
|
31525
|
+
"audioAnalyzer.classify": [{
|
|
31526
|
+
name: "deviceId",
|
|
31527
|
+
form: "single",
|
|
31528
|
+
optional: true
|
|
31529
|
+
}],
|
|
31530
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31531
|
+
name: "deviceId",
|
|
31532
|
+
form: "single",
|
|
31533
|
+
optional: false
|
|
31534
|
+
}],
|
|
31535
|
+
"audioMetrics.getHistory": [{
|
|
31536
|
+
name: "deviceId",
|
|
31537
|
+
form: "single",
|
|
31538
|
+
optional: false
|
|
31539
|
+
}],
|
|
31540
|
+
"automationControl.disable": [{
|
|
31541
|
+
name: "deviceId",
|
|
31542
|
+
form: "single",
|
|
31543
|
+
optional: false
|
|
31544
|
+
}],
|
|
31545
|
+
"automationControl.enable": [{
|
|
31546
|
+
name: "deviceId",
|
|
31547
|
+
form: "single",
|
|
31548
|
+
optional: false
|
|
31549
|
+
}],
|
|
31550
|
+
"automationControl.trigger": [{
|
|
31551
|
+
name: "deviceId",
|
|
31552
|
+
form: "single",
|
|
31553
|
+
optional: false
|
|
31554
|
+
}],
|
|
31555
|
+
"battery.wakeForStream": [{
|
|
31556
|
+
name: "deviceId",
|
|
31557
|
+
form: "single",
|
|
31558
|
+
optional: false
|
|
31559
|
+
}],
|
|
31560
|
+
"brightness.setBrightness": [{
|
|
31561
|
+
name: "deviceId",
|
|
31562
|
+
form: "single",
|
|
31563
|
+
optional: false
|
|
31564
|
+
}],
|
|
31565
|
+
"button.press": [{
|
|
31566
|
+
name: "deviceId",
|
|
31567
|
+
form: "single",
|
|
31568
|
+
optional: false
|
|
31569
|
+
}],
|
|
31570
|
+
"cameraCredentials.getCredentials": [{
|
|
31571
|
+
name: "deviceId",
|
|
31572
|
+
form: "single",
|
|
31573
|
+
optional: false
|
|
31574
|
+
}],
|
|
31575
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31576
|
+
name: "deviceId",
|
|
31577
|
+
form: "single",
|
|
31578
|
+
optional: false
|
|
31579
|
+
}],
|
|
31580
|
+
"cameraStreams.getCameraStreams": [{
|
|
31581
|
+
name: "deviceId",
|
|
31582
|
+
form: "single",
|
|
31583
|
+
optional: false
|
|
31584
|
+
}],
|
|
31585
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31586
|
+
name: "deviceId",
|
|
31587
|
+
form: "single",
|
|
31588
|
+
optional: false
|
|
31589
|
+
}],
|
|
31590
|
+
"cameraStreams.getRtspEntries": [{
|
|
31591
|
+
name: "deviceId",
|
|
31592
|
+
form: "single",
|
|
31593
|
+
optional: false
|
|
31594
|
+
}],
|
|
31595
|
+
"cameraStreams.pickStream": [{
|
|
31596
|
+
name: "deviceId",
|
|
31597
|
+
form: "single",
|
|
31598
|
+
optional: false
|
|
31599
|
+
}],
|
|
31600
|
+
"climateControl.setFanMode": [{
|
|
31601
|
+
name: "deviceId",
|
|
31602
|
+
form: "single",
|
|
31603
|
+
optional: false
|
|
31604
|
+
}],
|
|
31605
|
+
"climateControl.setMode": [{
|
|
31606
|
+
name: "deviceId",
|
|
31607
|
+
form: "single",
|
|
31608
|
+
optional: false
|
|
31609
|
+
}],
|
|
31610
|
+
"climateControl.setPreset": [{
|
|
31611
|
+
name: "deviceId",
|
|
31612
|
+
form: "single",
|
|
31613
|
+
optional: false
|
|
31614
|
+
}],
|
|
31615
|
+
"climateControl.setSwingHorizontal": [{
|
|
31616
|
+
name: "deviceId",
|
|
31617
|
+
form: "single",
|
|
31618
|
+
optional: false
|
|
31619
|
+
}],
|
|
31620
|
+
"climateControl.setSwingVertical": [{
|
|
31621
|
+
name: "deviceId",
|
|
31622
|
+
form: "single",
|
|
31623
|
+
optional: false
|
|
31624
|
+
}],
|
|
31625
|
+
"climateControl.setTarget": [{
|
|
31626
|
+
name: "deviceId",
|
|
31627
|
+
form: "single",
|
|
31628
|
+
optional: false
|
|
31629
|
+
}],
|
|
31630
|
+
"climateControl.setTargetHumidity": [{
|
|
31631
|
+
name: "deviceId",
|
|
31632
|
+
form: "single",
|
|
31633
|
+
optional: false
|
|
31634
|
+
}],
|
|
31635
|
+
"climateControl.setTargetRange": [{
|
|
31636
|
+
name: "deviceId",
|
|
31637
|
+
form: "single",
|
|
31638
|
+
optional: false
|
|
31639
|
+
}],
|
|
31640
|
+
"color.setColor": [{
|
|
31641
|
+
name: "deviceId",
|
|
31642
|
+
form: "single",
|
|
31643
|
+
optional: false
|
|
31644
|
+
}],
|
|
31645
|
+
"consumables.reset": [{
|
|
31646
|
+
name: "deviceId",
|
|
31647
|
+
form: "single",
|
|
31648
|
+
optional: false
|
|
31649
|
+
}],
|
|
31650
|
+
"control.setValue": [{
|
|
31651
|
+
name: "deviceId",
|
|
31652
|
+
form: "single",
|
|
31653
|
+
optional: false
|
|
31654
|
+
}],
|
|
31655
|
+
"cover.close": [{
|
|
31656
|
+
name: "deviceId",
|
|
31657
|
+
form: "single",
|
|
31658
|
+
optional: false
|
|
31659
|
+
}],
|
|
31660
|
+
"cover.open": [{
|
|
31661
|
+
name: "deviceId",
|
|
31662
|
+
form: "single",
|
|
31663
|
+
optional: false
|
|
31664
|
+
}],
|
|
31665
|
+
"cover.setPosition": [{
|
|
31666
|
+
name: "deviceId",
|
|
31667
|
+
form: "single",
|
|
31668
|
+
optional: false
|
|
31669
|
+
}],
|
|
31670
|
+
"cover.setTiltPosition": [{
|
|
31671
|
+
name: "deviceId",
|
|
31672
|
+
form: "single",
|
|
31673
|
+
optional: false
|
|
31674
|
+
}],
|
|
31675
|
+
"cover.stop": [{
|
|
31676
|
+
name: "deviceId",
|
|
31677
|
+
form: "single",
|
|
31678
|
+
optional: false
|
|
31679
|
+
}],
|
|
31680
|
+
"dayNight.getOptions": [{
|
|
31681
|
+
name: "deviceId",
|
|
31682
|
+
form: "single",
|
|
31683
|
+
optional: false
|
|
31684
|
+
}],
|
|
31685
|
+
"dayNight.setSettings": [{
|
|
31686
|
+
name: "deviceId",
|
|
31687
|
+
form: "single",
|
|
31688
|
+
optional: false
|
|
31689
|
+
}],
|
|
31690
|
+
"decoder.createSession": [{
|
|
31691
|
+
name: "deviceId",
|
|
31692
|
+
form: "single",
|
|
31693
|
+
optional: true
|
|
31694
|
+
}],
|
|
31695
|
+
"deviceAdoption.release": [{
|
|
31696
|
+
name: "camDeviceId",
|
|
31697
|
+
form: "single",
|
|
31698
|
+
optional: false
|
|
31699
|
+
}],
|
|
31700
|
+
"deviceAdoption.resync": [{
|
|
31701
|
+
name: "camDeviceId",
|
|
31702
|
+
form: "single",
|
|
31703
|
+
optional: false
|
|
31704
|
+
}],
|
|
31705
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31706
|
+
name: "deviceId",
|
|
31707
|
+
form: "single",
|
|
31708
|
+
optional: false
|
|
31709
|
+
}],
|
|
31710
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31711
|
+
name: "deviceId",
|
|
31712
|
+
form: "single",
|
|
31713
|
+
optional: false
|
|
31714
|
+
}],
|
|
31715
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31716
|
+
name: "deviceId",
|
|
31717
|
+
form: "single",
|
|
31718
|
+
optional: false
|
|
31719
|
+
}],
|
|
31720
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31721
|
+
name: "childDeviceId",
|
|
31722
|
+
form: "single",
|
|
31723
|
+
optional: false
|
|
31724
|
+
}, {
|
|
31725
|
+
name: "deviceId",
|
|
31726
|
+
form: "single",
|
|
31727
|
+
optional: false
|
|
31728
|
+
}],
|
|
31729
|
+
"deviceManager.adoptionRelease": [{
|
|
31730
|
+
name: "camDeviceId",
|
|
31731
|
+
form: "single",
|
|
31732
|
+
optional: false
|
|
31733
|
+
}],
|
|
31734
|
+
"deviceManager.adoptionResync": [{
|
|
31735
|
+
name: "camDeviceId",
|
|
31736
|
+
form: "single",
|
|
31737
|
+
optional: false
|
|
31738
|
+
}],
|
|
31739
|
+
"deviceManager.applyInitialMeta": [{
|
|
31740
|
+
name: "deviceId",
|
|
31741
|
+
form: "single",
|
|
31742
|
+
optional: false
|
|
31743
|
+
}, {
|
|
31744
|
+
name: "linkDeviceId",
|
|
31745
|
+
form: "single",
|
|
31746
|
+
optional: true
|
|
31747
|
+
}],
|
|
31748
|
+
"deviceManager.disable": [{
|
|
31749
|
+
name: "deviceId",
|
|
31750
|
+
form: "single",
|
|
31751
|
+
optional: false
|
|
31752
|
+
}],
|
|
31753
|
+
"deviceManager.enable": [{
|
|
31754
|
+
name: "deviceId",
|
|
31755
|
+
form: "single",
|
|
31756
|
+
optional: false
|
|
31757
|
+
}],
|
|
31758
|
+
"deviceManager.getBindings": [{
|
|
31759
|
+
name: "deviceId",
|
|
31760
|
+
form: "single",
|
|
31761
|
+
optional: false
|
|
31762
|
+
}],
|
|
31763
|
+
"deviceManager.getChildren": [{
|
|
31764
|
+
name: "parentDeviceId",
|
|
31765
|
+
form: "single",
|
|
31766
|
+
optional: false
|
|
31767
|
+
}],
|
|
31768
|
+
"deviceManager.getConfigSchema": [{
|
|
31769
|
+
name: "deviceId",
|
|
31770
|
+
form: "single",
|
|
31771
|
+
optional: false
|
|
31772
|
+
}],
|
|
31773
|
+
"deviceManager.getDevice": [{
|
|
31774
|
+
name: "deviceId",
|
|
31775
|
+
form: "single",
|
|
31776
|
+
optional: false
|
|
31777
|
+
}],
|
|
31778
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31779
|
+
name: "deviceId",
|
|
31780
|
+
form: "single",
|
|
31781
|
+
optional: false
|
|
31782
|
+
}],
|
|
31783
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31784
|
+
name: "deviceId",
|
|
31785
|
+
form: "single",
|
|
31786
|
+
optional: false
|
|
31787
|
+
}],
|
|
31788
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31789
|
+
name: "deviceId",
|
|
31790
|
+
form: "single",
|
|
31791
|
+
optional: false
|
|
31792
|
+
}],
|
|
31793
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31794
|
+
name: "deviceId",
|
|
31795
|
+
form: "single",
|
|
31796
|
+
optional: false
|
|
31797
|
+
}],
|
|
31798
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31799
|
+
name: "deviceIds",
|
|
31800
|
+
form: "array",
|
|
31801
|
+
optional: false
|
|
31802
|
+
}],
|
|
31803
|
+
"deviceManager.getLinkedDevices": [{
|
|
31804
|
+
name: "deviceId",
|
|
31805
|
+
form: "single",
|
|
31806
|
+
optional: false
|
|
31807
|
+
}],
|
|
31808
|
+
"deviceManager.getSettingsSchema": [{
|
|
31809
|
+
name: "deviceId",
|
|
31810
|
+
form: "single",
|
|
31811
|
+
optional: false
|
|
31812
|
+
}],
|
|
31813
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31814
|
+
name: "deviceId",
|
|
31815
|
+
form: "single",
|
|
31816
|
+
optional: false
|
|
31817
|
+
}],
|
|
31818
|
+
"deviceManager.getStreamSources": [{
|
|
31819
|
+
name: "deviceId",
|
|
31820
|
+
form: "single",
|
|
31821
|
+
optional: false
|
|
31822
|
+
}],
|
|
31823
|
+
"deviceManager.getWireableFields": [{
|
|
31824
|
+
name: "deviceId",
|
|
31825
|
+
form: "single",
|
|
31826
|
+
optional: false
|
|
31827
|
+
}],
|
|
31828
|
+
"deviceManager.loadConfig": [{
|
|
31829
|
+
name: "deviceId",
|
|
31830
|
+
form: "single",
|
|
31831
|
+
optional: false
|
|
31832
|
+
}],
|
|
31833
|
+
"deviceManager.loadMeta": [{
|
|
31834
|
+
name: "deviceId",
|
|
31835
|
+
form: "single",
|
|
31836
|
+
optional: false
|
|
31837
|
+
}],
|
|
31838
|
+
"deviceManager.loadRuntimeState": [{
|
|
31839
|
+
name: "deviceId",
|
|
31840
|
+
form: "single",
|
|
31841
|
+
optional: false
|
|
31842
|
+
}],
|
|
31843
|
+
"deviceManager.persistConfig": [{
|
|
31844
|
+
name: "deviceId",
|
|
31845
|
+
form: "single",
|
|
31846
|
+
optional: false
|
|
31847
|
+
}],
|
|
31848
|
+
"deviceManager.probeStreams": [{
|
|
31849
|
+
name: "deviceId",
|
|
31850
|
+
form: "single",
|
|
31851
|
+
optional: false
|
|
31852
|
+
}],
|
|
31853
|
+
"deviceManager.registerDevice": [{
|
|
31854
|
+
name: "parentDeviceId",
|
|
31855
|
+
form: "single",
|
|
31856
|
+
optional: true
|
|
31857
|
+
}],
|
|
31858
|
+
"deviceManager.remove": [{
|
|
31859
|
+
name: "deviceId",
|
|
31860
|
+
form: "single",
|
|
31861
|
+
optional: false
|
|
31862
|
+
}],
|
|
31863
|
+
"deviceManager.removeDevice": [{
|
|
31864
|
+
name: "deviceId",
|
|
31865
|
+
form: "single",
|
|
31866
|
+
optional: false
|
|
31867
|
+
}],
|
|
31868
|
+
"deviceManager.runDeviceAction": [{
|
|
31869
|
+
name: "deviceId",
|
|
31870
|
+
form: "single",
|
|
31871
|
+
optional: false
|
|
31872
|
+
}],
|
|
31873
|
+
"deviceManager.setChildLayout": [{
|
|
31874
|
+
name: "deviceId",
|
|
31875
|
+
form: "single",
|
|
31876
|
+
optional: false
|
|
31877
|
+
}],
|
|
31878
|
+
"deviceManager.setDisabled": [{
|
|
31879
|
+
name: "deviceId",
|
|
31880
|
+
form: "single",
|
|
31881
|
+
optional: false
|
|
31882
|
+
}],
|
|
31883
|
+
"deviceManager.setDisplay": [{
|
|
31884
|
+
name: "deviceId",
|
|
31885
|
+
form: "single",
|
|
31886
|
+
optional: false
|
|
31887
|
+
}],
|
|
31888
|
+
"deviceManager.setIntegrationId": [{
|
|
31889
|
+
name: "deviceId",
|
|
31890
|
+
form: "single",
|
|
31891
|
+
optional: false
|
|
31892
|
+
}],
|
|
31893
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31894
|
+
name: "deviceId",
|
|
31895
|
+
form: "single",
|
|
31896
|
+
optional: false
|
|
31897
|
+
}, {
|
|
31898
|
+
name: "linkDeviceId",
|
|
31899
|
+
form: "single",
|
|
31900
|
+
optional: true
|
|
31901
|
+
}],
|
|
31902
|
+
"deviceManager.setLocation": [{
|
|
31903
|
+
name: "deviceId",
|
|
31904
|
+
form: "single",
|
|
31905
|
+
optional: false
|
|
31906
|
+
}],
|
|
31907
|
+
"deviceManager.setMetadata": [{
|
|
31908
|
+
name: "deviceId",
|
|
31909
|
+
form: "single",
|
|
31910
|
+
optional: false
|
|
31911
|
+
}],
|
|
31912
|
+
"deviceManager.setName": [{
|
|
31913
|
+
name: "deviceId",
|
|
31914
|
+
form: "single",
|
|
31915
|
+
optional: false
|
|
31916
|
+
}],
|
|
31917
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31918
|
+
name: "deviceId",
|
|
31919
|
+
form: "single",
|
|
31920
|
+
optional: false
|
|
31921
|
+
}],
|
|
31922
|
+
"deviceManager.setRole": [{
|
|
31923
|
+
name: "deviceId",
|
|
31924
|
+
form: "single",
|
|
31925
|
+
optional: false
|
|
31926
|
+
}],
|
|
31927
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31928
|
+
name: "deviceId",
|
|
31929
|
+
form: "single",
|
|
31930
|
+
optional: false
|
|
31931
|
+
}],
|
|
31932
|
+
"deviceManager.setType": [{
|
|
31933
|
+
name: "deviceId",
|
|
31934
|
+
form: "single",
|
|
31935
|
+
optional: false
|
|
31936
|
+
}],
|
|
31937
|
+
"deviceManager.setWrapperActive": [{
|
|
31938
|
+
name: "deviceId",
|
|
31939
|
+
form: "single",
|
|
31940
|
+
optional: false
|
|
31941
|
+
}],
|
|
31942
|
+
"deviceManager.testField": [{
|
|
31943
|
+
name: "deviceId",
|
|
31944
|
+
form: "single",
|
|
31945
|
+
optional: false
|
|
31946
|
+
}],
|
|
31947
|
+
"deviceManager.updateConfig": [{
|
|
31948
|
+
name: "deviceId",
|
|
31949
|
+
form: "single",
|
|
31950
|
+
optional: false
|
|
31951
|
+
}],
|
|
31952
|
+
"deviceManager.updateDeviceField": [{
|
|
31953
|
+
name: "deviceId",
|
|
31954
|
+
form: "single",
|
|
31955
|
+
optional: false
|
|
31956
|
+
}],
|
|
31957
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
31958
|
+
name: "deviceId",
|
|
31959
|
+
form: "single",
|
|
31960
|
+
optional: false
|
|
31961
|
+
}],
|
|
31962
|
+
"deviceOps.getConfigEntries": [{
|
|
31963
|
+
name: "deviceId",
|
|
31964
|
+
form: "single",
|
|
31965
|
+
optional: false
|
|
31966
|
+
}],
|
|
31967
|
+
"deviceOps.getRawState": [{
|
|
31968
|
+
name: "deviceId",
|
|
31969
|
+
form: "single",
|
|
31970
|
+
optional: false
|
|
31971
|
+
}],
|
|
31972
|
+
"deviceOps.getSettingsSchema": [{
|
|
31973
|
+
name: "deviceId",
|
|
31974
|
+
form: "single",
|
|
31975
|
+
optional: false
|
|
31976
|
+
}],
|
|
31977
|
+
"deviceOps.getStreamSources": [{
|
|
31978
|
+
name: "deviceId",
|
|
31979
|
+
form: "single",
|
|
31980
|
+
optional: false
|
|
31981
|
+
}],
|
|
31982
|
+
"deviceOps.removeDevice": [{
|
|
31983
|
+
name: "deviceId",
|
|
31984
|
+
form: "single",
|
|
31985
|
+
optional: false
|
|
31986
|
+
}],
|
|
31987
|
+
"deviceOps.runAction": [{
|
|
31988
|
+
name: "deviceId",
|
|
31989
|
+
form: "single",
|
|
31990
|
+
optional: false
|
|
31991
|
+
}],
|
|
31992
|
+
"deviceOps.setConfig": [{
|
|
31993
|
+
name: "deviceId",
|
|
31994
|
+
form: "single",
|
|
31995
|
+
optional: false
|
|
31996
|
+
}],
|
|
31997
|
+
"deviceState.getCapSlice": [{
|
|
31998
|
+
name: "deviceId",
|
|
31999
|
+
form: "single",
|
|
32000
|
+
optional: false
|
|
32001
|
+
}],
|
|
32002
|
+
"deviceState.getSnapshot": [{
|
|
32003
|
+
name: "deviceId",
|
|
32004
|
+
form: "single",
|
|
32005
|
+
optional: false
|
|
32006
|
+
}],
|
|
32007
|
+
"deviceState.setCapSlice": [{
|
|
32008
|
+
name: "deviceId",
|
|
32009
|
+
form: "single",
|
|
32010
|
+
optional: false
|
|
32011
|
+
}],
|
|
32012
|
+
"events.getEventClipUrl": [{
|
|
32013
|
+
name: "deviceId",
|
|
32014
|
+
form: "single",
|
|
32015
|
+
optional: false
|
|
32016
|
+
}],
|
|
32017
|
+
"events.getEvents": [{
|
|
32018
|
+
name: "deviceId",
|
|
32019
|
+
form: "single",
|
|
32020
|
+
optional: false
|
|
32021
|
+
}],
|
|
32022
|
+
"events.getEventThumbnail": [{
|
|
32023
|
+
name: "deviceId",
|
|
32024
|
+
form: "single",
|
|
32025
|
+
optional: false
|
|
32026
|
+
}],
|
|
32027
|
+
"faceGallery.getFaceByTrack": [{
|
|
32028
|
+
name: "deviceId",
|
|
32029
|
+
form: "single",
|
|
32030
|
+
optional: false
|
|
32031
|
+
}],
|
|
32032
|
+
"faceGallery.listRecentFaces": [{
|
|
32033
|
+
name: "deviceId",
|
|
32034
|
+
form: "single",
|
|
32035
|
+
optional: true
|
|
32036
|
+
}],
|
|
32037
|
+
"fanControl.setDirection": [{
|
|
32038
|
+
name: "deviceId",
|
|
32039
|
+
form: "single",
|
|
32040
|
+
optional: false
|
|
32041
|
+
}],
|
|
32042
|
+
"fanControl.setOscillating": [{
|
|
32043
|
+
name: "deviceId",
|
|
32044
|
+
form: "single",
|
|
32045
|
+
optional: false
|
|
32046
|
+
}],
|
|
32047
|
+
"fanControl.setPercentage": [{
|
|
32048
|
+
name: "deviceId",
|
|
32049
|
+
form: "single",
|
|
32050
|
+
optional: false
|
|
32051
|
+
}],
|
|
32052
|
+
"fanControl.setPreset": [{
|
|
32053
|
+
name: "deviceId",
|
|
32054
|
+
form: "single",
|
|
32055
|
+
optional: false
|
|
32056
|
+
}],
|
|
32057
|
+
"humidifier.setMode": [{
|
|
32058
|
+
name: "deviceId",
|
|
32059
|
+
form: "single",
|
|
32060
|
+
optional: false
|
|
32061
|
+
}],
|
|
32062
|
+
"humidifier.setOn": [{
|
|
32063
|
+
name: "deviceId",
|
|
32064
|
+
form: "single",
|
|
32065
|
+
optional: false
|
|
32066
|
+
}],
|
|
32067
|
+
"humidifier.setTargetHumidity": [{
|
|
32068
|
+
name: "deviceId",
|
|
32069
|
+
form: "single",
|
|
32070
|
+
optional: false
|
|
32071
|
+
}],
|
|
32072
|
+
"imageSettings.getOptions": [{
|
|
32073
|
+
name: "deviceId",
|
|
32074
|
+
form: "single",
|
|
32075
|
+
optional: false
|
|
32076
|
+
}],
|
|
32077
|
+
"imageSettings.setSettings": [{
|
|
32078
|
+
name: "deviceId",
|
|
32079
|
+
form: "single",
|
|
32080
|
+
optional: false
|
|
32081
|
+
}],
|
|
32082
|
+
"intercom.endTalkSession": [{
|
|
32083
|
+
name: "deviceId",
|
|
32084
|
+
form: "single",
|
|
32085
|
+
optional: false
|
|
32086
|
+
}],
|
|
32087
|
+
"intercom.handleAnswer": [{
|
|
32088
|
+
name: "deviceId",
|
|
32089
|
+
form: "single",
|
|
32090
|
+
optional: false
|
|
32091
|
+
}],
|
|
32092
|
+
"intercom.pushTalkAudio": [{
|
|
32093
|
+
name: "deviceId",
|
|
32094
|
+
form: "single",
|
|
32095
|
+
optional: false
|
|
32096
|
+
}],
|
|
32097
|
+
"intercom.startSession": [{
|
|
32098
|
+
name: "deviceId",
|
|
32099
|
+
form: "single",
|
|
32100
|
+
optional: false
|
|
32101
|
+
}],
|
|
32102
|
+
"intercom.startTalkSession": [{
|
|
32103
|
+
name: "deviceId",
|
|
32104
|
+
form: "single",
|
|
32105
|
+
optional: false
|
|
32106
|
+
}],
|
|
32107
|
+
"intercom.stopSession": [{
|
|
32108
|
+
name: "deviceId",
|
|
32109
|
+
form: "single",
|
|
32110
|
+
optional: false
|
|
32111
|
+
}],
|
|
32112
|
+
"lawnMowerControl.dock": [{
|
|
32113
|
+
name: "deviceId",
|
|
32114
|
+
form: "single",
|
|
32115
|
+
optional: false
|
|
32116
|
+
}],
|
|
32117
|
+
"lawnMowerControl.pause": [{
|
|
32118
|
+
name: "deviceId",
|
|
32119
|
+
form: "single",
|
|
32120
|
+
optional: false
|
|
32121
|
+
}],
|
|
32122
|
+
"lawnMowerControl.startMowing": [{
|
|
32123
|
+
name: "deviceId",
|
|
32124
|
+
form: "single",
|
|
32125
|
+
optional: false
|
|
32126
|
+
}],
|
|
32127
|
+
"lockControl.lock": [{
|
|
32128
|
+
name: "deviceId",
|
|
32129
|
+
form: "single",
|
|
32130
|
+
optional: false
|
|
32131
|
+
}],
|
|
32132
|
+
"lockControl.open": [{
|
|
32133
|
+
name: "deviceId",
|
|
32134
|
+
form: "single",
|
|
32135
|
+
optional: false
|
|
32136
|
+
}],
|
|
32137
|
+
"lockControl.unlock": [{
|
|
32138
|
+
name: "deviceId",
|
|
32139
|
+
form: "single",
|
|
32140
|
+
optional: false
|
|
32141
|
+
}],
|
|
32142
|
+
"mediaPlayer.next": [{
|
|
32143
|
+
name: "deviceId",
|
|
32144
|
+
form: "single",
|
|
32145
|
+
optional: false
|
|
32146
|
+
}],
|
|
32147
|
+
"mediaPlayer.pause": [{
|
|
32148
|
+
name: "deviceId",
|
|
32149
|
+
form: "single",
|
|
32150
|
+
optional: false
|
|
32151
|
+
}],
|
|
32152
|
+
"mediaPlayer.play": [{
|
|
32153
|
+
name: "deviceId",
|
|
32154
|
+
form: "single",
|
|
32155
|
+
optional: false
|
|
32156
|
+
}],
|
|
32157
|
+
"mediaPlayer.playMedia": [{
|
|
32158
|
+
name: "deviceId",
|
|
32159
|
+
form: "single",
|
|
32160
|
+
optional: false
|
|
32161
|
+
}],
|
|
32162
|
+
"mediaPlayer.previous": [{
|
|
32163
|
+
name: "deviceId",
|
|
32164
|
+
form: "single",
|
|
32165
|
+
optional: false
|
|
32166
|
+
}],
|
|
32167
|
+
"mediaPlayer.seek": [{
|
|
32168
|
+
name: "deviceId",
|
|
32169
|
+
form: "single",
|
|
32170
|
+
optional: false
|
|
32171
|
+
}],
|
|
32172
|
+
"mediaPlayer.selectSource": [{
|
|
32173
|
+
name: "deviceId",
|
|
32174
|
+
form: "single",
|
|
32175
|
+
optional: false
|
|
32176
|
+
}],
|
|
32177
|
+
"mediaPlayer.setMute": [{
|
|
32178
|
+
name: "deviceId",
|
|
32179
|
+
form: "single",
|
|
32180
|
+
optional: false
|
|
32181
|
+
}],
|
|
32182
|
+
"mediaPlayer.setRepeat": [{
|
|
32183
|
+
name: "deviceId",
|
|
32184
|
+
form: "single",
|
|
32185
|
+
optional: false
|
|
32186
|
+
}],
|
|
32187
|
+
"mediaPlayer.setShuffle": [{
|
|
32188
|
+
name: "deviceId",
|
|
32189
|
+
form: "single",
|
|
32190
|
+
optional: false
|
|
32191
|
+
}],
|
|
32192
|
+
"mediaPlayer.setVolume": [{
|
|
32193
|
+
name: "deviceId",
|
|
32194
|
+
form: "single",
|
|
32195
|
+
optional: false
|
|
32196
|
+
}],
|
|
32197
|
+
"mediaPlayer.stop": [{
|
|
32198
|
+
name: "deviceId",
|
|
32199
|
+
form: "single",
|
|
32200
|
+
optional: false
|
|
32201
|
+
}],
|
|
32202
|
+
"motion.isDetected": [{
|
|
32203
|
+
name: "deviceId",
|
|
32204
|
+
form: "single",
|
|
32205
|
+
optional: false
|
|
32206
|
+
}],
|
|
32207
|
+
"motionDetection.analyze": [{
|
|
32208
|
+
name: "deviceId",
|
|
32209
|
+
form: "single",
|
|
32210
|
+
optional: false
|
|
32211
|
+
}],
|
|
32212
|
+
"motionDetection.removeCamera": [{
|
|
32213
|
+
name: "deviceId",
|
|
32214
|
+
form: "single",
|
|
32215
|
+
optional: false
|
|
32216
|
+
}],
|
|
32217
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32218
|
+
name: "deviceId",
|
|
32219
|
+
form: "single",
|
|
32220
|
+
optional: false
|
|
32221
|
+
}],
|
|
32222
|
+
"motionZones.getOptions": [{
|
|
32223
|
+
name: "deviceId",
|
|
32224
|
+
form: "single",
|
|
32225
|
+
optional: false
|
|
32226
|
+
}],
|
|
32227
|
+
"motionZones.setZone": [{
|
|
32228
|
+
name: "deviceId",
|
|
32229
|
+
form: "single",
|
|
32230
|
+
optional: false
|
|
32231
|
+
}],
|
|
32232
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32233
|
+
name: "deviceId",
|
|
32234
|
+
form: "single",
|
|
32235
|
+
optional: false
|
|
32236
|
+
}],
|
|
32237
|
+
"networkQuality.getDeviceStats": [{
|
|
32238
|
+
name: "deviceId",
|
|
32239
|
+
form: "single",
|
|
32240
|
+
optional: false
|
|
32241
|
+
}],
|
|
32242
|
+
"networkQuality.reportClientStats": [{
|
|
32243
|
+
name: "deviceId",
|
|
32244
|
+
form: "single",
|
|
32245
|
+
optional: false
|
|
32246
|
+
}],
|
|
32247
|
+
"notificationRules.setDeviceMuted": [{
|
|
32248
|
+
name: "deviceId",
|
|
32249
|
+
form: "single",
|
|
32250
|
+
optional: false
|
|
32251
|
+
}],
|
|
32252
|
+
"notifier.cancel": [{
|
|
32253
|
+
name: "deviceId",
|
|
32254
|
+
form: "single",
|
|
32255
|
+
optional: false
|
|
32256
|
+
}],
|
|
32257
|
+
"notifier.send": [{
|
|
32258
|
+
name: "deviceId",
|
|
32259
|
+
form: "single",
|
|
32260
|
+
optional: false
|
|
32261
|
+
}],
|
|
32262
|
+
"osd.setOverlay": [{
|
|
32263
|
+
name: "deviceId",
|
|
32264
|
+
form: "single",
|
|
32265
|
+
optional: false
|
|
32266
|
+
}],
|
|
32267
|
+
"osdManager.clearSlotBinding": [{
|
|
32268
|
+
name: "deviceId",
|
|
32269
|
+
form: "single",
|
|
32270
|
+
optional: false
|
|
32271
|
+
}],
|
|
32272
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32273
|
+
name: "sourceDeviceId",
|
|
32274
|
+
form: "single",
|
|
32275
|
+
optional: false
|
|
32276
|
+
}, {
|
|
32277
|
+
name: "targetDeviceId",
|
|
32278
|
+
form: "single",
|
|
32279
|
+
optional: false
|
|
32280
|
+
}],
|
|
32281
|
+
"osdManager.getDeviceOsd": [{
|
|
32282
|
+
name: "deviceId",
|
|
32283
|
+
form: "single",
|
|
32284
|
+
optional: false
|
|
32285
|
+
}],
|
|
32286
|
+
"osdManager.getSourceCatalog": [{
|
|
32287
|
+
name: "deviceId",
|
|
32288
|
+
form: "single",
|
|
32289
|
+
optional: false
|
|
32290
|
+
}],
|
|
32291
|
+
"osdManager.previewSlot": [{
|
|
32292
|
+
name: "deviceId",
|
|
32293
|
+
form: "single",
|
|
32294
|
+
optional: false
|
|
32295
|
+
}],
|
|
32296
|
+
"osdManager.renderDevice": [{
|
|
32297
|
+
name: "deviceId",
|
|
32298
|
+
form: "single",
|
|
32299
|
+
optional: false
|
|
32300
|
+
}],
|
|
32301
|
+
"osdManager.setSlotBinding": [{
|
|
32302
|
+
name: "deviceId",
|
|
32303
|
+
form: "single",
|
|
32304
|
+
optional: false
|
|
32305
|
+
}],
|
|
32306
|
+
"petFeeder.callPet": [{
|
|
32307
|
+
name: "deviceId",
|
|
32308
|
+
form: "single",
|
|
32309
|
+
optional: false
|
|
32310
|
+
}],
|
|
32311
|
+
"petFeeder.cancelFeed": [{
|
|
32312
|
+
name: "deviceId",
|
|
32313
|
+
form: "single",
|
|
32314
|
+
optional: false
|
|
32315
|
+
}],
|
|
32316
|
+
"petFeeder.feed": [{
|
|
32317
|
+
name: "deviceId",
|
|
32318
|
+
form: "single",
|
|
32319
|
+
optional: false
|
|
32320
|
+
}],
|
|
32321
|
+
"petFeeder.markFoodReplenished": [{
|
|
32322
|
+
name: "deviceId",
|
|
32323
|
+
form: "single",
|
|
32324
|
+
optional: false
|
|
32325
|
+
}],
|
|
32326
|
+
"petFeeder.playSound": [{
|
|
32327
|
+
name: "deviceId",
|
|
32328
|
+
form: "single",
|
|
32329
|
+
optional: false
|
|
32330
|
+
}],
|
|
32331
|
+
"petFeeder.resetDesiccant": [{
|
|
32332
|
+
name: "deviceId",
|
|
32333
|
+
form: "single",
|
|
32334
|
+
optional: false
|
|
32335
|
+
}],
|
|
32336
|
+
"petFeeder.setChildLock": [{
|
|
32337
|
+
name: "deviceId",
|
|
32338
|
+
form: "single",
|
|
32339
|
+
optional: false
|
|
32340
|
+
}],
|
|
32341
|
+
"petFeeder.setFeedSound": [{
|
|
32342
|
+
name: "deviceId",
|
|
32343
|
+
form: "single",
|
|
32344
|
+
optional: false
|
|
32345
|
+
}],
|
|
32346
|
+
"petFeeder.setIndicatorLight": [{
|
|
32347
|
+
name: "deviceId",
|
|
32348
|
+
form: "single",
|
|
32349
|
+
optional: false
|
|
32350
|
+
}],
|
|
32351
|
+
"petFeeder.setVolume": [{
|
|
32352
|
+
name: "deviceId",
|
|
32353
|
+
form: "single",
|
|
32354
|
+
optional: false
|
|
32355
|
+
}],
|
|
32356
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32357
|
+
name: "deviceId",
|
|
32358
|
+
form: "single",
|
|
32359
|
+
optional: false
|
|
32360
|
+
}],
|
|
32361
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32362
|
+
name: "deviceId",
|
|
32363
|
+
form: "single",
|
|
32364
|
+
optional: false
|
|
32365
|
+
}],
|
|
32366
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32367
|
+
name: "deviceId",
|
|
32368
|
+
form: "single",
|
|
32369
|
+
optional: false
|
|
32370
|
+
}],
|
|
32371
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32372
|
+
name: "deviceId",
|
|
32373
|
+
form: "single",
|
|
32374
|
+
optional: false
|
|
32375
|
+
}],
|
|
32376
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32377
|
+
name: "deviceId",
|
|
32378
|
+
form: "single",
|
|
32379
|
+
optional: false
|
|
32380
|
+
}],
|
|
32381
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32382
|
+
name: "deviceId",
|
|
32383
|
+
form: "single",
|
|
32384
|
+
optional: false
|
|
32385
|
+
}],
|
|
32386
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32387
|
+
name: "deviceId",
|
|
32388
|
+
form: "single",
|
|
32389
|
+
optional: false
|
|
32390
|
+
}],
|
|
32391
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32392
|
+
name: "deviceId",
|
|
32393
|
+
form: "single",
|
|
32394
|
+
optional: false
|
|
32395
|
+
}],
|
|
32396
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32397
|
+
name: "deviceId",
|
|
32398
|
+
form: "single",
|
|
32399
|
+
optional: false
|
|
32400
|
+
}],
|
|
32401
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32402
|
+
name: "deviceId",
|
|
32403
|
+
form: "single",
|
|
32404
|
+
optional: false
|
|
32405
|
+
}],
|
|
32406
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32407
|
+
name: "deviceId",
|
|
32408
|
+
form: "single",
|
|
32409
|
+
optional: false
|
|
32410
|
+
}],
|
|
32411
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32412
|
+
name: "deviceId",
|
|
32413
|
+
form: "single",
|
|
32414
|
+
optional: false
|
|
32415
|
+
}],
|
|
32416
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32417
|
+
name: "deviceIds",
|
|
32418
|
+
form: "array",
|
|
32419
|
+
optional: true
|
|
32420
|
+
}],
|
|
32421
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32422
|
+
name: "deviceId",
|
|
32423
|
+
form: "single",
|
|
32424
|
+
optional: false
|
|
32425
|
+
}],
|
|
32426
|
+
"pipelineAnalytics.getTrack": [{
|
|
32427
|
+
name: "deviceId",
|
|
32428
|
+
form: "single",
|
|
32429
|
+
optional: false
|
|
32430
|
+
}],
|
|
32431
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32432
|
+
name: "deviceId",
|
|
32433
|
+
form: "single",
|
|
32434
|
+
optional: false
|
|
32435
|
+
}],
|
|
32436
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32437
|
+
name: "deviceIds",
|
|
32438
|
+
form: "array",
|
|
32439
|
+
optional: true
|
|
32440
|
+
}],
|
|
32441
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32442
|
+
name: "deviceIds",
|
|
32443
|
+
form: "array",
|
|
32444
|
+
optional: true
|
|
32445
|
+
}],
|
|
32446
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32447
|
+
name: "deviceId",
|
|
32448
|
+
form: "single",
|
|
32449
|
+
optional: false
|
|
32450
|
+
}],
|
|
32451
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32452
|
+
name: "deviceIds",
|
|
32453
|
+
form: "array",
|
|
32454
|
+
optional: false
|
|
32455
|
+
}],
|
|
32456
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32457
|
+
name: "deviceId",
|
|
32458
|
+
form: "single",
|
|
32459
|
+
optional: true
|
|
32460
|
+
}],
|
|
32461
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32462
|
+
name: "deviceIds",
|
|
32463
|
+
form: "array",
|
|
32464
|
+
optional: false
|
|
32465
|
+
}],
|
|
32466
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32467
|
+
name: "deviceIds",
|
|
32468
|
+
form: "array",
|
|
32469
|
+
optional: true
|
|
32470
|
+
}],
|
|
32471
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32472
|
+
name: "deviceId",
|
|
32473
|
+
form: "single",
|
|
32474
|
+
optional: false
|
|
32475
|
+
}],
|
|
32476
|
+
"pipelineAnalytics.listTracks": [{
|
|
32477
|
+
name: "deviceId",
|
|
32478
|
+
form: "single",
|
|
32479
|
+
optional: false
|
|
32480
|
+
}],
|
|
32481
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32482
|
+
name: "deviceId",
|
|
32483
|
+
form: "single",
|
|
32484
|
+
optional: false
|
|
32485
|
+
}],
|
|
32486
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32487
|
+
name: "deviceId",
|
|
32488
|
+
form: "single",
|
|
32489
|
+
optional: false
|
|
32490
|
+
}],
|
|
32491
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32492
|
+
name: "deviceId",
|
|
32493
|
+
form: "single",
|
|
32494
|
+
optional: false
|
|
32495
|
+
}],
|
|
32496
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32497
|
+
name: "deviceId",
|
|
32498
|
+
form: "single",
|
|
32499
|
+
optional: true
|
|
32500
|
+
}],
|
|
32501
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32502
|
+
name: "deviceId",
|
|
32503
|
+
form: "single",
|
|
32504
|
+
optional: false
|
|
32505
|
+
}],
|
|
32506
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32507
|
+
name: "deviceId",
|
|
32508
|
+
form: "single",
|
|
32509
|
+
optional: false
|
|
32510
|
+
}],
|
|
32511
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32512
|
+
name: "deviceId",
|
|
32513
|
+
form: "single",
|
|
32514
|
+
optional: true
|
|
32515
|
+
}],
|
|
32516
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32517
|
+
name: "deviceId",
|
|
32518
|
+
form: "single",
|
|
32519
|
+
optional: false
|
|
32520
|
+
}],
|
|
32521
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32522
|
+
name: "deviceId",
|
|
32523
|
+
form: "single",
|
|
32524
|
+
optional: false
|
|
32525
|
+
}],
|
|
32526
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32527
|
+
name: "deviceId",
|
|
32528
|
+
form: "single",
|
|
32529
|
+
optional: false
|
|
32530
|
+
}],
|
|
32531
|
+
"pipelineExecutor.runPipeline": [{
|
|
32532
|
+
name: "deviceId",
|
|
32533
|
+
form: "single",
|
|
32534
|
+
optional: true
|
|
32535
|
+
}],
|
|
32536
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32537
|
+
name: "deviceId",
|
|
32538
|
+
form: "single",
|
|
32539
|
+
optional: true
|
|
32540
|
+
}],
|
|
32541
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32542
|
+
name: "deviceId",
|
|
32543
|
+
form: "single",
|
|
32544
|
+
optional: false
|
|
32545
|
+
}],
|
|
32546
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32547
|
+
name: "deviceId",
|
|
32548
|
+
form: "single",
|
|
32549
|
+
optional: false
|
|
32550
|
+
}],
|
|
32551
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32552
|
+
name: "deviceId",
|
|
32553
|
+
form: "single",
|
|
32554
|
+
optional: false
|
|
32555
|
+
}],
|
|
32556
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32557
|
+
name: "deviceId",
|
|
32558
|
+
form: "single",
|
|
32559
|
+
optional: false
|
|
32560
|
+
}],
|
|
32561
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32562
|
+
name: "deviceId",
|
|
32563
|
+
form: "single",
|
|
32564
|
+
optional: false
|
|
32565
|
+
}],
|
|
32566
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32567
|
+
name: "deviceId",
|
|
32568
|
+
form: "single",
|
|
32569
|
+
optional: false
|
|
32570
|
+
}],
|
|
32571
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32572
|
+
name: "deviceIds",
|
|
32573
|
+
form: "array",
|
|
32574
|
+
optional: true
|
|
32575
|
+
}],
|
|
32576
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32577
|
+
name: "deviceId",
|
|
32578
|
+
form: "single",
|
|
32579
|
+
optional: false
|
|
32580
|
+
}],
|
|
32581
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32582
|
+
name: "deviceId",
|
|
32583
|
+
form: "single",
|
|
32584
|
+
optional: false
|
|
32585
|
+
}],
|
|
32586
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32587
|
+
name: "deviceId",
|
|
32588
|
+
form: "single",
|
|
32589
|
+
optional: false
|
|
32590
|
+
}],
|
|
32591
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32592
|
+
name: "deviceId",
|
|
32593
|
+
form: "single",
|
|
32594
|
+
optional: false
|
|
32595
|
+
}],
|
|
32596
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32597
|
+
name: "deviceId",
|
|
32598
|
+
form: "single",
|
|
32599
|
+
optional: false
|
|
32600
|
+
}],
|
|
32601
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32602
|
+
name: "deviceId",
|
|
32603
|
+
form: "single",
|
|
32604
|
+
optional: false
|
|
32605
|
+
}],
|
|
32606
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32607
|
+
name: "deviceId",
|
|
32608
|
+
form: "single",
|
|
32609
|
+
optional: false
|
|
32610
|
+
}],
|
|
32611
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32612
|
+
name: "deviceId",
|
|
32613
|
+
form: "single",
|
|
32614
|
+
optional: false
|
|
32615
|
+
}],
|
|
32616
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32617
|
+
name: "deviceId",
|
|
32618
|
+
form: "single",
|
|
32619
|
+
optional: false
|
|
32620
|
+
}],
|
|
32621
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32622
|
+
name: "deviceId",
|
|
32623
|
+
form: "single",
|
|
32624
|
+
optional: false
|
|
32625
|
+
}],
|
|
32626
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32627
|
+
name: "deviceId",
|
|
32628
|
+
form: "single",
|
|
32629
|
+
optional: false
|
|
32630
|
+
}],
|
|
32631
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32632
|
+
name: "deviceId",
|
|
32633
|
+
form: "single",
|
|
32634
|
+
optional: false
|
|
32635
|
+
}],
|
|
32636
|
+
"pipelineRunner.attachCamera": [{
|
|
32637
|
+
name: "deviceId",
|
|
32638
|
+
form: "single",
|
|
32639
|
+
optional: false
|
|
32640
|
+
}],
|
|
32641
|
+
"pipelineRunner.detachCamera": [{
|
|
32642
|
+
name: "deviceId",
|
|
32643
|
+
form: "single",
|
|
32644
|
+
optional: false
|
|
32645
|
+
}],
|
|
32646
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32647
|
+
name: "deviceId",
|
|
32648
|
+
form: "single",
|
|
32649
|
+
optional: false
|
|
32650
|
+
}],
|
|
32651
|
+
"pipelineRunner.reportMotion": [{
|
|
32652
|
+
name: "deviceId",
|
|
32653
|
+
form: "single",
|
|
32654
|
+
optional: false
|
|
32655
|
+
}],
|
|
32656
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32657
|
+
name: "deviceId",
|
|
32658
|
+
form: "single",
|
|
32659
|
+
optional: false
|
|
32660
|
+
}],
|
|
32661
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32662
|
+
name: "sourceDeviceId",
|
|
32663
|
+
form: "single",
|
|
32664
|
+
optional: false
|
|
32665
|
+
}],
|
|
32666
|
+
"plateGallery.getPlateByTrack": [{
|
|
32667
|
+
name: "deviceId",
|
|
32668
|
+
form: "single",
|
|
32669
|
+
optional: false
|
|
32670
|
+
}],
|
|
32671
|
+
"plateGallery.listPlates": [{
|
|
32672
|
+
name: "deviceId",
|
|
32673
|
+
form: "single",
|
|
32674
|
+
optional: true
|
|
32675
|
+
}],
|
|
32676
|
+
"privacyMask.getOptions": [{
|
|
32677
|
+
name: "deviceId",
|
|
32678
|
+
form: "single",
|
|
32679
|
+
optional: false
|
|
32680
|
+
}],
|
|
32681
|
+
"privacyMask.setAudioEnabled": [{
|
|
32682
|
+
name: "deviceId",
|
|
32683
|
+
form: "single",
|
|
32684
|
+
optional: false
|
|
32685
|
+
}],
|
|
32686
|
+
"privacyMask.setMask": [{
|
|
32687
|
+
name: "deviceId",
|
|
32688
|
+
form: "single",
|
|
32689
|
+
optional: false
|
|
32690
|
+
}],
|
|
32691
|
+
"ptz.continuousMove": [{
|
|
32692
|
+
name: "deviceId",
|
|
32693
|
+
form: "single",
|
|
32694
|
+
optional: false
|
|
32695
|
+
}],
|
|
32696
|
+
"ptz.deletePreset": [{
|
|
32697
|
+
name: "deviceId",
|
|
32698
|
+
form: "single",
|
|
32699
|
+
optional: false
|
|
32700
|
+
}],
|
|
32701
|
+
"ptz.getOptions": [{
|
|
32702
|
+
name: "deviceId",
|
|
32703
|
+
form: "single",
|
|
32704
|
+
optional: false
|
|
32705
|
+
}],
|
|
32706
|
+
"ptz.getPosition": [{
|
|
32707
|
+
name: "deviceId",
|
|
32708
|
+
form: "single",
|
|
32709
|
+
optional: false
|
|
32710
|
+
}],
|
|
32711
|
+
"ptz.getPresets": [{
|
|
32712
|
+
name: "deviceId",
|
|
32713
|
+
form: "single",
|
|
32714
|
+
optional: false
|
|
32715
|
+
}],
|
|
32716
|
+
"ptz.goHome": [{
|
|
32717
|
+
name: "deviceId",
|
|
32718
|
+
form: "single",
|
|
32719
|
+
optional: false
|
|
32720
|
+
}],
|
|
32721
|
+
"ptz.goToPreset": [{
|
|
32722
|
+
name: "deviceId",
|
|
32723
|
+
form: "single",
|
|
32724
|
+
optional: false
|
|
32725
|
+
}],
|
|
32726
|
+
"ptz.move": [{
|
|
32727
|
+
name: "deviceId",
|
|
32728
|
+
form: "single",
|
|
32729
|
+
optional: false
|
|
32730
|
+
}],
|
|
32731
|
+
"ptz.savePreset": [{
|
|
32732
|
+
name: "deviceId",
|
|
32733
|
+
form: "single",
|
|
32734
|
+
optional: false
|
|
32735
|
+
}],
|
|
32736
|
+
"ptz.setAutofocus": [{
|
|
32737
|
+
name: "deviceId",
|
|
32738
|
+
form: "single",
|
|
32739
|
+
optional: false
|
|
32740
|
+
}],
|
|
32741
|
+
"ptz.stop": [{
|
|
32742
|
+
name: "deviceId",
|
|
32743
|
+
form: "single",
|
|
32744
|
+
optional: false
|
|
32745
|
+
}],
|
|
32746
|
+
"ptzAutotrack.getSettings": [{
|
|
32747
|
+
name: "deviceId",
|
|
32748
|
+
form: "single",
|
|
32749
|
+
optional: false
|
|
32750
|
+
}],
|
|
32751
|
+
"ptzAutotrack.getStatus": [{
|
|
32752
|
+
name: "deviceId",
|
|
32753
|
+
form: "single",
|
|
32754
|
+
optional: false
|
|
32755
|
+
}],
|
|
32756
|
+
"ptzAutotrack.setEnabled": [{
|
|
32757
|
+
name: "deviceId",
|
|
32758
|
+
form: "single",
|
|
32759
|
+
optional: false
|
|
32760
|
+
}],
|
|
32761
|
+
"ptzAutotrack.setSettings": [{
|
|
32762
|
+
name: "deviceId",
|
|
32763
|
+
form: "single",
|
|
32764
|
+
optional: false
|
|
32765
|
+
}],
|
|
32766
|
+
"reboot.reboot": [{
|
|
32767
|
+
name: "deviceId",
|
|
32768
|
+
form: "single",
|
|
32769
|
+
optional: false
|
|
32770
|
+
}],
|
|
32771
|
+
"recording.deleteFootprint": [{
|
|
32772
|
+
name: "deviceId",
|
|
32773
|
+
form: "single",
|
|
32774
|
+
optional: false
|
|
32775
|
+
}],
|
|
32776
|
+
"recording.getAvailability": [{
|
|
32777
|
+
name: "deviceId",
|
|
32778
|
+
form: "single",
|
|
32779
|
+
optional: false
|
|
32780
|
+
}],
|
|
32781
|
+
"recording.getDaysWithRecordings": [{
|
|
32782
|
+
name: "deviceId",
|
|
32783
|
+
form: "single",
|
|
32784
|
+
optional: false
|
|
32785
|
+
}],
|
|
32786
|
+
"recording.getDeviceConfig": [{
|
|
32787
|
+
name: "deviceId",
|
|
32788
|
+
form: "single",
|
|
32789
|
+
optional: false
|
|
32790
|
+
}],
|
|
32791
|
+
"recording.getPlaybackManifest": [{
|
|
32792
|
+
name: "deviceId",
|
|
32793
|
+
form: "single",
|
|
32794
|
+
optional: false
|
|
32795
|
+
}],
|
|
32796
|
+
"recording.listOpsLog": [{
|
|
32797
|
+
name: "deviceId",
|
|
32798
|
+
form: "single",
|
|
32799
|
+
optional: true
|
|
32800
|
+
}],
|
|
32801
|
+
"recording.locateSegment": [{
|
|
32802
|
+
name: "deviceId",
|
|
32803
|
+
form: "single",
|
|
32804
|
+
optional: false
|
|
32805
|
+
}],
|
|
32806
|
+
"recording.pruneFootage": [{
|
|
32807
|
+
name: "deviceId",
|
|
32808
|
+
form: "single",
|
|
32809
|
+
optional: false
|
|
32810
|
+
}],
|
|
32811
|
+
"recording.readGopBytes": [{
|
|
32812
|
+
name: "deviceId",
|
|
32813
|
+
form: "single",
|
|
32814
|
+
optional: false
|
|
32815
|
+
}],
|
|
32816
|
+
"recording.readSegmentBytes": [{
|
|
32817
|
+
name: "deviceId",
|
|
32818
|
+
form: "single",
|
|
32819
|
+
optional: false
|
|
32820
|
+
}],
|
|
32821
|
+
"recording.relocateFootage": [{
|
|
32822
|
+
name: "deviceId",
|
|
32823
|
+
form: "single",
|
|
32824
|
+
optional: true
|
|
32825
|
+
}],
|
|
32826
|
+
"recording.renderClip": [{
|
|
32827
|
+
name: "deviceId",
|
|
32828
|
+
form: "single",
|
|
32829
|
+
optional: false
|
|
32830
|
+
}],
|
|
32831
|
+
"recording.renderGif": [{
|
|
32832
|
+
name: "deviceId",
|
|
32833
|
+
form: "single",
|
|
32834
|
+
optional: false
|
|
32835
|
+
}],
|
|
32836
|
+
"recording.rescanStorage": [{
|
|
32837
|
+
name: "deviceId",
|
|
32838
|
+
form: "single",
|
|
32839
|
+
optional: false
|
|
32840
|
+
}],
|
|
32841
|
+
"recording.setDeviceConfig": [{
|
|
32842
|
+
name: "deviceId",
|
|
32843
|
+
form: "single",
|
|
32844
|
+
optional: false
|
|
32845
|
+
}],
|
|
32846
|
+
"recording.startStorageMigrationMove": [{
|
|
32847
|
+
name: "deviceId",
|
|
32848
|
+
form: "single",
|
|
32849
|
+
optional: true
|
|
32850
|
+
}],
|
|
32851
|
+
"recordingExport.createExport": [{
|
|
32852
|
+
name: "deviceId",
|
|
32853
|
+
form: "single",
|
|
32854
|
+
optional: false
|
|
32855
|
+
}],
|
|
32856
|
+
"recordingExport.listExports": [{
|
|
32857
|
+
name: "deviceId",
|
|
32858
|
+
form: "single",
|
|
32859
|
+
optional: true
|
|
32860
|
+
}],
|
|
32861
|
+
"sceneMonitor.captureReference": [{
|
|
32862
|
+
name: "deviceId",
|
|
32863
|
+
form: "single",
|
|
32864
|
+
optional: false
|
|
32865
|
+
}],
|
|
32866
|
+
"sceneMonitor.createScene": [{
|
|
32867
|
+
name: "deviceId",
|
|
32868
|
+
form: "single",
|
|
32869
|
+
optional: false
|
|
32870
|
+
}],
|
|
32871
|
+
"sceneMonitor.deleteReference": [{
|
|
32872
|
+
name: "deviceId",
|
|
32873
|
+
form: "single",
|
|
32874
|
+
optional: false
|
|
32875
|
+
}],
|
|
32876
|
+
"sceneMonitor.deleteScene": [{
|
|
32877
|
+
name: "deviceId",
|
|
32878
|
+
form: "single",
|
|
32879
|
+
optional: false
|
|
32880
|
+
}],
|
|
32881
|
+
"sceneMonitor.listScenes": [{
|
|
32882
|
+
name: "deviceId",
|
|
32883
|
+
form: "single",
|
|
32884
|
+
optional: false
|
|
32885
|
+
}],
|
|
32886
|
+
"sceneMonitor.recheckNow": [{
|
|
32887
|
+
name: "deviceId",
|
|
32888
|
+
form: "single",
|
|
32889
|
+
optional: false
|
|
32890
|
+
}],
|
|
32891
|
+
"sceneMonitor.resetScene": [{
|
|
32892
|
+
name: "deviceId",
|
|
32893
|
+
form: "single",
|
|
32894
|
+
optional: false
|
|
32895
|
+
}],
|
|
32896
|
+
"sceneMonitor.updateScene": [{
|
|
32897
|
+
name: "deviceId",
|
|
32898
|
+
form: "single",
|
|
32899
|
+
optional: false
|
|
32900
|
+
}],
|
|
32901
|
+
"scriptRunner.run": [{
|
|
32902
|
+
name: "deviceId",
|
|
32903
|
+
form: "single",
|
|
32904
|
+
optional: false
|
|
32905
|
+
}],
|
|
32906
|
+
"scriptRunner.stop": [{
|
|
32907
|
+
name: "deviceId",
|
|
32908
|
+
form: "single",
|
|
32909
|
+
optional: false
|
|
32910
|
+
}],
|
|
32911
|
+
"snapshot.getDebugState": [{
|
|
32912
|
+
name: "deviceId",
|
|
32913
|
+
form: "single",
|
|
32914
|
+
optional: false
|
|
32915
|
+
}],
|
|
32916
|
+
"snapshot.getSnapshot": [{
|
|
32917
|
+
name: "deviceId",
|
|
32918
|
+
form: "single",
|
|
32919
|
+
optional: false
|
|
32920
|
+
}],
|
|
32921
|
+
"snapshot.getSnapshotLinks": [{
|
|
32922
|
+
name: "targets",
|
|
32923
|
+
form: "object-array",
|
|
32924
|
+
optional: false,
|
|
32925
|
+
itemField: "deviceId"
|
|
32926
|
+
}],
|
|
32927
|
+
"snapshot.getSnapshotOverview": [{
|
|
32928
|
+
name: "deviceIds",
|
|
32929
|
+
form: "array",
|
|
32930
|
+
optional: false
|
|
32931
|
+
}],
|
|
32932
|
+
"snapshot.invalidateCache": [{
|
|
32933
|
+
name: "deviceId",
|
|
32934
|
+
form: "single",
|
|
32935
|
+
optional: false
|
|
32936
|
+
}],
|
|
32937
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32938
|
+
name: "deviceId",
|
|
32939
|
+
form: "single",
|
|
32940
|
+
optional: false
|
|
32941
|
+
}],
|
|
32942
|
+
"streamBroker.assignProfile": [{
|
|
32943
|
+
name: "deviceId",
|
|
32944
|
+
form: "single",
|
|
32945
|
+
optional: false
|
|
32946
|
+
}],
|
|
32947
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32948
|
+
name: "deviceId",
|
|
32949
|
+
form: "single",
|
|
32950
|
+
optional: false
|
|
32951
|
+
}],
|
|
32952
|
+
"streamBroker.getStreamWithCodec": [{
|
|
32953
|
+
name: "deviceId",
|
|
32954
|
+
form: "single",
|
|
32955
|
+
optional: false
|
|
32956
|
+
}],
|
|
32957
|
+
"streamBroker.produceEventMedia": [{
|
|
32958
|
+
name: "deviceId",
|
|
32959
|
+
form: "single",
|
|
32960
|
+
optional: false
|
|
32961
|
+
}],
|
|
32962
|
+
"streamBroker.publishCameraStream": [{
|
|
32963
|
+
name: "deviceId",
|
|
32964
|
+
form: "single",
|
|
32965
|
+
optional: false
|
|
32966
|
+
}],
|
|
32967
|
+
"streamBroker.renderPreBufferClip": [{
|
|
32968
|
+
name: "deviceId",
|
|
32969
|
+
form: "single",
|
|
32970
|
+
optional: false
|
|
32971
|
+
}],
|
|
32972
|
+
"streamBroker.restartProfile": [{
|
|
32973
|
+
name: "deviceId",
|
|
32974
|
+
form: "single",
|
|
32975
|
+
optional: false
|
|
32976
|
+
}],
|
|
32977
|
+
"streamBroker.retractCameraStream": [{
|
|
32978
|
+
name: "deviceId",
|
|
32979
|
+
form: "single",
|
|
32980
|
+
optional: false
|
|
32981
|
+
}],
|
|
32982
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
32983
|
+
name: "deviceId",
|
|
32984
|
+
form: "single",
|
|
32985
|
+
optional: false
|
|
32986
|
+
}],
|
|
32987
|
+
"streamBroker.unassignProfile": [{
|
|
32988
|
+
name: "deviceId",
|
|
32989
|
+
form: "single",
|
|
32990
|
+
optional: false
|
|
32991
|
+
}],
|
|
32992
|
+
"streamCatalog.getCatalog": [{
|
|
32993
|
+
name: "deviceId",
|
|
32994
|
+
form: "single",
|
|
32995
|
+
optional: false
|
|
32996
|
+
}],
|
|
32997
|
+
"streamParams.getConfigSchema": [{
|
|
32998
|
+
name: "deviceId",
|
|
32999
|
+
form: "single",
|
|
33000
|
+
optional: false
|
|
33001
|
+
}],
|
|
33002
|
+
"streamParams.getOptions": [{
|
|
33003
|
+
name: "deviceId",
|
|
33004
|
+
form: "single",
|
|
33005
|
+
optional: false
|
|
33006
|
+
}],
|
|
33007
|
+
"streamParams.setProfile": [{
|
|
33008
|
+
name: "deviceId",
|
|
33009
|
+
form: "single",
|
|
33010
|
+
optional: false
|
|
33011
|
+
}],
|
|
33012
|
+
"switch.setState": [{
|
|
33013
|
+
name: "deviceId",
|
|
33014
|
+
form: "single",
|
|
33015
|
+
optional: false
|
|
33016
|
+
}],
|
|
33017
|
+
"vacuumControl.locate": [{
|
|
33018
|
+
name: "deviceId",
|
|
33019
|
+
form: "single",
|
|
33020
|
+
optional: false
|
|
33021
|
+
}],
|
|
33022
|
+
"vacuumControl.pause": [{
|
|
33023
|
+
name: "deviceId",
|
|
33024
|
+
form: "single",
|
|
33025
|
+
optional: false
|
|
33026
|
+
}],
|
|
33027
|
+
"vacuumControl.returnToBase": [{
|
|
33028
|
+
name: "deviceId",
|
|
33029
|
+
form: "single",
|
|
33030
|
+
optional: false
|
|
33031
|
+
}],
|
|
33032
|
+
"vacuumControl.setFanSpeed": [{
|
|
33033
|
+
name: "deviceId",
|
|
33034
|
+
form: "single",
|
|
33035
|
+
optional: false
|
|
33036
|
+
}],
|
|
33037
|
+
"vacuumControl.start": [{
|
|
33038
|
+
name: "deviceId",
|
|
33039
|
+
form: "single",
|
|
33040
|
+
optional: false
|
|
33041
|
+
}],
|
|
33042
|
+
"vacuumControl.stop": [{
|
|
33043
|
+
name: "deviceId",
|
|
33044
|
+
form: "single",
|
|
33045
|
+
optional: false
|
|
33046
|
+
}],
|
|
33047
|
+
"valve.close": [{
|
|
33048
|
+
name: "deviceId",
|
|
33049
|
+
form: "single",
|
|
33050
|
+
optional: false
|
|
33051
|
+
}],
|
|
33052
|
+
"valve.open": [{
|
|
33053
|
+
name: "deviceId",
|
|
33054
|
+
form: "single",
|
|
33055
|
+
optional: false
|
|
33056
|
+
}],
|
|
33057
|
+
"valve.setPosition": [{
|
|
33058
|
+
name: "deviceId",
|
|
33059
|
+
form: "single",
|
|
33060
|
+
optional: false
|
|
33061
|
+
}],
|
|
33062
|
+
"valve.stop": [{
|
|
33063
|
+
name: "deviceId",
|
|
33064
|
+
form: "single",
|
|
33065
|
+
optional: false
|
|
33066
|
+
}],
|
|
33067
|
+
"videoclips.getClipPlayback": [{
|
|
33068
|
+
name: "deviceId",
|
|
33069
|
+
form: "single",
|
|
33070
|
+
optional: false
|
|
33071
|
+
}],
|
|
33072
|
+
"videoclips.listClips": [{
|
|
33073
|
+
name: "deviceId",
|
|
33074
|
+
form: "single",
|
|
33075
|
+
optional: false
|
|
33076
|
+
}],
|
|
33077
|
+
"waterHeater.setAway": [{
|
|
33078
|
+
name: "deviceId",
|
|
33079
|
+
form: "single",
|
|
33080
|
+
optional: false
|
|
33081
|
+
}],
|
|
33082
|
+
"waterHeater.setOperationMode": [{
|
|
33083
|
+
name: "deviceId",
|
|
33084
|
+
form: "single",
|
|
33085
|
+
optional: false
|
|
33086
|
+
}],
|
|
33087
|
+
"waterHeater.setTargetTemp": [{
|
|
33088
|
+
name: "deviceId",
|
|
33089
|
+
form: "single",
|
|
33090
|
+
optional: false
|
|
33091
|
+
}],
|
|
33092
|
+
"webrtcSession.addIceCandidate": [{
|
|
33093
|
+
name: "deviceId",
|
|
33094
|
+
form: "single",
|
|
33095
|
+
optional: false
|
|
33096
|
+
}],
|
|
33097
|
+
"webrtcSession.closeSession": [{
|
|
33098
|
+
name: "deviceId",
|
|
33099
|
+
form: "single",
|
|
33100
|
+
optional: false
|
|
33101
|
+
}],
|
|
33102
|
+
"webrtcSession.createSession": [{
|
|
33103
|
+
name: "deviceId",
|
|
33104
|
+
form: "single",
|
|
33105
|
+
optional: false
|
|
33106
|
+
}],
|
|
33107
|
+
"webrtcSession.getIceCandidates": [{
|
|
33108
|
+
name: "deviceId",
|
|
33109
|
+
form: "single",
|
|
33110
|
+
optional: false
|
|
33111
|
+
}],
|
|
33112
|
+
"webrtcSession.getSessionState": [{
|
|
33113
|
+
name: "deviceId",
|
|
33114
|
+
form: "single",
|
|
33115
|
+
optional: false
|
|
33116
|
+
}],
|
|
33117
|
+
"webrtcSession.handleAnswer": [{
|
|
33118
|
+
name: "deviceId",
|
|
33119
|
+
form: "single",
|
|
33120
|
+
optional: false
|
|
33121
|
+
}],
|
|
33122
|
+
"webrtcSession.handleOffer": [{
|
|
33123
|
+
name: "deviceId",
|
|
33124
|
+
form: "single",
|
|
33125
|
+
optional: false
|
|
33126
|
+
}],
|
|
33127
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33128
|
+
name: "deviceId",
|
|
33129
|
+
form: "single",
|
|
33130
|
+
optional: false
|
|
33131
|
+
}],
|
|
33132
|
+
"webrtcSession.listStreams": [{
|
|
33133
|
+
name: "deviceId",
|
|
33134
|
+
form: "single",
|
|
33135
|
+
optional: false
|
|
33136
|
+
}],
|
|
33137
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33138
|
+
name: "deviceId",
|
|
33139
|
+
form: "single",
|
|
33140
|
+
optional: false
|
|
33141
|
+
}],
|
|
33142
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33143
|
+
name: "deviceId",
|
|
33144
|
+
form: "single",
|
|
33145
|
+
optional: false
|
|
33146
|
+
}],
|
|
33147
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33148
|
+
name: "deviceId",
|
|
33149
|
+
form: "single",
|
|
33150
|
+
optional: false
|
|
33151
|
+
}],
|
|
33152
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33153
|
+
name: "deviceId",
|
|
33154
|
+
form: "single",
|
|
33155
|
+
optional: false
|
|
33156
|
+
}],
|
|
33157
|
+
"zoneRules.listRules": [{
|
|
33158
|
+
name: "deviceId",
|
|
33159
|
+
form: "single",
|
|
33160
|
+
optional: false
|
|
33161
|
+
}],
|
|
33162
|
+
"zoneRules.setRules": [{
|
|
33163
|
+
name: "deviceId",
|
|
33164
|
+
form: "single",
|
|
33165
|
+
optional: false
|
|
33166
|
+
}],
|
|
33167
|
+
"zones.addZone": [{
|
|
33168
|
+
name: "deviceId",
|
|
33169
|
+
form: "single",
|
|
33170
|
+
optional: false
|
|
33171
|
+
}],
|
|
33172
|
+
"zones.listZones": [{
|
|
33173
|
+
name: "deviceId",
|
|
33174
|
+
form: "single",
|
|
33175
|
+
optional: false
|
|
33176
|
+
}],
|
|
33177
|
+
"zones.removeZone": [{
|
|
33178
|
+
name: "deviceId",
|
|
33179
|
+
form: "single",
|
|
33180
|
+
optional: false
|
|
33181
|
+
}],
|
|
33182
|
+
"zones.updateZone": [{
|
|
33183
|
+
name: "deviceId",
|
|
33184
|
+
form: "single",
|
|
33185
|
+
optional: false
|
|
33186
|
+
}]
|
|
33187
|
+
});
|
|
30583
33188
|
Object.freeze({
|
|
30584
33189
|
"broker": "broker",
|
|
30585
33190
|
"device-export": "device-export",
|