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