@camstack/addon-remote-storage 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/s3.addon.js +1 -1
- package/dist/s3.addon.mjs +1 -1
- package/dist/sftp.addon.js +1 -1
- package/dist/sftp.addon.mjs +1 -1
- package/dist/{shared-SC5SVzlS.js → shared-C48hU09g.js} +2690 -85
- package/dist/{shared-DSSvJCiv.mjs → shared-Cud38F0U.mjs} +2690 -85
- package/dist/webdav.addon.js +1 -1
- package/dist/webdav.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
let node_crypto = require("node:crypto");
|
|
24
24
|
let node_path = require("node:path");
|
|
25
25
|
node_path = __toESM(node_path);
|
|
26
|
-
//#region ../types/dist/event-category-
|
|
26
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
27
27
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
28
28
|
EventCategory["SystemBoot"] = "system.boot";
|
|
29
29
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -230,6 +230,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
230
230
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
231
231
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
232
232
|
/**
|
|
233
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
234
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
235
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
236
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
237
|
+
* from the placement candidate set for as long as it holds.
|
|
238
|
+
*
|
|
239
|
+
* This exists because the state was previously invisible: little-unraid
|
|
240
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
241
|
+
* and nothing in the system said so.
|
|
242
|
+
*
|
|
243
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
244
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
245
|
+
* serves it exactly as before.
|
|
246
|
+
*/
|
|
247
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
248
|
+
/**
|
|
249
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
250
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
251
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
252
|
+
* per camera.
|
|
253
|
+
*
|
|
254
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
255
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
256
|
+
* camera" produce byte-identical silence.
|
|
257
|
+
*/
|
|
258
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
259
|
+
/**
|
|
233
260
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
234
261
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
235
262
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3021,6 +3048,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3021
3048
|
fallback: left.fallback
|
|
3022
3049
|
}, ctx);
|
|
3023
3050
|
}
|
|
3051
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3052
|
+
$ZodPipe.init(inst, def);
|
|
3053
|
+
});
|
|
3024
3054
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3025
3055
|
$ZodType.init(inst, def);
|
|
3026
3056
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5206,6 +5236,10 @@ function pipe(in_, out) {
|
|
|
5206
5236
|
out
|
|
5207
5237
|
});
|
|
5208
5238
|
}
|
|
5239
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5240
|
+
ZodPipe.init(inst, def);
|
|
5241
|
+
$ZodPreprocess.init(inst, def);
|
|
5242
|
+
});
|
|
5209
5243
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5210
5244
|
$ZodReadonly.init(inst, def);
|
|
5211
5245
|
ZodType.init(inst, def);
|
|
@@ -5264,6 +5298,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5264
5298
|
};
|
|
5265
5299
|
return inst;
|
|
5266
5300
|
}
|
|
5301
|
+
function preprocess(fn, schema) {
|
|
5302
|
+
return new ZodPreprocess({
|
|
5303
|
+
type: "pipe",
|
|
5304
|
+
in: transform(fn),
|
|
5305
|
+
out: schema
|
|
5306
|
+
});
|
|
5307
|
+
}
|
|
5267
5308
|
//#endregion
|
|
5268
5309
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5269
5310
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10782,6 +10823,8 @@ var QueryFilterSchema = object({
|
|
|
10782
10823
|
where: record(string(), unknown()).optional(),
|
|
10783
10824
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10784
10825
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10826
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10827
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10785
10828
|
orderBy: object({
|
|
10786
10829
|
field: string(),
|
|
10787
10830
|
direction: _enum(["asc", "desc"])
|
|
@@ -10801,7 +10844,8 @@ var QueryFilterSchema = object({
|
|
|
10801
10844
|
var MutationFilterSchema = object({
|
|
10802
10845
|
where: record(string(), unknown()).optional(),
|
|
10803
10846
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10804
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10847
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10848
|
+
whereNot: record(string(), unknown()).optional()
|
|
10805
10849
|
});
|
|
10806
10850
|
/** A single stored record: `{ id, data }`. */
|
|
10807
10851
|
var SettingsRecordSchema = object({
|
|
@@ -12158,6 +12202,17 @@ var LlmImageSchema = object({
|
|
|
12158
12202
|
bytes: _instanceof(Uint8Array),
|
|
12159
12203
|
mimeType: string()
|
|
12160
12204
|
});
|
|
12205
|
+
/**
|
|
12206
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12207
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12208
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12209
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12210
|
+
*/
|
|
12211
|
+
var LlmRetryPolicySchema = object({
|
|
12212
|
+
enabled: boolean().default(false),
|
|
12213
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12214
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12215
|
+
});
|
|
12161
12216
|
var LlmGenerateBaseInputSchema = object({
|
|
12162
12217
|
/** Collection routing (the notification-output posture). */
|
|
12163
12218
|
addonId: string().optional(),
|
|
@@ -12172,7 +12227,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12172
12227
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12173
12228
|
/** Per-call override of the profile default. */
|
|
12174
12229
|
maxTokens: number().int().positive().optional(),
|
|
12175
|
-
temperature: number().optional()
|
|
12230
|
+
temperature: number().optional(),
|
|
12231
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12232
|
+
topP: number().min(0).max(1).optional(),
|
|
12233
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12234
|
+
topK: number().int().positive().optional(),
|
|
12235
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12236
|
+
timeoutMs: number().int().positive().optional(),
|
|
12237
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12238
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12239
|
+
/**
|
|
12240
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12241
|
+
*
|
|
12242
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12243
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12244
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12245
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12246
|
+
* not generations, and the real load is unbounded.
|
|
12247
|
+
*
|
|
12248
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12249
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12250
|
+
*/
|
|
12251
|
+
requestId: string().optional()
|
|
12176
12252
|
});
|
|
12177
12253
|
/**
|
|
12178
12254
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12185,6 +12261,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12185
12261
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12186
12262
|
* watchdog — operator decision #3).
|
|
12187
12263
|
*/
|
|
12264
|
+
/**
|
|
12265
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12266
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12267
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12268
|
+
* the preview is exactly what the node downloads.
|
|
12269
|
+
*/
|
|
12270
|
+
var ManagedModelExtraFileSchema = object({
|
|
12271
|
+
url: string(),
|
|
12272
|
+
filename: string(),
|
|
12273
|
+
sizeBytes: number(),
|
|
12274
|
+
sha256: string().optional()
|
|
12275
|
+
});
|
|
12188
12276
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12189
12277
|
object({
|
|
12190
12278
|
kind: literal("catalog"),
|
|
@@ -12193,7 +12281,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12193
12281
|
object({
|
|
12194
12282
|
kind: literal("url"),
|
|
12195
12283
|
url: string(),
|
|
12196
|
-
sha256: string().optional()
|
|
12284
|
+
sha256: string().optional(),
|
|
12285
|
+
/** Picker/status label; the file basename when absent. */
|
|
12286
|
+
label: string().optional(),
|
|
12287
|
+
sizeBytes: number().optional(),
|
|
12288
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12197
12289
|
}),
|
|
12198
12290
|
object({
|
|
12199
12291
|
kind: literal("path"),
|
|
@@ -12211,13 +12303,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12211
12303
|
gpuLayers: number().int().default(0),
|
|
12212
12304
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12213
12305
|
threads: number().int().optional(),
|
|
12214
|
-
/** Concurrent slots. */
|
|
12306
|
+
/** Concurrent slots (`--parallel`). */
|
|
12215
12307
|
parallel: number().int().default(1),
|
|
12308
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12309
|
+
batchSize: number().int().positive().optional(),
|
|
12310
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12311
|
+
ubatchSize: number().int().positive().optional(),
|
|
12312
|
+
/**
|
|
12313
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12314
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12315
|
+
*/
|
|
12316
|
+
flashAttention: boolean().default(false),
|
|
12317
|
+
/**
|
|
12318
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12319
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12320
|
+
* what the RAM budget is counting.
|
|
12321
|
+
*/
|
|
12322
|
+
mlock: boolean().default(false),
|
|
12323
|
+
/**
|
|
12324
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12325
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12326
|
+
* store produces on every first token.
|
|
12327
|
+
*/
|
|
12328
|
+
noMmap: boolean().default(false),
|
|
12329
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12330
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12331
|
+
cacheTypeK: _enum([
|
|
12332
|
+
"f32",
|
|
12333
|
+
"f16",
|
|
12334
|
+
"q8_0",
|
|
12335
|
+
"q5_1",
|
|
12336
|
+
"q5_0",
|
|
12337
|
+
"q4_1",
|
|
12338
|
+
"q4_0"
|
|
12339
|
+
]).optional(),
|
|
12340
|
+
cacheTypeV: _enum([
|
|
12341
|
+
"f32",
|
|
12342
|
+
"f16",
|
|
12343
|
+
"q8_0",
|
|
12344
|
+
"q5_1",
|
|
12345
|
+
"q5_0",
|
|
12346
|
+
"q4_1",
|
|
12347
|
+
"q4_0"
|
|
12348
|
+
]).optional(),
|
|
12349
|
+
/**
|
|
12350
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12351
|
+
* (which most vision chat templates need and some language-only models
|
|
12352
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12353
|
+
*
|
|
12354
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12355
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12356
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12357
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12358
|
+
* twice (D62).
|
|
12359
|
+
*/
|
|
12360
|
+
extraArgs: array(string()).default([]),
|
|
12216
12361
|
/** Else lazy: first generate boots it. */
|
|
12217
12362
|
autoStart: boolean().default(false),
|
|
12218
12363
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12219
12364
|
idleStopMinutes: number().int().default(30)
|
|
12220
12365
|
});
|
|
12366
|
+
/**
|
|
12367
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12368
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12369
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12370
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12371
|
+
*/
|
|
12372
|
+
var LlmDownloadProgressSchema = object({
|
|
12373
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12374
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12375
|
+
file: string(),
|
|
12376
|
+
fileIndex: number().int(),
|
|
12377
|
+
fileCount: number().int(),
|
|
12378
|
+
/** Across the WHOLE install, not the current file. */
|
|
12379
|
+
downloadedBytes: number(),
|
|
12380
|
+
totalBytes: number().optional()
|
|
12381
|
+
});
|
|
12221
12382
|
var LlmRuntimeStatusSchema = object({
|
|
12222
12383
|
/** Status is ALWAYS node-qualified. */
|
|
12223
12384
|
nodeId: string(),
|
|
@@ -12234,6 +12395,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12234
12395
|
modelPath: string().optional(),
|
|
12235
12396
|
modelId: string().optional(),
|
|
12236
12397
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12398
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12399
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12237
12400
|
lastError: string().optional(),
|
|
12238
12401
|
crashesInWindow: number(),
|
|
12239
12402
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12244,7 +12407,14 @@ var LlmNodeModelSchema = object({
|
|
|
12244
12407
|
file: string(),
|
|
12245
12408
|
sizeBytes: number(),
|
|
12246
12409
|
catalogId: string().optional(),
|
|
12247
|
-
installedAt: number().optional()
|
|
12410
|
+
installedAt: number().optional(),
|
|
12411
|
+
/**
|
|
12412
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12413
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12414
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12415
|
+
* it the picker could list such a file and do nothing with it.
|
|
12416
|
+
*/
|
|
12417
|
+
path: string().optional()
|
|
12248
12418
|
});
|
|
12249
12419
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12250
12420
|
nodeId: string(),
|
|
@@ -12300,10 +12470,47 @@ var LlmProfileSchema = object({
|
|
|
12300
12470
|
baseUrl: string().optional(),
|
|
12301
12471
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12302
12472
|
apiKey: string().optional(),
|
|
12473
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12474
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12475
|
+
* question about a picture nobody sent. */
|
|
12303
12476
|
supportsVision: boolean(),
|
|
12304
12477
|
temperature: number().min(0).max(2).optional(),
|
|
12478
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12479
|
+
topP: number().min(0).max(1).optional(),
|
|
12480
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12481
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12482
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12483
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12484
|
+
topK: number().int().positive().optional(),
|
|
12305
12485
|
maxTokens: number().int().positive().optional(),
|
|
12486
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12487
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12488
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12489
|
+
contextLength: number().int().positive().optional(),
|
|
12490
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12491
|
+
* two system prompts fighting is worse than either alone). */
|
|
12492
|
+
systemPrompt: string().optional(),
|
|
12493
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12306
12494
|
timeoutMs: number().int().positive().default(6e4),
|
|
12495
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12496
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12497
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12498
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12499
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12500
|
+
* GPU load is exactly what happens before them. */
|
|
12501
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12502
|
+
/** Output started then stopped. */
|
|
12503
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12504
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12505
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12506
|
+
retry: LlmRetryPolicySchema.default({
|
|
12507
|
+
enabled: false,
|
|
12508
|
+
maxAttempts: 1
|
|
12509
|
+
}),
|
|
12510
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12511
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12512
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12513
|
+
toolsEnabled: boolean().default(false),
|
|
12307
12514
|
extraHeaders: record(string(), string()).optional(),
|
|
12308
12515
|
/** kind === 'managed-local' only (spec §4). */
|
|
12309
12516
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12353,6 +12560,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12353
12560
|
/** Vision models: companion projector file. */
|
|
12354
12561
|
mmprojUrl: string().optional()
|
|
12355
12562
|
});
|
|
12563
|
+
/**
|
|
12564
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12565
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12566
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12567
|
+
* exception.
|
|
12568
|
+
*
|
|
12569
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12570
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12571
|
+
*/
|
|
12572
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12573
|
+
ok: literal(true),
|
|
12574
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12575
|
+
model: ManagedModelRefSchema,
|
|
12576
|
+
label: string(),
|
|
12577
|
+
repo: string(),
|
|
12578
|
+
quantization: string(),
|
|
12579
|
+
purpose: _enum(["text", "vision"]),
|
|
12580
|
+
totalBytes: number(),
|
|
12581
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12582
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12583
|
+
extraFilenames: array(string())
|
|
12584
|
+
}), object({
|
|
12585
|
+
ok: literal(false),
|
|
12586
|
+
code: string(),
|
|
12587
|
+
message: string(),
|
|
12588
|
+
candidates: array(string()).optional(),
|
|
12589
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12590
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12591
|
+
requiredBytes: number().optional()
|
|
12592
|
+
})]);
|
|
12356
12593
|
var LlmRuntimeNodeSchema = object({
|
|
12357
12594
|
nodeId: string(),
|
|
12358
12595
|
reachable: boolean(),
|
|
@@ -12365,7 +12602,10 @@ var ProfileRefInputSchema = object({
|
|
|
12365
12602
|
addonId: string(),
|
|
12366
12603
|
profileId: string()
|
|
12367
12604
|
});
|
|
12368
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12605
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12606
|
+
addonId: string().optional(),
|
|
12607
|
+
requestId: string()
|
|
12608
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12369
12609
|
kind: "mutation",
|
|
12370
12610
|
auth: "admin"
|
|
12371
12611
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12386,6 +12626,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12386
12626
|
consumer: string().optional(),
|
|
12387
12627
|
profileId: string().optional()
|
|
12388
12628
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12629
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12630
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12631
|
+
ref: string(),
|
|
12632
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12633
|
+
maxBytes: number().positive().optional()
|
|
12634
|
+
}), HfModelResolutionSchema, {
|
|
12635
|
+
kind: "mutation",
|
|
12636
|
+
auth: "admin"
|
|
12637
|
+
}), method(object({
|
|
12389
12638
|
nodeId: string(),
|
|
12390
12639
|
model: ManagedModelRefSchema
|
|
12391
12640
|
}), _void(), {
|
|
@@ -13995,6 +14244,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13995
14244
|
"stream-offline",
|
|
13996
14245
|
"node-online",
|
|
13997
14246
|
"node-offline",
|
|
14247
|
+
"node-inference-unavailable",
|
|
14248
|
+
"detection-blind",
|
|
13998
14249
|
"addon-update-available",
|
|
13999
14250
|
"server-update-available",
|
|
14000
14251
|
"alarm-triggered",
|
|
@@ -14056,7 +14307,16 @@ var NcScheduleSchema = object({
|
|
|
14056
14307
|
});
|
|
14057
14308
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14058
14309
|
var NcPlateMatcherSchema = object({
|
|
14059
|
-
|
|
14310
|
+
/**
|
|
14311
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14312
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14313
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14314
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14315
|
+
*
|
|
14316
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14317
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14318
|
+
*/
|
|
14319
|
+
values: array(string().min(1)),
|
|
14060
14320
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14061
14321
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14062
14322
|
});
|
|
@@ -14090,28 +14350,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14090
14350
|
/**
|
|
14091
14351
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14092
14352
|
*
|
|
14093
|
-
*
|
|
14094
|
-
*
|
|
14095
|
-
*
|
|
14096
|
-
*
|
|
14097
|
-
*
|
|
14098
|
-
*
|
|
14099
|
-
*
|
|
14100
|
-
*
|
|
14101
|
-
*
|
|
14102
|
-
*
|
|
14103
|
-
*
|
|
14104
|
-
*
|
|
14105
|
-
*
|
|
14106
|
-
*
|
|
14107
|
-
*
|
|
14108
|
-
*
|
|
14109
|
-
*
|
|
14110
|
-
*
|
|
14111
|
-
*
|
|
14112
|
-
*
|
|
14113
|
-
*
|
|
14114
|
-
* `
|
|
14353
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14354
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14355
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14356
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14357
|
+
*
|
|
14358
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14359
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14360
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14361
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14362
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14363
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14364
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14365
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14366
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14367
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14368
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14369
|
+
* seconds is 100% of nothing.
|
|
14370
|
+
*
|
|
14371
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14372
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14373
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14374
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14375
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14376
|
+
* the wrong question to ask of a sparse classifier.
|
|
14377
|
+
*
|
|
14378
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14379
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14380
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14381
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14382
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14115
14383
|
*
|
|
14116
14384
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14117
14385
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14119,13 +14387,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14119
14387
|
* an operator who typed `dog` mean the same thing.
|
|
14120
14388
|
*/
|
|
14121
14389
|
var NcAudioConditionSchema = object({
|
|
14122
|
-
/**
|
|
14390
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14123
14391
|
labels: array(string().min(1)).min(1).optional(),
|
|
14124
|
-
/**
|
|
14392
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14125
14393
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14126
|
-
/**
|
|
14394
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14127
14395
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14128
|
-
/**
|
|
14396
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14129
14397
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14130
14398
|
});
|
|
14131
14399
|
/**
|
|
@@ -14263,13 +14531,81 @@ var NcRuleActionsSchema = object({
|
|
|
14263
14531
|
*/
|
|
14264
14532
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14265
14533
|
});
|
|
14534
|
+
/**
|
|
14535
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14536
|
+
*
|
|
14537
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14538
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14539
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14540
|
+
*
|
|
14541
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14542
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14543
|
+
*/
|
|
14544
|
+
var NcDeviceStateConditionSchema = object({
|
|
14545
|
+
deviceId: number().int(),
|
|
14546
|
+
/** Any of these matches. */
|
|
14547
|
+
states: array(string().min(1)).min(1)
|
|
14548
|
+
});
|
|
14549
|
+
/**
|
|
14550
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14551
|
+
*
|
|
14552
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14553
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14554
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14555
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14556
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14557
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14558
|
+
* kind exist for it — see D159.
|
|
14559
|
+
*
|
|
14560
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14561
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14562
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14563
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14564
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14565
|
+
*
|
|
14566
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14567
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14568
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14569
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14570
|
+
* override one rule against the scene's own default.
|
|
14571
|
+
*
|
|
14572
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14573
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14574
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14575
|
+
* evidence, in either direction.
|
|
14576
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14577
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14578
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14579
|
+
* reason the operator asked for a latch.
|
|
14580
|
+
*
|
|
14581
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14582
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14583
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14584
|
+
* said out loud in the log rather than dropped in silence.
|
|
14585
|
+
*/
|
|
14586
|
+
var NcSceneConditionSchema = object({
|
|
14587
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14588
|
+
sceneId: string().min(1),
|
|
14589
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14590
|
+
deviceId: number().int().optional(),
|
|
14591
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14592
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14593
|
+
/**
|
|
14594
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14595
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14596
|
+
*/
|
|
14597
|
+
latched: boolean().optional()
|
|
14598
|
+
});
|
|
14266
14599
|
var NcConditionsSchema = object({
|
|
14267
14600
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14268
|
-
deviceState:
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14601
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14602
|
+
/**
|
|
14603
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14604
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14605
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14606
|
+
* {@link NcSceneCondition} and D159.
|
|
14607
|
+
*/
|
|
14608
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14273
14609
|
/** Device scope — absent = all devices. */
|
|
14274
14610
|
devices: array(number()).optional(),
|
|
14275
14611
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14295,18 +14631,47 @@ var NcConditionsSchema = object({
|
|
|
14295
14631
|
*/
|
|
14296
14632
|
labelEquals: array(string().min(1)).optional(),
|
|
14297
14633
|
/**
|
|
14298
|
-
*
|
|
14299
|
-
*
|
|
14300
|
-
*
|
|
14634
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14635
|
+
* is about recognised people at all.
|
|
14636
|
+
*
|
|
14637
|
+
* Three states, and the empty one is the point:
|
|
14638
|
+
*
|
|
14639
|
+
* | value | meaning |
|
|
14640
|
+
* | --- | --- |
|
|
14641
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14642
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14643
|
+
* | a list | only these identities |
|
|
14644
|
+
*
|
|
14645
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14646
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14647
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14648
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14649
|
+
* with the list under it is worse than no switch (D62).
|
|
14650
|
+
*
|
|
14651
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14652
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14653
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14654
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14655
|
+
* `{{label}}` renders.
|
|
14656
|
+
*
|
|
14657
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14658
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14659
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14660
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14661
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14301
14662
|
*/
|
|
14302
14663
|
identities: array(string().min(1)).optional(),
|
|
14303
|
-
/**
|
|
14664
|
+
/**
|
|
14665
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14666
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14667
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14668
|
+
*/
|
|
14304
14669
|
plates: NcPlateMatcherSchema.optional(),
|
|
14305
14670
|
/**
|
|
14306
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14307
|
-
*
|
|
14308
|
-
* identity
|
|
14309
|
-
*
|
|
14671
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14672
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14673
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14674
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14310
14675
|
*/
|
|
14311
14676
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14312
14677
|
/**
|
|
@@ -14698,7 +15063,80 @@ var NcRuleInputSchema = object({
|
|
|
14698
15063
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14699
15064
|
* did, and absent is the only way to say that without a migration.
|
|
14700
15065
|
*/
|
|
14701
|
-
confirm: NcConfirmSchema.optional()
|
|
15066
|
+
confirm: NcConfirmSchema.optional(),
|
|
15067
|
+
/**
|
|
15068
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15069
|
+
*
|
|
15070
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15071
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15072
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15073
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15074
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15075
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15076
|
+
*
|
|
15077
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15078
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15079
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15080
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15081
|
+
*
|
|
15082
|
+
* | value | what happens |
|
|
15083
|
+
* | --- | --- |
|
|
15084
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15085
|
+
* | 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) |
|
|
15086
|
+
*
|
|
15087
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15088
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15089
|
+
* rule authored before this field meant.
|
|
15090
|
+
*
|
|
15091
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15092
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15093
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15094
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15095
|
+
*/
|
|
15096
|
+
waitForEnhancement: boolean().optional(),
|
|
15097
|
+
/**
|
|
15098
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15099
|
+
*
|
|
15100
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15101
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15102
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15103
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15104
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15105
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15106
|
+
*
|
|
15107
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15108
|
+
*
|
|
15109
|
+
* ### Why an idle cutoff and not a window
|
|
15110
|
+
*
|
|
15111
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15112
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15113
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15114
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15115
|
+
*
|
|
15116
|
+
* ### What it replaces
|
|
15117
|
+
*
|
|
15118
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15119
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15120
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15121
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15122
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15123
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15124
|
+
* throttled by the window its own first member spent.
|
|
15125
|
+
*
|
|
15126
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15127
|
+
*
|
|
15128
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15129
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15130
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15131
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15132
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15133
|
+
* path. Neither combination fires twice for one subject.
|
|
15134
|
+
*
|
|
15135
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15136
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15137
|
+
* field existed.
|
|
15138
|
+
*/
|
|
15139
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14702
15140
|
});
|
|
14703
15141
|
/**
|
|
14704
15142
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14805,6 +15243,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14805
15243
|
"occupancy",
|
|
14806
15244
|
"audio",
|
|
14807
15245
|
"deviceState",
|
|
15246
|
+
"scene",
|
|
14808
15247
|
"systemEvent"
|
|
14809
15248
|
]),
|
|
14810
15249
|
operator: _enum([
|
|
@@ -15210,7 +15649,87 @@ var MethodAccessSchema = _enum([
|
|
|
15210
15649
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15211
15650
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15212
15651
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15213
|
-
|
|
15652
|
+
/**
|
|
15653
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15654
|
+
*
|
|
15655
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15656
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15657
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15658
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15659
|
+
*
|
|
15660
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15661
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15662
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15663
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15664
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15665
|
+
* is NOT covered until the grant is edited.
|
|
15666
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15667
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15668
|
+
* re-resolves on the next request.
|
|
15669
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15670
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15671
|
+
* null/unset location matches NO `locations` selector.
|
|
15672
|
+
*/
|
|
15673
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15674
|
+
object({ kind: literal("all") }),
|
|
15675
|
+
object({
|
|
15676
|
+
kind: literal("ids"),
|
|
15677
|
+
ids: array(number().int()).min(1)
|
|
15678
|
+
}),
|
|
15679
|
+
object({
|
|
15680
|
+
kind: literal("types"),
|
|
15681
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15682
|
+
}),
|
|
15683
|
+
object({
|
|
15684
|
+
kind: literal("locations"),
|
|
15685
|
+
locations: array(string().min(1)).min(1)
|
|
15686
|
+
})
|
|
15687
|
+
]);
|
|
15688
|
+
var DeviceTokenScopeSchema = object({
|
|
15689
|
+
type: literal("device"),
|
|
15690
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15691
|
+
selector: DeviceSelectorSchema,
|
|
15692
|
+
access: array(MethodAccessSchema).min(1),
|
|
15693
|
+
/**
|
|
15694
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15695
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15696
|
+
* Direction is parent → children ONLY.
|
|
15697
|
+
*
|
|
15698
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15699
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15700
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15701
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15702
|
+
* explicitly to override that default per grant.
|
|
15703
|
+
*/
|
|
15704
|
+
includeLinked: boolean().optional()
|
|
15705
|
+
});
|
|
15706
|
+
/**
|
|
15707
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15708
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15709
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15710
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15711
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15712
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15713
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15714
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15715
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15716
|
+
*/
|
|
15717
|
+
function migrateLegacyTokenScope(raw) {
|
|
15718
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15719
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15720
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15721
|
+
const targets = Reflect.get(raw, "targets");
|
|
15722
|
+
if (!Array.isArray(targets)) return raw;
|
|
15723
|
+
return {
|
|
15724
|
+
type: "device",
|
|
15725
|
+
selector: {
|
|
15726
|
+
kind: "ids",
|
|
15727
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15728
|
+
},
|
|
15729
|
+
access: Reflect.get(raw, "access")
|
|
15730
|
+
};
|
|
15731
|
+
}
|
|
15732
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15214
15733
|
object({
|
|
15215
15734
|
type: literal("category"),
|
|
15216
15735
|
target: CapScopeSchema,
|
|
@@ -15226,18 +15745,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15226
15745
|
target: string(),
|
|
15227
15746
|
access: array(MethodAccessSchema).min(1)
|
|
15228
15747
|
}),
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
/**
|
|
15232
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15233
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15234
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15235
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15236
|
-
*/
|
|
15237
|
-
targets: array(string()).min(1),
|
|
15238
|
-
access: array(MethodAccessSchema).min(1)
|
|
15239
|
-
})
|
|
15240
|
-
]);
|
|
15748
|
+
DeviceTokenScopeSchema
|
|
15749
|
+
]));
|
|
15241
15750
|
object({
|
|
15242
15751
|
id: string(),
|
|
15243
15752
|
username: string(),
|
|
@@ -15554,7 +16063,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15554
16063
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15555
16064
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15556
16065
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15557
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16066
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15558
16067
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15559
16068
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15560
16069
|
* (`getObjectEvents` et al.).
|
|
@@ -15690,7 +16199,21 @@ union([literal(1), literal(2)]);
|
|
|
15690
16199
|
var LabelAttributionSchema = object({
|
|
15691
16200
|
stepId: string(),
|
|
15692
16201
|
modelId: string().optional(),
|
|
15693
|
-
decidedAt: number()
|
|
16202
|
+
decidedAt: number(),
|
|
16203
|
+
/**
|
|
16204
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16205
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16206
|
+
*
|
|
16207
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16208
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16209
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16210
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16211
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16212
|
+
*
|
|
16213
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16214
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16215
|
+
*/
|
|
16216
|
+
identityId: string().optional()
|
|
15694
16217
|
});
|
|
15695
16218
|
/**
|
|
15696
16219
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15827,6 +16350,28 @@ var TrackSchema = object({
|
|
|
15827
16350
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15828
16351
|
*/
|
|
15829
16352
|
hasFace: boolean().optional(),
|
|
16353
|
+
/**
|
|
16354
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16355
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16356
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16357
|
+
*
|
|
16358
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16359
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16360
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16361
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16362
|
+
* stop. This is the composition note that makes the row true.
|
|
16363
|
+
*
|
|
16364
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16365
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16366
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16367
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16368
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16369
|
+
*
|
|
16370
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16371
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16372
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16373
|
+
*/
|
|
16374
|
+
hasRider: boolean().optional(),
|
|
15830
16375
|
...TrackFlagFields,
|
|
15831
16376
|
...TrackRetrainFields
|
|
15832
16377
|
});
|
|
@@ -16176,7 +16721,10 @@ var RecentTracksQueryInput = object({
|
|
|
16176
16721
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16177
16722
|
cursor: string().optional(),
|
|
16178
16723
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16179
|
-
projection: TrackProjectionSchema.optional()
|
|
16724
|
+
projection: TrackProjectionSchema.optional(),
|
|
16725
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16726
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16727
|
+
includeStationary: boolean().optional()
|
|
16180
16728
|
});
|
|
16181
16729
|
var RecentTracksPageSchema = object({
|
|
16182
16730
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16394,7 +16942,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16394
16942
|
zone: TrackZoneFilterSchema.optional(),
|
|
16395
16943
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16396
16944
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16397
|
-
projection: TrackProjectionSchema.optional()
|
|
16945
|
+
projection: TrackProjectionSchema.optional(),
|
|
16946
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
16947
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
16948
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
16949
|
+
includeStationary: boolean().optional()
|
|
16398
16950
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16399
16951
|
kind: "mutation",
|
|
16400
16952
|
auth: "admin"
|
|
@@ -16558,11 +17110,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16558
17110
|
auth: "admin"
|
|
16559
17111
|
}), method(object({
|
|
16560
17112
|
eventId: string(),
|
|
16561
|
-
kind: MediaFileKindEnum.optional()
|
|
17113
|
+
kind: MediaFileKindEnum.optional(),
|
|
17114
|
+
deviceId: number()
|
|
16562
17115
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16563
17116
|
trackId: string(),
|
|
16564
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16565
|
-
|
|
17117
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17118
|
+
deviceId: number()
|
|
17119
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17120
|
+
trackId: string(),
|
|
17121
|
+
deviceId: number()
|
|
17122
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16566
17123
|
kind: "mutation",
|
|
16567
17124
|
auth: "admin"
|
|
16568
17125
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17222,6 +17779,17 @@ var maxSessionHoldMsField = {
|
|
|
17222
17779
|
default: 12e4,
|
|
17223
17780
|
step: 5e3
|
|
17224
17781
|
};
|
|
17782
|
+
/**
|
|
17783
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17784
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17785
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17786
|
+
*/
|
|
17787
|
+
var audioMotionWindowMsField = {
|
|
17788
|
+
min: 5e3,
|
|
17789
|
+
max: 6e5,
|
|
17790
|
+
default: 9e4,
|
|
17791
|
+
step: 5e3
|
|
17792
|
+
};
|
|
17225
17793
|
var motionFpsField = {
|
|
17226
17794
|
min: 1,
|
|
17227
17795
|
max: 30,
|
|
@@ -17253,7 +17821,7 @@ var detectionFpsField = {
|
|
|
17253
17821
|
var occupancyRecheckSecField = {
|
|
17254
17822
|
min: 0,
|
|
17255
17823
|
max: 300,
|
|
17256
|
-
default:
|
|
17824
|
+
default: 300,
|
|
17257
17825
|
step: 5
|
|
17258
17826
|
};
|
|
17259
17827
|
var occupancyRecheckFramesField = {
|
|
@@ -17398,6 +17966,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17398
17966
|
* resolved `CameraDetectionConfig`.
|
|
17399
17967
|
*/
|
|
17400
17968
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
17969
|
+
/**
|
|
17970
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
17971
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
17972
|
+
*
|
|
17973
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
17974
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
17975
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
17976
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
17977
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
17978
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
17979
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
17980
|
+
*
|
|
17981
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
17982
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
17983
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
17984
|
+
*
|
|
17985
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
17986
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
17987
|
+
* `maxSessionHoldMs`.
|
|
17988
|
+
*/
|
|
17989
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17401
17990
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17402
17991
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17403
17992
|
motionStreamId: string(),
|
|
@@ -17493,7 +18082,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17493
18082
|
*/
|
|
17494
18083
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17495
18084
|
});
|
|
17496
|
-
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;
|
|
18085
|
+
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;
|
|
17497
18086
|
/**
|
|
17498
18087
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17499
18088
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18479,7 +19068,31 @@ DeviceType.Camera, method(object({
|
|
|
18479
19068
|
lastCapturedAt: number().nullable(),
|
|
18480
19069
|
cacheAgeMs: number().nullable(),
|
|
18481
19070
|
etag: string().nullable()
|
|
18482
|
-
}))), systemMethod(object({
|
|
19071
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19072
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19073
|
+
battery: object({
|
|
19074
|
+
sleeping: boolean(),
|
|
19075
|
+
lastUpdated: number(),
|
|
19076
|
+
lastContactAt: number().optional()
|
|
19077
|
+
}).nullable(),
|
|
19078
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19079
|
+
state: object({
|
|
19080
|
+
isBattery: boolean(),
|
|
19081
|
+
reason: _enum([
|
|
19082
|
+
"disabled",
|
|
19083
|
+
"sleeping",
|
|
19084
|
+
"unreachable",
|
|
19085
|
+
"waking"
|
|
19086
|
+
]).nullable()
|
|
19087
|
+
}),
|
|
19088
|
+
/** The cached frame behind the next paint. */
|
|
19089
|
+
frame: object({
|
|
19090
|
+
capturedAt: number().nullable(),
|
|
19091
|
+
ageMs: number().nullable()
|
|
19092
|
+
}),
|
|
19093
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19094
|
+
waking: boolean()
|
|
19095
|
+
})), systemMethod(object({
|
|
18483
19096
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
18484
19097
|
* width) the caller will paint — the width is snapped to the server's
|
|
18485
19098
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -18509,7 +19122,16 @@ targets: array(object({
|
|
|
18509
19122
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18510
19123
|
* NOT refresh in the background. A surface should say so rather than
|
|
18511
19124
|
* present it as current. */
|
|
18512
|
-
sleeping: boolean()
|
|
19125
|
+
sleeping: boolean(),
|
|
19126
|
+
/** Current device state rendered over the cached frame. State images
|
|
19127
|
+
* remain authoritative even when their photographic background is
|
|
19128
|
+
* old; null means the link must carry a current camera frame. */
|
|
19129
|
+
stateReason: _enum([
|
|
19130
|
+
"disabled",
|
|
19131
|
+
"sleeping",
|
|
19132
|
+
"unreachable",
|
|
19133
|
+
"waking"
|
|
19134
|
+
]).nullable()
|
|
18513
19135
|
})));
|
|
18514
19136
|
/**
|
|
18515
19137
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20076,6 +20698,25 @@ var BatteryStatusSchema = object({
|
|
|
20076
20698
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20077
20699
|
lastUpdated: number(),
|
|
20078
20700
|
/**
|
|
20701
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20702
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20703
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20704
|
+
*
|
|
20705
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20706
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20707
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20708
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20709
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20710
|
+
*
|
|
20711
|
+
* It is deliberately NOT a clock in the
|
|
20712
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20713
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20714
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20715
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20716
|
+
* SQLite commit per round-trip.
|
|
20717
|
+
*/
|
|
20718
|
+
lastContactAt: number().optional(),
|
|
20719
|
+
/**
|
|
20079
20720
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20080
20721
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20081
20722
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23613,7 +24254,7 @@ method(object({
|
|
|
23613
24254
|
toMs: number()
|
|
23614
24255
|
}), RecordingAvailabilitySchema, {
|
|
23615
24256
|
kind: "query",
|
|
23616
|
-
auth: "
|
|
24257
|
+
auth: "protected"
|
|
23617
24258
|
}), method(object({
|
|
23618
24259
|
deviceId: number(),
|
|
23619
24260
|
fromMs: number(),
|
|
@@ -23621,14 +24262,14 @@ method(object({
|
|
|
23621
24262
|
tzOffsetMinutes: number()
|
|
23622
24263
|
}), RecordingDaysSchema, {
|
|
23623
24264
|
kind: "query",
|
|
23624
|
-
auth: "
|
|
24265
|
+
auth: "protected"
|
|
23625
24266
|
}), method(object({
|
|
23626
24267
|
deviceId: number(),
|
|
23627
24268
|
fromMs: number(),
|
|
23628
24269
|
toMs: number()
|
|
23629
24270
|
}), RecordingManifestSchema, {
|
|
23630
24271
|
kind: "query",
|
|
23631
|
-
auth: "
|
|
24272
|
+
auth: "protected"
|
|
23632
24273
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23633
24274
|
kind: "query",
|
|
23634
24275
|
auth: "admin"
|
|
@@ -23918,14 +24559,77 @@ method(object({
|
|
|
23918
24559
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23919
24560
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23920
24561
|
*
|
|
23921
|
-
*
|
|
23922
|
-
*
|
|
23923
|
-
*
|
|
23924
|
-
*
|
|
23925
|
-
|
|
23926
|
-
|
|
23927
|
-
*
|
|
24562
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24563
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24564
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24565
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24566
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24567
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24568
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24569
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24570
|
+
*
|
|
24571
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24572
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24573
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24574
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24575
|
+
*
|
|
24576
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24577
|
+
* availability change; consumers never poll.
|
|
24578
|
+
*/
|
|
24579
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24580
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24581
|
+
* Open by design so more can be added without a wire break.
|
|
24582
|
+
*
|
|
24583
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24584
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24585
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24586
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23928
24587
|
var SceneConditionSchema = string();
|
|
24588
|
+
/**
|
|
24589
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24590
|
+
*
|
|
24591
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24592
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24593
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24594
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24595
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24596
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24597
|
+
*
|
|
24598
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24599
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24600
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24601
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24602
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24603
|
+
* configuration choice instead of a nightly fault.
|
|
24604
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24605
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24606
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24607
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24608
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24609
|
+
*
|
|
24610
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24611
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24612
|
+
* there would hide a scene the operator never finished setting up.
|
|
24613
|
+
*/
|
|
24614
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24615
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24616
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24617
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24618
|
+
* and never counts toward hysteresis in either direction. */
|
|
24619
|
+
var SceneVerdictSchema = _enum([
|
|
24620
|
+
"matched",
|
|
24621
|
+
"diverged",
|
|
24622
|
+
"unknown"
|
|
24623
|
+
]);
|
|
24624
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24625
|
+
* silence that reads as "nothing has happened". */
|
|
24626
|
+
var SceneUnavailableSchema = _enum([
|
|
24627
|
+
"no-reference-for-condition",
|
|
24628
|
+
"view-shifted",
|
|
24629
|
+
"no-vision-profile",
|
|
24630
|
+
"encoder-model-changed",
|
|
24631
|
+
"no-snapshot"
|
|
24632
|
+
]);
|
|
23929
24633
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23930
24634
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23931
24635
|
var SceneReferenceSchema = object({
|
|
@@ -23933,7 +24637,14 @@ var SceneReferenceSchema = object({
|
|
|
23933
24637
|
modelId: string(),
|
|
23934
24638
|
condition: SceneConditionSchema,
|
|
23935
24639
|
capturedAt: number(),
|
|
23936
|
-
thumbnailMediaId: string().optional()
|
|
24640
|
+
thumbnailMediaId: string().optional(),
|
|
24641
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24642
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24643
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24644
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24645
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24646
|
+
* transition, not per poll. */
|
|
24647
|
+
anchorEmbedding: array(number()).optional()
|
|
23937
24648
|
});
|
|
23938
24649
|
var SceneMonitorStateSchema = object({
|
|
23939
24650
|
id: string(),
|
|
@@ -23955,6 +24666,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23955
24666
|
profileId: string().optional(),
|
|
23956
24667
|
hysteresisCount: number().int().positive()
|
|
23957
24668
|
})]);
|
|
24669
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24670
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24671
|
+
* out in silence rather than reporting a fault every night. */
|
|
24672
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24673
|
+
/**
|
|
24674
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24675
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24676
|
+
*
|
|
24677
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24678
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24679
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24680
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24681
|
+
*/
|
|
24682
|
+
var SceneConfirmSchema = object({
|
|
24683
|
+
enabled: boolean().default(false),
|
|
24684
|
+
prompt: string().min(1).max(1e3),
|
|
24685
|
+
profileId: string().optional(),
|
|
24686
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24687
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24688
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24689
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24690
|
+
});
|
|
23958
24691
|
var SceneMonitorSchema = object({
|
|
23959
24692
|
id: string(),
|
|
23960
24693
|
label: string(),
|
|
@@ -23973,7 +24706,56 @@ var SceneMonitorSchema = object({
|
|
|
23973
24706
|
lastConfidence: number().nullable(),
|
|
23974
24707
|
currentCondition: SceneConditionSchema.nullable(),
|
|
23975
24708
|
availability: _enum(["ok", "unavailable"]),
|
|
23976
|
-
unavailableReason: string().nullable()
|
|
24709
|
+
unavailableReason: string().nullable(),
|
|
24710
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24711
|
+
baselineStateId: string().nullable(),
|
|
24712
|
+
/** Which boolean drives notification rules and any export. */
|
|
24713
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24714
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24715
|
+
verdict: SceneVerdictSchema,
|
|
24716
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24717
|
+
latched: boolean(),
|
|
24718
|
+
/** Last reset (or creation). */
|
|
24719
|
+
armedAt: number(),
|
|
24720
|
+
divergedAt: number().nullable(),
|
|
24721
|
+
restoredAt: number().nullable(),
|
|
24722
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24723
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24724
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24725
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24726
|
+
/** An observation only advances the pending count when it is at least this
|
|
24727
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24728
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24729
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24730
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24731
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24732
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24733
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24734
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24735
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24736
|
+
* automation can react to the bin coming back without the operator's own
|
|
24737
|
+
* alarm silently clearing itself. */
|
|
24738
|
+
autoRestore: boolean().default(false),
|
|
24739
|
+
/** What to do when the current light has no reference of its own. See
|
|
24740
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24741
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24742
|
+
/**
|
|
24743
|
+
* The light whose checks are currently being SAT OUT under
|
|
24744
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24745
|
+
*
|
|
24746
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24747
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24748
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24749
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24750
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24751
|
+
* read as a broken one.
|
|
24752
|
+
*/
|
|
24753
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24754
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24755
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24756
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24757
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24758
|
+
coveredConditions: array(SceneConditionSchema)
|
|
23977
24759
|
});
|
|
23978
24760
|
var SceneMonitorStatusSchema = object({
|
|
23979
24761
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24006,7 +24788,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24006
24788
|
"both"
|
|
24007
24789
|
]).optional(),
|
|
24008
24790
|
checkIntervalSec: number().optional(),
|
|
24009
|
-
check: SceneCheckSchema.optional()
|
|
24791
|
+
check: SceneCheckSchema.optional(),
|
|
24792
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24793
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24794
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24795
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24796
|
+
autoRestore: boolean().optional(),
|
|
24797
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24798
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24799
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24010
24800
|
})
|
|
24011
24801
|
}), _void(), {
|
|
24012
24802
|
kind: "mutation",
|
|
@@ -24043,6 +24833,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24043
24833
|
}), _void(), {
|
|
24044
24834
|
kind: "mutation",
|
|
24045
24835
|
auth: "admin"
|
|
24836
|
+
}), method(object({
|
|
24837
|
+
deviceId: number(),
|
|
24838
|
+
monitorId: string(),
|
|
24839
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24840
|
+
recapture: boolean().optional()
|
|
24841
|
+
}), _void(), {
|
|
24842
|
+
kind: "mutation",
|
|
24843
|
+
auth: "admin"
|
|
24046
24844
|
});
|
|
24047
24845
|
/**
|
|
24048
24846
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24196,6 +24994,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24196
24994
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24197
24995
|
metadata: record(string(), unknown()).optional()
|
|
24198
24996
|
});
|
|
24997
|
+
object({
|
|
24998
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
24999
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25000
|
+
* one the camera itself once produced. */
|
|
25001
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25002
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25003
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25004
|
+
* re-read. */
|
|
25005
|
+
lastFetchedAt: number()
|
|
25006
|
+
});
|
|
24199
25007
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24200
25008
|
/** One of the camera's stream profiles. */
|
|
24201
25009
|
var StreamProfileSchema = _enum([
|
|
@@ -24351,12 +25159,64 @@ var NetworkAddressSchema = object({
|
|
|
24351
25159
|
family: string(),
|
|
24352
25160
|
internal: boolean()
|
|
24353
25161
|
});
|
|
25162
|
+
/**
|
|
25163
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25164
|
+
* numbers.
|
|
25165
|
+
*
|
|
25166
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25167
|
+
* nothing overwrites it.
|
|
25168
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25169
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25170
|
+
* the sun-times consumers otherwise fall back to.
|
|
25171
|
+
*
|
|
25172
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25173
|
+
* own input will eventually trust the guess.
|
|
25174
|
+
*/
|
|
25175
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25176
|
+
/**
|
|
25177
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25178
|
+
*
|
|
25179
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25180
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25181
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25182
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25183
|
+
* coordinates or presses detect.
|
|
25184
|
+
*/
|
|
25185
|
+
var SiteLocationStatusSchema = object({
|
|
25186
|
+
location: object({
|
|
25187
|
+
/** WGS84 decimal degrees. */
|
|
25188
|
+
latitude: number().min(-90).max(90),
|
|
25189
|
+
longitude: number().min(-180).max(180),
|
|
25190
|
+
source: SiteLocationSourceSchema,
|
|
25191
|
+
/** Epoch ms the value was last written. */
|
|
25192
|
+
updatedAt: number(),
|
|
25193
|
+
/**
|
|
25194
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25195
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25196
|
+
*/
|
|
25197
|
+
label: string().optional()
|
|
25198
|
+
}).nullable(),
|
|
25199
|
+
derivationAttemptedAt: number().nullable(),
|
|
25200
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25201
|
+
derivationError: string().nullable()
|
|
25202
|
+
});
|
|
25203
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25204
|
+
var SetSiteLocationInputSchema = object({
|
|
25205
|
+
latitude: number().min(-90).max(90),
|
|
25206
|
+
longitude: number().min(-180).max(180)
|
|
25207
|
+
}).nullable();
|
|
24354
25208
|
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(), {
|
|
24355
25209
|
kind: "mutation",
|
|
24356
25210
|
auth: "admin"
|
|
24357
25211
|
}), method(_void(), _void(), {
|
|
24358
25212
|
kind: "mutation",
|
|
24359
25213
|
auth: "admin"
|
|
25214
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25215
|
+
kind: "mutation",
|
|
25216
|
+
auth: "admin"
|
|
25217
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25218
|
+
kind: "mutation",
|
|
25219
|
+
auth: "admin"
|
|
24360
25220
|
});
|
|
24361
25221
|
object({
|
|
24362
25222
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27086,6 +27946,12 @@ Object.freeze({
|
|
|
27086
27946
|
addonId: null,
|
|
27087
27947
|
access: "create"
|
|
27088
27948
|
},
|
|
27949
|
+
"llm.cancel": {
|
|
27950
|
+
capName: "llm",
|
|
27951
|
+
capScope: "system",
|
|
27952
|
+
addonId: null,
|
|
27953
|
+
access: "create"
|
|
27954
|
+
},
|
|
27089
27955
|
"llm.deleteModel": {
|
|
27090
27956
|
capName: "llm",
|
|
27091
27957
|
capScope: "system",
|
|
@@ -27170,6 +28036,12 @@ Object.freeze({
|
|
|
27170
28036
|
addonId: null,
|
|
27171
28037
|
access: "view"
|
|
27172
28038
|
},
|
|
28039
|
+
"llm.resolveModelRef": {
|
|
28040
|
+
capName: "llm",
|
|
28041
|
+
capScope: "system",
|
|
28042
|
+
addonId: null,
|
|
28043
|
+
access: "create"
|
|
28044
|
+
},
|
|
27173
28045
|
"llm.setDefault": {
|
|
27174
28046
|
capName: "llm",
|
|
27175
28047
|
capScope: "system",
|
|
@@ -29336,6 +30208,12 @@ Object.freeze({
|
|
|
29336
30208
|
addonId: null,
|
|
29337
30209
|
access: "create"
|
|
29338
30210
|
},
|
|
30211
|
+
"sceneMonitor.resetScene": {
|
|
30212
|
+
capName: "scene-monitor",
|
|
30213
|
+
capScope: "device",
|
|
30214
|
+
addonId: null,
|
|
30215
|
+
access: "delete"
|
|
30216
|
+
},
|
|
29339
30217
|
"sceneMonitor.updateScene": {
|
|
29340
30218
|
capName: "scene-monitor",
|
|
29341
30219
|
capScope: "device",
|
|
@@ -29474,6 +30352,12 @@ Object.freeze({
|
|
|
29474
30352
|
addonId: null,
|
|
29475
30353
|
access: "view"
|
|
29476
30354
|
},
|
|
30355
|
+
"snapshot.getDebugState": {
|
|
30356
|
+
capName: "snapshot",
|
|
30357
|
+
capScope: "device",
|
|
30358
|
+
addonId: null,
|
|
30359
|
+
access: "view"
|
|
30360
|
+
},
|
|
29477
30361
|
"snapshot.getSnapshot": {
|
|
29478
30362
|
capName: "snapshot",
|
|
29479
30363
|
capScope: "device",
|
|
@@ -30014,6 +30898,12 @@ Object.freeze({
|
|
|
30014
30898
|
addonId: null,
|
|
30015
30899
|
access: "create"
|
|
30016
30900
|
},
|
|
30901
|
+
"system.detectSiteLocation": {
|
|
30902
|
+
capName: "system",
|
|
30903
|
+
capScope: "system",
|
|
30904
|
+
addonId: null,
|
|
30905
|
+
access: "create"
|
|
30906
|
+
},
|
|
30017
30907
|
"system.featureFlags": {
|
|
30018
30908
|
capName: "system",
|
|
30019
30909
|
capScope: "system",
|
|
@@ -30032,6 +30922,12 @@ Object.freeze({
|
|
|
30032
30922
|
addonId: null,
|
|
30033
30923
|
access: "view"
|
|
30034
30924
|
},
|
|
30925
|
+
"system.getSiteLocation": {
|
|
30926
|
+
capName: "system",
|
|
30927
|
+
capScope: "system",
|
|
30928
|
+
addonId: null,
|
|
30929
|
+
access: "view"
|
|
30930
|
+
},
|
|
30035
30931
|
"system.health": {
|
|
30036
30932
|
capName: "system",
|
|
30037
30933
|
capScope: "system",
|
|
@@ -30056,6 +30952,12 @@ Object.freeze({
|
|
|
30056
30952
|
addonId: null,
|
|
30057
30953
|
access: "create"
|
|
30058
30954
|
},
|
|
30955
|
+
"system.setSiteLocation": {
|
|
30956
|
+
capName: "system",
|
|
30957
|
+
capScope: "system",
|
|
30958
|
+
addonId: null,
|
|
30959
|
+
access: "create"
|
|
30960
|
+
},
|
|
30059
30961
|
"terminalSession.adoptLegacyMonitor": {
|
|
30060
30962
|
capName: "terminal-session",
|
|
30061
30963
|
capScope: "system",
|
|
@@ -30627,6 +31529,1709 @@ Object.freeze({
|
|
|
30627
31529
|
access: "create"
|
|
30628
31530
|
}
|
|
30629
31531
|
});
|
|
31532
|
+
Object.freeze({
|
|
31533
|
+
"accessories.setChildHidden": [{
|
|
31534
|
+
name: "childDeviceId",
|
|
31535
|
+
form: "single",
|
|
31536
|
+
optional: false
|
|
31537
|
+
}, {
|
|
31538
|
+
name: "deviceId",
|
|
31539
|
+
form: "single",
|
|
31540
|
+
optional: false
|
|
31541
|
+
}],
|
|
31542
|
+
"addonSettings.getDeviceSettings": [{
|
|
31543
|
+
name: "deviceId",
|
|
31544
|
+
form: "single",
|
|
31545
|
+
optional: false
|
|
31546
|
+
}],
|
|
31547
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31548
|
+
name: "deviceId",
|
|
31549
|
+
form: "single",
|
|
31550
|
+
optional: false
|
|
31551
|
+
}],
|
|
31552
|
+
"alarmPanel.arm": [{
|
|
31553
|
+
name: "deviceId",
|
|
31554
|
+
form: "single",
|
|
31555
|
+
optional: false
|
|
31556
|
+
}],
|
|
31557
|
+
"alarmPanel.disarm": [{
|
|
31558
|
+
name: "deviceId",
|
|
31559
|
+
form: "single",
|
|
31560
|
+
optional: false
|
|
31561
|
+
}],
|
|
31562
|
+
"alarmPanel.trigger": [{
|
|
31563
|
+
name: "deviceId",
|
|
31564
|
+
form: "single",
|
|
31565
|
+
optional: false
|
|
31566
|
+
}],
|
|
31567
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31568
|
+
name: "deviceId",
|
|
31569
|
+
form: "single",
|
|
31570
|
+
optional: false
|
|
31571
|
+
}],
|
|
31572
|
+
"audioAnalyzer.classify": [{
|
|
31573
|
+
name: "deviceId",
|
|
31574
|
+
form: "single",
|
|
31575
|
+
optional: true
|
|
31576
|
+
}],
|
|
31577
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31578
|
+
name: "deviceId",
|
|
31579
|
+
form: "single",
|
|
31580
|
+
optional: false
|
|
31581
|
+
}],
|
|
31582
|
+
"audioMetrics.getHistory": [{
|
|
31583
|
+
name: "deviceId",
|
|
31584
|
+
form: "single",
|
|
31585
|
+
optional: false
|
|
31586
|
+
}],
|
|
31587
|
+
"automationControl.disable": [{
|
|
31588
|
+
name: "deviceId",
|
|
31589
|
+
form: "single",
|
|
31590
|
+
optional: false
|
|
31591
|
+
}],
|
|
31592
|
+
"automationControl.enable": [{
|
|
31593
|
+
name: "deviceId",
|
|
31594
|
+
form: "single",
|
|
31595
|
+
optional: false
|
|
31596
|
+
}],
|
|
31597
|
+
"automationControl.trigger": [{
|
|
31598
|
+
name: "deviceId",
|
|
31599
|
+
form: "single",
|
|
31600
|
+
optional: false
|
|
31601
|
+
}],
|
|
31602
|
+
"battery.wakeForStream": [{
|
|
31603
|
+
name: "deviceId",
|
|
31604
|
+
form: "single",
|
|
31605
|
+
optional: false
|
|
31606
|
+
}],
|
|
31607
|
+
"brightness.setBrightness": [{
|
|
31608
|
+
name: "deviceId",
|
|
31609
|
+
form: "single",
|
|
31610
|
+
optional: false
|
|
31611
|
+
}],
|
|
31612
|
+
"button.press": [{
|
|
31613
|
+
name: "deviceId",
|
|
31614
|
+
form: "single",
|
|
31615
|
+
optional: false
|
|
31616
|
+
}],
|
|
31617
|
+
"cameraCredentials.getCredentials": [{
|
|
31618
|
+
name: "deviceId",
|
|
31619
|
+
form: "single",
|
|
31620
|
+
optional: false
|
|
31621
|
+
}],
|
|
31622
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31623
|
+
name: "deviceId",
|
|
31624
|
+
form: "single",
|
|
31625
|
+
optional: false
|
|
31626
|
+
}],
|
|
31627
|
+
"cameraStreams.getCameraStreams": [{
|
|
31628
|
+
name: "deviceId",
|
|
31629
|
+
form: "single",
|
|
31630
|
+
optional: false
|
|
31631
|
+
}],
|
|
31632
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31633
|
+
name: "deviceId",
|
|
31634
|
+
form: "single",
|
|
31635
|
+
optional: false
|
|
31636
|
+
}],
|
|
31637
|
+
"cameraStreams.getRtspEntries": [{
|
|
31638
|
+
name: "deviceId",
|
|
31639
|
+
form: "single",
|
|
31640
|
+
optional: false
|
|
31641
|
+
}],
|
|
31642
|
+
"cameraStreams.pickStream": [{
|
|
31643
|
+
name: "deviceId",
|
|
31644
|
+
form: "single",
|
|
31645
|
+
optional: false
|
|
31646
|
+
}],
|
|
31647
|
+
"climateControl.setFanMode": [{
|
|
31648
|
+
name: "deviceId",
|
|
31649
|
+
form: "single",
|
|
31650
|
+
optional: false
|
|
31651
|
+
}],
|
|
31652
|
+
"climateControl.setMode": [{
|
|
31653
|
+
name: "deviceId",
|
|
31654
|
+
form: "single",
|
|
31655
|
+
optional: false
|
|
31656
|
+
}],
|
|
31657
|
+
"climateControl.setPreset": [{
|
|
31658
|
+
name: "deviceId",
|
|
31659
|
+
form: "single",
|
|
31660
|
+
optional: false
|
|
31661
|
+
}],
|
|
31662
|
+
"climateControl.setSwingHorizontal": [{
|
|
31663
|
+
name: "deviceId",
|
|
31664
|
+
form: "single",
|
|
31665
|
+
optional: false
|
|
31666
|
+
}],
|
|
31667
|
+
"climateControl.setSwingVertical": [{
|
|
31668
|
+
name: "deviceId",
|
|
31669
|
+
form: "single",
|
|
31670
|
+
optional: false
|
|
31671
|
+
}],
|
|
31672
|
+
"climateControl.setTarget": [{
|
|
31673
|
+
name: "deviceId",
|
|
31674
|
+
form: "single",
|
|
31675
|
+
optional: false
|
|
31676
|
+
}],
|
|
31677
|
+
"climateControl.setTargetHumidity": [{
|
|
31678
|
+
name: "deviceId",
|
|
31679
|
+
form: "single",
|
|
31680
|
+
optional: false
|
|
31681
|
+
}],
|
|
31682
|
+
"climateControl.setTargetRange": [{
|
|
31683
|
+
name: "deviceId",
|
|
31684
|
+
form: "single",
|
|
31685
|
+
optional: false
|
|
31686
|
+
}],
|
|
31687
|
+
"color.setColor": [{
|
|
31688
|
+
name: "deviceId",
|
|
31689
|
+
form: "single",
|
|
31690
|
+
optional: false
|
|
31691
|
+
}],
|
|
31692
|
+
"consumables.reset": [{
|
|
31693
|
+
name: "deviceId",
|
|
31694
|
+
form: "single",
|
|
31695
|
+
optional: false
|
|
31696
|
+
}],
|
|
31697
|
+
"control.setValue": [{
|
|
31698
|
+
name: "deviceId",
|
|
31699
|
+
form: "single",
|
|
31700
|
+
optional: false
|
|
31701
|
+
}],
|
|
31702
|
+
"cover.close": [{
|
|
31703
|
+
name: "deviceId",
|
|
31704
|
+
form: "single",
|
|
31705
|
+
optional: false
|
|
31706
|
+
}],
|
|
31707
|
+
"cover.open": [{
|
|
31708
|
+
name: "deviceId",
|
|
31709
|
+
form: "single",
|
|
31710
|
+
optional: false
|
|
31711
|
+
}],
|
|
31712
|
+
"cover.setPosition": [{
|
|
31713
|
+
name: "deviceId",
|
|
31714
|
+
form: "single",
|
|
31715
|
+
optional: false
|
|
31716
|
+
}],
|
|
31717
|
+
"cover.setTiltPosition": [{
|
|
31718
|
+
name: "deviceId",
|
|
31719
|
+
form: "single",
|
|
31720
|
+
optional: false
|
|
31721
|
+
}],
|
|
31722
|
+
"cover.stop": [{
|
|
31723
|
+
name: "deviceId",
|
|
31724
|
+
form: "single",
|
|
31725
|
+
optional: false
|
|
31726
|
+
}],
|
|
31727
|
+
"dayNight.getOptions": [{
|
|
31728
|
+
name: "deviceId",
|
|
31729
|
+
form: "single",
|
|
31730
|
+
optional: false
|
|
31731
|
+
}],
|
|
31732
|
+
"dayNight.setSettings": [{
|
|
31733
|
+
name: "deviceId",
|
|
31734
|
+
form: "single",
|
|
31735
|
+
optional: false
|
|
31736
|
+
}],
|
|
31737
|
+
"decoder.createSession": [{
|
|
31738
|
+
name: "deviceId",
|
|
31739
|
+
form: "single",
|
|
31740
|
+
optional: true
|
|
31741
|
+
}],
|
|
31742
|
+
"deviceAdoption.release": [{
|
|
31743
|
+
name: "camDeviceId",
|
|
31744
|
+
form: "single",
|
|
31745
|
+
optional: false
|
|
31746
|
+
}],
|
|
31747
|
+
"deviceAdoption.resync": [{
|
|
31748
|
+
name: "camDeviceId",
|
|
31749
|
+
form: "single",
|
|
31750
|
+
optional: false
|
|
31751
|
+
}],
|
|
31752
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31753
|
+
name: "deviceId",
|
|
31754
|
+
form: "single",
|
|
31755
|
+
optional: false
|
|
31756
|
+
}],
|
|
31757
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31758
|
+
name: "deviceId",
|
|
31759
|
+
form: "single",
|
|
31760
|
+
optional: false
|
|
31761
|
+
}],
|
|
31762
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31763
|
+
name: "deviceId",
|
|
31764
|
+
form: "single",
|
|
31765
|
+
optional: false
|
|
31766
|
+
}],
|
|
31767
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31768
|
+
name: "childDeviceId",
|
|
31769
|
+
form: "single",
|
|
31770
|
+
optional: false
|
|
31771
|
+
}, {
|
|
31772
|
+
name: "deviceId",
|
|
31773
|
+
form: "single",
|
|
31774
|
+
optional: false
|
|
31775
|
+
}],
|
|
31776
|
+
"deviceManager.adoptionRelease": [{
|
|
31777
|
+
name: "camDeviceId",
|
|
31778
|
+
form: "single",
|
|
31779
|
+
optional: false
|
|
31780
|
+
}],
|
|
31781
|
+
"deviceManager.adoptionResync": [{
|
|
31782
|
+
name: "camDeviceId",
|
|
31783
|
+
form: "single",
|
|
31784
|
+
optional: false
|
|
31785
|
+
}],
|
|
31786
|
+
"deviceManager.applyInitialMeta": [{
|
|
31787
|
+
name: "deviceId",
|
|
31788
|
+
form: "single",
|
|
31789
|
+
optional: false
|
|
31790
|
+
}, {
|
|
31791
|
+
name: "linkDeviceId",
|
|
31792
|
+
form: "single",
|
|
31793
|
+
optional: true
|
|
31794
|
+
}],
|
|
31795
|
+
"deviceManager.disable": [{
|
|
31796
|
+
name: "deviceId",
|
|
31797
|
+
form: "single",
|
|
31798
|
+
optional: false
|
|
31799
|
+
}],
|
|
31800
|
+
"deviceManager.enable": [{
|
|
31801
|
+
name: "deviceId",
|
|
31802
|
+
form: "single",
|
|
31803
|
+
optional: false
|
|
31804
|
+
}],
|
|
31805
|
+
"deviceManager.getBindings": [{
|
|
31806
|
+
name: "deviceId",
|
|
31807
|
+
form: "single",
|
|
31808
|
+
optional: false
|
|
31809
|
+
}],
|
|
31810
|
+
"deviceManager.getChildren": [{
|
|
31811
|
+
name: "parentDeviceId",
|
|
31812
|
+
form: "single",
|
|
31813
|
+
optional: false
|
|
31814
|
+
}],
|
|
31815
|
+
"deviceManager.getConfigSchema": [{
|
|
31816
|
+
name: "deviceId",
|
|
31817
|
+
form: "single",
|
|
31818
|
+
optional: false
|
|
31819
|
+
}],
|
|
31820
|
+
"deviceManager.getDevice": [{
|
|
31821
|
+
name: "deviceId",
|
|
31822
|
+
form: "single",
|
|
31823
|
+
optional: false
|
|
31824
|
+
}],
|
|
31825
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31826
|
+
name: "deviceId",
|
|
31827
|
+
form: "single",
|
|
31828
|
+
optional: false
|
|
31829
|
+
}],
|
|
31830
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31831
|
+
name: "deviceId",
|
|
31832
|
+
form: "single",
|
|
31833
|
+
optional: false
|
|
31834
|
+
}],
|
|
31835
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31836
|
+
name: "deviceId",
|
|
31837
|
+
form: "single",
|
|
31838
|
+
optional: false
|
|
31839
|
+
}],
|
|
31840
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31841
|
+
name: "deviceId",
|
|
31842
|
+
form: "single",
|
|
31843
|
+
optional: false
|
|
31844
|
+
}],
|
|
31845
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31846
|
+
name: "deviceIds",
|
|
31847
|
+
form: "array",
|
|
31848
|
+
optional: false
|
|
31849
|
+
}],
|
|
31850
|
+
"deviceManager.getLinkedDevices": [{
|
|
31851
|
+
name: "deviceId",
|
|
31852
|
+
form: "single",
|
|
31853
|
+
optional: false
|
|
31854
|
+
}],
|
|
31855
|
+
"deviceManager.getSettingsSchema": [{
|
|
31856
|
+
name: "deviceId",
|
|
31857
|
+
form: "single",
|
|
31858
|
+
optional: false
|
|
31859
|
+
}],
|
|
31860
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31861
|
+
name: "deviceId",
|
|
31862
|
+
form: "single",
|
|
31863
|
+
optional: false
|
|
31864
|
+
}],
|
|
31865
|
+
"deviceManager.getStreamSources": [{
|
|
31866
|
+
name: "deviceId",
|
|
31867
|
+
form: "single",
|
|
31868
|
+
optional: false
|
|
31869
|
+
}],
|
|
31870
|
+
"deviceManager.getWireableFields": [{
|
|
31871
|
+
name: "deviceId",
|
|
31872
|
+
form: "single",
|
|
31873
|
+
optional: false
|
|
31874
|
+
}],
|
|
31875
|
+
"deviceManager.loadConfig": [{
|
|
31876
|
+
name: "deviceId",
|
|
31877
|
+
form: "single",
|
|
31878
|
+
optional: false
|
|
31879
|
+
}],
|
|
31880
|
+
"deviceManager.loadMeta": [{
|
|
31881
|
+
name: "deviceId",
|
|
31882
|
+
form: "single",
|
|
31883
|
+
optional: false
|
|
31884
|
+
}],
|
|
31885
|
+
"deviceManager.loadRuntimeState": [{
|
|
31886
|
+
name: "deviceId",
|
|
31887
|
+
form: "single",
|
|
31888
|
+
optional: false
|
|
31889
|
+
}],
|
|
31890
|
+
"deviceManager.persistConfig": [{
|
|
31891
|
+
name: "deviceId",
|
|
31892
|
+
form: "single",
|
|
31893
|
+
optional: false
|
|
31894
|
+
}],
|
|
31895
|
+
"deviceManager.probeStreams": [{
|
|
31896
|
+
name: "deviceId",
|
|
31897
|
+
form: "single",
|
|
31898
|
+
optional: false
|
|
31899
|
+
}],
|
|
31900
|
+
"deviceManager.registerDevice": [{
|
|
31901
|
+
name: "parentDeviceId",
|
|
31902
|
+
form: "single",
|
|
31903
|
+
optional: true
|
|
31904
|
+
}],
|
|
31905
|
+
"deviceManager.remove": [{
|
|
31906
|
+
name: "deviceId",
|
|
31907
|
+
form: "single",
|
|
31908
|
+
optional: false
|
|
31909
|
+
}],
|
|
31910
|
+
"deviceManager.removeDevice": [{
|
|
31911
|
+
name: "deviceId",
|
|
31912
|
+
form: "single",
|
|
31913
|
+
optional: false
|
|
31914
|
+
}],
|
|
31915
|
+
"deviceManager.runDeviceAction": [{
|
|
31916
|
+
name: "deviceId",
|
|
31917
|
+
form: "single",
|
|
31918
|
+
optional: false
|
|
31919
|
+
}],
|
|
31920
|
+
"deviceManager.setChildLayout": [{
|
|
31921
|
+
name: "deviceId",
|
|
31922
|
+
form: "single",
|
|
31923
|
+
optional: false
|
|
31924
|
+
}],
|
|
31925
|
+
"deviceManager.setDisabled": [{
|
|
31926
|
+
name: "deviceId",
|
|
31927
|
+
form: "single",
|
|
31928
|
+
optional: false
|
|
31929
|
+
}],
|
|
31930
|
+
"deviceManager.setDisplay": [{
|
|
31931
|
+
name: "deviceId",
|
|
31932
|
+
form: "single",
|
|
31933
|
+
optional: false
|
|
31934
|
+
}],
|
|
31935
|
+
"deviceManager.setIntegrationId": [{
|
|
31936
|
+
name: "deviceId",
|
|
31937
|
+
form: "single",
|
|
31938
|
+
optional: false
|
|
31939
|
+
}],
|
|
31940
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31941
|
+
name: "deviceId",
|
|
31942
|
+
form: "single",
|
|
31943
|
+
optional: false
|
|
31944
|
+
}, {
|
|
31945
|
+
name: "linkDeviceId",
|
|
31946
|
+
form: "single",
|
|
31947
|
+
optional: true
|
|
31948
|
+
}],
|
|
31949
|
+
"deviceManager.setLocation": [{
|
|
31950
|
+
name: "deviceId",
|
|
31951
|
+
form: "single",
|
|
31952
|
+
optional: false
|
|
31953
|
+
}],
|
|
31954
|
+
"deviceManager.setMetadata": [{
|
|
31955
|
+
name: "deviceId",
|
|
31956
|
+
form: "single",
|
|
31957
|
+
optional: false
|
|
31958
|
+
}],
|
|
31959
|
+
"deviceManager.setName": [{
|
|
31960
|
+
name: "deviceId",
|
|
31961
|
+
form: "single",
|
|
31962
|
+
optional: false
|
|
31963
|
+
}],
|
|
31964
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31965
|
+
name: "deviceId",
|
|
31966
|
+
form: "single",
|
|
31967
|
+
optional: false
|
|
31968
|
+
}],
|
|
31969
|
+
"deviceManager.setRole": [{
|
|
31970
|
+
name: "deviceId",
|
|
31971
|
+
form: "single",
|
|
31972
|
+
optional: false
|
|
31973
|
+
}],
|
|
31974
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31975
|
+
name: "deviceId",
|
|
31976
|
+
form: "single",
|
|
31977
|
+
optional: false
|
|
31978
|
+
}],
|
|
31979
|
+
"deviceManager.setType": [{
|
|
31980
|
+
name: "deviceId",
|
|
31981
|
+
form: "single",
|
|
31982
|
+
optional: false
|
|
31983
|
+
}],
|
|
31984
|
+
"deviceManager.setWrapperActive": [{
|
|
31985
|
+
name: "deviceId",
|
|
31986
|
+
form: "single",
|
|
31987
|
+
optional: false
|
|
31988
|
+
}],
|
|
31989
|
+
"deviceManager.testField": [{
|
|
31990
|
+
name: "deviceId",
|
|
31991
|
+
form: "single",
|
|
31992
|
+
optional: false
|
|
31993
|
+
}],
|
|
31994
|
+
"deviceManager.updateConfig": [{
|
|
31995
|
+
name: "deviceId",
|
|
31996
|
+
form: "single",
|
|
31997
|
+
optional: false
|
|
31998
|
+
}],
|
|
31999
|
+
"deviceManager.updateDeviceField": [{
|
|
32000
|
+
name: "deviceId",
|
|
32001
|
+
form: "single",
|
|
32002
|
+
optional: false
|
|
32003
|
+
}],
|
|
32004
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32005
|
+
name: "deviceId",
|
|
32006
|
+
form: "single",
|
|
32007
|
+
optional: false
|
|
32008
|
+
}],
|
|
32009
|
+
"deviceOps.getConfigEntries": [{
|
|
32010
|
+
name: "deviceId",
|
|
32011
|
+
form: "single",
|
|
32012
|
+
optional: false
|
|
32013
|
+
}],
|
|
32014
|
+
"deviceOps.getRawState": [{
|
|
32015
|
+
name: "deviceId",
|
|
32016
|
+
form: "single",
|
|
32017
|
+
optional: false
|
|
32018
|
+
}],
|
|
32019
|
+
"deviceOps.getSettingsSchema": [{
|
|
32020
|
+
name: "deviceId",
|
|
32021
|
+
form: "single",
|
|
32022
|
+
optional: false
|
|
32023
|
+
}],
|
|
32024
|
+
"deviceOps.getStreamSources": [{
|
|
32025
|
+
name: "deviceId",
|
|
32026
|
+
form: "single",
|
|
32027
|
+
optional: false
|
|
32028
|
+
}],
|
|
32029
|
+
"deviceOps.removeDevice": [{
|
|
32030
|
+
name: "deviceId",
|
|
32031
|
+
form: "single",
|
|
32032
|
+
optional: false
|
|
32033
|
+
}],
|
|
32034
|
+
"deviceOps.runAction": [{
|
|
32035
|
+
name: "deviceId",
|
|
32036
|
+
form: "single",
|
|
32037
|
+
optional: false
|
|
32038
|
+
}],
|
|
32039
|
+
"deviceOps.setConfig": [{
|
|
32040
|
+
name: "deviceId",
|
|
32041
|
+
form: "single",
|
|
32042
|
+
optional: false
|
|
32043
|
+
}],
|
|
32044
|
+
"deviceState.getCapSlice": [{
|
|
32045
|
+
name: "deviceId",
|
|
32046
|
+
form: "single",
|
|
32047
|
+
optional: false
|
|
32048
|
+
}],
|
|
32049
|
+
"deviceState.getSnapshot": [{
|
|
32050
|
+
name: "deviceId",
|
|
32051
|
+
form: "single",
|
|
32052
|
+
optional: false
|
|
32053
|
+
}],
|
|
32054
|
+
"deviceState.setCapSlice": [{
|
|
32055
|
+
name: "deviceId",
|
|
32056
|
+
form: "single",
|
|
32057
|
+
optional: false
|
|
32058
|
+
}],
|
|
32059
|
+
"events.getEventClipUrl": [{
|
|
32060
|
+
name: "deviceId",
|
|
32061
|
+
form: "single",
|
|
32062
|
+
optional: false
|
|
32063
|
+
}],
|
|
32064
|
+
"events.getEvents": [{
|
|
32065
|
+
name: "deviceId",
|
|
32066
|
+
form: "single",
|
|
32067
|
+
optional: false
|
|
32068
|
+
}],
|
|
32069
|
+
"events.getEventThumbnail": [{
|
|
32070
|
+
name: "deviceId",
|
|
32071
|
+
form: "single",
|
|
32072
|
+
optional: false
|
|
32073
|
+
}],
|
|
32074
|
+
"faceGallery.getFaceByTrack": [{
|
|
32075
|
+
name: "deviceId",
|
|
32076
|
+
form: "single",
|
|
32077
|
+
optional: false
|
|
32078
|
+
}],
|
|
32079
|
+
"faceGallery.listRecentFaces": [{
|
|
32080
|
+
name: "deviceId",
|
|
32081
|
+
form: "single",
|
|
32082
|
+
optional: true
|
|
32083
|
+
}],
|
|
32084
|
+
"fanControl.setDirection": [{
|
|
32085
|
+
name: "deviceId",
|
|
32086
|
+
form: "single",
|
|
32087
|
+
optional: false
|
|
32088
|
+
}],
|
|
32089
|
+
"fanControl.setOscillating": [{
|
|
32090
|
+
name: "deviceId",
|
|
32091
|
+
form: "single",
|
|
32092
|
+
optional: false
|
|
32093
|
+
}],
|
|
32094
|
+
"fanControl.setPercentage": [{
|
|
32095
|
+
name: "deviceId",
|
|
32096
|
+
form: "single",
|
|
32097
|
+
optional: false
|
|
32098
|
+
}],
|
|
32099
|
+
"fanControl.setPreset": [{
|
|
32100
|
+
name: "deviceId",
|
|
32101
|
+
form: "single",
|
|
32102
|
+
optional: false
|
|
32103
|
+
}],
|
|
32104
|
+
"humidifier.setMode": [{
|
|
32105
|
+
name: "deviceId",
|
|
32106
|
+
form: "single",
|
|
32107
|
+
optional: false
|
|
32108
|
+
}],
|
|
32109
|
+
"humidifier.setOn": [{
|
|
32110
|
+
name: "deviceId",
|
|
32111
|
+
form: "single",
|
|
32112
|
+
optional: false
|
|
32113
|
+
}],
|
|
32114
|
+
"humidifier.setTargetHumidity": [{
|
|
32115
|
+
name: "deviceId",
|
|
32116
|
+
form: "single",
|
|
32117
|
+
optional: false
|
|
32118
|
+
}],
|
|
32119
|
+
"imageSettings.getOptions": [{
|
|
32120
|
+
name: "deviceId",
|
|
32121
|
+
form: "single",
|
|
32122
|
+
optional: false
|
|
32123
|
+
}],
|
|
32124
|
+
"imageSettings.setSettings": [{
|
|
32125
|
+
name: "deviceId",
|
|
32126
|
+
form: "single",
|
|
32127
|
+
optional: false
|
|
32128
|
+
}],
|
|
32129
|
+
"intercom.endTalkSession": [{
|
|
32130
|
+
name: "deviceId",
|
|
32131
|
+
form: "single",
|
|
32132
|
+
optional: false
|
|
32133
|
+
}],
|
|
32134
|
+
"intercom.handleAnswer": [{
|
|
32135
|
+
name: "deviceId",
|
|
32136
|
+
form: "single",
|
|
32137
|
+
optional: false
|
|
32138
|
+
}],
|
|
32139
|
+
"intercom.pushTalkAudio": [{
|
|
32140
|
+
name: "deviceId",
|
|
32141
|
+
form: "single",
|
|
32142
|
+
optional: false
|
|
32143
|
+
}],
|
|
32144
|
+
"intercom.startSession": [{
|
|
32145
|
+
name: "deviceId",
|
|
32146
|
+
form: "single",
|
|
32147
|
+
optional: false
|
|
32148
|
+
}],
|
|
32149
|
+
"intercom.startTalkSession": [{
|
|
32150
|
+
name: "deviceId",
|
|
32151
|
+
form: "single",
|
|
32152
|
+
optional: false
|
|
32153
|
+
}],
|
|
32154
|
+
"intercom.stopSession": [{
|
|
32155
|
+
name: "deviceId",
|
|
32156
|
+
form: "single",
|
|
32157
|
+
optional: false
|
|
32158
|
+
}],
|
|
32159
|
+
"lawnMowerControl.dock": [{
|
|
32160
|
+
name: "deviceId",
|
|
32161
|
+
form: "single",
|
|
32162
|
+
optional: false
|
|
32163
|
+
}],
|
|
32164
|
+
"lawnMowerControl.pause": [{
|
|
32165
|
+
name: "deviceId",
|
|
32166
|
+
form: "single",
|
|
32167
|
+
optional: false
|
|
32168
|
+
}],
|
|
32169
|
+
"lawnMowerControl.startMowing": [{
|
|
32170
|
+
name: "deviceId",
|
|
32171
|
+
form: "single",
|
|
32172
|
+
optional: false
|
|
32173
|
+
}],
|
|
32174
|
+
"lockControl.lock": [{
|
|
32175
|
+
name: "deviceId",
|
|
32176
|
+
form: "single",
|
|
32177
|
+
optional: false
|
|
32178
|
+
}],
|
|
32179
|
+
"lockControl.open": [{
|
|
32180
|
+
name: "deviceId",
|
|
32181
|
+
form: "single",
|
|
32182
|
+
optional: false
|
|
32183
|
+
}],
|
|
32184
|
+
"lockControl.unlock": [{
|
|
32185
|
+
name: "deviceId",
|
|
32186
|
+
form: "single",
|
|
32187
|
+
optional: false
|
|
32188
|
+
}],
|
|
32189
|
+
"mediaPlayer.next": [{
|
|
32190
|
+
name: "deviceId",
|
|
32191
|
+
form: "single",
|
|
32192
|
+
optional: false
|
|
32193
|
+
}],
|
|
32194
|
+
"mediaPlayer.pause": [{
|
|
32195
|
+
name: "deviceId",
|
|
32196
|
+
form: "single",
|
|
32197
|
+
optional: false
|
|
32198
|
+
}],
|
|
32199
|
+
"mediaPlayer.play": [{
|
|
32200
|
+
name: "deviceId",
|
|
32201
|
+
form: "single",
|
|
32202
|
+
optional: false
|
|
32203
|
+
}],
|
|
32204
|
+
"mediaPlayer.playMedia": [{
|
|
32205
|
+
name: "deviceId",
|
|
32206
|
+
form: "single",
|
|
32207
|
+
optional: false
|
|
32208
|
+
}],
|
|
32209
|
+
"mediaPlayer.previous": [{
|
|
32210
|
+
name: "deviceId",
|
|
32211
|
+
form: "single",
|
|
32212
|
+
optional: false
|
|
32213
|
+
}],
|
|
32214
|
+
"mediaPlayer.seek": [{
|
|
32215
|
+
name: "deviceId",
|
|
32216
|
+
form: "single",
|
|
32217
|
+
optional: false
|
|
32218
|
+
}],
|
|
32219
|
+
"mediaPlayer.selectSource": [{
|
|
32220
|
+
name: "deviceId",
|
|
32221
|
+
form: "single",
|
|
32222
|
+
optional: false
|
|
32223
|
+
}],
|
|
32224
|
+
"mediaPlayer.setMute": [{
|
|
32225
|
+
name: "deviceId",
|
|
32226
|
+
form: "single",
|
|
32227
|
+
optional: false
|
|
32228
|
+
}],
|
|
32229
|
+
"mediaPlayer.setRepeat": [{
|
|
32230
|
+
name: "deviceId",
|
|
32231
|
+
form: "single",
|
|
32232
|
+
optional: false
|
|
32233
|
+
}],
|
|
32234
|
+
"mediaPlayer.setShuffle": [{
|
|
32235
|
+
name: "deviceId",
|
|
32236
|
+
form: "single",
|
|
32237
|
+
optional: false
|
|
32238
|
+
}],
|
|
32239
|
+
"mediaPlayer.setVolume": [{
|
|
32240
|
+
name: "deviceId",
|
|
32241
|
+
form: "single",
|
|
32242
|
+
optional: false
|
|
32243
|
+
}],
|
|
32244
|
+
"mediaPlayer.stop": [{
|
|
32245
|
+
name: "deviceId",
|
|
32246
|
+
form: "single",
|
|
32247
|
+
optional: false
|
|
32248
|
+
}],
|
|
32249
|
+
"motion.isDetected": [{
|
|
32250
|
+
name: "deviceId",
|
|
32251
|
+
form: "single",
|
|
32252
|
+
optional: false
|
|
32253
|
+
}],
|
|
32254
|
+
"motionDetection.analyze": [{
|
|
32255
|
+
name: "deviceId",
|
|
32256
|
+
form: "single",
|
|
32257
|
+
optional: false
|
|
32258
|
+
}],
|
|
32259
|
+
"motionDetection.removeCamera": [{
|
|
32260
|
+
name: "deviceId",
|
|
32261
|
+
form: "single",
|
|
32262
|
+
optional: false
|
|
32263
|
+
}],
|
|
32264
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32265
|
+
name: "deviceId",
|
|
32266
|
+
form: "single",
|
|
32267
|
+
optional: false
|
|
32268
|
+
}],
|
|
32269
|
+
"motionZones.getOptions": [{
|
|
32270
|
+
name: "deviceId",
|
|
32271
|
+
form: "single",
|
|
32272
|
+
optional: false
|
|
32273
|
+
}],
|
|
32274
|
+
"motionZones.setZone": [{
|
|
32275
|
+
name: "deviceId",
|
|
32276
|
+
form: "single",
|
|
32277
|
+
optional: false
|
|
32278
|
+
}],
|
|
32279
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32280
|
+
name: "deviceId",
|
|
32281
|
+
form: "single",
|
|
32282
|
+
optional: false
|
|
32283
|
+
}],
|
|
32284
|
+
"networkQuality.getDeviceStats": [{
|
|
32285
|
+
name: "deviceId",
|
|
32286
|
+
form: "single",
|
|
32287
|
+
optional: false
|
|
32288
|
+
}],
|
|
32289
|
+
"networkQuality.reportClientStats": [{
|
|
32290
|
+
name: "deviceId",
|
|
32291
|
+
form: "single",
|
|
32292
|
+
optional: false
|
|
32293
|
+
}],
|
|
32294
|
+
"notificationRules.setDeviceMuted": [{
|
|
32295
|
+
name: "deviceId",
|
|
32296
|
+
form: "single",
|
|
32297
|
+
optional: false
|
|
32298
|
+
}],
|
|
32299
|
+
"notifier.cancel": [{
|
|
32300
|
+
name: "deviceId",
|
|
32301
|
+
form: "single",
|
|
32302
|
+
optional: false
|
|
32303
|
+
}],
|
|
32304
|
+
"notifier.send": [{
|
|
32305
|
+
name: "deviceId",
|
|
32306
|
+
form: "single",
|
|
32307
|
+
optional: false
|
|
32308
|
+
}],
|
|
32309
|
+
"osd.setOverlay": [{
|
|
32310
|
+
name: "deviceId",
|
|
32311
|
+
form: "single",
|
|
32312
|
+
optional: false
|
|
32313
|
+
}],
|
|
32314
|
+
"osdManager.clearSlotBinding": [{
|
|
32315
|
+
name: "deviceId",
|
|
32316
|
+
form: "single",
|
|
32317
|
+
optional: false
|
|
32318
|
+
}],
|
|
32319
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32320
|
+
name: "sourceDeviceId",
|
|
32321
|
+
form: "single",
|
|
32322
|
+
optional: false
|
|
32323
|
+
}, {
|
|
32324
|
+
name: "targetDeviceId",
|
|
32325
|
+
form: "single",
|
|
32326
|
+
optional: false
|
|
32327
|
+
}],
|
|
32328
|
+
"osdManager.getDeviceOsd": [{
|
|
32329
|
+
name: "deviceId",
|
|
32330
|
+
form: "single",
|
|
32331
|
+
optional: false
|
|
32332
|
+
}],
|
|
32333
|
+
"osdManager.getSourceCatalog": [{
|
|
32334
|
+
name: "deviceId",
|
|
32335
|
+
form: "single",
|
|
32336
|
+
optional: false
|
|
32337
|
+
}],
|
|
32338
|
+
"osdManager.previewSlot": [{
|
|
32339
|
+
name: "deviceId",
|
|
32340
|
+
form: "single",
|
|
32341
|
+
optional: false
|
|
32342
|
+
}],
|
|
32343
|
+
"osdManager.renderDevice": [{
|
|
32344
|
+
name: "deviceId",
|
|
32345
|
+
form: "single",
|
|
32346
|
+
optional: false
|
|
32347
|
+
}],
|
|
32348
|
+
"osdManager.setSlotBinding": [{
|
|
32349
|
+
name: "deviceId",
|
|
32350
|
+
form: "single",
|
|
32351
|
+
optional: false
|
|
32352
|
+
}],
|
|
32353
|
+
"petFeeder.callPet": [{
|
|
32354
|
+
name: "deviceId",
|
|
32355
|
+
form: "single",
|
|
32356
|
+
optional: false
|
|
32357
|
+
}],
|
|
32358
|
+
"petFeeder.cancelFeed": [{
|
|
32359
|
+
name: "deviceId",
|
|
32360
|
+
form: "single",
|
|
32361
|
+
optional: false
|
|
32362
|
+
}],
|
|
32363
|
+
"petFeeder.feed": [{
|
|
32364
|
+
name: "deviceId",
|
|
32365
|
+
form: "single",
|
|
32366
|
+
optional: false
|
|
32367
|
+
}],
|
|
32368
|
+
"petFeeder.markFoodReplenished": [{
|
|
32369
|
+
name: "deviceId",
|
|
32370
|
+
form: "single",
|
|
32371
|
+
optional: false
|
|
32372
|
+
}],
|
|
32373
|
+
"petFeeder.playSound": [{
|
|
32374
|
+
name: "deviceId",
|
|
32375
|
+
form: "single",
|
|
32376
|
+
optional: false
|
|
32377
|
+
}],
|
|
32378
|
+
"petFeeder.resetDesiccant": [{
|
|
32379
|
+
name: "deviceId",
|
|
32380
|
+
form: "single",
|
|
32381
|
+
optional: false
|
|
32382
|
+
}],
|
|
32383
|
+
"petFeeder.setChildLock": [{
|
|
32384
|
+
name: "deviceId",
|
|
32385
|
+
form: "single",
|
|
32386
|
+
optional: false
|
|
32387
|
+
}],
|
|
32388
|
+
"petFeeder.setFeedSound": [{
|
|
32389
|
+
name: "deviceId",
|
|
32390
|
+
form: "single",
|
|
32391
|
+
optional: false
|
|
32392
|
+
}],
|
|
32393
|
+
"petFeeder.setIndicatorLight": [{
|
|
32394
|
+
name: "deviceId",
|
|
32395
|
+
form: "single",
|
|
32396
|
+
optional: false
|
|
32397
|
+
}],
|
|
32398
|
+
"petFeeder.setVolume": [{
|
|
32399
|
+
name: "deviceId",
|
|
32400
|
+
form: "single",
|
|
32401
|
+
optional: false
|
|
32402
|
+
}],
|
|
32403
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32404
|
+
name: "deviceId",
|
|
32405
|
+
form: "single",
|
|
32406
|
+
optional: false
|
|
32407
|
+
}],
|
|
32408
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32409
|
+
name: "deviceId",
|
|
32410
|
+
form: "single",
|
|
32411
|
+
optional: false
|
|
32412
|
+
}],
|
|
32413
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32414
|
+
name: "deviceId",
|
|
32415
|
+
form: "single",
|
|
32416
|
+
optional: false
|
|
32417
|
+
}],
|
|
32418
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32419
|
+
name: "deviceId",
|
|
32420
|
+
form: "single",
|
|
32421
|
+
optional: false
|
|
32422
|
+
}],
|
|
32423
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32424
|
+
name: "deviceId",
|
|
32425
|
+
form: "single",
|
|
32426
|
+
optional: false
|
|
32427
|
+
}],
|
|
32428
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32429
|
+
name: "deviceId",
|
|
32430
|
+
form: "single",
|
|
32431
|
+
optional: false
|
|
32432
|
+
}],
|
|
32433
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32434
|
+
name: "deviceId",
|
|
32435
|
+
form: "single",
|
|
32436
|
+
optional: false
|
|
32437
|
+
}],
|
|
32438
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32439
|
+
name: "deviceId",
|
|
32440
|
+
form: "single",
|
|
32441
|
+
optional: false
|
|
32442
|
+
}],
|
|
32443
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32444
|
+
name: "deviceId",
|
|
32445
|
+
form: "single",
|
|
32446
|
+
optional: false
|
|
32447
|
+
}],
|
|
32448
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32449
|
+
name: "deviceId",
|
|
32450
|
+
form: "single",
|
|
32451
|
+
optional: false
|
|
32452
|
+
}],
|
|
32453
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32454
|
+
name: "deviceId",
|
|
32455
|
+
form: "single",
|
|
32456
|
+
optional: false
|
|
32457
|
+
}],
|
|
32458
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32459
|
+
name: "deviceId",
|
|
32460
|
+
form: "single",
|
|
32461
|
+
optional: false
|
|
32462
|
+
}],
|
|
32463
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32464
|
+
name: "deviceIds",
|
|
32465
|
+
form: "array",
|
|
32466
|
+
optional: true
|
|
32467
|
+
}],
|
|
32468
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32469
|
+
name: "deviceId",
|
|
32470
|
+
form: "single",
|
|
32471
|
+
optional: false
|
|
32472
|
+
}],
|
|
32473
|
+
"pipelineAnalytics.getTrack": [{
|
|
32474
|
+
name: "deviceId",
|
|
32475
|
+
form: "single",
|
|
32476
|
+
optional: false
|
|
32477
|
+
}],
|
|
32478
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32479
|
+
name: "deviceId",
|
|
32480
|
+
form: "single",
|
|
32481
|
+
optional: false
|
|
32482
|
+
}],
|
|
32483
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32484
|
+
name: "deviceIds",
|
|
32485
|
+
form: "array",
|
|
32486
|
+
optional: true
|
|
32487
|
+
}],
|
|
32488
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32489
|
+
name: "deviceIds",
|
|
32490
|
+
form: "array",
|
|
32491
|
+
optional: true
|
|
32492
|
+
}],
|
|
32493
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32494
|
+
name: "deviceId",
|
|
32495
|
+
form: "single",
|
|
32496
|
+
optional: false
|
|
32497
|
+
}],
|
|
32498
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32499
|
+
name: "deviceIds",
|
|
32500
|
+
form: "array",
|
|
32501
|
+
optional: false
|
|
32502
|
+
}],
|
|
32503
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32504
|
+
name: "deviceId",
|
|
32505
|
+
form: "single",
|
|
32506
|
+
optional: true
|
|
32507
|
+
}],
|
|
32508
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32509
|
+
name: "deviceIds",
|
|
32510
|
+
form: "array",
|
|
32511
|
+
optional: false
|
|
32512
|
+
}],
|
|
32513
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32514
|
+
name: "deviceIds",
|
|
32515
|
+
form: "array",
|
|
32516
|
+
optional: true
|
|
32517
|
+
}],
|
|
32518
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32519
|
+
name: "deviceId",
|
|
32520
|
+
form: "single",
|
|
32521
|
+
optional: false
|
|
32522
|
+
}],
|
|
32523
|
+
"pipelineAnalytics.listTracks": [{
|
|
32524
|
+
name: "deviceId",
|
|
32525
|
+
form: "single",
|
|
32526
|
+
optional: false
|
|
32527
|
+
}],
|
|
32528
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32529
|
+
name: "deviceId",
|
|
32530
|
+
form: "single",
|
|
32531
|
+
optional: false
|
|
32532
|
+
}],
|
|
32533
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32534
|
+
name: "deviceId",
|
|
32535
|
+
form: "single",
|
|
32536
|
+
optional: false
|
|
32537
|
+
}],
|
|
32538
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32539
|
+
name: "deviceId",
|
|
32540
|
+
form: "single",
|
|
32541
|
+
optional: false
|
|
32542
|
+
}],
|
|
32543
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32544
|
+
name: "deviceId",
|
|
32545
|
+
form: "single",
|
|
32546
|
+
optional: true
|
|
32547
|
+
}],
|
|
32548
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32549
|
+
name: "deviceId",
|
|
32550
|
+
form: "single",
|
|
32551
|
+
optional: false
|
|
32552
|
+
}],
|
|
32553
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32554
|
+
name: "deviceId",
|
|
32555
|
+
form: "single",
|
|
32556
|
+
optional: false
|
|
32557
|
+
}],
|
|
32558
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32559
|
+
name: "deviceId",
|
|
32560
|
+
form: "single",
|
|
32561
|
+
optional: true
|
|
32562
|
+
}],
|
|
32563
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32564
|
+
name: "deviceId",
|
|
32565
|
+
form: "single",
|
|
32566
|
+
optional: false
|
|
32567
|
+
}],
|
|
32568
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32569
|
+
name: "deviceId",
|
|
32570
|
+
form: "single",
|
|
32571
|
+
optional: false
|
|
32572
|
+
}],
|
|
32573
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32574
|
+
name: "deviceId",
|
|
32575
|
+
form: "single",
|
|
32576
|
+
optional: false
|
|
32577
|
+
}],
|
|
32578
|
+
"pipelineExecutor.runPipeline": [{
|
|
32579
|
+
name: "deviceId",
|
|
32580
|
+
form: "single",
|
|
32581
|
+
optional: true
|
|
32582
|
+
}],
|
|
32583
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32584
|
+
name: "deviceId",
|
|
32585
|
+
form: "single",
|
|
32586
|
+
optional: true
|
|
32587
|
+
}],
|
|
32588
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32589
|
+
name: "deviceId",
|
|
32590
|
+
form: "single",
|
|
32591
|
+
optional: false
|
|
32592
|
+
}],
|
|
32593
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32594
|
+
name: "deviceId",
|
|
32595
|
+
form: "single",
|
|
32596
|
+
optional: false
|
|
32597
|
+
}],
|
|
32598
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32599
|
+
name: "deviceId",
|
|
32600
|
+
form: "single",
|
|
32601
|
+
optional: false
|
|
32602
|
+
}],
|
|
32603
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32604
|
+
name: "deviceId",
|
|
32605
|
+
form: "single",
|
|
32606
|
+
optional: false
|
|
32607
|
+
}],
|
|
32608
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32609
|
+
name: "deviceId",
|
|
32610
|
+
form: "single",
|
|
32611
|
+
optional: false
|
|
32612
|
+
}],
|
|
32613
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32614
|
+
name: "deviceId",
|
|
32615
|
+
form: "single",
|
|
32616
|
+
optional: false
|
|
32617
|
+
}],
|
|
32618
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32619
|
+
name: "deviceIds",
|
|
32620
|
+
form: "array",
|
|
32621
|
+
optional: true
|
|
32622
|
+
}],
|
|
32623
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32624
|
+
name: "deviceId",
|
|
32625
|
+
form: "single",
|
|
32626
|
+
optional: false
|
|
32627
|
+
}],
|
|
32628
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32629
|
+
name: "deviceId",
|
|
32630
|
+
form: "single",
|
|
32631
|
+
optional: false
|
|
32632
|
+
}],
|
|
32633
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32634
|
+
name: "deviceId",
|
|
32635
|
+
form: "single",
|
|
32636
|
+
optional: false
|
|
32637
|
+
}],
|
|
32638
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32639
|
+
name: "deviceId",
|
|
32640
|
+
form: "single",
|
|
32641
|
+
optional: false
|
|
32642
|
+
}],
|
|
32643
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32644
|
+
name: "deviceId",
|
|
32645
|
+
form: "single",
|
|
32646
|
+
optional: false
|
|
32647
|
+
}],
|
|
32648
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32649
|
+
name: "deviceId",
|
|
32650
|
+
form: "single",
|
|
32651
|
+
optional: false
|
|
32652
|
+
}],
|
|
32653
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32654
|
+
name: "deviceId",
|
|
32655
|
+
form: "single",
|
|
32656
|
+
optional: false
|
|
32657
|
+
}],
|
|
32658
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32659
|
+
name: "deviceId",
|
|
32660
|
+
form: "single",
|
|
32661
|
+
optional: false
|
|
32662
|
+
}],
|
|
32663
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32664
|
+
name: "deviceId",
|
|
32665
|
+
form: "single",
|
|
32666
|
+
optional: false
|
|
32667
|
+
}],
|
|
32668
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32669
|
+
name: "deviceId",
|
|
32670
|
+
form: "single",
|
|
32671
|
+
optional: false
|
|
32672
|
+
}],
|
|
32673
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32674
|
+
name: "deviceId",
|
|
32675
|
+
form: "single",
|
|
32676
|
+
optional: false
|
|
32677
|
+
}],
|
|
32678
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32679
|
+
name: "deviceId",
|
|
32680
|
+
form: "single",
|
|
32681
|
+
optional: false
|
|
32682
|
+
}],
|
|
32683
|
+
"pipelineRunner.attachCamera": [{
|
|
32684
|
+
name: "deviceId",
|
|
32685
|
+
form: "single",
|
|
32686
|
+
optional: false
|
|
32687
|
+
}],
|
|
32688
|
+
"pipelineRunner.detachCamera": [{
|
|
32689
|
+
name: "deviceId",
|
|
32690
|
+
form: "single",
|
|
32691
|
+
optional: false
|
|
32692
|
+
}],
|
|
32693
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32694
|
+
name: "deviceId",
|
|
32695
|
+
form: "single",
|
|
32696
|
+
optional: false
|
|
32697
|
+
}],
|
|
32698
|
+
"pipelineRunner.reportMotion": [{
|
|
32699
|
+
name: "deviceId",
|
|
32700
|
+
form: "single",
|
|
32701
|
+
optional: false
|
|
32702
|
+
}],
|
|
32703
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32704
|
+
name: "deviceId",
|
|
32705
|
+
form: "single",
|
|
32706
|
+
optional: false
|
|
32707
|
+
}],
|
|
32708
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32709
|
+
name: "sourceDeviceId",
|
|
32710
|
+
form: "single",
|
|
32711
|
+
optional: false
|
|
32712
|
+
}],
|
|
32713
|
+
"plateGallery.getPlateByTrack": [{
|
|
32714
|
+
name: "deviceId",
|
|
32715
|
+
form: "single",
|
|
32716
|
+
optional: false
|
|
32717
|
+
}],
|
|
32718
|
+
"plateGallery.listPlates": [{
|
|
32719
|
+
name: "deviceId",
|
|
32720
|
+
form: "single",
|
|
32721
|
+
optional: true
|
|
32722
|
+
}],
|
|
32723
|
+
"privacyMask.getOptions": [{
|
|
32724
|
+
name: "deviceId",
|
|
32725
|
+
form: "single",
|
|
32726
|
+
optional: false
|
|
32727
|
+
}],
|
|
32728
|
+
"privacyMask.setAudioEnabled": [{
|
|
32729
|
+
name: "deviceId",
|
|
32730
|
+
form: "single",
|
|
32731
|
+
optional: false
|
|
32732
|
+
}],
|
|
32733
|
+
"privacyMask.setMask": [{
|
|
32734
|
+
name: "deviceId",
|
|
32735
|
+
form: "single",
|
|
32736
|
+
optional: false
|
|
32737
|
+
}],
|
|
32738
|
+
"ptz.continuousMove": [{
|
|
32739
|
+
name: "deviceId",
|
|
32740
|
+
form: "single",
|
|
32741
|
+
optional: false
|
|
32742
|
+
}],
|
|
32743
|
+
"ptz.deletePreset": [{
|
|
32744
|
+
name: "deviceId",
|
|
32745
|
+
form: "single",
|
|
32746
|
+
optional: false
|
|
32747
|
+
}],
|
|
32748
|
+
"ptz.getOptions": [{
|
|
32749
|
+
name: "deviceId",
|
|
32750
|
+
form: "single",
|
|
32751
|
+
optional: false
|
|
32752
|
+
}],
|
|
32753
|
+
"ptz.getPosition": [{
|
|
32754
|
+
name: "deviceId",
|
|
32755
|
+
form: "single",
|
|
32756
|
+
optional: false
|
|
32757
|
+
}],
|
|
32758
|
+
"ptz.getPresets": [{
|
|
32759
|
+
name: "deviceId",
|
|
32760
|
+
form: "single",
|
|
32761
|
+
optional: false
|
|
32762
|
+
}],
|
|
32763
|
+
"ptz.goHome": [{
|
|
32764
|
+
name: "deviceId",
|
|
32765
|
+
form: "single",
|
|
32766
|
+
optional: false
|
|
32767
|
+
}],
|
|
32768
|
+
"ptz.goToPreset": [{
|
|
32769
|
+
name: "deviceId",
|
|
32770
|
+
form: "single",
|
|
32771
|
+
optional: false
|
|
32772
|
+
}],
|
|
32773
|
+
"ptz.move": [{
|
|
32774
|
+
name: "deviceId",
|
|
32775
|
+
form: "single",
|
|
32776
|
+
optional: false
|
|
32777
|
+
}],
|
|
32778
|
+
"ptz.savePreset": [{
|
|
32779
|
+
name: "deviceId",
|
|
32780
|
+
form: "single",
|
|
32781
|
+
optional: false
|
|
32782
|
+
}],
|
|
32783
|
+
"ptz.setAutofocus": [{
|
|
32784
|
+
name: "deviceId",
|
|
32785
|
+
form: "single",
|
|
32786
|
+
optional: false
|
|
32787
|
+
}],
|
|
32788
|
+
"ptz.stop": [{
|
|
32789
|
+
name: "deviceId",
|
|
32790
|
+
form: "single",
|
|
32791
|
+
optional: false
|
|
32792
|
+
}],
|
|
32793
|
+
"ptzAutotrack.getSettings": [{
|
|
32794
|
+
name: "deviceId",
|
|
32795
|
+
form: "single",
|
|
32796
|
+
optional: false
|
|
32797
|
+
}],
|
|
32798
|
+
"ptzAutotrack.getStatus": [{
|
|
32799
|
+
name: "deviceId",
|
|
32800
|
+
form: "single",
|
|
32801
|
+
optional: false
|
|
32802
|
+
}],
|
|
32803
|
+
"ptzAutotrack.setEnabled": [{
|
|
32804
|
+
name: "deviceId",
|
|
32805
|
+
form: "single",
|
|
32806
|
+
optional: false
|
|
32807
|
+
}],
|
|
32808
|
+
"ptzAutotrack.setSettings": [{
|
|
32809
|
+
name: "deviceId",
|
|
32810
|
+
form: "single",
|
|
32811
|
+
optional: false
|
|
32812
|
+
}],
|
|
32813
|
+
"reboot.reboot": [{
|
|
32814
|
+
name: "deviceId",
|
|
32815
|
+
form: "single",
|
|
32816
|
+
optional: false
|
|
32817
|
+
}],
|
|
32818
|
+
"recording.deleteFootprint": [{
|
|
32819
|
+
name: "deviceId",
|
|
32820
|
+
form: "single",
|
|
32821
|
+
optional: false
|
|
32822
|
+
}],
|
|
32823
|
+
"recording.getAvailability": [{
|
|
32824
|
+
name: "deviceId",
|
|
32825
|
+
form: "single",
|
|
32826
|
+
optional: false
|
|
32827
|
+
}],
|
|
32828
|
+
"recording.getDaysWithRecordings": [{
|
|
32829
|
+
name: "deviceId",
|
|
32830
|
+
form: "single",
|
|
32831
|
+
optional: false
|
|
32832
|
+
}],
|
|
32833
|
+
"recording.getDeviceConfig": [{
|
|
32834
|
+
name: "deviceId",
|
|
32835
|
+
form: "single",
|
|
32836
|
+
optional: false
|
|
32837
|
+
}],
|
|
32838
|
+
"recording.getPlaybackManifest": [{
|
|
32839
|
+
name: "deviceId",
|
|
32840
|
+
form: "single",
|
|
32841
|
+
optional: false
|
|
32842
|
+
}],
|
|
32843
|
+
"recording.listOpsLog": [{
|
|
32844
|
+
name: "deviceId",
|
|
32845
|
+
form: "single",
|
|
32846
|
+
optional: true
|
|
32847
|
+
}],
|
|
32848
|
+
"recording.locateSegment": [{
|
|
32849
|
+
name: "deviceId",
|
|
32850
|
+
form: "single",
|
|
32851
|
+
optional: false
|
|
32852
|
+
}],
|
|
32853
|
+
"recording.pruneFootage": [{
|
|
32854
|
+
name: "deviceId",
|
|
32855
|
+
form: "single",
|
|
32856
|
+
optional: false
|
|
32857
|
+
}],
|
|
32858
|
+
"recording.readGopBytes": [{
|
|
32859
|
+
name: "deviceId",
|
|
32860
|
+
form: "single",
|
|
32861
|
+
optional: false
|
|
32862
|
+
}],
|
|
32863
|
+
"recording.readSegmentBytes": [{
|
|
32864
|
+
name: "deviceId",
|
|
32865
|
+
form: "single",
|
|
32866
|
+
optional: false
|
|
32867
|
+
}],
|
|
32868
|
+
"recording.relocateFootage": [{
|
|
32869
|
+
name: "deviceId",
|
|
32870
|
+
form: "single",
|
|
32871
|
+
optional: true
|
|
32872
|
+
}],
|
|
32873
|
+
"recording.renderClip": [{
|
|
32874
|
+
name: "deviceId",
|
|
32875
|
+
form: "single",
|
|
32876
|
+
optional: false
|
|
32877
|
+
}],
|
|
32878
|
+
"recording.renderGif": [{
|
|
32879
|
+
name: "deviceId",
|
|
32880
|
+
form: "single",
|
|
32881
|
+
optional: false
|
|
32882
|
+
}],
|
|
32883
|
+
"recording.rescanStorage": [{
|
|
32884
|
+
name: "deviceId",
|
|
32885
|
+
form: "single",
|
|
32886
|
+
optional: false
|
|
32887
|
+
}],
|
|
32888
|
+
"recording.setDeviceConfig": [{
|
|
32889
|
+
name: "deviceId",
|
|
32890
|
+
form: "single",
|
|
32891
|
+
optional: false
|
|
32892
|
+
}],
|
|
32893
|
+
"recording.startStorageMigrationMove": [{
|
|
32894
|
+
name: "deviceId",
|
|
32895
|
+
form: "single",
|
|
32896
|
+
optional: true
|
|
32897
|
+
}],
|
|
32898
|
+
"recordingExport.createExport": [{
|
|
32899
|
+
name: "deviceId",
|
|
32900
|
+
form: "single",
|
|
32901
|
+
optional: false
|
|
32902
|
+
}],
|
|
32903
|
+
"recordingExport.listExports": [{
|
|
32904
|
+
name: "deviceId",
|
|
32905
|
+
form: "single",
|
|
32906
|
+
optional: true
|
|
32907
|
+
}],
|
|
32908
|
+
"sceneMonitor.captureReference": [{
|
|
32909
|
+
name: "deviceId",
|
|
32910
|
+
form: "single",
|
|
32911
|
+
optional: false
|
|
32912
|
+
}],
|
|
32913
|
+
"sceneMonitor.createScene": [{
|
|
32914
|
+
name: "deviceId",
|
|
32915
|
+
form: "single",
|
|
32916
|
+
optional: false
|
|
32917
|
+
}],
|
|
32918
|
+
"sceneMonitor.deleteReference": [{
|
|
32919
|
+
name: "deviceId",
|
|
32920
|
+
form: "single",
|
|
32921
|
+
optional: false
|
|
32922
|
+
}],
|
|
32923
|
+
"sceneMonitor.deleteScene": [{
|
|
32924
|
+
name: "deviceId",
|
|
32925
|
+
form: "single",
|
|
32926
|
+
optional: false
|
|
32927
|
+
}],
|
|
32928
|
+
"sceneMonitor.listScenes": [{
|
|
32929
|
+
name: "deviceId",
|
|
32930
|
+
form: "single",
|
|
32931
|
+
optional: false
|
|
32932
|
+
}],
|
|
32933
|
+
"sceneMonitor.recheckNow": [{
|
|
32934
|
+
name: "deviceId",
|
|
32935
|
+
form: "single",
|
|
32936
|
+
optional: false
|
|
32937
|
+
}],
|
|
32938
|
+
"sceneMonitor.resetScene": [{
|
|
32939
|
+
name: "deviceId",
|
|
32940
|
+
form: "single",
|
|
32941
|
+
optional: false
|
|
32942
|
+
}],
|
|
32943
|
+
"sceneMonitor.updateScene": [{
|
|
32944
|
+
name: "deviceId",
|
|
32945
|
+
form: "single",
|
|
32946
|
+
optional: false
|
|
32947
|
+
}],
|
|
32948
|
+
"scriptRunner.run": [{
|
|
32949
|
+
name: "deviceId",
|
|
32950
|
+
form: "single",
|
|
32951
|
+
optional: false
|
|
32952
|
+
}],
|
|
32953
|
+
"scriptRunner.stop": [{
|
|
32954
|
+
name: "deviceId",
|
|
32955
|
+
form: "single",
|
|
32956
|
+
optional: false
|
|
32957
|
+
}],
|
|
32958
|
+
"snapshot.getDebugState": [{
|
|
32959
|
+
name: "deviceId",
|
|
32960
|
+
form: "single",
|
|
32961
|
+
optional: false
|
|
32962
|
+
}],
|
|
32963
|
+
"snapshot.getSnapshot": [{
|
|
32964
|
+
name: "deviceId",
|
|
32965
|
+
form: "single",
|
|
32966
|
+
optional: false
|
|
32967
|
+
}],
|
|
32968
|
+
"snapshot.getSnapshotLinks": [{
|
|
32969
|
+
name: "targets",
|
|
32970
|
+
form: "object-array",
|
|
32971
|
+
optional: false,
|
|
32972
|
+
itemField: "deviceId"
|
|
32973
|
+
}],
|
|
32974
|
+
"snapshot.getSnapshotOverview": [{
|
|
32975
|
+
name: "deviceIds",
|
|
32976
|
+
form: "array",
|
|
32977
|
+
optional: false
|
|
32978
|
+
}],
|
|
32979
|
+
"snapshot.invalidateCache": [{
|
|
32980
|
+
name: "deviceId",
|
|
32981
|
+
form: "single",
|
|
32982
|
+
optional: false
|
|
32983
|
+
}],
|
|
32984
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32985
|
+
name: "deviceId",
|
|
32986
|
+
form: "single",
|
|
32987
|
+
optional: false
|
|
32988
|
+
}],
|
|
32989
|
+
"streamBroker.assignProfile": [{
|
|
32990
|
+
name: "deviceId",
|
|
32991
|
+
form: "single",
|
|
32992
|
+
optional: false
|
|
32993
|
+
}],
|
|
32994
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32995
|
+
name: "deviceId",
|
|
32996
|
+
form: "single",
|
|
32997
|
+
optional: false
|
|
32998
|
+
}],
|
|
32999
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33000
|
+
name: "deviceId",
|
|
33001
|
+
form: "single",
|
|
33002
|
+
optional: false
|
|
33003
|
+
}],
|
|
33004
|
+
"streamBroker.produceEventMedia": [{
|
|
33005
|
+
name: "deviceId",
|
|
33006
|
+
form: "single",
|
|
33007
|
+
optional: false
|
|
33008
|
+
}],
|
|
33009
|
+
"streamBroker.publishCameraStream": [{
|
|
33010
|
+
name: "deviceId",
|
|
33011
|
+
form: "single",
|
|
33012
|
+
optional: false
|
|
33013
|
+
}],
|
|
33014
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33015
|
+
name: "deviceId",
|
|
33016
|
+
form: "single",
|
|
33017
|
+
optional: false
|
|
33018
|
+
}],
|
|
33019
|
+
"streamBroker.restartProfile": [{
|
|
33020
|
+
name: "deviceId",
|
|
33021
|
+
form: "single",
|
|
33022
|
+
optional: false
|
|
33023
|
+
}],
|
|
33024
|
+
"streamBroker.retractCameraStream": [{
|
|
33025
|
+
name: "deviceId",
|
|
33026
|
+
form: "single",
|
|
33027
|
+
optional: false
|
|
33028
|
+
}],
|
|
33029
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33030
|
+
name: "deviceId",
|
|
33031
|
+
form: "single",
|
|
33032
|
+
optional: false
|
|
33033
|
+
}],
|
|
33034
|
+
"streamBroker.unassignProfile": [{
|
|
33035
|
+
name: "deviceId",
|
|
33036
|
+
form: "single",
|
|
33037
|
+
optional: false
|
|
33038
|
+
}],
|
|
33039
|
+
"streamCatalog.getCatalog": [{
|
|
33040
|
+
name: "deviceId",
|
|
33041
|
+
form: "single",
|
|
33042
|
+
optional: false
|
|
33043
|
+
}],
|
|
33044
|
+
"streamParams.getConfigSchema": [{
|
|
33045
|
+
name: "deviceId",
|
|
33046
|
+
form: "single",
|
|
33047
|
+
optional: false
|
|
33048
|
+
}],
|
|
33049
|
+
"streamParams.getOptions": [{
|
|
33050
|
+
name: "deviceId",
|
|
33051
|
+
form: "single",
|
|
33052
|
+
optional: false
|
|
33053
|
+
}],
|
|
33054
|
+
"streamParams.setProfile": [{
|
|
33055
|
+
name: "deviceId",
|
|
33056
|
+
form: "single",
|
|
33057
|
+
optional: false
|
|
33058
|
+
}],
|
|
33059
|
+
"switch.setState": [{
|
|
33060
|
+
name: "deviceId",
|
|
33061
|
+
form: "single",
|
|
33062
|
+
optional: false
|
|
33063
|
+
}],
|
|
33064
|
+
"vacuumControl.locate": [{
|
|
33065
|
+
name: "deviceId",
|
|
33066
|
+
form: "single",
|
|
33067
|
+
optional: false
|
|
33068
|
+
}],
|
|
33069
|
+
"vacuumControl.pause": [{
|
|
33070
|
+
name: "deviceId",
|
|
33071
|
+
form: "single",
|
|
33072
|
+
optional: false
|
|
33073
|
+
}],
|
|
33074
|
+
"vacuumControl.returnToBase": [{
|
|
33075
|
+
name: "deviceId",
|
|
33076
|
+
form: "single",
|
|
33077
|
+
optional: false
|
|
33078
|
+
}],
|
|
33079
|
+
"vacuumControl.setFanSpeed": [{
|
|
33080
|
+
name: "deviceId",
|
|
33081
|
+
form: "single",
|
|
33082
|
+
optional: false
|
|
33083
|
+
}],
|
|
33084
|
+
"vacuumControl.start": [{
|
|
33085
|
+
name: "deviceId",
|
|
33086
|
+
form: "single",
|
|
33087
|
+
optional: false
|
|
33088
|
+
}],
|
|
33089
|
+
"vacuumControl.stop": [{
|
|
33090
|
+
name: "deviceId",
|
|
33091
|
+
form: "single",
|
|
33092
|
+
optional: false
|
|
33093
|
+
}],
|
|
33094
|
+
"valve.close": [{
|
|
33095
|
+
name: "deviceId",
|
|
33096
|
+
form: "single",
|
|
33097
|
+
optional: false
|
|
33098
|
+
}],
|
|
33099
|
+
"valve.open": [{
|
|
33100
|
+
name: "deviceId",
|
|
33101
|
+
form: "single",
|
|
33102
|
+
optional: false
|
|
33103
|
+
}],
|
|
33104
|
+
"valve.setPosition": [{
|
|
33105
|
+
name: "deviceId",
|
|
33106
|
+
form: "single",
|
|
33107
|
+
optional: false
|
|
33108
|
+
}],
|
|
33109
|
+
"valve.stop": [{
|
|
33110
|
+
name: "deviceId",
|
|
33111
|
+
form: "single",
|
|
33112
|
+
optional: false
|
|
33113
|
+
}],
|
|
33114
|
+
"videoclips.getClipPlayback": [{
|
|
33115
|
+
name: "deviceId",
|
|
33116
|
+
form: "single",
|
|
33117
|
+
optional: false
|
|
33118
|
+
}],
|
|
33119
|
+
"videoclips.listClips": [{
|
|
33120
|
+
name: "deviceId",
|
|
33121
|
+
form: "single",
|
|
33122
|
+
optional: false
|
|
33123
|
+
}],
|
|
33124
|
+
"waterHeater.setAway": [{
|
|
33125
|
+
name: "deviceId",
|
|
33126
|
+
form: "single",
|
|
33127
|
+
optional: false
|
|
33128
|
+
}],
|
|
33129
|
+
"waterHeater.setOperationMode": [{
|
|
33130
|
+
name: "deviceId",
|
|
33131
|
+
form: "single",
|
|
33132
|
+
optional: false
|
|
33133
|
+
}],
|
|
33134
|
+
"waterHeater.setTargetTemp": [{
|
|
33135
|
+
name: "deviceId",
|
|
33136
|
+
form: "single",
|
|
33137
|
+
optional: false
|
|
33138
|
+
}],
|
|
33139
|
+
"webrtcSession.addIceCandidate": [{
|
|
33140
|
+
name: "deviceId",
|
|
33141
|
+
form: "single",
|
|
33142
|
+
optional: false
|
|
33143
|
+
}],
|
|
33144
|
+
"webrtcSession.closeSession": [{
|
|
33145
|
+
name: "deviceId",
|
|
33146
|
+
form: "single",
|
|
33147
|
+
optional: false
|
|
33148
|
+
}],
|
|
33149
|
+
"webrtcSession.createSession": [{
|
|
33150
|
+
name: "deviceId",
|
|
33151
|
+
form: "single",
|
|
33152
|
+
optional: false
|
|
33153
|
+
}],
|
|
33154
|
+
"webrtcSession.getIceCandidates": [{
|
|
33155
|
+
name: "deviceId",
|
|
33156
|
+
form: "single",
|
|
33157
|
+
optional: false
|
|
33158
|
+
}],
|
|
33159
|
+
"webrtcSession.getSessionState": [{
|
|
33160
|
+
name: "deviceId",
|
|
33161
|
+
form: "single",
|
|
33162
|
+
optional: false
|
|
33163
|
+
}],
|
|
33164
|
+
"webrtcSession.handleAnswer": [{
|
|
33165
|
+
name: "deviceId",
|
|
33166
|
+
form: "single",
|
|
33167
|
+
optional: false
|
|
33168
|
+
}],
|
|
33169
|
+
"webrtcSession.handleOffer": [{
|
|
33170
|
+
name: "deviceId",
|
|
33171
|
+
form: "single",
|
|
33172
|
+
optional: false
|
|
33173
|
+
}],
|
|
33174
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33175
|
+
name: "deviceId",
|
|
33176
|
+
form: "single",
|
|
33177
|
+
optional: false
|
|
33178
|
+
}],
|
|
33179
|
+
"webrtcSession.listStreams": [{
|
|
33180
|
+
name: "deviceId",
|
|
33181
|
+
form: "single",
|
|
33182
|
+
optional: false
|
|
33183
|
+
}],
|
|
33184
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33185
|
+
name: "deviceId",
|
|
33186
|
+
form: "single",
|
|
33187
|
+
optional: false
|
|
33188
|
+
}],
|
|
33189
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33190
|
+
name: "deviceId",
|
|
33191
|
+
form: "single",
|
|
33192
|
+
optional: false
|
|
33193
|
+
}],
|
|
33194
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33195
|
+
name: "deviceId",
|
|
33196
|
+
form: "single",
|
|
33197
|
+
optional: false
|
|
33198
|
+
}],
|
|
33199
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33200
|
+
name: "deviceId",
|
|
33201
|
+
form: "single",
|
|
33202
|
+
optional: false
|
|
33203
|
+
}],
|
|
33204
|
+
"zoneRules.listRules": [{
|
|
33205
|
+
name: "deviceId",
|
|
33206
|
+
form: "single",
|
|
33207
|
+
optional: false
|
|
33208
|
+
}],
|
|
33209
|
+
"zoneRules.setRules": [{
|
|
33210
|
+
name: "deviceId",
|
|
33211
|
+
form: "single",
|
|
33212
|
+
optional: false
|
|
33213
|
+
}],
|
|
33214
|
+
"zones.addZone": [{
|
|
33215
|
+
name: "deviceId",
|
|
33216
|
+
form: "single",
|
|
33217
|
+
optional: false
|
|
33218
|
+
}],
|
|
33219
|
+
"zones.listZones": [{
|
|
33220
|
+
name: "deviceId",
|
|
33221
|
+
form: "single",
|
|
33222
|
+
optional: false
|
|
33223
|
+
}],
|
|
33224
|
+
"zones.removeZone": [{
|
|
33225
|
+
name: "deviceId",
|
|
33226
|
+
form: "single",
|
|
33227
|
+
optional: false
|
|
33228
|
+
}],
|
|
33229
|
+
"zones.updateZone": [{
|
|
33230
|
+
name: "deviceId",
|
|
33231
|
+
form: "single",
|
|
33232
|
+
optional: false
|
|
33233
|
+
}]
|
|
33234
|
+
});
|
|
30630
33235
|
Object.freeze({
|
|
30631
33236
|
"broker": "broker",
|
|
30632
33237
|
"device-export": "device-export",
|