@camstack/addon-tailscale 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/client/tailscale.addon.js +11 -11
- package/dist/client/tailscale.addon.mjs +11 -11
- package/dist/{dist-C8p6RC4p.js → dist-CDYOSmZP.js} +2689 -85
- package/dist/{dist-C_wvVtn8.mjs → dist-uBwggMrS.mjs} +2684 -86
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2996,6 +3023,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2996
3023
|
fallback: left.fallback
|
|
2997
3024
|
}, ctx);
|
|
2998
3025
|
}
|
|
3026
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3027
|
+
$ZodPipe.init(inst, def);
|
|
3028
|
+
});
|
|
2999
3029
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3000
3030
|
$ZodType.init(inst, def);
|
|
3001
3031
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5181,6 +5211,10 @@ function pipe(in_, out) {
|
|
|
5181
5211
|
out
|
|
5182
5212
|
});
|
|
5183
5213
|
}
|
|
5214
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5215
|
+
ZodPipe.init(inst, def);
|
|
5216
|
+
$ZodPreprocess.init(inst, def);
|
|
5217
|
+
});
|
|
5184
5218
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5185
5219
|
$ZodReadonly.init(inst, def);
|
|
5186
5220
|
ZodType.init(inst, def);
|
|
@@ -5239,6 +5273,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5239
5273
|
};
|
|
5240
5274
|
return inst;
|
|
5241
5275
|
}
|
|
5276
|
+
function preprocess(fn, schema) {
|
|
5277
|
+
return new ZodPreprocess({
|
|
5278
|
+
type: "pipe",
|
|
5279
|
+
in: transform(fn),
|
|
5280
|
+
out: schema
|
|
5281
|
+
});
|
|
5282
|
+
}
|
|
5242
5283
|
//#endregion
|
|
5243
5284
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5244
5285
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -6951,6 +6992,40 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
6951
6992
|
action: string().min(1),
|
|
6952
6993
|
input: unknown()
|
|
6953
6994
|
}), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
|
|
6995
|
+
/**
|
|
6996
|
+
* The ONE retry schedule for work that can fail simply because the node was
|
|
6997
|
+
* still booting.
|
|
6998
|
+
*
|
|
6999
|
+
* The measured failure (docs/design/boot-to-usable-camera.md, item E): a hub
|
|
7000
|
+
* boot that serialised its addon graph starved every driver dial on it. Fifteen
|
|
7001
|
+
* Hikvision devices logged `Initial probe did not complete — scheduling retry
|
|
7002
|
+
* chain {firstRetryMs=300000}` and then sat unprobed for five minutes, long
|
|
7003
|
+
* after the condition that caused the failure had gone. The Tailscale addon's
|
|
7004
|
+
* auto-rejoin carried a byte-identical schedule, armed from `initialize()`, for
|
|
7005
|
+
* the same reason.
|
|
7006
|
+
*
|
|
7007
|
+
* The shape that fixes it: **two cheap attempts first, then the long tail.**
|
|
7008
|
+
*
|
|
7009
|
+
* - 15 s / 60 s — the boot window. Anything that failed because the node was
|
|
7010
|
+
* busy is recovered here, before an operator can open the UI and see a
|
|
7011
|
+
* camera that is wrong about itself.
|
|
7012
|
+
* - 5 m → 90 m — the genuinely-offline case. A battery cam that is asleep, a
|
|
7013
|
+
* VLAN that is down, a peer that has not come back. Unchanged in intent from
|
|
7014
|
+
* the schedule this replaces (~3 h 30 m of coverage): here ~3 h 21 m, then
|
|
7015
|
+
* the chain ends and manual re-arm (reprobe / restart) is the only path.
|
|
7016
|
+
*
|
|
7017
|
+
* Bounded on purpose — see D6. A chain that never gives up is a busy loop with
|
|
7018
|
+
* extra steps.
|
|
7019
|
+
*/
|
|
7020
|
+
var BOOT_RECOVERY_BACKOFF_MS = [
|
|
7021
|
+
15e3,
|
|
7022
|
+
6e4,
|
|
7023
|
+
5 * 6e4,
|
|
7024
|
+
15 * 6e4,
|
|
7025
|
+
30 * 6e4,
|
|
7026
|
+
60 * 6e4,
|
|
7027
|
+
90 * 6e4
|
|
7028
|
+
];
|
|
6954
7029
|
var EncodeProfileSchema = object({
|
|
6955
7030
|
video: object({
|
|
6956
7031
|
codec: _enum([
|
|
@@ -12133,6 +12208,17 @@ var LlmImageSchema = object({
|
|
|
12133
12208
|
bytes: _instanceof(Uint8Array),
|
|
12134
12209
|
mimeType: string()
|
|
12135
12210
|
});
|
|
12211
|
+
/**
|
|
12212
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12213
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12214
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12215
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12216
|
+
*/
|
|
12217
|
+
var LlmRetryPolicySchema = object({
|
|
12218
|
+
enabled: boolean().default(false),
|
|
12219
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12220
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12221
|
+
});
|
|
12136
12222
|
var LlmGenerateBaseInputSchema = object({
|
|
12137
12223
|
/** Collection routing (the notification-output posture). */
|
|
12138
12224
|
addonId: string().optional(),
|
|
@@ -12147,7 +12233,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12147
12233
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12148
12234
|
/** Per-call override of the profile default. */
|
|
12149
12235
|
maxTokens: number().int().positive().optional(),
|
|
12150
|
-
temperature: number().optional()
|
|
12236
|
+
temperature: number().optional(),
|
|
12237
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12238
|
+
topP: number().min(0).max(1).optional(),
|
|
12239
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12240
|
+
topK: number().int().positive().optional(),
|
|
12241
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12242
|
+
timeoutMs: number().int().positive().optional(),
|
|
12243
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12244
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12245
|
+
/**
|
|
12246
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12247
|
+
*
|
|
12248
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12249
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12250
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12251
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12252
|
+
* not generations, and the real load is unbounded.
|
|
12253
|
+
*
|
|
12254
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12255
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12256
|
+
*/
|
|
12257
|
+
requestId: string().optional()
|
|
12151
12258
|
});
|
|
12152
12259
|
/**
|
|
12153
12260
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12160,6 +12267,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12160
12267
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12161
12268
|
* watchdog — operator decision #3).
|
|
12162
12269
|
*/
|
|
12270
|
+
/**
|
|
12271
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12272
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12273
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12274
|
+
* the preview is exactly what the node downloads.
|
|
12275
|
+
*/
|
|
12276
|
+
var ManagedModelExtraFileSchema = object({
|
|
12277
|
+
url: string(),
|
|
12278
|
+
filename: string(),
|
|
12279
|
+
sizeBytes: number(),
|
|
12280
|
+
sha256: string().optional()
|
|
12281
|
+
});
|
|
12163
12282
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12164
12283
|
object({
|
|
12165
12284
|
kind: literal("catalog"),
|
|
@@ -12168,7 +12287,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12168
12287
|
object({
|
|
12169
12288
|
kind: literal("url"),
|
|
12170
12289
|
url: string(),
|
|
12171
|
-
sha256: string().optional()
|
|
12290
|
+
sha256: string().optional(),
|
|
12291
|
+
/** Picker/status label; the file basename when absent. */
|
|
12292
|
+
label: string().optional(),
|
|
12293
|
+
sizeBytes: number().optional(),
|
|
12294
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12172
12295
|
}),
|
|
12173
12296
|
object({
|
|
12174
12297
|
kind: literal("path"),
|
|
@@ -12186,13 +12309,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12186
12309
|
gpuLayers: number().int().default(0),
|
|
12187
12310
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12188
12311
|
threads: number().int().optional(),
|
|
12189
|
-
/** Concurrent slots. */
|
|
12312
|
+
/** Concurrent slots (`--parallel`). */
|
|
12190
12313
|
parallel: number().int().default(1),
|
|
12314
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12315
|
+
batchSize: number().int().positive().optional(),
|
|
12316
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12317
|
+
ubatchSize: number().int().positive().optional(),
|
|
12318
|
+
/**
|
|
12319
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12320
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12321
|
+
*/
|
|
12322
|
+
flashAttention: boolean().default(false),
|
|
12323
|
+
/**
|
|
12324
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12325
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12326
|
+
* what the RAM budget is counting.
|
|
12327
|
+
*/
|
|
12328
|
+
mlock: boolean().default(false),
|
|
12329
|
+
/**
|
|
12330
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12331
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12332
|
+
* store produces on every first token.
|
|
12333
|
+
*/
|
|
12334
|
+
noMmap: boolean().default(false),
|
|
12335
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12336
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12337
|
+
cacheTypeK: _enum([
|
|
12338
|
+
"f32",
|
|
12339
|
+
"f16",
|
|
12340
|
+
"q8_0",
|
|
12341
|
+
"q5_1",
|
|
12342
|
+
"q5_0",
|
|
12343
|
+
"q4_1",
|
|
12344
|
+
"q4_0"
|
|
12345
|
+
]).optional(),
|
|
12346
|
+
cacheTypeV: _enum([
|
|
12347
|
+
"f32",
|
|
12348
|
+
"f16",
|
|
12349
|
+
"q8_0",
|
|
12350
|
+
"q5_1",
|
|
12351
|
+
"q5_0",
|
|
12352
|
+
"q4_1",
|
|
12353
|
+
"q4_0"
|
|
12354
|
+
]).optional(),
|
|
12355
|
+
/**
|
|
12356
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12357
|
+
* (which most vision chat templates need and some language-only models
|
|
12358
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12359
|
+
*
|
|
12360
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12361
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12362
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12363
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12364
|
+
* twice (D62).
|
|
12365
|
+
*/
|
|
12366
|
+
extraArgs: array(string()).default([]),
|
|
12191
12367
|
/** Else lazy: first generate boots it. */
|
|
12192
12368
|
autoStart: boolean().default(false),
|
|
12193
12369
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12194
12370
|
idleStopMinutes: number().int().default(30)
|
|
12195
12371
|
});
|
|
12372
|
+
/**
|
|
12373
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12374
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12375
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12376
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12377
|
+
*/
|
|
12378
|
+
var LlmDownloadProgressSchema = object({
|
|
12379
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12380
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12381
|
+
file: string(),
|
|
12382
|
+
fileIndex: number().int(),
|
|
12383
|
+
fileCount: number().int(),
|
|
12384
|
+
/** Across the WHOLE install, not the current file. */
|
|
12385
|
+
downloadedBytes: number(),
|
|
12386
|
+
totalBytes: number().optional()
|
|
12387
|
+
});
|
|
12196
12388
|
var LlmRuntimeStatusSchema = object({
|
|
12197
12389
|
/** Status is ALWAYS node-qualified. */
|
|
12198
12390
|
nodeId: string(),
|
|
@@ -12209,6 +12401,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12209
12401
|
modelPath: string().optional(),
|
|
12210
12402
|
modelId: string().optional(),
|
|
12211
12403
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12404
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12405
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12212
12406
|
lastError: string().optional(),
|
|
12213
12407
|
crashesInWindow: number(),
|
|
12214
12408
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12219,7 +12413,14 @@ var LlmNodeModelSchema = object({
|
|
|
12219
12413
|
file: string(),
|
|
12220
12414
|
sizeBytes: number(),
|
|
12221
12415
|
catalogId: string().optional(),
|
|
12222
|
-
installedAt: number().optional()
|
|
12416
|
+
installedAt: number().optional(),
|
|
12417
|
+
/**
|
|
12418
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12419
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12420
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12421
|
+
* it the picker could list such a file and do nothing with it.
|
|
12422
|
+
*/
|
|
12423
|
+
path: string().optional()
|
|
12223
12424
|
});
|
|
12224
12425
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12225
12426
|
nodeId: string(),
|
|
@@ -12275,10 +12476,47 @@ var LlmProfileSchema = object({
|
|
|
12275
12476
|
baseUrl: string().optional(),
|
|
12276
12477
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12277
12478
|
apiKey: string().optional(),
|
|
12479
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12480
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12481
|
+
* question about a picture nobody sent. */
|
|
12278
12482
|
supportsVision: boolean(),
|
|
12279
12483
|
temperature: number().min(0).max(2).optional(),
|
|
12484
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12485
|
+
topP: number().min(0).max(1).optional(),
|
|
12486
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12487
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12488
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12489
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12490
|
+
topK: number().int().positive().optional(),
|
|
12280
12491
|
maxTokens: number().int().positive().optional(),
|
|
12492
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12493
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12494
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12495
|
+
contextLength: number().int().positive().optional(),
|
|
12496
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12497
|
+
* two system prompts fighting is worse than either alone). */
|
|
12498
|
+
systemPrompt: string().optional(),
|
|
12499
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12281
12500
|
timeoutMs: number().int().positive().default(6e4),
|
|
12501
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12502
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12503
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12504
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12505
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12506
|
+
* GPU load is exactly what happens before them. */
|
|
12507
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12508
|
+
/** Output started then stopped. */
|
|
12509
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12510
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12511
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12512
|
+
retry: LlmRetryPolicySchema.default({
|
|
12513
|
+
enabled: false,
|
|
12514
|
+
maxAttempts: 1
|
|
12515
|
+
}),
|
|
12516
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12517
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12518
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12519
|
+
toolsEnabled: boolean().default(false),
|
|
12282
12520
|
extraHeaders: record(string(), string()).optional(),
|
|
12283
12521
|
/** kind === 'managed-local' only (spec §4). */
|
|
12284
12522
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12328,6 +12566,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12328
12566
|
/** Vision models: companion projector file. */
|
|
12329
12567
|
mmprojUrl: string().optional()
|
|
12330
12568
|
});
|
|
12569
|
+
/**
|
|
12570
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12571
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12572
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12573
|
+
* exception.
|
|
12574
|
+
*
|
|
12575
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12576
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12577
|
+
*/
|
|
12578
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12579
|
+
ok: literal(true),
|
|
12580
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12581
|
+
model: ManagedModelRefSchema,
|
|
12582
|
+
label: string(),
|
|
12583
|
+
repo: string(),
|
|
12584
|
+
quantization: string(),
|
|
12585
|
+
purpose: _enum(["text", "vision"]),
|
|
12586
|
+
totalBytes: number(),
|
|
12587
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12588
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12589
|
+
extraFilenames: array(string())
|
|
12590
|
+
}), object({
|
|
12591
|
+
ok: literal(false),
|
|
12592
|
+
code: string(),
|
|
12593
|
+
message: string(),
|
|
12594
|
+
candidates: array(string()).optional(),
|
|
12595
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12596
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12597
|
+
requiredBytes: number().optional()
|
|
12598
|
+
})]);
|
|
12331
12599
|
var LlmRuntimeNodeSchema = object({
|
|
12332
12600
|
nodeId: string(),
|
|
12333
12601
|
reachable: boolean(),
|
|
@@ -12340,7 +12608,10 @@ var ProfileRefInputSchema = object({
|
|
|
12340
12608
|
addonId: string(),
|
|
12341
12609
|
profileId: string()
|
|
12342
12610
|
});
|
|
12343
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12611
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12612
|
+
addonId: string().optional(),
|
|
12613
|
+
requestId: string()
|
|
12614
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12344
12615
|
kind: "mutation",
|
|
12345
12616
|
auth: "admin"
|
|
12346
12617
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12361,6 +12632,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12361
12632
|
consumer: string().optional(),
|
|
12362
12633
|
profileId: string().optional()
|
|
12363
12634
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12635
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12636
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12637
|
+
ref: string(),
|
|
12638
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12639
|
+
maxBytes: number().positive().optional()
|
|
12640
|
+
}), HfModelResolutionSchema, {
|
|
12641
|
+
kind: "mutation",
|
|
12642
|
+
auth: "admin"
|
|
12643
|
+
}), method(object({
|
|
12364
12644
|
nodeId: string(),
|
|
12365
12645
|
model: ManagedModelRefSchema
|
|
12366
12646
|
}), _void(), {
|
|
@@ -12937,11 +13217,33 @@ var NotificationFormatSchema = _enum([
|
|
|
12937
13217
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
12938
13218
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
12939
13219
|
* differently.
|
|
13220
|
+
*
|
|
13221
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
13222
|
+
*
|
|
13223
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
13224
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
13225
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
13226
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
13227
|
+
* decides its glyph, which is the only place that decision can be made
|
|
13228
|
+
* honestly.
|
|
13229
|
+
*
|
|
13230
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
13231
|
+
* `disarm` straight through; iOS feeds that string to
|
|
13232
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
13233
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
13234
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
13235
|
+
*
|
|
13236
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
13237
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
13238
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
13239
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
13240
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
12940
13241
|
*/
|
|
12941
13242
|
var NotificationActionIconSchema = _enum([
|
|
12942
13243
|
"acknowledge",
|
|
12943
13244
|
"dismiss",
|
|
12944
13245
|
"silence",
|
|
13246
|
+
"snooze",
|
|
12945
13247
|
"view",
|
|
12946
13248
|
"play",
|
|
12947
13249
|
"open",
|
|
@@ -12949,9 +13251,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
12949
13251
|
"lock",
|
|
12950
13252
|
"unlock",
|
|
12951
13253
|
"arm",
|
|
13254
|
+
"arm-home",
|
|
13255
|
+
"arm-away",
|
|
13256
|
+
"arm-night",
|
|
12952
13257
|
"disarm",
|
|
12953
13258
|
"light",
|
|
12954
|
-
"alert"
|
|
13259
|
+
"alert",
|
|
13260
|
+
"camera"
|
|
12955
13261
|
]);
|
|
12956
13262
|
/** A single tap-through action button. */
|
|
12957
13263
|
var NotificationActionSchema = object({
|
|
@@ -13151,6 +13457,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13151
13457
|
targetId: string(),
|
|
13152
13458
|
enabled: boolean()
|
|
13153
13459
|
}), _void(), { kind: "mutation" });
|
|
13460
|
+
new Set([
|
|
13461
|
+
{
|
|
13462
|
+
id: "person",
|
|
13463
|
+
name: "Person"
|
|
13464
|
+
},
|
|
13465
|
+
{
|
|
13466
|
+
id: "vehicle",
|
|
13467
|
+
name: "Vehicle"
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
id: "animal",
|
|
13471
|
+
name: "Animal"
|
|
13472
|
+
},
|
|
13473
|
+
{
|
|
13474
|
+
id: "package",
|
|
13475
|
+
name: "Package"
|
|
13476
|
+
}
|
|
13477
|
+
].map((l) => l.id));
|
|
13154
13478
|
var COCO_TO_MACRO = {
|
|
13155
13479
|
mapping: {
|
|
13156
13480
|
person: "person",
|
|
@@ -13943,11 +14267,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13943
14267
|
"stream-offline",
|
|
13944
14268
|
"node-online",
|
|
13945
14269
|
"node-offline",
|
|
14270
|
+
"node-inference-unavailable",
|
|
14271
|
+
"detection-blind",
|
|
13946
14272
|
"addon-update-available",
|
|
13947
14273
|
"server-update-available",
|
|
13948
14274
|
"alarm-triggered",
|
|
13949
14275
|
"alarm-armed",
|
|
13950
14276
|
"alarm-disarmed",
|
|
14277
|
+
"alarm-arming",
|
|
14278
|
+
"alarm-arm-refused",
|
|
13951
14279
|
"camera-online",
|
|
13952
14280
|
"camera-offline",
|
|
13953
14281
|
"camera-disabled",
|
|
@@ -14002,7 +14330,16 @@ var NcScheduleSchema = object({
|
|
|
14002
14330
|
});
|
|
14003
14331
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14004
14332
|
var NcPlateMatcherSchema = object({
|
|
14005
|
-
|
|
14333
|
+
/**
|
|
14334
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14335
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14336
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14337
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14338
|
+
*
|
|
14339
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14340
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14341
|
+
*/
|
|
14342
|
+
values: array(string().min(1)),
|
|
14006
14343
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14007
14344
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14008
14345
|
});
|
|
@@ -14036,28 +14373,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14036
14373
|
/**
|
|
14037
14374
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14038
14375
|
*
|
|
14039
|
-
*
|
|
14040
|
-
*
|
|
14041
|
-
*
|
|
14042
|
-
*
|
|
14043
|
-
*
|
|
14044
|
-
*
|
|
14045
|
-
*
|
|
14046
|
-
*
|
|
14047
|
-
*
|
|
14048
|
-
*
|
|
14049
|
-
*
|
|
14050
|
-
*
|
|
14051
|
-
*
|
|
14052
|
-
*
|
|
14053
|
-
*
|
|
14054
|
-
*
|
|
14055
|
-
*
|
|
14056
|
-
*
|
|
14057
|
-
*
|
|
14058
|
-
*
|
|
14059
|
-
*
|
|
14060
|
-
* `
|
|
14376
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14377
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14378
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14379
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14380
|
+
*
|
|
14381
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14382
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14383
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14384
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14385
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14386
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14387
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14388
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14389
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14390
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14391
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14392
|
+
* seconds is 100% of nothing.
|
|
14393
|
+
*
|
|
14394
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14395
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14396
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14397
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14398
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14399
|
+
* the wrong question to ask of a sparse classifier.
|
|
14400
|
+
*
|
|
14401
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14402
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14403
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14404
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14405
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14061
14406
|
*
|
|
14062
14407
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14063
14408
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14065,13 +14410,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14065
14410
|
* an operator who typed `dog` mean the same thing.
|
|
14066
14411
|
*/
|
|
14067
14412
|
var NcAudioConditionSchema = object({
|
|
14068
|
-
/**
|
|
14413
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14069
14414
|
labels: array(string().min(1)).min(1).optional(),
|
|
14070
|
-
/**
|
|
14415
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14071
14416
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14072
|
-
/**
|
|
14417
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14073
14418
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14074
|
-
/**
|
|
14419
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14075
14420
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14076
14421
|
});
|
|
14077
14422
|
/**
|
|
@@ -14209,13 +14554,81 @@ var NcRuleActionsSchema = object({
|
|
|
14209
14554
|
*/
|
|
14210
14555
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14211
14556
|
});
|
|
14557
|
+
/**
|
|
14558
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14559
|
+
*
|
|
14560
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14561
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14562
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14563
|
+
*
|
|
14564
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14565
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14566
|
+
*/
|
|
14567
|
+
var NcDeviceStateConditionSchema = object({
|
|
14568
|
+
deviceId: number().int(),
|
|
14569
|
+
/** Any of these matches. */
|
|
14570
|
+
states: array(string().min(1)).min(1)
|
|
14571
|
+
});
|
|
14572
|
+
/**
|
|
14573
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14574
|
+
*
|
|
14575
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14576
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14577
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14578
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14579
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14580
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14581
|
+
* kind exist for it — see D159.
|
|
14582
|
+
*
|
|
14583
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14584
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14585
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14586
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14587
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14588
|
+
*
|
|
14589
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14590
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14591
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14592
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14593
|
+
* override one rule against the scene's own default.
|
|
14594
|
+
*
|
|
14595
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14596
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14597
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14598
|
+
* evidence, in either direction.
|
|
14599
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14600
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14601
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14602
|
+
* reason the operator asked for a latch.
|
|
14603
|
+
*
|
|
14604
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14605
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14606
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14607
|
+
* said out loud in the log rather than dropped in silence.
|
|
14608
|
+
*/
|
|
14609
|
+
var NcSceneConditionSchema = object({
|
|
14610
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14611
|
+
sceneId: string().min(1),
|
|
14612
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14613
|
+
deviceId: number().int().optional(),
|
|
14614
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14615
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14616
|
+
/**
|
|
14617
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14618
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14619
|
+
*/
|
|
14620
|
+
latched: boolean().optional()
|
|
14621
|
+
});
|
|
14212
14622
|
var NcConditionsSchema = object({
|
|
14213
14623
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14214
|
-
deviceState:
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14624
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14625
|
+
/**
|
|
14626
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14627
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14628
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14629
|
+
* {@link NcSceneCondition} and D159.
|
|
14630
|
+
*/
|
|
14631
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14219
14632
|
/** Device scope — absent = all devices. */
|
|
14220
14633
|
devices: array(number()).optional(),
|
|
14221
14634
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14241,18 +14654,47 @@ var NcConditionsSchema = object({
|
|
|
14241
14654
|
*/
|
|
14242
14655
|
labelEquals: array(string().min(1)).optional(),
|
|
14243
14656
|
/**
|
|
14244
|
-
*
|
|
14245
|
-
*
|
|
14246
|
-
*
|
|
14657
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14658
|
+
* is about recognised people at all.
|
|
14659
|
+
*
|
|
14660
|
+
* Three states, and the empty one is the point:
|
|
14661
|
+
*
|
|
14662
|
+
* | value | meaning |
|
|
14663
|
+
* | --- | --- |
|
|
14664
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14665
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14666
|
+
* | a list | only these identities |
|
|
14667
|
+
*
|
|
14668
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14669
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14670
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14671
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14672
|
+
* with the list under it is worse than no switch (D62).
|
|
14673
|
+
*
|
|
14674
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14675
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14676
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14677
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14678
|
+
* `{{label}}` renders.
|
|
14679
|
+
*
|
|
14680
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14681
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14682
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14683
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14684
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14247
14685
|
*/
|
|
14248
14686
|
identities: array(string().min(1)).optional(),
|
|
14249
|
-
/**
|
|
14687
|
+
/**
|
|
14688
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14689
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14690
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14691
|
+
*/
|
|
14250
14692
|
plates: NcPlateMatcherSchema.optional(),
|
|
14251
14693
|
/**
|
|
14252
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14253
|
-
*
|
|
14254
|
-
* identity
|
|
14255
|
-
*
|
|
14694
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14695
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14696
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14697
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14256
14698
|
*/
|
|
14257
14699
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14258
14700
|
/**
|
|
@@ -14644,7 +15086,80 @@ var NcRuleInputSchema = object({
|
|
|
14644
15086
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14645
15087
|
* did, and absent is the only way to say that without a migration.
|
|
14646
15088
|
*/
|
|
14647
|
-
confirm: NcConfirmSchema.optional()
|
|
15089
|
+
confirm: NcConfirmSchema.optional(),
|
|
15090
|
+
/**
|
|
15091
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15092
|
+
*
|
|
15093
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15094
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15095
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15096
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15097
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15098
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15099
|
+
*
|
|
15100
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15101
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15102
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15103
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15104
|
+
*
|
|
15105
|
+
* | value | what happens |
|
|
15106
|
+
* | --- | --- |
|
|
15107
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15108
|
+
* | 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) |
|
|
15109
|
+
*
|
|
15110
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15111
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15112
|
+
* rule authored before this field meant.
|
|
15113
|
+
*
|
|
15114
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15115
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15116
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15117
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15118
|
+
*/
|
|
15119
|
+
waitForEnhancement: boolean().optional(),
|
|
15120
|
+
/**
|
|
15121
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15122
|
+
*
|
|
15123
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15124
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15125
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15126
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15127
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15128
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15129
|
+
*
|
|
15130
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15131
|
+
*
|
|
15132
|
+
* ### Why an idle cutoff and not a window
|
|
15133
|
+
*
|
|
15134
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15135
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15136
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15137
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15138
|
+
*
|
|
15139
|
+
* ### What it replaces
|
|
15140
|
+
*
|
|
15141
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15142
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15143
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15144
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15145
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15146
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15147
|
+
* throttled by the window its own first member spent.
|
|
15148
|
+
*
|
|
15149
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15150
|
+
*
|
|
15151
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15152
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15153
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15154
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15155
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15156
|
+
* path. Neither combination fires twice for one subject.
|
|
15157
|
+
*
|
|
15158
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15159
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15160
|
+
* field existed.
|
|
15161
|
+
*/
|
|
15162
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14648
15163
|
});
|
|
14649
15164
|
/**
|
|
14650
15165
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14751,6 +15266,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14751
15266
|
"occupancy",
|
|
14752
15267
|
"audio",
|
|
14753
15268
|
"deviceState",
|
|
15269
|
+
"scene",
|
|
14754
15270
|
"systemEvent"
|
|
14755
15271
|
]),
|
|
14756
15272
|
operator: _enum([
|
|
@@ -15156,7 +15672,87 @@ var MethodAccessSchema = _enum([
|
|
|
15156
15672
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15157
15673
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15158
15674
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15159
|
-
|
|
15675
|
+
/**
|
|
15676
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15677
|
+
*
|
|
15678
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15679
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15680
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15681
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15682
|
+
*
|
|
15683
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15684
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15685
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15686
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15687
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15688
|
+
* is NOT covered until the grant is edited.
|
|
15689
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15690
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15691
|
+
* re-resolves on the next request.
|
|
15692
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15693
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15694
|
+
* null/unset location matches NO `locations` selector.
|
|
15695
|
+
*/
|
|
15696
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15697
|
+
object({ kind: literal("all") }),
|
|
15698
|
+
object({
|
|
15699
|
+
kind: literal("ids"),
|
|
15700
|
+
ids: array(number().int()).min(1)
|
|
15701
|
+
}),
|
|
15702
|
+
object({
|
|
15703
|
+
kind: literal("types"),
|
|
15704
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15705
|
+
}),
|
|
15706
|
+
object({
|
|
15707
|
+
kind: literal("locations"),
|
|
15708
|
+
locations: array(string().min(1)).min(1)
|
|
15709
|
+
})
|
|
15710
|
+
]);
|
|
15711
|
+
var DeviceTokenScopeSchema = object({
|
|
15712
|
+
type: literal("device"),
|
|
15713
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15714
|
+
selector: DeviceSelectorSchema,
|
|
15715
|
+
access: array(MethodAccessSchema).min(1),
|
|
15716
|
+
/**
|
|
15717
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15718
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15719
|
+
* Direction is parent → children ONLY.
|
|
15720
|
+
*
|
|
15721
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15722
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15723
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15724
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15725
|
+
* explicitly to override that default per grant.
|
|
15726
|
+
*/
|
|
15727
|
+
includeLinked: boolean().optional()
|
|
15728
|
+
});
|
|
15729
|
+
/**
|
|
15730
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15731
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15732
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15733
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15734
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15735
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15736
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15737
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15738
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15739
|
+
*/
|
|
15740
|
+
function migrateLegacyTokenScope(raw) {
|
|
15741
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15742
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15743
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15744
|
+
const targets = Reflect.get(raw, "targets");
|
|
15745
|
+
if (!Array.isArray(targets)) return raw;
|
|
15746
|
+
return {
|
|
15747
|
+
type: "device",
|
|
15748
|
+
selector: {
|
|
15749
|
+
kind: "ids",
|
|
15750
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15751
|
+
},
|
|
15752
|
+
access: Reflect.get(raw, "access")
|
|
15753
|
+
};
|
|
15754
|
+
}
|
|
15755
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15160
15756
|
object({
|
|
15161
15757
|
type: literal("category"),
|
|
15162
15758
|
target: CapScopeSchema,
|
|
@@ -15172,18 +15768,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15172
15768
|
target: string(),
|
|
15173
15769
|
access: array(MethodAccessSchema).min(1)
|
|
15174
15770
|
}),
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
/**
|
|
15178
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15179
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15180
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15181
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15182
|
-
*/
|
|
15183
|
-
targets: array(string()).min(1),
|
|
15184
|
-
access: array(MethodAccessSchema).min(1)
|
|
15185
|
-
})
|
|
15186
|
-
]);
|
|
15771
|
+
DeviceTokenScopeSchema
|
|
15772
|
+
]));
|
|
15187
15773
|
object({
|
|
15188
15774
|
id: string(),
|
|
15189
15775
|
username: string(),
|
|
@@ -15500,7 +16086,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15500
16086
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15501
16087
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15502
16088
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15503
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16089
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15504
16090
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15505
16091
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15506
16092
|
* (`getObjectEvents` et al.).
|
|
@@ -15636,7 +16222,21 @@ union([literal(1), literal(2)]);
|
|
|
15636
16222
|
var LabelAttributionSchema = object({
|
|
15637
16223
|
stepId: string(),
|
|
15638
16224
|
modelId: string().optional(),
|
|
15639
|
-
decidedAt: number()
|
|
16225
|
+
decidedAt: number(),
|
|
16226
|
+
/**
|
|
16227
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16228
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16229
|
+
*
|
|
16230
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16231
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16232
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16233
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16234
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16235
|
+
*
|
|
16236
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16237
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16238
|
+
*/
|
|
16239
|
+
identityId: string().optional()
|
|
15640
16240
|
});
|
|
15641
16241
|
/**
|
|
15642
16242
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15773,6 +16373,28 @@ var TrackSchema = object({
|
|
|
15773
16373
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15774
16374
|
*/
|
|
15775
16375
|
hasFace: boolean().optional(),
|
|
16376
|
+
/**
|
|
16377
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16378
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16379
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16380
|
+
*
|
|
16381
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16382
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16383
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16384
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16385
|
+
* stop. This is the composition note that makes the row true.
|
|
16386
|
+
*
|
|
16387
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16388
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16389
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16390
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16391
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16392
|
+
*
|
|
16393
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16394
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16395
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16396
|
+
*/
|
|
16397
|
+
hasRider: boolean().optional(),
|
|
15776
16398
|
...TrackFlagFields,
|
|
15777
16399
|
...TrackRetrainFields
|
|
15778
16400
|
});
|
|
@@ -17168,6 +17790,17 @@ var maxSessionHoldMsField = {
|
|
|
17168
17790
|
default: 12e4,
|
|
17169
17791
|
step: 5e3
|
|
17170
17792
|
};
|
|
17793
|
+
/**
|
|
17794
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17795
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17796
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17797
|
+
*/
|
|
17798
|
+
var audioMotionWindowMsField = {
|
|
17799
|
+
min: 5e3,
|
|
17800
|
+
max: 6e5,
|
|
17801
|
+
default: 9e4,
|
|
17802
|
+
step: 5e3
|
|
17803
|
+
};
|
|
17171
17804
|
var motionFpsField = {
|
|
17172
17805
|
min: 1,
|
|
17173
17806
|
max: 30,
|
|
@@ -17180,10 +17813,26 @@ var detectionFpsField = {
|
|
|
17180
17813
|
default: 10,
|
|
17181
17814
|
step: 1
|
|
17182
17815
|
};
|
|
17816
|
+
/**
|
|
17817
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
17818
|
+
*
|
|
17819
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
17820
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
17821
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
17822
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
17823
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
17824
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
17825
|
+
*
|
|
17826
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
17827
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
17828
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
17829
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
17830
|
+
* that ships with an addon deploy.
|
|
17831
|
+
*/
|
|
17183
17832
|
var occupancyRecheckSecField = {
|
|
17184
17833
|
min: 0,
|
|
17185
17834
|
max: 300,
|
|
17186
|
-
default:
|
|
17835
|
+
default: 300,
|
|
17187
17836
|
step: 5
|
|
17188
17837
|
};
|
|
17189
17838
|
var occupancyRecheckFramesField = {
|
|
@@ -17328,6 +17977,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17328
17977
|
* resolved `CameraDetectionConfig`.
|
|
17329
17978
|
*/
|
|
17330
17979
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
17980
|
+
/**
|
|
17981
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
17982
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
17983
|
+
*
|
|
17984
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
17985
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
17986
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
17987
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
17988
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
17989
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
17990
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
17991
|
+
*
|
|
17992
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
17993
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
17994
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
17995
|
+
*
|
|
17996
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
17997
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
17998
|
+
* `maxSessionHoldMs`.
|
|
17999
|
+
*/
|
|
18000
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17331
18001
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17332
18002
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17333
18003
|
motionStreamId: string(),
|
|
@@ -17381,15 +18051,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17381
18051
|
*/
|
|
17382
18052
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17383
18053
|
/**
|
|
17384
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17385
|
-
*
|
|
17386
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17387
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17388
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
18054
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
18055
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17389
18056
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17390
18057
|
* (and only render) when this is enabled.
|
|
17391
|
-
|
|
17392
|
-
|
|
18058
|
+
*
|
|
18059
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
18060
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
18061
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
18062
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
18063
|
+
* object is counted only while the stationary registry holds it, and the
|
|
18064
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
18065
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
18066
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
18067
|
+
*/
|
|
18068
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17393
18069
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17394
18070
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17395
18071
|
/**
|
|
@@ -17417,7 +18093,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17417
18093
|
*/
|
|
17418
18094
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17419
18095
|
});
|
|
17420
|
-
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;
|
|
18096
|
+
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;
|
|
17421
18097
|
/**
|
|
17422
18098
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17423
18099
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -23553,7 +24229,7 @@ method(object({
|
|
|
23553
24229
|
toMs: number()
|
|
23554
24230
|
}), RecordingAvailabilitySchema, {
|
|
23555
24231
|
kind: "query",
|
|
23556
|
-
auth: "
|
|
24232
|
+
auth: "protected"
|
|
23557
24233
|
}), method(object({
|
|
23558
24234
|
deviceId: number(),
|
|
23559
24235
|
fromMs: number(),
|
|
@@ -23561,14 +24237,14 @@ method(object({
|
|
|
23561
24237
|
tzOffsetMinutes: number()
|
|
23562
24238
|
}), RecordingDaysSchema, {
|
|
23563
24239
|
kind: "query",
|
|
23564
|
-
auth: "
|
|
24240
|
+
auth: "protected"
|
|
23565
24241
|
}), method(object({
|
|
23566
24242
|
deviceId: number(),
|
|
23567
24243
|
fromMs: number(),
|
|
23568
24244
|
toMs: number()
|
|
23569
24245
|
}), RecordingManifestSchema, {
|
|
23570
24246
|
kind: "query",
|
|
23571
|
-
auth: "
|
|
24247
|
+
auth: "protected"
|
|
23572
24248
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23573
24249
|
kind: "query",
|
|
23574
24250
|
auth: "admin"
|
|
@@ -23858,14 +24534,77 @@ method(object({
|
|
|
23858
24534
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23859
24535
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23860
24536
|
*
|
|
23861
|
-
*
|
|
23862
|
-
*
|
|
23863
|
-
*
|
|
23864
|
-
*
|
|
23865
|
-
|
|
23866
|
-
|
|
23867
|
-
*
|
|
24537
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24538
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24539
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24540
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24541
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24542
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24543
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24544
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24545
|
+
*
|
|
24546
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24547
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24548
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24549
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24550
|
+
*
|
|
24551
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24552
|
+
* availability change; consumers never poll.
|
|
24553
|
+
*/
|
|
24554
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24555
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24556
|
+
* Open by design so more can be added without a wire break.
|
|
24557
|
+
*
|
|
24558
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24559
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24560
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24561
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23868
24562
|
var SceneConditionSchema = string();
|
|
24563
|
+
/**
|
|
24564
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24565
|
+
*
|
|
24566
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24567
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24568
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24569
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24570
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24571
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24572
|
+
*
|
|
24573
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24574
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24575
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24576
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24577
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24578
|
+
* configuration choice instead of a nightly fault.
|
|
24579
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24580
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24581
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24582
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24583
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24584
|
+
*
|
|
24585
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24586
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24587
|
+
* there would hide a scene the operator never finished setting up.
|
|
24588
|
+
*/
|
|
24589
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24590
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24591
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24592
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24593
|
+
* and never counts toward hysteresis in either direction. */
|
|
24594
|
+
var SceneVerdictSchema = _enum([
|
|
24595
|
+
"matched",
|
|
24596
|
+
"diverged",
|
|
24597
|
+
"unknown"
|
|
24598
|
+
]);
|
|
24599
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24600
|
+
* silence that reads as "nothing has happened". */
|
|
24601
|
+
var SceneUnavailableSchema = _enum([
|
|
24602
|
+
"no-reference-for-condition",
|
|
24603
|
+
"view-shifted",
|
|
24604
|
+
"no-vision-profile",
|
|
24605
|
+
"encoder-model-changed",
|
|
24606
|
+
"no-snapshot"
|
|
24607
|
+
]);
|
|
23869
24608
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23870
24609
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23871
24610
|
var SceneReferenceSchema = object({
|
|
@@ -23873,7 +24612,14 @@ var SceneReferenceSchema = object({
|
|
|
23873
24612
|
modelId: string(),
|
|
23874
24613
|
condition: SceneConditionSchema,
|
|
23875
24614
|
capturedAt: number(),
|
|
23876
|
-
thumbnailMediaId: string().optional()
|
|
24615
|
+
thumbnailMediaId: string().optional(),
|
|
24616
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24617
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24618
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24619
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24620
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24621
|
+
* transition, not per poll. */
|
|
24622
|
+
anchorEmbedding: array(number()).optional()
|
|
23877
24623
|
});
|
|
23878
24624
|
var SceneMonitorStateSchema = object({
|
|
23879
24625
|
id: string(),
|
|
@@ -23895,6 +24641,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23895
24641
|
profileId: string().optional(),
|
|
23896
24642
|
hysteresisCount: number().int().positive()
|
|
23897
24643
|
})]);
|
|
24644
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24645
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24646
|
+
* out in silence rather than reporting a fault every night. */
|
|
24647
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24648
|
+
/**
|
|
24649
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24650
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24651
|
+
*
|
|
24652
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24653
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24654
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24655
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24656
|
+
*/
|
|
24657
|
+
var SceneConfirmSchema = object({
|
|
24658
|
+
enabled: boolean().default(false),
|
|
24659
|
+
prompt: string().min(1).max(1e3),
|
|
24660
|
+
profileId: string().optional(),
|
|
24661
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24662
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24663
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24664
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24665
|
+
});
|
|
23898
24666
|
var SceneMonitorSchema = object({
|
|
23899
24667
|
id: string(),
|
|
23900
24668
|
label: string(),
|
|
@@ -23913,7 +24681,56 @@ var SceneMonitorSchema = object({
|
|
|
23913
24681
|
lastConfidence: number().nullable(),
|
|
23914
24682
|
currentCondition: SceneConditionSchema.nullable(),
|
|
23915
24683
|
availability: _enum(["ok", "unavailable"]),
|
|
23916
|
-
unavailableReason: string().nullable()
|
|
24684
|
+
unavailableReason: string().nullable(),
|
|
24685
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24686
|
+
baselineStateId: string().nullable(),
|
|
24687
|
+
/** Which boolean drives notification rules and any export. */
|
|
24688
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24689
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24690
|
+
verdict: SceneVerdictSchema,
|
|
24691
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24692
|
+
latched: boolean(),
|
|
24693
|
+
/** Last reset (or creation). */
|
|
24694
|
+
armedAt: number(),
|
|
24695
|
+
divergedAt: number().nullable(),
|
|
24696
|
+
restoredAt: number().nullable(),
|
|
24697
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24698
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24699
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24700
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24701
|
+
/** An observation only advances the pending count when it is at least this
|
|
24702
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24703
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24704
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24705
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24706
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24707
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24708
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24709
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24710
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24711
|
+
* automation can react to the bin coming back without the operator's own
|
|
24712
|
+
* alarm silently clearing itself. */
|
|
24713
|
+
autoRestore: boolean().default(false),
|
|
24714
|
+
/** What to do when the current light has no reference of its own. See
|
|
24715
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24716
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24717
|
+
/**
|
|
24718
|
+
* The light whose checks are currently being SAT OUT under
|
|
24719
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24720
|
+
*
|
|
24721
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24722
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24723
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24724
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24725
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24726
|
+
* read as a broken one.
|
|
24727
|
+
*/
|
|
24728
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24729
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24730
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24731
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24732
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24733
|
+
coveredConditions: array(SceneConditionSchema)
|
|
23917
24734
|
});
|
|
23918
24735
|
var SceneMonitorStatusSchema = object({
|
|
23919
24736
|
monitors: array(SceneMonitorSchema),
|
|
@@ -23946,7 +24763,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23946
24763
|
"both"
|
|
23947
24764
|
]).optional(),
|
|
23948
24765
|
checkIntervalSec: number().optional(),
|
|
23949
|
-
check: SceneCheckSchema.optional()
|
|
24766
|
+
check: SceneCheckSchema.optional(),
|
|
24767
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24768
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24769
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24770
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24771
|
+
autoRestore: boolean().optional(),
|
|
24772
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24773
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24774
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
23950
24775
|
})
|
|
23951
24776
|
}), _void(), {
|
|
23952
24777
|
kind: "mutation",
|
|
@@ -23983,6 +24808,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23983
24808
|
}), _void(), {
|
|
23984
24809
|
kind: "mutation",
|
|
23985
24810
|
auth: "admin"
|
|
24811
|
+
}), method(object({
|
|
24812
|
+
deviceId: number(),
|
|
24813
|
+
monitorId: string(),
|
|
24814
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24815
|
+
recapture: boolean().optional()
|
|
24816
|
+
}), _void(), {
|
|
24817
|
+
kind: "mutation",
|
|
24818
|
+
auth: "admin"
|
|
23986
24819
|
});
|
|
23987
24820
|
/**
|
|
23988
24821
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24291,12 +25124,64 @@ var NetworkAddressSchema = object({
|
|
|
24291
25124
|
family: string(),
|
|
24292
25125
|
internal: boolean()
|
|
24293
25126
|
});
|
|
25127
|
+
/**
|
|
25128
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25129
|
+
* numbers.
|
|
25130
|
+
*
|
|
25131
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25132
|
+
* nothing overwrites it.
|
|
25133
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25134
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25135
|
+
* the sun-times consumers otherwise fall back to.
|
|
25136
|
+
*
|
|
25137
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25138
|
+
* own input will eventually trust the guess.
|
|
25139
|
+
*/
|
|
25140
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25141
|
+
/**
|
|
25142
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25143
|
+
*
|
|
25144
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25145
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25146
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25147
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25148
|
+
* coordinates or presses detect.
|
|
25149
|
+
*/
|
|
25150
|
+
var SiteLocationStatusSchema = object({
|
|
25151
|
+
location: object({
|
|
25152
|
+
/** WGS84 decimal degrees. */
|
|
25153
|
+
latitude: number().min(-90).max(90),
|
|
25154
|
+
longitude: number().min(-180).max(180),
|
|
25155
|
+
source: SiteLocationSourceSchema,
|
|
25156
|
+
/** Epoch ms the value was last written. */
|
|
25157
|
+
updatedAt: number(),
|
|
25158
|
+
/**
|
|
25159
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25160
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25161
|
+
*/
|
|
25162
|
+
label: string().optional()
|
|
25163
|
+
}).nullable(),
|
|
25164
|
+
derivationAttemptedAt: number().nullable(),
|
|
25165
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25166
|
+
derivationError: string().nullable()
|
|
25167
|
+
});
|
|
25168
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25169
|
+
var SetSiteLocationInputSchema = object({
|
|
25170
|
+
latitude: number().min(-90).max(90),
|
|
25171
|
+
longitude: number().min(-180).max(180)
|
|
25172
|
+
}).nullable();
|
|
24294
25173
|
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(), {
|
|
24295
25174
|
kind: "mutation",
|
|
24296
25175
|
auth: "admin"
|
|
24297
25176
|
}), method(_void(), _void(), {
|
|
24298
25177
|
kind: "mutation",
|
|
24299
25178
|
auth: "admin"
|
|
25179
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25180
|
+
kind: "mutation",
|
|
25181
|
+
auth: "admin"
|
|
25182
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25183
|
+
kind: "mutation",
|
|
25184
|
+
auth: "admin"
|
|
24300
25185
|
});
|
|
24301
25186
|
object({
|
|
24302
25187
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27026,6 +27911,12 @@ Object.freeze({
|
|
|
27026
27911
|
addonId: null,
|
|
27027
27912
|
access: "create"
|
|
27028
27913
|
},
|
|
27914
|
+
"llm.cancel": {
|
|
27915
|
+
capName: "llm",
|
|
27916
|
+
capScope: "system",
|
|
27917
|
+
addonId: null,
|
|
27918
|
+
access: "create"
|
|
27919
|
+
},
|
|
27029
27920
|
"llm.deleteModel": {
|
|
27030
27921
|
capName: "llm",
|
|
27031
27922
|
capScope: "system",
|
|
@@ -27110,6 +28001,12 @@ Object.freeze({
|
|
|
27110
28001
|
addonId: null,
|
|
27111
28002
|
access: "view"
|
|
27112
28003
|
},
|
|
28004
|
+
"llm.resolveModelRef": {
|
|
28005
|
+
capName: "llm",
|
|
28006
|
+
capScope: "system",
|
|
28007
|
+
addonId: null,
|
|
28008
|
+
access: "create"
|
|
28009
|
+
},
|
|
27113
28010
|
"llm.setDefault": {
|
|
27114
28011
|
capName: "llm",
|
|
27115
28012
|
capScope: "system",
|
|
@@ -29276,6 +30173,12 @@ Object.freeze({
|
|
|
29276
30173
|
addonId: null,
|
|
29277
30174
|
access: "create"
|
|
29278
30175
|
},
|
|
30176
|
+
"sceneMonitor.resetScene": {
|
|
30177
|
+
capName: "scene-monitor",
|
|
30178
|
+
capScope: "device",
|
|
30179
|
+
addonId: null,
|
|
30180
|
+
access: "delete"
|
|
30181
|
+
},
|
|
29279
30182
|
"sceneMonitor.updateScene": {
|
|
29280
30183
|
capName: "scene-monitor",
|
|
29281
30184
|
capScope: "device",
|
|
@@ -29954,6 +30857,12 @@ Object.freeze({
|
|
|
29954
30857
|
addonId: null,
|
|
29955
30858
|
access: "create"
|
|
29956
30859
|
},
|
|
30860
|
+
"system.detectSiteLocation": {
|
|
30861
|
+
capName: "system",
|
|
30862
|
+
capScope: "system",
|
|
30863
|
+
addonId: null,
|
|
30864
|
+
access: "create"
|
|
30865
|
+
},
|
|
29957
30866
|
"system.featureFlags": {
|
|
29958
30867
|
capName: "system",
|
|
29959
30868
|
capScope: "system",
|
|
@@ -29972,6 +30881,12 @@ Object.freeze({
|
|
|
29972
30881
|
addonId: null,
|
|
29973
30882
|
access: "view"
|
|
29974
30883
|
},
|
|
30884
|
+
"system.getSiteLocation": {
|
|
30885
|
+
capName: "system",
|
|
30886
|
+
capScope: "system",
|
|
30887
|
+
addonId: null,
|
|
30888
|
+
access: "view"
|
|
30889
|
+
},
|
|
29975
30890
|
"system.health": {
|
|
29976
30891
|
capName: "system",
|
|
29977
30892
|
capScope: "system",
|
|
@@ -29996,6 +30911,12 @@ Object.freeze({
|
|
|
29996
30911
|
addonId: null,
|
|
29997
30912
|
access: "create"
|
|
29998
30913
|
},
|
|
30914
|
+
"system.setSiteLocation": {
|
|
30915
|
+
capName: "system",
|
|
30916
|
+
capScope: "system",
|
|
30917
|
+
addonId: null,
|
|
30918
|
+
access: "create"
|
|
30919
|
+
},
|
|
29999
30920
|
"terminalSession.adoptLegacyMonitor": {
|
|
30000
30921
|
capName: "terminal-session",
|
|
30001
30922
|
capScope: "system",
|
|
@@ -30567,6 +31488,1683 @@ Object.freeze({
|
|
|
30567
31488
|
access: "create"
|
|
30568
31489
|
}
|
|
30569
31490
|
});
|
|
31491
|
+
Object.freeze({
|
|
31492
|
+
"accessories.setChildHidden": [{
|
|
31493
|
+
name: "childDeviceId",
|
|
31494
|
+
form: "single",
|
|
31495
|
+
optional: false
|
|
31496
|
+
}, {
|
|
31497
|
+
name: "deviceId",
|
|
31498
|
+
form: "single",
|
|
31499
|
+
optional: false
|
|
31500
|
+
}],
|
|
31501
|
+
"addonSettings.getDeviceSettings": [{
|
|
31502
|
+
name: "deviceId",
|
|
31503
|
+
form: "single",
|
|
31504
|
+
optional: false
|
|
31505
|
+
}],
|
|
31506
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31507
|
+
name: "deviceId",
|
|
31508
|
+
form: "single",
|
|
31509
|
+
optional: false
|
|
31510
|
+
}],
|
|
31511
|
+
"alarmPanel.arm": [{
|
|
31512
|
+
name: "deviceId",
|
|
31513
|
+
form: "single",
|
|
31514
|
+
optional: false
|
|
31515
|
+
}],
|
|
31516
|
+
"alarmPanel.disarm": [{
|
|
31517
|
+
name: "deviceId",
|
|
31518
|
+
form: "single",
|
|
31519
|
+
optional: false
|
|
31520
|
+
}],
|
|
31521
|
+
"alarmPanel.trigger": [{
|
|
31522
|
+
name: "deviceId",
|
|
31523
|
+
form: "single",
|
|
31524
|
+
optional: false
|
|
31525
|
+
}],
|
|
31526
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31527
|
+
name: "deviceId",
|
|
31528
|
+
form: "single",
|
|
31529
|
+
optional: false
|
|
31530
|
+
}],
|
|
31531
|
+
"audioAnalyzer.classify": [{
|
|
31532
|
+
name: "deviceId",
|
|
31533
|
+
form: "single",
|
|
31534
|
+
optional: true
|
|
31535
|
+
}],
|
|
31536
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31537
|
+
name: "deviceId",
|
|
31538
|
+
form: "single",
|
|
31539
|
+
optional: false
|
|
31540
|
+
}],
|
|
31541
|
+
"audioMetrics.getHistory": [{
|
|
31542
|
+
name: "deviceId",
|
|
31543
|
+
form: "single",
|
|
31544
|
+
optional: false
|
|
31545
|
+
}],
|
|
31546
|
+
"automationControl.disable": [{
|
|
31547
|
+
name: "deviceId",
|
|
31548
|
+
form: "single",
|
|
31549
|
+
optional: false
|
|
31550
|
+
}],
|
|
31551
|
+
"automationControl.enable": [{
|
|
31552
|
+
name: "deviceId",
|
|
31553
|
+
form: "single",
|
|
31554
|
+
optional: false
|
|
31555
|
+
}],
|
|
31556
|
+
"automationControl.trigger": [{
|
|
31557
|
+
name: "deviceId",
|
|
31558
|
+
form: "single",
|
|
31559
|
+
optional: false
|
|
31560
|
+
}],
|
|
31561
|
+
"battery.wakeForStream": [{
|
|
31562
|
+
name: "deviceId",
|
|
31563
|
+
form: "single",
|
|
31564
|
+
optional: false
|
|
31565
|
+
}],
|
|
31566
|
+
"brightness.setBrightness": [{
|
|
31567
|
+
name: "deviceId",
|
|
31568
|
+
form: "single",
|
|
31569
|
+
optional: false
|
|
31570
|
+
}],
|
|
31571
|
+
"button.press": [{
|
|
31572
|
+
name: "deviceId",
|
|
31573
|
+
form: "single",
|
|
31574
|
+
optional: false
|
|
31575
|
+
}],
|
|
31576
|
+
"cameraCredentials.getCredentials": [{
|
|
31577
|
+
name: "deviceId",
|
|
31578
|
+
form: "single",
|
|
31579
|
+
optional: false
|
|
31580
|
+
}],
|
|
31581
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31582
|
+
name: "deviceId",
|
|
31583
|
+
form: "single",
|
|
31584
|
+
optional: false
|
|
31585
|
+
}],
|
|
31586
|
+
"cameraStreams.getCameraStreams": [{
|
|
31587
|
+
name: "deviceId",
|
|
31588
|
+
form: "single",
|
|
31589
|
+
optional: false
|
|
31590
|
+
}],
|
|
31591
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31592
|
+
name: "deviceId",
|
|
31593
|
+
form: "single",
|
|
31594
|
+
optional: false
|
|
31595
|
+
}],
|
|
31596
|
+
"cameraStreams.getRtspEntries": [{
|
|
31597
|
+
name: "deviceId",
|
|
31598
|
+
form: "single",
|
|
31599
|
+
optional: false
|
|
31600
|
+
}],
|
|
31601
|
+
"cameraStreams.pickStream": [{
|
|
31602
|
+
name: "deviceId",
|
|
31603
|
+
form: "single",
|
|
31604
|
+
optional: false
|
|
31605
|
+
}],
|
|
31606
|
+
"climateControl.setFanMode": [{
|
|
31607
|
+
name: "deviceId",
|
|
31608
|
+
form: "single",
|
|
31609
|
+
optional: false
|
|
31610
|
+
}],
|
|
31611
|
+
"climateControl.setMode": [{
|
|
31612
|
+
name: "deviceId",
|
|
31613
|
+
form: "single",
|
|
31614
|
+
optional: false
|
|
31615
|
+
}],
|
|
31616
|
+
"climateControl.setPreset": [{
|
|
31617
|
+
name: "deviceId",
|
|
31618
|
+
form: "single",
|
|
31619
|
+
optional: false
|
|
31620
|
+
}],
|
|
31621
|
+
"climateControl.setSwingHorizontal": [{
|
|
31622
|
+
name: "deviceId",
|
|
31623
|
+
form: "single",
|
|
31624
|
+
optional: false
|
|
31625
|
+
}],
|
|
31626
|
+
"climateControl.setSwingVertical": [{
|
|
31627
|
+
name: "deviceId",
|
|
31628
|
+
form: "single",
|
|
31629
|
+
optional: false
|
|
31630
|
+
}],
|
|
31631
|
+
"climateControl.setTarget": [{
|
|
31632
|
+
name: "deviceId",
|
|
31633
|
+
form: "single",
|
|
31634
|
+
optional: false
|
|
31635
|
+
}],
|
|
31636
|
+
"climateControl.setTargetHumidity": [{
|
|
31637
|
+
name: "deviceId",
|
|
31638
|
+
form: "single",
|
|
31639
|
+
optional: false
|
|
31640
|
+
}],
|
|
31641
|
+
"climateControl.setTargetRange": [{
|
|
31642
|
+
name: "deviceId",
|
|
31643
|
+
form: "single",
|
|
31644
|
+
optional: false
|
|
31645
|
+
}],
|
|
31646
|
+
"color.setColor": [{
|
|
31647
|
+
name: "deviceId",
|
|
31648
|
+
form: "single",
|
|
31649
|
+
optional: false
|
|
31650
|
+
}],
|
|
31651
|
+
"consumables.reset": [{
|
|
31652
|
+
name: "deviceId",
|
|
31653
|
+
form: "single",
|
|
31654
|
+
optional: false
|
|
31655
|
+
}],
|
|
31656
|
+
"control.setValue": [{
|
|
31657
|
+
name: "deviceId",
|
|
31658
|
+
form: "single",
|
|
31659
|
+
optional: false
|
|
31660
|
+
}],
|
|
31661
|
+
"cover.close": [{
|
|
31662
|
+
name: "deviceId",
|
|
31663
|
+
form: "single",
|
|
31664
|
+
optional: false
|
|
31665
|
+
}],
|
|
31666
|
+
"cover.open": [{
|
|
31667
|
+
name: "deviceId",
|
|
31668
|
+
form: "single",
|
|
31669
|
+
optional: false
|
|
31670
|
+
}],
|
|
31671
|
+
"cover.setPosition": [{
|
|
31672
|
+
name: "deviceId",
|
|
31673
|
+
form: "single",
|
|
31674
|
+
optional: false
|
|
31675
|
+
}],
|
|
31676
|
+
"cover.setTiltPosition": [{
|
|
31677
|
+
name: "deviceId",
|
|
31678
|
+
form: "single",
|
|
31679
|
+
optional: false
|
|
31680
|
+
}],
|
|
31681
|
+
"cover.stop": [{
|
|
31682
|
+
name: "deviceId",
|
|
31683
|
+
form: "single",
|
|
31684
|
+
optional: false
|
|
31685
|
+
}],
|
|
31686
|
+
"dayNight.getOptions": [{
|
|
31687
|
+
name: "deviceId",
|
|
31688
|
+
form: "single",
|
|
31689
|
+
optional: false
|
|
31690
|
+
}],
|
|
31691
|
+
"dayNight.setSettings": [{
|
|
31692
|
+
name: "deviceId",
|
|
31693
|
+
form: "single",
|
|
31694
|
+
optional: false
|
|
31695
|
+
}],
|
|
31696
|
+
"decoder.createSession": [{
|
|
31697
|
+
name: "deviceId",
|
|
31698
|
+
form: "single",
|
|
31699
|
+
optional: true
|
|
31700
|
+
}],
|
|
31701
|
+
"deviceAdoption.release": [{
|
|
31702
|
+
name: "camDeviceId",
|
|
31703
|
+
form: "single",
|
|
31704
|
+
optional: false
|
|
31705
|
+
}],
|
|
31706
|
+
"deviceAdoption.resync": [{
|
|
31707
|
+
name: "camDeviceId",
|
|
31708
|
+
form: "single",
|
|
31709
|
+
optional: false
|
|
31710
|
+
}],
|
|
31711
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31712
|
+
name: "deviceId",
|
|
31713
|
+
form: "single",
|
|
31714
|
+
optional: false
|
|
31715
|
+
}],
|
|
31716
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31717
|
+
name: "deviceId",
|
|
31718
|
+
form: "single",
|
|
31719
|
+
optional: false
|
|
31720
|
+
}],
|
|
31721
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31722
|
+
name: "deviceId",
|
|
31723
|
+
form: "single",
|
|
31724
|
+
optional: false
|
|
31725
|
+
}],
|
|
31726
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31727
|
+
name: "childDeviceId",
|
|
31728
|
+
form: "single",
|
|
31729
|
+
optional: false
|
|
31730
|
+
}, {
|
|
31731
|
+
name: "deviceId",
|
|
31732
|
+
form: "single",
|
|
31733
|
+
optional: false
|
|
31734
|
+
}],
|
|
31735
|
+
"deviceManager.adoptionRelease": [{
|
|
31736
|
+
name: "camDeviceId",
|
|
31737
|
+
form: "single",
|
|
31738
|
+
optional: false
|
|
31739
|
+
}],
|
|
31740
|
+
"deviceManager.adoptionResync": [{
|
|
31741
|
+
name: "camDeviceId",
|
|
31742
|
+
form: "single",
|
|
31743
|
+
optional: false
|
|
31744
|
+
}],
|
|
31745
|
+
"deviceManager.applyInitialMeta": [{
|
|
31746
|
+
name: "deviceId",
|
|
31747
|
+
form: "single",
|
|
31748
|
+
optional: false
|
|
31749
|
+
}, {
|
|
31750
|
+
name: "linkDeviceId",
|
|
31751
|
+
form: "single",
|
|
31752
|
+
optional: true
|
|
31753
|
+
}],
|
|
31754
|
+
"deviceManager.disable": [{
|
|
31755
|
+
name: "deviceId",
|
|
31756
|
+
form: "single",
|
|
31757
|
+
optional: false
|
|
31758
|
+
}],
|
|
31759
|
+
"deviceManager.enable": [{
|
|
31760
|
+
name: "deviceId",
|
|
31761
|
+
form: "single",
|
|
31762
|
+
optional: false
|
|
31763
|
+
}],
|
|
31764
|
+
"deviceManager.getBindings": [{
|
|
31765
|
+
name: "deviceId",
|
|
31766
|
+
form: "single",
|
|
31767
|
+
optional: false
|
|
31768
|
+
}],
|
|
31769
|
+
"deviceManager.getChildren": [{
|
|
31770
|
+
name: "parentDeviceId",
|
|
31771
|
+
form: "single",
|
|
31772
|
+
optional: false
|
|
31773
|
+
}],
|
|
31774
|
+
"deviceManager.getConfigSchema": [{
|
|
31775
|
+
name: "deviceId",
|
|
31776
|
+
form: "single",
|
|
31777
|
+
optional: false
|
|
31778
|
+
}],
|
|
31779
|
+
"deviceManager.getDevice": [{
|
|
31780
|
+
name: "deviceId",
|
|
31781
|
+
form: "single",
|
|
31782
|
+
optional: false
|
|
31783
|
+
}],
|
|
31784
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31785
|
+
name: "deviceId",
|
|
31786
|
+
form: "single",
|
|
31787
|
+
optional: false
|
|
31788
|
+
}],
|
|
31789
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31790
|
+
name: "deviceId",
|
|
31791
|
+
form: "single",
|
|
31792
|
+
optional: false
|
|
31793
|
+
}],
|
|
31794
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31795
|
+
name: "deviceId",
|
|
31796
|
+
form: "single",
|
|
31797
|
+
optional: false
|
|
31798
|
+
}],
|
|
31799
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31800
|
+
name: "deviceId",
|
|
31801
|
+
form: "single",
|
|
31802
|
+
optional: false
|
|
31803
|
+
}],
|
|
31804
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31805
|
+
name: "deviceIds",
|
|
31806
|
+
form: "array",
|
|
31807
|
+
optional: false
|
|
31808
|
+
}],
|
|
31809
|
+
"deviceManager.getLinkedDevices": [{
|
|
31810
|
+
name: "deviceId",
|
|
31811
|
+
form: "single",
|
|
31812
|
+
optional: false
|
|
31813
|
+
}],
|
|
31814
|
+
"deviceManager.getSettingsSchema": [{
|
|
31815
|
+
name: "deviceId",
|
|
31816
|
+
form: "single",
|
|
31817
|
+
optional: false
|
|
31818
|
+
}],
|
|
31819
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31820
|
+
name: "deviceId",
|
|
31821
|
+
form: "single",
|
|
31822
|
+
optional: false
|
|
31823
|
+
}],
|
|
31824
|
+
"deviceManager.getStreamSources": [{
|
|
31825
|
+
name: "deviceId",
|
|
31826
|
+
form: "single",
|
|
31827
|
+
optional: false
|
|
31828
|
+
}],
|
|
31829
|
+
"deviceManager.getWireableFields": [{
|
|
31830
|
+
name: "deviceId",
|
|
31831
|
+
form: "single",
|
|
31832
|
+
optional: false
|
|
31833
|
+
}],
|
|
31834
|
+
"deviceManager.loadConfig": [{
|
|
31835
|
+
name: "deviceId",
|
|
31836
|
+
form: "single",
|
|
31837
|
+
optional: false
|
|
31838
|
+
}],
|
|
31839
|
+
"deviceManager.loadMeta": [{
|
|
31840
|
+
name: "deviceId",
|
|
31841
|
+
form: "single",
|
|
31842
|
+
optional: false
|
|
31843
|
+
}],
|
|
31844
|
+
"deviceManager.loadRuntimeState": [{
|
|
31845
|
+
name: "deviceId",
|
|
31846
|
+
form: "single",
|
|
31847
|
+
optional: false
|
|
31848
|
+
}],
|
|
31849
|
+
"deviceManager.persistConfig": [{
|
|
31850
|
+
name: "deviceId",
|
|
31851
|
+
form: "single",
|
|
31852
|
+
optional: false
|
|
31853
|
+
}],
|
|
31854
|
+
"deviceManager.probeStreams": [{
|
|
31855
|
+
name: "deviceId",
|
|
31856
|
+
form: "single",
|
|
31857
|
+
optional: false
|
|
31858
|
+
}],
|
|
31859
|
+
"deviceManager.registerDevice": [{
|
|
31860
|
+
name: "parentDeviceId",
|
|
31861
|
+
form: "single",
|
|
31862
|
+
optional: true
|
|
31863
|
+
}],
|
|
31864
|
+
"deviceManager.remove": [{
|
|
31865
|
+
name: "deviceId",
|
|
31866
|
+
form: "single",
|
|
31867
|
+
optional: false
|
|
31868
|
+
}],
|
|
31869
|
+
"deviceManager.removeDevice": [{
|
|
31870
|
+
name: "deviceId",
|
|
31871
|
+
form: "single",
|
|
31872
|
+
optional: false
|
|
31873
|
+
}],
|
|
31874
|
+
"deviceManager.runDeviceAction": [{
|
|
31875
|
+
name: "deviceId",
|
|
31876
|
+
form: "single",
|
|
31877
|
+
optional: false
|
|
31878
|
+
}],
|
|
31879
|
+
"deviceManager.setChildLayout": [{
|
|
31880
|
+
name: "deviceId",
|
|
31881
|
+
form: "single",
|
|
31882
|
+
optional: false
|
|
31883
|
+
}],
|
|
31884
|
+
"deviceManager.setDisabled": [{
|
|
31885
|
+
name: "deviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: false
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceManager.setDisplay": [{
|
|
31890
|
+
name: "deviceId",
|
|
31891
|
+
form: "single",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}],
|
|
31894
|
+
"deviceManager.setIntegrationId": [{
|
|
31895
|
+
name: "deviceId",
|
|
31896
|
+
form: "single",
|
|
31897
|
+
optional: false
|
|
31898
|
+
}],
|
|
31899
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31900
|
+
name: "deviceId",
|
|
31901
|
+
form: "single",
|
|
31902
|
+
optional: false
|
|
31903
|
+
}, {
|
|
31904
|
+
name: "linkDeviceId",
|
|
31905
|
+
form: "single",
|
|
31906
|
+
optional: true
|
|
31907
|
+
}],
|
|
31908
|
+
"deviceManager.setLocation": [{
|
|
31909
|
+
name: "deviceId",
|
|
31910
|
+
form: "single",
|
|
31911
|
+
optional: false
|
|
31912
|
+
}],
|
|
31913
|
+
"deviceManager.setMetadata": [{
|
|
31914
|
+
name: "deviceId",
|
|
31915
|
+
form: "single",
|
|
31916
|
+
optional: false
|
|
31917
|
+
}],
|
|
31918
|
+
"deviceManager.setName": [{
|
|
31919
|
+
name: "deviceId",
|
|
31920
|
+
form: "single",
|
|
31921
|
+
optional: false
|
|
31922
|
+
}],
|
|
31923
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31924
|
+
name: "deviceId",
|
|
31925
|
+
form: "single",
|
|
31926
|
+
optional: false
|
|
31927
|
+
}],
|
|
31928
|
+
"deviceManager.setRole": [{
|
|
31929
|
+
name: "deviceId",
|
|
31930
|
+
form: "single",
|
|
31931
|
+
optional: false
|
|
31932
|
+
}],
|
|
31933
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31934
|
+
name: "deviceId",
|
|
31935
|
+
form: "single",
|
|
31936
|
+
optional: false
|
|
31937
|
+
}],
|
|
31938
|
+
"deviceManager.setType": [{
|
|
31939
|
+
name: "deviceId",
|
|
31940
|
+
form: "single",
|
|
31941
|
+
optional: false
|
|
31942
|
+
}],
|
|
31943
|
+
"deviceManager.setWrapperActive": [{
|
|
31944
|
+
name: "deviceId",
|
|
31945
|
+
form: "single",
|
|
31946
|
+
optional: false
|
|
31947
|
+
}],
|
|
31948
|
+
"deviceManager.testField": [{
|
|
31949
|
+
name: "deviceId",
|
|
31950
|
+
form: "single",
|
|
31951
|
+
optional: false
|
|
31952
|
+
}],
|
|
31953
|
+
"deviceManager.updateConfig": [{
|
|
31954
|
+
name: "deviceId",
|
|
31955
|
+
form: "single",
|
|
31956
|
+
optional: false
|
|
31957
|
+
}],
|
|
31958
|
+
"deviceManager.updateDeviceField": [{
|
|
31959
|
+
name: "deviceId",
|
|
31960
|
+
form: "single",
|
|
31961
|
+
optional: false
|
|
31962
|
+
}],
|
|
31963
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
31964
|
+
name: "deviceId",
|
|
31965
|
+
form: "single",
|
|
31966
|
+
optional: false
|
|
31967
|
+
}],
|
|
31968
|
+
"deviceOps.getConfigEntries": [{
|
|
31969
|
+
name: "deviceId",
|
|
31970
|
+
form: "single",
|
|
31971
|
+
optional: false
|
|
31972
|
+
}],
|
|
31973
|
+
"deviceOps.getRawState": [{
|
|
31974
|
+
name: "deviceId",
|
|
31975
|
+
form: "single",
|
|
31976
|
+
optional: false
|
|
31977
|
+
}],
|
|
31978
|
+
"deviceOps.getSettingsSchema": [{
|
|
31979
|
+
name: "deviceId",
|
|
31980
|
+
form: "single",
|
|
31981
|
+
optional: false
|
|
31982
|
+
}],
|
|
31983
|
+
"deviceOps.getStreamSources": [{
|
|
31984
|
+
name: "deviceId",
|
|
31985
|
+
form: "single",
|
|
31986
|
+
optional: false
|
|
31987
|
+
}],
|
|
31988
|
+
"deviceOps.removeDevice": [{
|
|
31989
|
+
name: "deviceId",
|
|
31990
|
+
form: "single",
|
|
31991
|
+
optional: false
|
|
31992
|
+
}],
|
|
31993
|
+
"deviceOps.runAction": [{
|
|
31994
|
+
name: "deviceId",
|
|
31995
|
+
form: "single",
|
|
31996
|
+
optional: false
|
|
31997
|
+
}],
|
|
31998
|
+
"deviceOps.setConfig": [{
|
|
31999
|
+
name: "deviceId",
|
|
32000
|
+
form: "single",
|
|
32001
|
+
optional: false
|
|
32002
|
+
}],
|
|
32003
|
+
"deviceState.getCapSlice": [{
|
|
32004
|
+
name: "deviceId",
|
|
32005
|
+
form: "single",
|
|
32006
|
+
optional: false
|
|
32007
|
+
}],
|
|
32008
|
+
"deviceState.getSnapshot": [{
|
|
32009
|
+
name: "deviceId",
|
|
32010
|
+
form: "single",
|
|
32011
|
+
optional: false
|
|
32012
|
+
}],
|
|
32013
|
+
"deviceState.setCapSlice": [{
|
|
32014
|
+
name: "deviceId",
|
|
32015
|
+
form: "single",
|
|
32016
|
+
optional: false
|
|
32017
|
+
}],
|
|
32018
|
+
"events.getEventClipUrl": [{
|
|
32019
|
+
name: "deviceId",
|
|
32020
|
+
form: "single",
|
|
32021
|
+
optional: false
|
|
32022
|
+
}],
|
|
32023
|
+
"events.getEvents": [{
|
|
32024
|
+
name: "deviceId",
|
|
32025
|
+
form: "single",
|
|
32026
|
+
optional: false
|
|
32027
|
+
}],
|
|
32028
|
+
"events.getEventThumbnail": [{
|
|
32029
|
+
name: "deviceId",
|
|
32030
|
+
form: "single",
|
|
32031
|
+
optional: false
|
|
32032
|
+
}],
|
|
32033
|
+
"faceGallery.getFaceByTrack": [{
|
|
32034
|
+
name: "deviceId",
|
|
32035
|
+
form: "single",
|
|
32036
|
+
optional: false
|
|
32037
|
+
}],
|
|
32038
|
+
"faceGallery.listRecentFaces": [{
|
|
32039
|
+
name: "deviceId",
|
|
32040
|
+
form: "single",
|
|
32041
|
+
optional: true
|
|
32042
|
+
}],
|
|
32043
|
+
"fanControl.setDirection": [{
|
|
32044
|
+
name: "deviceId",
|
|
32045
|
+
form: "single",
|
|
32046
|
+
optional: false
|
|
32047
|
+
}],
|
|
32048
|
+
"fanControl.setOscillating": [{
|
|
32049
|
+
name: "deviceId",
|
|
32050
|
+
form: "single",
|
|
32051
|
+
optional: false
|
|
32052
|
+
}],
|
|
32053
|
+
"fanControl.setPercentage": [{
|
|
32054
|
+
name: "deviceId",
|
|
32055
|
+
form: "single",
|
|
32056
|
+
optional: false
|
|
32057
|
+
}],
|
|
32058
|
+
"fanControl.setPreset": [{
|
|
32059
|
+
name: "deviceId",
|
|
32060
|
+
form: "single",
|
|
32061
|
+
optional: false
|
|
32062
|
+
}],
|
|
32063
|
+
"humidifier.setMode": [{
|
|
32064
|
+
name: "deviceId",
|
|
32065
|
+
form: "single",
|
|
32066
|
+
optional: false
|
|
32067
|
+
}],
|
|
32068
|
+
"humidifier.setOn": [{
|
|
32069
|
+
name: "deviceId",
|
|
32070
|
+
form: "single",
|
|
32071
|
+
optional: false
|
|
32072
|
+
}],
|
|
32073
|
+
"humidifier.setTargetHumidity": [{
|
|
32074
|
+
name: "deviceId",
|
|
32075
|
+
form: "single",
|
|
32076
|
+
optional: false
|
|
32077
|
+
}],
|
|
32078
|
+
"imageSettings.getOptions": [{
|
|
32079
|
+
name: "deviceId",
|
|
32080
|
+
form: "single",
|
|
32081
|
+
optional: false
|
|
32082
|
+
}],
|
|
32083
|
+
"imageSettings.setSettings": [{
|
|
32084
|
+
name: "deviceId",
|
|
32085
|
+
form: "single",
|
|
32086
|
+
optional: false
|
|
32087
|
+
}],
|
|
32088
|
+
"intercom.endTalkSession": [{
|
|
32089
|
+
name: "deviceId",
|
|
32090
|
+
form: "single",
|
|
32091
|
+
optional: false
|
|
32092
|
+
}],
|
|
32093
|
+
"intercom.handleAnswer": [{
|
|
32094
|
+
name: "deviceId",
|
|
32095
|
+
form: "single",
|
|
32096
|
+
optional: false
|
|
32097
|
+
}],
|
|
32098
|
+
"intercom.pushTalkAudio": [{
|
|
32099
|
+
name: "deviceId",
|
|
32100
|
+
form: "single",
|
|
32101
|
+
optional: false
|
|
32102
|
+
}],
|
|
32103
|
+
"intercom.startSession": [{
|
|
32104
|
+
name: "deviceId",
|
|
32105
|
+
form: "single",
|
|
32106
|
+
optional: false
|
|
32107
|
+
}],
|
|
32108
|
+
"intercom.startTalkSession": [{
|
|
32109
|
+
name: "deviceId",
|
|
32110
|
+
form: "single",
|
|
32111
|
+
optional: false
|
|
32112
|
+
}],
|
|
32113
|
+
"intercom.stopSession": [{
|
|
32114
|
+
name: "deviceId",
|
|
32115
|
+
form: "single",
|
|
32116
|
+
optional: false
|
|
32117
|
+
}],
|
|
32118
|
+
"lawnMowerControl.dock": [{
|
|
32119
|
+
name: "deviceId",
|
|
32120
|
+
form: "single",
|
|
32121
|
+
optional: false
|
|
32122
|
+
}],
|
|
32123
|
+
"lawnMowerControl.pause": [{
|
|
32124
|
+
name: "deviceId",
|
|
32125
|
+
form: "single",
|
|
32126
|
+
optional: false
|
|
32127
|
+
}],
|
|
32128
|
+
"lawnMowerControl.startMowing": [{
|
|
32129
|
+
name: "deviceId",
|
|
32130
|
+
form: "single",
|
|
32131
|
+
optional: false
|
|
32132
|
+
}],
|
|
32133
|
+
"lockControl.lock": [{
|
|
32134
|
+
name: "deviceId",
|
|
32135
|
+
form: "single",
|
|
32136
|
+
optional: false
|
|
32137
|
+
}],
|
|
32138
|
+
"lockControl.open": [{
|
|
32139
|
+
name: "deviceId",
|
|
32140
|
+
form: "single",
|
|
32141
|
+
optional: false
|
|
32142
|
+
}],
|
|
32143
|
+
"lockControl.unlock": [{
|
|
32144
|
+
name: "deviceId",
|
|
32145
|
+
form: "single",
|
|
32146
|
+
optional: false
|
|
32147
|
+
}],
|
|
32148
|
+
"mediaPlayer.next": [{
|
|
32149
|
+
name: "deviceId",
|
|
32150
|
+
form: "single",
|
|
32151
|
+
optional: false
|
|
32152
|
+
}],
|
|
32153
|
+
"mediaPlayer.pause": [{
|
|
32154
|
+
name: "deviceId",
|
|
32155
|
+
form: "single",
|
|
32156
|
+
optional: false
|
|
32157
|
+
}],
|
|
32158
|
+
"mediaPlayer.play": [{
|
|
32159
|
+
name: "deviceId",
|
|
32160
|
+
form: "single",
|
|
32161
|
+
optional: false
|
|
32162
|
+
}],
|
|
32163
|
+
"mediaPlayer.playMedia": [{
|
|
32164
|
+
name: "deviceId",
|
|
32165
|
+
form: "single",
|
|
32166
|
+
optional: false
|
|
32167
|
+
}],
|
|
32168
|
+
"mediaPlayer.previous": [{
|
|
32169
|
+
name: "deviceId",
|
|
32170
|
+
form: "single",
|
|
32171
|
+
optional: false
|
|
32172
|
+
}],
|
|
32173
|
+
"mediaPlayer.seek": [{
|
|
32174
|
+
name: "deviceId",
|
|
32175
|
+
form: "single",
|
|
32176
|
+
optional: false
|
|
32177
|
+
}],
|
|
32178
|
+
"mediaPlayer.selectSource": [{
|
|
32179
|
+
name: "deviceId",
|
|
32180
|
+
form: "single",
|
|
32181
|
+
optional: false
|
|
32182
|
+
}],
|
|
32183
|
+
"mediaPlayer.setMute": [{
|
|
32184
|
+
name: "deviceId",
|
|
32185
|
+
form: "single",
|
|
32186
|
+
optional: false
|
|
32187
|
+
}],
|
|
32188
|
+
"mediaPlayer.setRepeat": [{
|
|
32189
|
+
name: "deviceId",
|
|
32190
|
+
form: "single",
|
|
32191
|
+
optional: false
|
|
32192
|
+
}],
|
|
32193
|
+
"mediaPlayer.setShuffle": [{
|
|
32194
|
+
name: "deviceId",
|
|
32195
|
+
form: "single",
|
|
32196
|
+
optional: false
|
|
32197
|
+
}],
|
|
32198
|
+
"mediaPlayer.setVolume": [{
|
|
32199
|
+
name: "deviceId",
|
|
32200
|
+
form: "single",
|
|
32201
|
+
optional: false
|
|
32202
|
+
}],
|
|
32203
|
+
"mediaPlayer.stop": [{
|
|
32204
|
+
name: "deviceId",
|
|
32205
|
+
form: "single",
|
|
32206
|
+
optional: false
|
|
32207
|
+
}],
|
|
32208
|
+
"motion.isDetected": [{
|
|
32209
|
+
name: "deviceId",
|
|
32210
|
+
form: "single",
|
|
32211
|
+
optional: false
|
|
32212
|
+
}],
|
|
32213
|
+
"motionDetection.analyze": [{
|
|
32214
|
+
name: "deviceId",
|
|
32215
|
+
form: "single",
|
|
32216
|
+
optional: false
|
|
32217
|
+
}],
|
|
32218
|
+
"motionDetection.removeCamera": [{
|
|
32219
|
+
name: "deviceId",
|
|
32220
|
+
form: "single",
|
|
32221
|
+
optional: false
|
|
32222
|
+
}],
|
|
32223
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32224
|
+
name: "deviceId",
|
|
32225
|
+
form: "single",
|
|
32226
|
+
optional: false
|
|
32227
|
+
}],
|
|
32228
|
+
"motionZones.getOptions": [{
|
|
32229
|
+
name: "deviceId",
|
|
32230
|
+
form: "single",
|
|
32231
|
+
optional: false
|
|
32232
|
+
}],
|
|
32233
|
+
"motionZones.setZone": [{
|
|
32234
|
+
name: "deviceId",
|
|
32235
|
+
form: "single",
|
|
32236
|
+
optional: false
|
|
32237
|
+
}],
|
|
32238
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32239
|
+
name: "deviceId",
|
|
32240
|
+
form: "single",
|
|
32241
|
+
optional: false
|
|
32242
|
+
}],
|
|
32243
|
+
"networkQuality.getDeviceStats": [{
|
|
32244
|
+
name: "deviceId",
|
|
32245
|
+
form: "single",
|
|
32246
|
+
optional: false
|
|
32247
|
+
}],
|
|
32248
|
+
"networkQuality.reportClientStats": [{
|
|
32249
|
+
name: "deviceId",
|
|
32250
|
+
form: "single",
|
|
32251
|
+
optional: false
|
|
32252
|
+
}],
|
|
32253
|
+
"notificationRules.setDeviceMuted": [{
|
|
32254
|
+
name: "deviceId",
|
|
32255
|
+
form: "single",
|
|
32256
|
+
optional: false
|
|
32257
|
+
}],
|
|
32258
|
+
"notifier.cancel": [{
|
|
32259
|
+
name: "deviceId",
|
|
32260
|
+
form: "single",
|
|
32261
|
+
optional: false
|
|
32262
|
+
}],
|
|
32263
|
+
"notifier.send": [{
|
|
32264
|
+
name: "deviceId",
|
|
32265
|
+
form: "single",
|
|
32266
|
+
optional: false
|
|
32267
|
+
}],
|
|
32268
|
+
"osd.setOverlay": [{
|
|
32269
|
+
name: "deviceId",
|
|
32270
|
+
form: "single",
|
|
32271
|
+
optional: false
|
|
32272
|
+
}],
|
|
32273
|
+
"osdManager.clearSlotBinding": [{
|
|
32274
|
+
name: "deviceId",
|
|
32275
|
+
form: "single",
|
|
32276
|
+
optional: false
|
|
32277
|
+
}],
|
|
32278
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32279
|
+
name: "sourceDeviceId",
|
|
32280
|
+
form: "single",
|
|
32281
|
+
optional: false
|
|
32282
|
+
}, {
|
|
32283
|
+
name: "targetDeviceId",
|
|
32284
|
+
form: "single",
|
|
32285
|
+
optional: false
|
|
32286
|
+
}],
|
|
32287
|
+
"osdManager.getDeviceOsd": [{
|
|
32288
|
+
name: "deviceId",
|
|
32289
|
+
form: "single",
|
|
32290
|
+
optional: false
|
|
32291
|
+
}],
|
|
32292
|
+
"osdManager.getSourceCatalog": [{
|
|
32293
|
+
name: "deviceId",
|
|
32294
|
+
form: "single",
|
|
32295
|
+
optional: false
|
|
32296
|
+
}],
|
|
32297
|
+
"osdManager.previewSlot": [{
|
|
32298
|
+
name: "deviceId",
|
|
32299
|
+
form: "single",
|
|
32300
|
+
optional: false
|
|
32301
|
+
}],
|
|
32302
|
+
"osdManager.renderDevice": [{
|
|
32303
|
+
name: "deviceId",
|
|
32304
|
+
form: "single",
|
|
32305
|
+
optional: false
|
|
32306
|
+
}],
|
|
32307
|
+
"osdManager.setSlotBinding": [{
|
|
32308
|
+
name: "deviceId",
|
|
32309
|
+
form: "single",
|
|
32310
|
+
optional: false
|
|
32311
|
+
}],
|
|
32312
|
+
"petFeeder.callPet": [{
|
|
32313
|
+
name: "deviceId",
|
|
32314
|
+
form: "single",
|
|
32315
|
+
optional: false
|
|
32316
|
+
}],
|
|
32317
|
+
"petFeeder.cancelFeed": [{
|
|
32318
|
+
name: "deviceId",
|
|
32319
|
+
form: "single",
|
|
32320
|
+
optional: false
|
|
32321
|
+
}],
|
|
32322
|
+
"petFeeder.feed": [{
|
|
32323
|
+
name: "deviceId",
|
|
32324
|
+
form: "single",
|
|
32325
|
+
optional: false
|
|
32326
|
+
}],
|
|
32327
|
+
"petFeeder.markFoodReplenished": [{
|
|
32328
|
+
name: "deviceId",
|
|
32329
|
+
form: "single",
|
|
32330
|
+
optional: false
|
|
32331
|
+
}],
|
|
32332
|
+
"petFeeder.playSound": [{
|
|
32333
|
+
name: "deviceId",
|
|
32334
|
+
form: "single",
|
|
32335
|
+
optional: false
|
|
32336
|
+
}],
|
|
32337
|
+
"petFeeder.resetDesiccant": [{
|
|
32338
|
+
name: "deviceId",
|
|
32339
|
+
form: "single",
|
|
32340
|
+
optional: false
|
|
32341
|
+
}],
|
|
32342
|
+
"petFeeder.setChildLock": [{
|
|
32343
|
+
name: "deviceId",
|
|
32344
|
+
form: "single",
|
|
32345
|
+
optional: false
|
|
32346
|
+
}],
|
|
32347
|
+
"petFeeder.setFeedSound": [{
|
|
32348
|
+
name: "deviceId",
|
|
32349
|
+
form: "single",
|
|
32350
|
+
optional: false
|
|
32351
|
+
}],
|
|
32352
|
+
"petFeeder.setIndicatorLight": [{
|
|
32353
|
+
name: "deviceId",
|
|
32354
|
+
form: "single",
|
|
32355
|
+
optional: false
|
|
32356
|
+
}],
|
|
32357
|
+
"petFeeder.setVolume": [{
|
|
32358
|
+
name: "deviceId",
|
|
32359
|
+
form: "single",
|
|
32360
|
+
optional: false
|
|
32361
|
+
}],
|
|
32362
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32363
|
+
name: "deviceId",
|
|
32364
|
+
form: "single",
|
|
32365
|
+
optional: false
|
|
32366
|
+
}],
|
|
32367
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32368
|
+
name: "deviceId",
|
|
32369
|
+
form: "single",
|
|
32370
|
+
optional: false
|
|
32371
|
+
}],
|
|
32372
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32373
|
+
name: "deviceId",
|
|
32374
|
+
form: "single",
|
|
32375
|
+
optional: false
|
|
32376
|
+
}],
|
|
32377
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32378
|
+
name: "deviceId",
|
|
32379
|
+
form: "single",
|
|
32380
|
+
optional: false
|
|
32381
|
+
}],
|
|
32382
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32383
|
+
name: "deviceId",
|
|
32384
|
+
form: "single",
|
|
32385
|
+
optional: false
|
|
32386
|
+
}],
|
|
32387
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32388
|
+
name: "deviceId",
|
|
32389
|
+
form: "single",
|
|
32390
|
+
optional: false
|
|
32391
|
+
}],
|
|
32392
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32393
|
+
name: "deviceId",
|
|
32394
|
+
form: "single",
|
|
32395
|
+
optional: false
|
|
32396
|
+
}],
|
|
32397
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32398
|
+
name: "deviceId",
|
|
32399
|
+
form: "single",
|
|
32400
|
+
optional: false
|
|
32401
|
+
}],
|
|
32402
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32403
|
+
name: "deviceId",
|
|
32404
|
+
form: "single",
|
|
32405
|
+
optional: false
|
|
32406
|
+
}],
|
|
32407
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32408
|
+
name: "deviceId",
|
|
32409
|
+
form: "single",
|
|
32410
|
+
optional: false
|
|
32411
|
+
}],
|
|
32412
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32413
|
+
name: "deviceId",
|
|
32414
|
+
form: "single",
|
|
32415
|
+
optional: false
|
|
32416
|
+
}],
|
|
32417
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32418
|
+
name: "deviceIds",
|
|
32419
|
+
form: "array",
|
|
32420
|
+
optional: true
|
|
32421
|
+
}],
|
|
32422
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32423
|
+
name: "deviceId",
|
|
32424
|
+
form: "single",
|
|
32425
|
+
optional: false
|
|
32426
|
+
}],
|
|
32427
|
+
"pipelineAnalytics.getTrack": [{
|
|
32428
|
+
name: "deviceId",
|
|
32429
|
+
form: "single",
|
|
32430
|
+
optional: false
|
|
32431
|
+
}],
|
|
32432
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32433
|
+
name: "deviceIds",
|
|
32434
|
+
form: "array",
|
|
32435
|
+
optional: true
|
|
32436
|
+
}],
|
|
32437
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32438
|
+
name: "deviceIds",
|
|
32439
|
+
form: "array",
|
|
32440
|
+
optional: true
|
|
32441
|
+
}],
|
|
32442
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32443
|
+
name: "deviceId",
|
|
32444
|
+
form: "single",
|
|
32445
|
+
optional: false
|
|
32446
|
+
}],
|
|
32447
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32448
|
+
name: "deviceIds",
|
|
32449
|
+
form: "array",
|
|
32450
|
+
optional: false
|
|
32451
|
+
}],
|
|
32452
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32453
|
+
name: "deviceId",
|
|
32454
|
+
form: "single",
|
|
32455
|
+
optional: true
|
|
32456
|
+
}],
|
|
32457
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32458
|
+
name: "deviceIds",
|
|
32459
|
+
form: "array",
|
|
32460
|
+
optional: false
|
|
32461
|
+
}],
|
|
32462
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32463
|
+
name: "deviceIds",
|
|
32464
|
+
form: "array",
|
|
32465
|
+
optional: true
|
|
32466
|
+
}],
|
|
32467
|
+
"pipelineAnalytics.listTracks": [{
|
|
32468
|
+
name: "deviceId",
|
|
32469
|
+
form: "single",
|
|
32470
|
+
optional: false
|
|
32471
|
+
}],
|
|
32472
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32473
|
+
name: "deviceId",
|
|
32474
|
+
form: "single",
|
|
32475
|
+
optional: false
|
|
32476
|
+
}],
|
|
32477
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32478
|
+
name: "deviceId",
|
|
32479
|
+
form: "single",
|
|
32480
|
+
optional: false
|
|
32481
|
+
}],
|
|
32482
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32483
|
+
name: "deviceId",
|
|
32484
|
+
form: "single",
|
|
32485
|
+
optional: false
|
|
32486
|
+
}],
|
|
32487
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32488
|
+
name: "deviceId",
|
|
32489
|
+
form: "single",
|
|
32490
|
+
optional: true
|
|
32491
|
+
}],
|
|
32492
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32493
|
+
name: "deviceId",
|
|
32494
|
+
form: "single",
|
|
32495
|
+
optional: false
|
|
32496
|
+
}],
|
|
32497
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32498
|
+
name: "deviceId",
|
|
32499
|
+
form: "single",
|
|
32500
|
+
optional: false
|
|
32501
|
+
}],
|
|
32502
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32503
|
+
name: "deviceId",
|
|
32504
|
+
form: "single",
|
|
32505
|
+
optional: true
|
|
32506
|
+
}],
|
|
32507
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32508
|
+
name: "deviceId",
|
|
32509
|
+
form: "single",
|
|
32510
|
+
optional: false
|
|
32511
|
+
}],
|
|
32512
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32513
|
+
name: "deviceId",
|
|
32514
|
+
form: "single",
|
|
32515
|
+
optional: false
|
|
32516
|
+
}],
|
|
32517
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32518
|
+
name: "deviceId",
|
|
32519
|
+
form: "single",
|
|
32520
|
+
optional: false
|
|
32521
|
+
}],
|
|
32522
|
+
"pipelineExecutor.runPipeline": [{
|
|
32523
|
+
name: "deviceId",
|
|
32524
|
+
form: "single",
|
|
32525
|
+
optional: true
|
|
32526
|
+
}],
|
|
32527
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32528
|
+
name: "deviceId",
|
|
32529
|
+
form: "single",
|
|
32530
|
+
optional: true
|
|
32531
|
+
}],
|
|
32532
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32533
|
+
name: "deviceId",
|
|
32534
|
+
form: "single",
|
|
32535
|
+
optional: false
|
|
32536
|
+
}],
|
|
32537
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32538
|
+
name: "deviceId",
|
|
32539
|
+
form: "single",
|
|
32540
|
+
optional: false
|
|
32541
|
+
}],
|
|
32542
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32543
|
+
name: "deviceId",
|
|
32544
|
+
form: "single",
|
|
32545
|
+
optional: false
|
|
32546
|
+
}],
|
|
32547
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32548
|
+
name: "deviceId",
|
|
32549
|
+
form: "single",
|
|
32550
|
+
optional: false
|
|
32551
|
+
}],
|
|
32552
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32553
|
+
name: "deviceId",
|
|
32554
|
+
form: "single",
|
|
32555
|
+
optional: false
|
|
32556
|
+
}],
|
|
32557
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32558
|
+
name: "deviceId",
|
|
32559
|
+
form: "single",
|
|
32560
|
+
optional: false
|
|
32561
|
+
}],
|
|
32562
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32563
|
+
name: "deviceIds",
|
|
32564
|
+
form: "array",
|
|
32565
|
+
optional: true
|
|
32566
|
+
}],
|
|
32567
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32568
|
+
name: "deviceId",
|
|
32569
|
+
form: "single",
|
|
32570
|
+
optional: false
|
|
32571
|
+
}],
|
|
32572
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32573
|
+
name: "deviceId",
|
|
32574
|
+
form: "single",
|
|
32575
|
+
optional: false
|
|
32576
|
+
}],
|
|
32577
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32578
|
+
name: "deviceId",
|
|
32579
|
+
form: "single",
|
|
32580
|
+
optional: false
|
|
32581
|
+
}],
|
|
32582
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32583
|
+
name: "deviceId",
|
|
32584
|
+
form: "single",
|
|
32585
|
+
optional: false
|
|
32586
|
+
}],
|
|
32587
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32588
|
+
name: "deviceId",
|
|
32589
|
+
form: "single",
|
|
32590
|
+
optional: false
|
|
32591
|
+
}],
|
|
32592
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32593
|
+
name: "deviceId",
|
|
32594
|
+
form: "single",
|
|
32595
|
+
optional: false
|
|
32596
|
+
}],
|
|
32597
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32598
|
+
name: "deviceId",
|
|
32599
|
+
form: "single",
|
|
32600
|
+
optional: false
|
|
32601
|
+
}],
|
|
32602
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32603
|
+
name: "deviceId",
|
|
32604
|
+
form: "single",
|
|
32605
|
+
optional: false
|
|
32606
|
+
}],
|
|
32607
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32608
|
+
name: "deviceId",
|
|
32609
|
+
form: "single",
|
|
32610
|
+
optional: false
|
|
32611
|
+
}],
|
|
32612
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32613
|
+
name: "deviceId",
|
|
32614
|
+
form: "single",
|
|
32615
|
+
optional: false
|
|
32616
|
+
}],
|
|
32617
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32618
|
+
name: "deviceId",
|
|
32619
|
+
form: "single",
|
|
32620
|
+
optional: false
|
|
32621
|
+
}],
|
|
32622
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32623
|
+
name: "deviceId",
|
|
32624
|
+
form: "single",
|
|
32625
|
+
optional: false
|
|
32626
|
+
}],
|
|
32627
|
+
"pipelineRunner.attachCamera": [{
|
|
32628
|
+
name: "deviceId",
|
|
32629
|
+
form: "single",
|
|
32630
|
+
optional: false
|
|
32631
|
+
}],
|
|
32632
|
+
"pipelineRunner.detachCamera": [{
|
|
32633
|
+
name: "deviceId",
|
|
32634
|
+
form: "single",
|
|
32635
|
+
optional: false
|
|
32636
|
+
}],
|
|
32637
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32638
|
+
name: "deviceId",
|
|
32639
|
+
form: "single",
|
|
32640
|
+
optional: false
|
|
32641
|
+
}],
|
|
32642
|
+
"pipelineRunner.reportMotion": [{
|
|
32643
|
+
name: "deviceId",
|
|
32644
|
+
form: "single",
|
|
32645
|
+
optional: false
|
|
32646
|
+
}],
|
|
32647
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32648
|
+
name: "deviceId",
|
|
32649
|
+
form: "single",
|
|
32650
|
+
optional: false
|
|
32651
|
+
}],
|
|
32652
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32653
|
+
name: "sourceDeviceId",
|
|
32654
|
+
form: "single",
|
|
32655
|
+
optional: false
|
|
32656
|
+
}],
|
|
32657
|
+
"plateGallery.getPlateByTrack": [{
|
|
32658
|
+
name: "deviceId",
|
|
32659
|
+
form: "single",
|
|
32660
|
+
optional: false
|
|
32661
|
+
}],
|
|
32662
|
+
"plateGallery.listPlates": [{
|
|
32663
|
+
name: "deviceId",
|
|
32664
|
+
form: "single",
|
|
32665
|
+
optional: true
|
|
32666
|
+
}],
|
|
32667
|
+
"privacyMask.getOptions": [{
|
|
32668
|
+
name: "deviceId",
|
|
32669
|
+
form: "single",
|
|
32670
|
+
optional: false
|
|
32671
|
+
}],
|
|
32672
|
+
"privacyMask.setAudioEnabled": [{
|
|
32673
|
+
name: "deviceId",
|
|
32674
|
+
form: "single",
|
|
32675
|
+
optional: false
|
|
32676
|
+
}],
|
|
32677
|
+
"privacyMask.setMask": [{
|
|
32678
|
+
name: "deviceId",
|
|
32679
|
+
form: "single",
|
|
32680
|
+
optional: false
|
|
32681
|
+
}],
|
|
32682
|
+
"ptz.continuousMove": [{
|
|
32683
|
+
name: "deviceId",
|
|
32684
|
+
form: "single",
|
|
32685
|
+
optional: false
|
|
32686
|
+
}],
|
|
32687
|
+
"ptz.deletePreset": [{
|
|
32688
|
+
name: "deviceId",
|
|
32689
|
+
form: "single",
|
|
32690
|
+
optional: false
|
|
32691
|
+
}],
|
|
32692
|
+
"ptz.getOptions": [{
|
|
32693
|
+
name: "deviceId",
|
|
32694
|
+
form: "single",
|
|
32695
|
+
optional: false
|
|
32696
|
+
}],
|
|
32697
|
+
"ptz.getPosition": [{
|
|
32698
|
+
name: "deviceId",
|
|
32699
|
+
form: "single",
|
|
32700
|
+
optional: false
|
|
32701
|
+
}],
|
|
32702
|
+
"ptz.getPresets": [{
|
|
32703
|
+
name: "deviceId",
|
|
32704
|
+
form: "single",
|
|
32705
|
+
optional: false
|
|
32706
|
+
}],
|
|
32707
|
+
"ptz.goHome": [{
|
|
32708
|
+
name: "deviceId",
|
|
32709
|
+
form: "single",
|
|
32710
|
+
optional: false
|
|
32711
|
+
}],
|
|
32712
|
+
"ptz.goToPreset": [{
|
|
32713
|
+
name: "deviceId",
|
|
32714
|
+
form: "single",
|
|
32715
|
+
optional: false
|
|
32716
|
+
}],
|
|
32717
|
+
"ptz.move": [{
|
|
32718
|
+
name: "deviceId",
|
|
32719
|
+
form: "single",
|
|
32720
|
+
optional: false
|
|
32721
|
+
}],
|
|
32722
|
+
"ptz.savePreset": [{
|
|
32723
|
+
name: "deviceId",
|
|
32724
|
+
form: "single",
|
|
32725
|
+
optional: false
|
|
32726
|
+
}],
|
|
32727
|
+
"ptz.setAutofocus": [{
|
|
32728
|
+
name: "deviceId",
|
|
32729
|
+
form: "single",
|
|
32730
|
+
optional: false
|
|
32731
|
+
}],
|
|
32732
|
+
"ptz.stop": [{
|
|
32733
|
+
name: "deviceId",
|
|
32734
|
+
form: "single",
|
|
32735
|
+
optional: false
|
|
32736
|
+
}],
|
|
32737
|
+
"ptzAutotrack.getSettings": [{
|
|
32738
|
+
name: "deviceId",
|
|
32739
|
+
form: "single",
|
|
32740
|
+
optional: false
|
|
32741
|
+
}],
|
|
32742
|
+
"ptzAutotrack.getStatus": [{
|
|
32743
|
+
name: "deviceId",
|
|
32744
|
+
form: "single",
|
|
32745
|
+
optional: false
|
|
32746
|
+
}],
|
|
32747
|
+
"ptzAutotrack.setEnabled": [{
|
|
32748
|
+
name: "deviceId",
|
|
32749
|
+
form: "single",
|
|
32750
|
+
optional: false
|
|
32751
|
+
}],
|
|
32752
|
+
"ptzAutotrack.setSettings": [{
|
|
32753
|
+
name: "deviceId",
|
|
32754
|
+
form: "single",
|
|
32755
|
+
optional: false
|
|
32756
|
+
}],
|
|
32757
|
+
"reboot.reboot": [{
|
|
32758
|
+
name: "deviceId",
|
|
32759
|
+
form: "single",
|
|
32760
|
+
optional: false
|
|
32761
|
+
}],
|
|
32762
|
+
"recording.deleteFootprint": [{
|
|
32763
|
+
name: "deviceId",
|
|
32764
|
+
form: "single",
|
|
32765
|
+
optional: false
|
|
32766
|
+
}],
|
|
32767
|
+
"recording.getAvailability": [{
|
|
32768
|
+
name: "deviceId",
|
|
32769
|
+
form: "single",
|
|
32770
|
+
optional: false
|
|
32771
|
+
}],
|
|
32772
|
+
"recording.getDaysWithRecordings": [{
|
|
32773
|
+
name: "deviceId",
|
|
32774
|
+
form: "single",
|
|
32775
|
+
optional: false
|
|
32776
|
+
}],
|
|
32777
|
+
"recording.getDeviceConfig": [{
|
|
32778
|
+
name: "deviceId",
|
|
32779
|
+
form: "single",
|
|
32780
|
+
optional: false
|
|
32781
|
+
}],
|
|
32782
|
+
"recording.getPlaybackManifest": [{
|
|
32783
|
+
name: "deviceId",
|
|
32784
|
+
form: "single",
|
|
32785
|
+
optional: false
|
|
32786
|
+
}],
|
|
32787
|
+
"recording.listOpsLog": [{
|
|
32788
|
+
name: "deviceId",
|
|
32789
|
+
form: "single",
|
|
32790
|
+
optional: true
|
|
32791
|
+
}],
|
|
32792
|
+
"recording.locateSegment": [{
|
|
32793
|
+
name: "deviceId",
|
|
32794
|
+
form: "single",
|
|
32795
|
+
optional: false
|
|
32796
|
+
}],
|
|
32797
|
+
"recording.pruneFootage": [{
|
|
32798
|
+
name: "deviceId",
|
|
32799
|
+
form: "single",
|
|
32800
|
+
optional: false
|
|
32801
|
+
}],
|
|
32802
|
+
"recording.readGopBytes": [{
|
|
32803
|
+
name: "deviceId",
|
|
32804
|
+
form: "single",
|
|
32805
|
+
optional: false
|
|
32806
|
+
}],
|
|
32807
|
+
"recording.readSegmentBytes": [{
|
|
32808
|
+
name: "deviceId",
|
|
32809
|
+
form: "single",
|
|
32810
|
+
optional: false
|
|
32811
|
+
}],
|
|
32812
|
+
"recording.relocateFootage": [{
|
|
32813
|
+
name: "deviceId",
|
|
32814
|
+
form: "single",
|
|
32815
|
+
optional: true
|
|
32816
|
+
}],
|
|
32817
|
+
"recording.renderClip": [{
|
|
32818
|
+
name: "deviceId",
|
|
32819
|
+
form: "single",
|
|
32820
|
+
optional: false
|
|
32821
|
+
}],
|
|
32822
|
+
"recording.renderGif": [{
|
|
32823
|
+
name: "deviceId",
|
|
32824
|
+
form: "single",
|
|
32825
|
+
optional: false
|
|
32826
|
+
}],
|
|
32827
|
+
"recording.rescanStorage": [{
|
|
32828
|
+
name: "deviceId",
|
|
32829
|
+
form: "single",
|
|
32830
|
+
optional: false
|
|
32831
|
+
}],
|
|
32832
|
+
"recording.setDeviceConfig": [{
|
|
32833
|
+
name: "deviceId",
|
|
32834
|
+
form: "single",
|
|
32835
|
+
optional: false
|
|
32836
|
+
}],
|
|
32837
|
+
"recording.startStorageMigrationMove": [{
|
|
32838
|
+
name: "deviceId",
|
|
32839
|
+
form: "single",
|
|
32840
|
+
optional: true
|
|
32841
|
+
}],
|
|
32842
|
+
"recordingExport.createExport": [{
|
|
32843
|
+
name: "deviceId",
|
|
32844
|
+
form: "single",
|
|
32845
|
+
optional: false
|
|
32846
|
+
}],
|
|
32847
|
+
"recordingExport.listExports": [{
|
|
32848
|
+
name: "deviceId",
|
|
32849
|
+
form: "single",
|
|
32850
|
+
optional: true
|
|
32851
|
+
}],
|
|
32852
|
+
"sceneMonitor.captureReference": [{
|
|
32853
|
+
name: "deviceId",
|
|
32854
|
+
form: "single",
|
|
32855
|
+
optional: false
|
|
32856
|
+
}],
|
|
32857
|
+
"sceneMonitor.createScene": [{
|
|
32858
|
+
name: "deviceId",
|
|
32859
|
+
form: "single",
|
|
32860
|
+
optional: false
|
|
32861
|
+
}],
|
|
32862
|
+
"sceneMonitor.deleteReference": [{
|
|
32863
|
+
name: "deviceId",
|
|
32864
|
+
form: "single",
|
|
32865
|
+
optional: false
|
|
32866
|
+
}],
|
|
32867
|
+
"sceneMonitor.deleteScene": [{
|
|
32868
|
+
name: "deviceId",
|
|
32869
|
+
form: "single",
|
|
32870
|
+
optional: false
|
|
32871
|
+
}],
|
|
32872
|
+
"sceneMonitor.listScenes": [{
|
|
32873
|
+
name: "deviceId",
|
|
32874
|
+
form: "single",
|
|
32875
|
+
optional: false
|
|
32876
|
+
}],
|
|
32877
|
+
"sceneMonitor.recheckNow": [{
|
|
32878
|
+
name: "deviceId",
|
|
32879
|
+
form: "single",
|
|
32880
|
+
optional: false
|
|
32881
|
+
}],
|
|
32882
|
+
"sceneMonitor.resetScene": [{
|
|
32883
|
+
name: "deviceId",
|
|
32884
|
+
form: "single",
|
|
32885
|
+
optional: false
|
|
32886
|
+
}],
|
|
32887
|
+
"sceneMonitor.updateScene": [{
|
|
32888
|
+
name: "deviceId",
|
|
32889
|
+
form: "single",
|
|
32890
|
+
optional: false
|
|
32891
|
+
}],
|
|
32892
|
+
"scriptRunner.run": [{
|
|
32893
|
+
name: "deviceId",
|
|
32894
|
+
form: "single",
|
|
32895
|
+
optional: false
|
|
32896
|
+
}],
|
|
32897
|
+
"scriptRunner.stop": [{
|
|
32898
|
+
name: "deviceId",
|
|
32899
|
+
form: "single",
|
|
32900
|
+
optional: false
|
|
32901
|
+
}],
|
|
32902
|
+
"snapshot.getSnapshot": [{
|
|
32903
|
+
name: "deviceId",
|
|
32904
|
+
form: "single",
|
|
32905
|
+
optional: false
|
|
32906
|
+
}],
|
|
32907
|
+
"snapshot.getSnapshotOverview": [{
|
|
32908
|
+
name: "deviceIds",
|
|
32909
|
+
form: "array",
|
|
32910
|
+
optional: false
|
|
32911
|
+
}],
|
|
32912
|
+
"snapshot.invalidateCache": [{
|
|
32913
|
+
name: "deviceId",
|
|
32914
|
+
form: "single",
|
|
32915
|
+
optional: false
|
|
32916
|
+
}],
|
|
32917
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32918
|
+
name: "deviceId",
|
|
32919
|
+
form: "single",
|
|
32920
|
+
optional: false
|
|
32921
|
+
}],
|
|
32922
|
+
"streamBroker.assignProfile": [{
|
|
32923
|
+
name: "deviceId",
|
|
32924
|
+
form: "single",
|
|
32925
|
+
optional: false
|
|
32926
|
+
}],
|
|
32927
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32928
|
+
name: "deviceId",
|
|
32929
|
+
form: "single",
|
|
32930
|
+
optional: false
|
|
32931
|
+
}],
|
|
32932
|
+
"streamBroker.getStreamWithCodec": [{
|
|
32933
|
+
name: "deviceId",
|
|
32934
|
+
form: "single",
|
|
32935
|
+
optional: false
|
|
32936
|
+
}],
|
|
32937
|
+
"streamBroker.produceEventMedia": [{
|
|
32938
|
+
name: "deviceId",
|
|
32939
|
+
form: "single",
|
|
32940
|
+
optional: false
|
|
32941
|
+
}],
|
|
32942
|
+
"streamBroker.publishCameraStream": [{
|
|
32943
|
+
name: "deviceId",
|
|
32944
|
+
form: "single",
|
|
32945
|
+
optional: false
|
|
32946
|
+
}],
|
|
32947
|
+
"streamBroker.renderPreBufferClip": [{
|
|
32948
|
+
name: "deviceId",
|
|
32949
|
+
form: "single",
|
|
32950
|
+
optional: false
|
|
32951
|
+
}],
|
|
32952
|
+
"streamBroker.restartProfile": [{
|
|
32953
|
+
name: "deviceId",
|
|
32954
|
+
form: "single",
|
|
32955
|
+
optional: false
|
|
32956
|
+
}],
|
|
32957
|
+
"streamBroker.retractCameraStream": [{
|
|
32958
|
+
name: "deviceId",
|
|
32959
|
+
form: "single",
|
|
32960
|
+
optional: false
|
|
32961
|
+
}],
|
|
32962
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
32963
|
+
name: "deviceId",
|
|
32964
|
+
form: "single",
|
|
32965
|
+
optional: false
|
|
32966
|
+
}],
|
|
32967
|
+
"streamBroker.unassignProfile": [{
|
|
32968
|
+
name: "deviceId",
|
|
32969
|
+
form: "single",
|
|
32970
|
+
optional: false
|
|
32971
|
+
}],
|
|
32972
|
+
"streamCatalog.getCatalog": [{
|
|
32973
|
+
name: "deviceId",
|
|
32974
|
+
form: "single",
|
|
32975
|
+
optional: false
|
|
32976
|
+
}],
|
|
32977
|
+
"streamParams.getConfigSchema": [{
|
|
32978
|
+
name: "deviceId",
|
|
32979
|
+
form: "single",
|
|
32980
|
+
optional: false
|
|
32981
|
+
}],
|
|
32982
|
+
"streamParams.getOptions": [{
|
|
32983
|
+
name: "deviceId",
|
|
32984
|
+
form: "single",
|
|
32985
|
+
optional: false
|
|
32986
|
+
}],
|
|
32987
|
+
"streamParams.setProfile": [{
|
|
32988
|
+
name: "deviceId",
|
|
32989
|
+
form: "single",
|
|
32990
|
+
optional: false
|
|
32991
|
+
}],
|
|
32992
|
+
"switch.setState": [{
|
|
32993
|
+
name: "deviceId",
|
|
32994
|
+
form: "single",
|
|
32995
|
+
optional: false
|
|
32996
|
+
}],
|
|
32997
|
+
"vacuumControl.locate": [{
|
|
32998
|
+
name: "deviceId",
|
|
32999
|
+
form: "single",
|
|
33000
|
+
optional: false
|
|
33001
|
+
}],
|
|
33002
|
+
"vacuumControl.pause": [{
|
|
33003
|
+
name: "deviceId",
|
|
33004
|
+
form: "single",
|
|
33005
|
+
optional: false
|
|
33006
|
+
}],
|
|
33007
|
+
"vacuumControl.returnToBase": [{
|
|
33008
|
+
name: "deviceId",
|
|
33009
|
+
form: "single",
|
|
33010
|
+
optional: false
|
|
33011
|
+
}],
|
|
33012
|
+
"vacuumControl.setFanSpeed": [{
|
|
33013
|
+
name: "deviceId",
|
|
33014
|
+
form: "single",
|
|
33015
|
+
optional: false
|
|
33016
|
+
}],
|
|
33017
|
+
"vacuumControl.start": [{
|
|
33018
|
+
name: "deviceId",
|
|
33019
|
+
form: "single",
|
|
33020
|
+
optional: false
|
|
33021
|
+
}],
|
|
33022
|
+
"vacuumControl.stop": [{
|
|
33023
|
+
name: "deviceId",
|
|
33024
|
+
form: "single",
|
|
33025
|
+
optional: false
|
|
33026
|
+
}],
|
|
33027
|
+
"valve.close": [{
|
|
33028
|
+
name: "deviceId",
|
|
33029
|
+
form: "single",
|
|
33030
|
+
optional: false
|
|
33031
|
+
}],
|
|
33032
|
+
"valve.open": [{
|
|
33033
|
+
name: "deviceId",
|
|
33034
|
+
form: "single",
|
|
33035
|
+
optional: false
|
|
33036
|
+
}],
|
|
33037
|
+
"valve.setPosition": [{
|
|
33038
|
+
name: "deviceId",
|
|
33039
|
+
form: "single",
|
|
33040
|
+
optional: false
|
|
33041
|
+
}],
|
|
33042
|
+
"valve.stop": [{
|
|
33043
|
+
name: "deviceId",
|
|
33044
|
+
form: "single",
|
|
33045
|
+
optional: false
|
|
33046
|
+
}],
|
|
33047
|
+
"videoclips.getClipPlayback": [{
|
|
33048
|
+
name: "deviceId",
|
|
33049
|
+
form: "single",
|
|
33050
|
+
optional: false
|
|
33051
|
+
}],
|
|
33052
|
+
"videoclips.listClips": [{
|
|
33053
|
+
name: "deviceId",
|
|
33054
|
+
form: "single",
|
|
33055
|
+
optional: false
|
|
33056
|
+
}],
|
|
33057
|
+
"waterHeater.setAway": [{
|
|
33058
|
+
name: "deviceId",
|
|
33059
|
+
form: "single",
|
|
33060
|
+
optional: false
|
|
33061
|
+
}],
|
|
33062
|
+
"waterHeater.setOperationMode": [{
|
|
33063
|
+
name: "deviceId",
|
|
33064
|
+
form: "single",
|
|
33065
|
+
optional: false
|
|
33066
|
+
}],
|
|
33067
|
+
"waterHeater.setTargetTemp": [{
|
|
33068
|
+
name: "deviceId",
|
|
33069
|
+
form: "single",
|
|
33070
|
+
optional: false
|
|
33071
|
+
}],
|
|
33072
|
+
"webrtcSession.addIceCandidate": [{
|
|
33073
|
+
name: "deviceId",
|
|
33074
|
+
form: "single",
|
|
33075
|
+
optional: false
|
|
33076
|
+
}],
|
|
33077
|
+
"webrtcSession.closeSession": [{
|
|
33078
|
+
name: "deviceId",
|
|
33079
|
+
form: "single",
|
|
33080
|
+
optional: false
|
|
33081
|
+
}],
|
|
33082
|
+
"webrtcSession.createSession": [{
|
|
33083
|
+
name: "deviceId",
|
|
33084
|
+
form: "single",
|
|
33085
|
+
optional: false
|
|
33086
|
+
}],
|
|
33087
|
+
"webrtcSession.getIceCandidates": [{
|
|
33088
|
+
name: "deviceId",
|
|
33089
|
+
form: "single",
|
|
33090
|
+
optional: false
|
|
33091
|
+
}],
|
|
33092
|
+
"webrtcSession.getSessionState": [{
|
|
33093
|
+
name: "deviceId",
|
|
33094
|
+
form: "single",
|
|
33095
|
+
optional: false
|
|
33096
|
+
}],
|
|
33097
|
+
"webrtcSession.handleAnswer": [{
|
|
33098
|
+
name: "deviceId",
|
|
33099
|
+
form: "single",
|
|
33100
|
+
optional: false
|
|
33101
|
+
}],
|
|
33102
|
+
"webrtcSession.handleOffer": [{
|
|
33103
|
+
name: "deviceId",
|
|
33104
|
+
form: "single",
|
|
33105
|
+
optional: false
|
|
33106
|
+
}],
|
|
33107
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33108
|
+
name: "deviceId",
|
|
33109
|
+
form: "single",
|
|
33110
|
+
optional: false
|
|
33111
|
+
}],
|
|
33112
|
+
"webrtcSession.listStreams": [{
|
|
33113
|
+
name: "deviceId",
|
|
33114
|
+
form: "single",
|
|
33115
|
+
optional: false
|
|
33116
|
+
}],
|
|
33117
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33118
|
+
name: "deviceId",
|
|
33119
|
+
form: "single",
|
|
33120
|
+
optional: false
|
|
33121
|
+
}],
|
|
33122
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33123
|
+
name: "deviceId",
|
|
33124
|
+
form: "single",
|
|
33125
|
+
optional: false
|
|
33126
|
+
}],
|
|
33127
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33128
|
+
name: "deviceId",
|
|
33129
|
+
form: "single",
|
|
33130
|
+
optional: false
|
|
33131
|
+
}],
|
|
33132
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33133
|
+
name: "deviceId",
|
|
33134
|
+
form: "single",
|
|
33135
|
+
optional: false
|
|
33136
|
+
}],
|
|
33137
|
+
"zoneRules.listRules": [{
|
|
33138
|
+
name: "deviceId",
|
|
33139
|
+
form: "single",
|
|
33140
|
+
optional: false
|
|
33141
|
+
}],
|
|
33142
|
+
"zoneRules.setRules": [{
|
|
33143
|
+
name: "deviceId",
|
|
33144
|
+
form: "single",
|
|
33145
|
+
optional: false
|
|
33146
|
+
}],
|
|
33147
|
+
"zones.addZone": [{
|
|
33148
|
+
name: "deviceId",
|
|
33149
|
+
form: "single",
|
|
33150
|
+
optional: false
|
|
33151
|
+
}],
|
|
33152
|
+
"zones.listZones": [{
|
|
33153
|
+
name: "deviceId",
|
|
33154
|
+
form: "single",
|
|
33155
|
+
optional: false
|
|
33156
|
+
}],
|
|
33157
|
+
"zones.removeZone": [{
|
|
33158
|
+
name: "deviceId",
|
|
33159
|
+
form: "single",
|
|
33160
|
+
optional: false
|
|
33161
|
+
}],
|
|
33162
|
+
"zones.updateZone": [{
|
|
33163
|
+
name: "deviceId",
|
|
33164
|
+
form: "single",
|
|
33165
|
+
optional: false
|
|
33166
|
+
}]
|
|
33167
|
+
});
|
|
30570
33168
|
Object.freeze({
|
|
30571
33169
|
"broker": "broker",
|
|
30572
33170
|
"device-export": "device-export",
|
|
@@ -30946,4 +33544,4 @@ DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
|
30946
33544
|
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
30947
33545
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
30948
33546
|
//#endregion
|
|
30949
|
-
export { EventCategory as i, networkAccessCapability as n,
|
|
33547
|
+
export { EventCategory as a, BaseAddon as i, networkAccessCapability as n, BOOT_RECOVERY_BACKOFF_MS as r, meshNetworkCapability as t };
|