@camstack/addon-smtp-nodemailer 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/smtp.addon.js +2730 -92
- package/dist/smtp.addon.mjs +2730 -92
- package/package.json +1 -1
package/dist/smtp.addon.mjs
CHANGED
|
@@ -34,7 +34,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -241,6 +241,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
241
241
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
242
242
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
243
243
|
/**
|
|
244
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
245
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
246
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
247
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
248
|
+
* from the placement candidate set for as long as it holds.
|
|
249
|
+
*
|
|
250
|
+
* This exists because the state was previously invisible: little-unraid
|
|
251
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
252
|
+
* and nothing in the system said so.
|
|
253
|
+
*
|
|
254
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
255
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
256
|
+
* serves it exactly as before.
|
|
257
|
+
*/
|
|
258
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
259
|
+
/**
|
|
260
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
261
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
262
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
263
|
+
* per camera.
|
|
264
|
+
*
|
|
265
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
266
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
267
|
+
* camera" produce byte-identical silence.
|
|
268
|
+
*/
|
|
269
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
270
|
+
/**
|
|
244
271
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
245
272
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
246
273
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3032,6 +3059,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3032
3059
|
fallback: left.fallback
|
|
3033
3060
|
}, ctx);
|
|
3034
3061
|
}
|
|
3062
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3063
|
+
$ZodPipe.init(inst, def);
|
|
3064
|
+
});
|
|
3035
3065
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3036
3066
|
$ZodType.init(inst, def);
|
|
3037
3067
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5217,6 +5247,10 @@ function pipe(in_, out) {
|
|
|
5217
5247
|
out
|
|
5218
5248
|
});
|
|
5219
5249
|
}
|
|
5250
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5251
|
+
ZodPipe.init(inst, def);
|
|
5252
|
+
$ZodPreprocess.init(inst, def);
|
|
5253
|
+
});
|
|
5220
5254
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5221
5255
|
$ZodReadonly.init(inst, def);
|
|
5222
5256
|
ZodType.init(inst, def);
|
|
@@ -5275,6 +5309,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5275
5309
|
};
|
|
5276
5310
|
return inst;
|
|
5277
5311
|
}
|
|
5312
|
+
function preprocess(fn, schema) {
|
|
5313
|
+
return new ZodPreprocess({
|
|
5314
|
+
type: "pipe",
|
|
5315
|
+
in: transform(fn),
|
|
5316
|
+
out: schema
|
|
5317
|
+
});
|
|
5318
|
+
}
|
|
5278
5319
|
//#endregion
|
|
5279
5320
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5280
5321
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10793,6 +10834,8 @@ var QueryFilterSchema = object({
|
|
|
10793
10834
|
where: record(string(), unknown()).optional(),
|
|
10794
10835
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10795
10836
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10837
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10838
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10796
10839
|
orderBy: object({
|
|
10797
10840
|
field: string(),
|
|
10798
10841
|
direction: _enum(["asc", "desc"])
|
|
@@ -10812,7 +10855,8 @@ var QueryFilterSchema = object({
|
|
|
10812
10855
|
var MutationFilterSchema = object({
|
|
10813
10856
|
where: record(string(), unknown()).optional(),
|
|
10814
10857
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10815
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10858
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10859
|
+
whereNot: record(string(), unknown()).optional()
|
|
10816
10860
|
});
|
|
10817
10861
|
/** A single stored record: `{ id, data }`. */
|
|
10818
10862
|
var SettingsRecordSchema = object({
|
|
@@ -12169,6 +12213,17 @@ var LlmImageSchema = object({
|
|
|
12169
12213
|
bytes: _instanceof(Uint8Array),
|
|
12170
12214
|
mimeType: string()
|
|
12171
12215
|
});
|
|
12216
|
+
/**
|
|
12217
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12218
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12219
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12220
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12221
|
+
*/
|
|
12222
|
+
var LlmRetryPolicySchema = object({
|
|
12223
|
+
enabled: boolean().default(false),
|
|
12224
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12225
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12226
|
+
});
|
|
12172
12227
|
var LlmGenerateBaseInputSchema = object({
|
|
12173
12228
|
/** Collection routing (the notification-output posture). */
|
|
12174
12229
|
addonId: string().optional(),
|
|
@@ -12183,7 +12238,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12183
12238
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12184
12239
|
/** Per-call override of the profile default. */
|
|
12185
12240
|
maxTokens: number().int().positive().optional(),
|
|
12186
|
-
temperature: number().optional()
|
|
12241
|
+
temperature: number().optional(),
|
|
12242
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12243
|
+
topP: number().min(0).max(1).optional(),
|
|
12244
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12245
|
+
topK: number().int().positive().optional(),
|
|
12246
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12247
|
+
timeoutMs: number().int().positive().optional(),
|
|
12248
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12249
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12250
|
+
/**
|
|
12251
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12252
|
+
*
|
|
12253
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12254
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12255
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12256
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12257
|
+
* not generations, and the real load is unbounded.
|
|
12258
|
+
*
|
|
12259
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12260
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12261
|
+
*/
|
|
12262
|
+
requestId: string().optional()
|
|
12187
12263
|
});
|
|
12188
12264
|
/**
|
|
12189
12265
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12196,6 +12272,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12196
12272
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12197
12273
|
* watchdog — operator decision #3).
|
|
12198
12274
|
*/
|
|
12275
|
+
/**
|
|
12276
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12277
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12278
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12279
|
+
* the preview is exactly what the node downloads.
|
|
12280
|
+
*/
|
|
12281
|
+
var ManagedModelExtraFileSchema = object({
|
|
12282
|
+
url: string(),
|
|
12283
|
+
filename: string(),
|
|
12284
|
+
sizeBytes: number(),
|
|
12285
|
+
sha256: string().optional()
|
|
12286
|
+
});
|
|
12199
12287
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12200
12288
|
object({
|
|
12201
12289
|
kind: literal("catalog"),
|
|
@@ -12204,7 +12292,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12204
12292
|
object({
|
|
12205
12293
|
kind: literal("url"),
|
|
12206
12294
|
url: string(),
|
|
12207
|
-
sha256: string().optional()
|
|
12295
|
+
sha256: string().optional(),
|
|
12296
|
+
/** Picker/status label; the file basename when absent. */
|
|
12297
|
+
label: string().optional(),
|
|
12298
|
+
sizeBytes: number().optional(),
|
|
12299
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12208
12300
|
}),
|
|
12209
12301
|
object({
|
|
12210
12302
|
kind: literal("path"),
|
|
@@ -12222,13 +12314,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12222
12314
|
gpuLayers: number().int().default(0),
|
|
12223
12315
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12224
12316
|
threads: number().int().optional(),
|
|
12225
|
-
/** Concurrent slots. */
|
|
12317
|
+
/** Concurrent slots (`--parallel`). */
|
|
12226
12318
|
parallel: number().int().default(1),
|
|
12319
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12320
|
+
batchSize: number().int().positive().optional(),
|
|
12321
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12322
|
+
ubatchSize: number().int().positive().optional(),
|
|
12323
|
+
/**
|
|
12324
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12325
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12326
|
+
*/
|
|
12327
|
+
flashAttention: boolean().default(false),
|
|
12328
|
+
/**
|
|
12329
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12330
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12331
|
+
* what the RAM budget is counting.
|
|
12332
|
+
*/
|
|
12333
|
+
mlock: boolean().default(false),
|
|
12334
|
+
/**
|
|
12335
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12336
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12337
|
+
* store produces on every first token.
|
|
12338
|
+
*/
|
|
12339
|
+
noMmap: boolean().default(false),
|
|
12340
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12341
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12342
|
+
cacheTypeK: _enum([
|
|
12343
|
+
"f32",
|
|
12344
|
+
"f16",
|
|
12345
|
+
"q8_0",
|
|
12346
|
+
"q5_1",
|
|
12347
|
+
"q5_0",
|
|
12348
|
+
"q4_1",
|
|
12349
|
+
"q4_0"
|
|
12350
|
+
]).optional(),
|
|
12351
|
+
cacheTypeV: _enum([
|
|
12352
|
+
"f32",
|
|
12353
|
+
"f16",
|
|
12354
|
+
"q8_0",
|
|
12355
|
+
"q5_1",
|
|
12356
|
+
"q5_0",
|
|
12357
|
+
"q4_1",
|
|
12358
|
+
"q4_0"
|
|
12359
|
+
]).optional(),
|
|
12360
|
+
/**
|
|
12361
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12362
|
+
* (which most vision chat templates need and some language-only models
|
|
12363
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12364
|
+
*
|
|
12365
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12366
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12367
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12368
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12369
|
+
* twice (D62).
|
|
12370
|
+
*/
|
|
12371
|
+
extraArgs: array(string()).default([]),
|
|
12227
12372
|
/** Else lazy: first generate boots it. */
|
|
12228
12373
|
autoStart: boolean().default(false),
|
|
12229
12374
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12230
12375
|
idleStopMinutes: number().int().default(30)
|
|
12231
12376
|
});
|
|
12377
|
+
/**
|
|
12378
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12379
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12380
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12381
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12382
|
+
*/
|
|
12383
|
+
var LlmDownloadProgressSchema = object({
|
|
12384
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12385
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12386
|
+
file: string(),
|
|
12387
|
+
fileIndex: number().int(),
|
|
12388
|
+
fileCount: number().int(),
|
|
12389
|
+
/** Across the WHOLE install, not the current file. */
|
|
12390
|
+
downloadedBytes: number(),
|
|
12391
|
+
totalBytes: number().optional()
|
|
12392
|
+
});
|
|
12232
12393
|
var LlmRuntimeStatusSchema = object({
|
|
12233
12394
|
/** Status is ALWAYS node-qualified. */
|
|
12234
12395
|
nodeId: string(),
|
|
@@ -12245,6 +12406,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12245
12406
|
modelPath: string().optional(),
|
|
12246
12407
|
modelId: string().optional(),
|
|
12247
12408
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12409
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12410
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12248
12411
|
lastError: string().optional(),
|
|
12249
12412
|
crashesInWindow: number(),
|
|
12250
12413
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12255,7 +12418,14 @@ var LlmNodeModelSchema = object({
|
|
|
12255
12418
|
file: string(),
|
|
12256
12419
|
sizeBytes: number(),
|
|
12257
12420
|
catalogId: string().optional(),
|
|
12258
|
-
installedAt: number().optional()
|
|
12421
|
+
installedAt: number().optional(),
|
|
12422
|
+
/**
|
|
12423
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12424
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12425
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12426
|
+
* it the picker could list such a file and do nothing with it.
|
|
12427
|
+
*/
|
|
12428
|
+
path: string().optional()
|
|
12259
12429
|
});
|
|
12260
12430
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12261
12431
|
nodeId: string(),
|
|
@@ -12311,10 +12481,47 @@ var LlmProfileSchema = object({
|
|
|
12311
12481
|
baseUrl: string().optional(),
|
|
12312
12482
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12313
12483
|
apiKey: string().optional(),
|
|
12484
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12485
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12486
|
+
* question about a picture nobody sent. */
|
|
12314
12487
|
supportsVision: boolean(),
|
|
12315
12488
|
temperature: number().min(0).max(2).optional(),
|
|
12489
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12490
|
+
topP: number().min(0).max(1).optional(),
|
|
12491
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12492
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12493
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12494
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12495
|
+
topK: number().int().positive().optional(),
|
|
12316
12496
|
maxTokens: number().int().positive().optional(),
|
|
12497
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12498
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12499
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12500
|
+
contextLength: number().int().positive().optional(),
|
|
12501
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12502
|
+
* two system prompts fighting is worse than either alone). */
|
|
12503
|
+
systemPrompt: string().optional(),
|
|
12504
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12317
12505
|
timeoutMs: number().int().positive().default(6e4),
|
|
12506
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12507
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12508
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12509
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12510
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12511
|
+
* GPU load is exactly what happens before them. */
|
|
12512
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12513
|
+
/** Output started then stopped. */
|
|
12514
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12515
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12516
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12517
|
+
retry: LlmRetryPolicySchema.default({
|
|
12518
|
+
enabled: false,
|
|
12519
|
+
maxAttempts: 1
|
|
12520
|
+
}),
|
|
12521
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12522
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12523
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12524
|
+
toolsEnabled: boolean().default(false),
|
|
12318
12525
|
extraHeaders: record(string(), string()).optional(),
|
|
12319
12526
|
/** kind === 'managed-local' only (spec §4). */
|
|
12320
12527
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12364,6 +12571,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12364
12571
|
/** Vision models: companion projector file. */
|
|
12365
12572
|
mmprojUrl: string().optional()
|
|
12366
12573
|
});
|
|
12574
|
+
/**
|
|
12575
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12576
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12577
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12578
|
+
* exception.
|
|
12579
|
+
*
|
|
12580
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12581
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12582
|
+
*/
|
|
12583
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12584
|
+
ok: literal(true),
|
|
12585
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12586
|
+
model: ManagedModelRefSchema,
|
|
12587
|
+
label: string(),
|
|
12588
|
+
repo: string(),
|
|
12589
|
+
quantization: string(),
|
|
12590
|
+
purpose: _enum(["text", "vision"]),
|
|
12591
|
+
totalBytes: number(),
|
|
12592
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12593
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12594
|
+
extraFilenames: array(string())
|
|
12595
|
+
}), object({
|
|
12596
|
+
ok: literal(false),
|
|
12597
|
+
code: string(),
|
|
12598
|
+
message: string(),
|
|
12599
|
+
candidates: array(string()).optional(),
|
|
12600
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12601
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12602
|
+
requiredBytes: number().optional()
|
|
12603
|
+
})]);
|
|
12367
12604
|
var LlmRuntimeNodeSchema = object({
|
|
12368
12605
|
nodeId: string(),
|
|
12369
12606
|
reachable: boolean(),
|
|
@@ -12376,7 +12613,10 @@ var ProfileRefInputSchema = object({
|
|
|
12376
12613
|
addonId: string(),
|
|
12377
12614
|
profileId: string()
|
|
12378
12615
|
});
|
|
12379
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12616
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12617
|
+
addonId: string().optional(),
|
|
12618
|
+
requestId: string()
|
|
12619
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12380
12620
|
kind: "mutation",
|
|
12381
12621
|
auth: "admin"
|
|
12382
12622
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12397,6 +12637,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12397
12637
|
consumer: string().optional(),
|
|
12398
12638
|
profileId: string().optional()
|
|
12399
12639
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12640
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12641
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12642
|
+
ref: string(),
|
|
12643
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12644
|
+
maxBytes: number().positive().optional()
|
|
12645
|
+
}), HfModelResolutionSchema, {
|
|
12646
|
+
kind: "mutation",
|
|
12647
|
+
auth: "admin"
|
|
12648
|
+
}), method(object({
|
|
12400
12649
|
nodeId: string(),
|
|
12401
12650
|
model: ManagedModelRefSchema
|
|
12402
12651
|
}), _void(), {
|
|
@@ -12956,11 +13205,33 @@ var NotificationFormatSchema = _enum([
|
|
|
12956
13205
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
12957
13206
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
12958
13207
|
* differently.
|
|
13208
|
+
*
|
|
13209
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
13210
|
+
*
|
|
13211
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
13212
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
13213
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
13214
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
13215
|
+
* decides its glyph, which is the only place that decision can be made
|
|
13216
|
+
* honestly.
|
|
13217
|
+
*
|
|
13218
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
13219
|
+
* `disarm` straight through; iOS feeds that string to
|
|
13220
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
13221
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
13222
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
13223
|
+
*
|
|
13224
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
13225
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
13226
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
13227
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
13228
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
12959
13229
|
*/
|
|
12960
13230
|
var NotificationActionIconSchema = _enum([
|
|
12961
13231
|
"acknowledge",
|
|
12962
13232
|
"dismiss",
|
|
12963
13233
|
"silence",
|
|
13234
|
+
"snooze",
|
|
12964
13235
|
"view",
|
|
12965
13236
|
"play",
|
|
12966
13237
|
"open",
|
|
@@ -12968,9 +13239,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
12968
13239
|
"lock",
|
|
12969
13240
|
"unlock",
|
|
12970
13241
|
"arm",
|
|
13242
|
+
"arm-home",
|
|
13243
|
+
"arm-away",
|
|
13244
|
+
"arm-night",
|
|
12971
13245
|
"disarm",
|
|
12972
13246
|
"light",
|
|
12973
|
-
"alert"
|
|
13247
|
+
"alert",
|
|
13248
|
+
"camera"
|
|
12974
13249
|
]);
|
|
12975
13250
|
/** A single tap-through action button. */
|
|
12976
13251
|
var NotificationActionSchema = object({
|
|
@@ -13170,6 +13445,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13170
13445
|
targetId: string(),
|
|
13171
13446
|
enabled: boolean()
|
|
13172
13447
|
}), _void(), { kind: "mutation" });
|
|
13448
|
+
new Set([
|
|
13449
|
+
{
|
|
13450
|
+
id: "person",
|
|
13451
|
+
name: "Person"
|
|
13452
|
+
},
|
|
13453
|
+
{
|
|
13454
|
+
id: "vehicle",
|
|
13455
|
+
name: "Vehicle"
|
|
13456
|
+
},
|
|
13457
|
+
{
|
|
13458
|
+
id: "animal",
|
|
13459
|
+
name: "Animal"
|
|
13460
|
+
},
|
|
13461
|
+
{
|
|
13462
|
+
id: "package",
|
|
13463
|
+
name: "Package"
|
|
13464
|
+
}
|
|
13465
|
+
].map((l) => l.id));
|
|
13173
13466
|
var COCO_TO_MACRO = {
|
|
13174
13467
|
mapping: {
|
|
13175
13468
|
person: "person",
|
|
@@ -13962,11 +14255,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13962
14255
|
"stream-offline",
|
|
13963
14256
|
"node-online",
|
|
13964
14257
|
"node-offline",
|
|
14258
|
+
"node-inference-unavailable",
|
|
14259
|
+
"detection-blind",
|
|
13965
14260
|
"addon-update-available",
|
|
13966
14261
|
"server-update-available",
|
|
13967
14262
|
"alarm-triggered",
|
|
13968
14263
|
"alarm-armed",
|
|
13969
14264
|
"alarm-disarmed",
|
|
14265
|
+
"alarm-arming",
|
|
14266
|
+
"alarm-arm-refused",
|
|
13970
14267
|
"camera-online",
|
|
13971
14268
|
"camera-offline",
|
|
13972
14269
|
"camera-disabled",
|
|
@@ -14021,7 +14318,16 @@ var NcScheduleSchema = object({
|
|
|
14021
14318
|
});
|
|
14022
14319
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14023
14320
|
var NcPlateMatcherSchema = object({
|
|
14024
|
-
|
|
14321
|
+
/**
|
|
14322
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14323
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14324
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14325
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14326
|
+
*
|
|
14327
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14328
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14329
|
+
*/
|
|
14330
|
+
values: array(string().min(1)),
|
|
14025
14331
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14026
14332
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14027
14333
|
});
|
|
@@ -14055,28 +14361,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14055
14361
|
/**
|
|
14056
14362
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14057
14363
|
*
|
|
14058
|
-
*
|
|
14059
|
-
*
|
|
14060
|
-
*
|
|
14061
|
-
*
|
|
14062
|
-
*
|
|
14063
|
-
*
|
|
14064
|
-
*
|
|
14065
|
-
*
|
|
14066
|
-
*
|
|
14067
|
-
*
|
|
14068
|
-
*
|
|
14069
|
-
*
|
|
14070
|
-
*
|
|
14071
|
-
*
|
|
14072
|
-
*
|
|
14073
|
-
*
|
|
14074
|
-
*
|
|
14075
|
-
*
|
|
14076
|
-
*
|
|
14077
|
-
*
|
|
14078
|
-
*
|
|
14079
|
-
* `
|
|
14364
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14365
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14366
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14367
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14368
|
+
*
|
|
14369
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14370
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14371
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14372
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14373
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14374
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14375
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14376
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14377
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14378
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14379
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14380
|
+
* seconds is 100% of nothing.
|
|
14381
|
+
*
|
|
14382
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14383
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14384
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14385
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14386
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14387
|
+
* the wrong question to ask of a sparse classifier.
|
|
14388
|
+
*
|
|
14389
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14390
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14391
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14392
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14393
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14080
14394
|
*
|
|
14081
14395
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14082
14396
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14084,13 +14398,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14084
14398
|
* an operator who typed `dog` mean the same thing.
|
|
14085
14399
|
*/
|
|
14086
14400
|
var NcAudioConditionSchema = object({
|
|
14087
|
-
/**
|
|
14401
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14088
14402
|
labels: array(string().min(1)).min(1).optional(),
|
|
14089
|
-
/**
|
|
14403
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14090
14404
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14091
|
-
/**
|
|
14405
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14092
14406
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14093
|
-
/**
|
|
14407
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14094
14408
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14095
14409
|
});
|
|
14096
14410
|
/**
|
|
@@ -14228,13 +14542,81 @@ var NcRuleActionsSchema = object({
|
|
|
14228
14542
|
*/
|
|
14229
14543
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14230
14544
|
});
|
|
14545
|
+
/**
|
|
14546
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14547
|
+
*
|
|
14548
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14549
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14550
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14551
|
+
*
|
|
14552
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14553
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14554
|
+
*/
|
|
14555
|
+
var NcDeviceStateConditionSchema = object({
|
|
14556
|
+
deviceId: number().int(),
|
|
14557
|
+
/** Any of these matches. */
|
|
14558
|
+
states: array(string().min(1)).min(1)
|
|
14559
|
+
});
|
|
14560
|
+
/**
|
|
14561
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14562
|
+
*
|
|
14563
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14564
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14565
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14566
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14567
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14568
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14569
|
+
* kind exist for it — see D159.
|
|
14570
|
+
*
|
|
14571
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14572
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14573
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14574
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14575
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14576
|
+
*
|
|
14577
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14578
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14579
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14580
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14581
|
+
* override one rule against the scene's own default.
|
|
14582
|
+
*
|
|
14583
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14584
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14585
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14586
|
+
* evidence, in either direction.
|
|
14587
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14588
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14589
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14590
|
+
* reason the operator asked for a latch.
|
|
14591
|
+
*
|
|
14592
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14593
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14594
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14595
|
+
* said out loud in the log rather than dropped in silence.
|
|
14596
|
+
*/
|
|
14597
|
+
var NcSceneConditionSchema = object({
|
|
14598
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14599
|
+
sceneId: string().min(1),
|
|
14600
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14601
|
+
deviceId: number().int().optional(),
|
|
14602
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14603
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14604
|
+
/**
|
|
14605
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14606
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14607
|
+
*/
|
|
14608
|
+
latched: boolean().optional()
|
|
14609
|
+
});
|
|
14231
14610
|
var NcConditionsSchema = object({
|
|
14232
14611
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14233
|
-
deviceState:
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14612
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14613
|
+
/**
|
|
14614
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14615
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14616
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14617
|
+
* {@link NcSceneCondition} and D159.
|
|
14618
|
+
*/
|
|
14619
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14238
14620
|
/** Device scope — absent = all devices. */
|
|
14239
14621
|
devices: array(number()).optional(),
|
|
14240
14622
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14260,18 +14642,47 @@ var NcConditionsSchema = object({
|
|
|
14260
14642
|
*/
|
|
14261
14643
|
labelEquals: array(string().min(1)).optional(),
|
|
14262
14644
|
/**
|
|
14263
|
-
*
|
|
14264
|
-
*
|
|
14265
|
-
*
|
|
14645
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14646
|
+
* is about recognised people at all.
|
|
14647
|
+
*
|
|
14648
|
+
* Three states, and the empty one is the point:
|
|
14649
|
+
*
|
|
14650
|
+
* | value | meaning |
|
|
14651
|
+
* | --- | --- |
|
|
14652
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14653
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14654
|
+
* | a list | only these identities |
|
|
14655
|
+
*
|
|
14656
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14657
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14658
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14659
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14660
|
+
* with the list under it is worse than no switch (D62).
|
|
14661
|
+
*
|
|
14662
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14663
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14664
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14665
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14666
|
+
* `{{label}}` renders.
|
|
14667
|
+
*
|
|
14668
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14669
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14670
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14671
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14672
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14266
14673
|
*/
|
|
14267
14674
|
identities: array(string().min(1)).optional(),
|
|
14268
|
-
/**
|
|
14675
|
+
/**
|
|
14676
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14677
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14678
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14679
|
+
*/
|
|
14269
14680
|
plates: NcPlateMatcherSchema.optional(),
|
|
14270
14681
|
/**
|
|
14271
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14272
|
-
*
|
|
14273
|
-
* identity
|
|
14274
|
-
*
|
|
14682
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14683
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14684
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14685
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14275
14686
|
*/
|
|
14276
14687
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14277
14688
|
/**
|
|
@@ -14663,7 +15074,80 @@ var NcRuleInputSchema = object({
|
|
|
14663
15074
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14664
15075
|
* did, and absent is the only way to say that without a migration.
|
|
14665
15076
|
*/
|
|
14666
|
-
confirm: NcConfirmSchema.optional()
|
|
15077
|
+
confirm: NcConfirmSchema.optional(),
|
|
15078
|
+
/**
|
|
15079
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15080
|
+
*
|
|
15081
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15082
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15083
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15084
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15085
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15086
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15087
|
+
*
|
|
15088
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15089
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15090
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15091
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15092
|
+
*
|
|
15093
|
+
* | value | what happens |
|
|
15094
|
+
* | --- | --- |
|
|
15095
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15096
|
+
* | 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) |
|
|
15097
|
+
*
|
|
15098
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15099
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15100
|
+
* rule authored before this field meant.
|
|
15101
|
+
*
|
|
15102
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15103
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15104
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15105
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15106
|
+
*/
|
|
15107
|
+
waitForEnhancement: boolean().optional(),
|
|
15108
|
+
/**
|
|
15109
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15110
|
+
*
|
|
15111
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15112
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15113
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15114
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15115
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15116
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15117
|
+
*
|
|
15118
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15119
|
+
*
|
|
15120
|
+
* ### Why an idle cutoff and not a window
|
|
15121
|
+
*
|
|
15122
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15123
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15124
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15125
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15126
|
+
*
|
|
15127
|
+
* ### What it replaces
|
|
15128
|
+
*
|
|
15129
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15130
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15131
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15132
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15133
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15134
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15135
|
+
* throttled by the window its own first member spent.
|
|
15136
|
+
*
|
|
15137
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15138
|
+
*
|
|
15139
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15140
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15141
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15142
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15143
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15144
|
+
* path. Neither combination fires twice for one subject.
|
|
15145
|
+
*
|
|
15146
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15147
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15148
|
+
* field existed.
|
|
15149
|
+
*/
|
|
15150
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14667
15151
|
});
|
|
14668
15152
|
/**
|
|
14669
15153
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14770,6 +15254,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14770
15254
|
"occupancy",
|
|
14771
15255
|
"audio",
|
|
14772
15256
|
"deviceState",
|
|
15257
|
+
"scene",
|
|
14773
15258
|
"systemEvent"
|
|
14774
15259
|
]),
|
|
14775
15260
|
operator: _enum([
|
|
@@ -15175,7 +15660,87 @@ var MethodAccessSchema = _enum([
|
|
|
15175
15660
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15176
15661
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15177
15662
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15178
|
-
|
|
15663
|
+
/**
|
|
15664
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15665
|
+
*
|
|
15666
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15667
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15668
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15669
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15670
|
+
*
|
|
15671
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15672
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15673
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15674
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15675
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15676
|
+
* is NOT covered until the grant is edited.
|
|
15677
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15678
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15679
|
+
* re-resolves on the next request.
|
|
15680
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15681
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15682
|
+
* null/unset location matches NO `locations` selector.
|
|
15683
|
+
*/
|
|
15684
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15685
|
+
object({ kind: literal("all") }),
|
|
15686
|
+
object({
|
|
15687
|
+
kind: literal("ids"),
|
|
15688
|
+
ids: array(number().int()).min(1)
|
|
15689
|
+
}),
|
|
15690
|
+
object({
|
|
15691
|
+
kind: literal("types"),
|
|
15692
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15693
|
+
}),
|
|
15694
|
+
object({
|
|
15695
|
+
kind: literal("locations"),
|
|
15696
|
+
locations: array(string().min(1)).min(1)
|
|
15697
|
+
})
|
|
15698
|
+
]);
|
|
15699
|
+
var DeviceTokenScopeSchema = object({
|
|
15700
|
+
type: literal("device"),
|
|
15701
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15702
|
+
selector: DeviceSelectorSchema,
|
|
15703
|
+
access: array(MethodAccessSchema).min(1),
|
|
15704
|
+
/**
|
|
15705
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15706
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15707
|
+
* Direction is parent → children ONLY.
|
|
15708
|
+
*
|
|
15709
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15710
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15711
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15712
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15713
|
+
* explicitly to override that default per grant.
|
|
15714
|
+
*/
|
|
15715
|
+
includeLinked: boolean().optional()
|
|
15716
|
+
});
|
|
15717
|
+
/**
|
|
15718
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15719
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15720
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15721
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15722
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15723
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15724
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15725
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15726
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15727
|
+
*/
|
|
15728
|
+
function migrateLegacyTokenScope(raw) {
|
|
15729
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15730
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15731
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15732
|
+
const targets = Reflect.get(raw, "targets");
|
|
15733
|
+
if (!Array.isArray(targets)) return raw;
|
|
15734
|
+
return {
|
|
15735
|
+
type: "device",
|
|
15736
|
+
selector: {
|
|
15737
|
+
kind: "ids",
|
|
15738
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15739
|
+
},
|
|
15740
|
+
access: Reflect.get(raw, "access")
|
|
15741
|
+
};
|
|
15742
|
+
}
|
|
15743
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15179
15744
|
object({
|
|
15180
15745
|
type: literal("category"),
|
|
15181
15746
|
target: CapScopeSchema,
|
|
@@ -15191,18 +15756,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15191
15756
|
target: string(),
|
|
15192
15757
|
access: array(MethodAccessSchema).min(1)
|
|
15193
15758
|
}),
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
/**
|
|
15197
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15198
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15199
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15200
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15201
|
-
*/
|
|
15202
|
-
targets: array(string()).min(1),
|
|
15203
|
-
access: array(MethodAccessSchema).min(1)
|
|
15204
|
-
})
|
|
15205
|
-
]);
|
|
15759
|
+
DeviceTokenScopeSchema
|
|
15760
|
+
]));
|
|
15206
15761
|
object({
|
|
15207
15762
|
id: string(),
|
|
15208
15763
|
username: string(),
|
|
@@ -15519,7 +16074,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15519
16074
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15520
16075
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15521
16076
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15522
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16077
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15523
16078
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15524
16079
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15525
16080
|
* (`getObjectEvents` et al.).
|
|
@@ -15655,7 +16210,21 @@ union([literal(1), literal(2)]);
|
|
|
15655
16210
|
var LabelAttributionSchema = object({
|
|
15656
16211
|
stepId: string(),
|
|
15657
16212
|
modelId: string().optional(),
|
|
15658
|
-
decidedAt: number()
|
|
16213
|
+
decidedAt: number(),
|
|
16214
|
+
/**
|
|
16215
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16216
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16217
|
+
*
|
|
16218
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16219
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16220
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16221
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16222
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16223
|
+
*
|
|
16224
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16225
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16226
|
+
*/
|
|
16227
|
+
identityId: string().optional()
|
|
15659
16228
|
});
|
|
15660
16229
|
/**
|
|
15661
16230
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15792,6 +16361,28 @@ var TrackSchema = object({
|
|
|
15792
16361
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15793
16362
|
*/
|
|
15794
16363
|
hasFace: boolean().optional(),
|
|
16364
|
+
/**
|
|
16365
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16366
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16367
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16368
|
+
*
|
|
16369
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16370
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16371
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16372
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16373
|
+
* stop. This is the composition note that makes the row true.
|
|
16374
|
+
*
|
|
16375
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16376
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16377
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16378
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16379
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16380
|
+
*
|
|
16381
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16382
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16383
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16384
|
+
*/
|
|
16385
|
+
hasRider: boolean().optional(),
|
|
15795
16386
|
...TrackFlagFields,
|
|
15796
16387
|
...TrackRetrainFields
|
|
15797
16388
|
});
|
|
@@ -16141,7 +16732,10 @@ var RecentTracksQueryInput = object({
|
|
|
16141
16732
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16142
16733
|
cursor: string().optional(),
|
|
16143
16734
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16144
|
-
projection: TrackProjectionSchema.optional()
|
|
16735
|
+
projection: TrackProjectionSchema.optional(),
|
|
16736
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16737
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16738
|
+
includeStationary: boolean().optional()
|
|
16145
16739
|
});
|
|
16146
16740
|
var RecentTracksPageSchema = object({
|
|
16147
16741
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16359,7 +16953,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16359
16953
|
zone: TrackZoneFilterSchema.optional(),
|
|
16360
16954
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16361
16955
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16362
|
-
projection: TrackProjectionSchema.optional()
|
|
16956
|
+
projection: TrackProjectionSchema.optional(),
|
|
16957
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
16958
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
16959
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
16960
|
+
includeStationary: boolean().optional()
|
|
16363
16961
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16364
16962
|
kind: "mutation",
|
|
16365
16963
|
auth: "admin"
|
|
@@ -16523,11 +17121,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16523
17121
|
auth: "admin"
|
|
16524
17122
|
}), method(object({
|
|
16525
17123
|
eventId: string(),
|
|
16526
|
-
kind: MediaFileKindEnum.optional()
|
|
17124
|
+
kind: MediaFileKindEnum.optional(),
|
|
17125
|
+
deviceId: number()
|
|
16527
17126
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16528
17127
|
trackId: string(),
|
|
16529
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16530
|
-
|
|
17128
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17129
|
+
deviceId: number()
|
|
17130
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17131
|
+
trackId: string(),
|
|
17132
|
+
deviceId: number()
|
|
17133
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16531
17134
|
kind: "mutation",
|
|
16532
17135
|
auth: "admin"
|
|
16533
17136
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17187,6 +17790,17 @@ var maxSessionHoldMsField = {
|
|
|
17187
17790
|
default: 12e4,
|
|
17188
17791
|
step: 5e3
|
|
17189
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
|
+
};
|
|
17190
17804
|
var motionFpsField = {
|
|
17191
17805
|
min: 1,
|
|
17192
17806
|
max: 30,
|
|
@@ -17199,10 +17813,26 @@ var detectionFpsField = {
|
|
|
17199
17813
|
default: 10,
|
|
17200
17814
|
step: 1
|
|
17201
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
|
+
*/
|
|
17202
17832
|
var occupancyRecheckSecField = {
|
|
17203
17833
|
min: 0,
|
|
17204
17834
|
max: 300,
|
|
17205
|
-
default:
|
|
17835
|
+
default: 300,
|
|
17206
17836
|
step: 5
|
|
17207
17837
|
};
|
|
17208
17838
|
var occupancyRecheckFramesField = {
|
|
@@ -17347,6 +17977,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17347
17977
|
* resolved `CameraDetectionConfig`.
|
|
17348
17978
|
*/
|
|
17349
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(),
|
|
17350
18001
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17351
18002
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17352
18003
|
motionStreamId: string(),
|
|
@@ -17400,15 +18051,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17400
18051
|
*/
|
|
17401
18052
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17402
18053
|
/**
|
|
17403
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17404
|
-
*
|
|
17405
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17406
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17407
|
-
* 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
|
|
17408
18056
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17409
18057
|
* (and only render) when this is enabled.
|
|
17410
|
-
|
|
17411
|
-
|
|
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),
|
|
17412
18069
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17413
18070
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17414
18071
|
/**
|
|
@@ -17436,7 +18093,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17436
18093
|
*/
|
|
17437
18094
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17438
18095
|
});
|
|
17439
|
-
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;
|
|
17440
18097
|
/**
|
|
17441
18098
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17442
18099
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18465,7 +19122,16 @@ targets: array(object({
|
|
|
18465
19122
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18466
19123
|
* NOT refresh in the background. A surface should say so rather than
|
|
18467
19124
|
* present it as current. */
|
|
18468
|
-
sleeping: boolean()
|
|
19125
|
+
sleeping: boolean(),
|
|
19126
|
+
/** Current device state rendered over the cached frame. State images
|
|
19127
|
+
* remain authoritative even when their photographic background is
|
|
19128
|
+
* old; null means the link must carry a current camera frame. */
|
|
19129
|
+
stateReason: _enum([
|
|
19130
|
+
"disabled",
|
|
19131
|
+
"sleeping",
|
|
19132
|
+
"unreachable",
|
|
19133
|
+
"waking"
|
|
19134
|
+
]).nullable()
|
|
18469
19135
|
})));
|
|
18470
19136
|
/**
|
|
18471
19137
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -19987,6 +20653,25 @@ var BatteryStatusSchema = object({
|
|
|
19987
20653
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
19988
20654
|
lastUpdated: number(),
|
|
19989
20655
|
/**
|
|
20656
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20657
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20658
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20659
|
+
*
|
|
20660
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20661
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20662
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20663
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20664
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20665
|
+
*
|
|
20666
|
+
* It is deliberately NOT a clock in the
|
|
20667
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20668
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20669
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20670
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20671
|
+
* SQLite commit per round-trip.
|
|
20672
|
+
*/
|
|
20673
|
+
lastContactAt: number().optional(),
|
|
20674
|
+
/**
|
|
19990
20675
|
* True when the source is a BINARY low-battery indicator (HA
|
|
19991
20676
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
19992
20677
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23524,7 +24209,7 @@ method(object({
|
|
|
23524
24209
|
toMs: number()
|
|
23525
24210
|
}), RecordingAvailabilitySchema, {
|
|
23526
24211
|
kind: "query",
|
|
23527
|
-
auth: "
|
|
24212
|
+
auth: "protected"
|
|
23528
24213
|
}), method(object({
|
|
23529
24214
|
deviceId: number(),
|
|
23530
24215
|
fromMs: number(),
|
|
@@ -23532,14 +24217,14 @@ method(object({
|
|
|
23532
24217
|
tzOffsetMinutes: number()
|
|
23533
24218
|
}), RecordingDaysSchema, {
|
|
23534
24219
|
kind: "query",
|
|
23535
|
-
auth: "
|
|
24220
|
+
auth: "protected"
|
|
23536
24221
|
}), method(object({
|
|
23537
24222
|
deviceId: number(),
|
|
23538
24223
|
fromMs: number(),
|
|
23539
24224
|
toMs: number()
|
|
23540
24225
|
}), RecordingManifestSchema, {
|
|
23541
24226
|
kind: "query",
|
|
23542
|
-
auth: "
|
|
24227
|
+
auth: "protected"
|
|
23543
24228
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23544
24229
|
kind: "query",
|
|
23545
24230
|
auth: "admin"
|
|
@@ -23829,14 +24514,77 @@ method(object({
|
|
|
23829
24514
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
23830
24515
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
23831
24516
|
*
|
|
23832
|
-
*
|
|
23833
|
-
*
|
|
23834
|
-
*
|
|
23835
|
-
*
|
|
23836
|
-
|
|
23837
|
-
|
|
23838
|
-
*
|
|
24517
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24518
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24519
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24520
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24521
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24522
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24523
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24524
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24525
|
+
*
|
|
24526
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24527
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24528
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24529
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24530
|
+
*
|
|
24531
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24532
|
+
* availability change; consumers never poll.
|
|
24533
|
+
*/
|
|
24534
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24535
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24536
|
+
* Open by design so more can be added without a wire break.
|
|
24537
|
+
*
|
|
24538
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24539
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24540
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24541
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
23839
24542
|
var SceneConditionSchema = string();
|
|
24543
|
+
/**
|
|
24544
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24545
|
+
*
|
|
24546
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24547
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24548
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24549
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24550
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24551
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24552
|
+
*
|
|
24553
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24554
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24555
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24556
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24557
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24558
|
+
* configuration choice instead of a nightly fault.
|
|
24559
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24560
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24561
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24562
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24563
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24564
|
+
*
|
|
24565
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24566
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24567
|
+
* there would hide a scene the operator never finished setting up.
|
|
24568
|
+
*/
|
|
24569
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24570
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24571
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24572
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24573
|
+
* and never counts toward hysteresis in either direction. */
|
|
24574
|
+
var SceneVerdictSchema = _enum([
|
|
24575
|
+
"matched",
|
|
24576
|
+
"diverged",
|
|
24577
|
+
"unknown"
|
|
24578
|
+
]);
|
|
24579
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24580
|
+
* silence that reads as "nothing has happened". */
|
|
24581
|
+
var SceneUnavailableSchema = _enum([
|
|
24582
|
+
"no-reference-for-condition",
|
|
24583
|
+
"view-shifted",
|
|
24584
|
+
"no-vision-profile",
|
|
24585
|
+
"encoder-model-changed",
|
|
24586
|
+
"no-snapshot"
|
|
24587
|
+
]);
|
|
23840
24588
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
23841
24589
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
23842
24590
|
var SceneReferenceSchema = object({
|
|
@@ -23844,7 +24592,14 @@ var SceneReferenceSchema = object({
|
|
|
23844
24592
|
modelId: string(),
|
|
23845
24593
|
condition: SceneConditionSchema,
|
|
23846
24594
|
capturedAt: number(),
|
|
23847
|
-
thumbnailMediaId: string().optional()
|
|
24595
|
+
thumbnailMediaId: string().optional(),
|
|
24596
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24597
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24598
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24599
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24600
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24601
|
+
* transition, not per poll. */
|
|
24602
|
+
anchorEmbedding: array(number()).optional()
|
|
23848
24603
|
});
|
|
23849
24604
|
var SceneMonitorStateSchema = object({
|
|
23850
24605
|
id: string(),
|
|
@@ -23866,6 +24621,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
23866
24621
|
profileId: string().optional(),
|
|
23867
24622
|
hysteresisCount: number().int().positive()
|
|
23868
24623
|
})]);
|
|
24624
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24625
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24626
|
+
* out in silence rather than reporting a fault every night. */
|
|
24627
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24628
|
+
/**
|
|
24629
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24630
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24631
|
+
*
|
|
24632
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24633
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24634
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24635
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24636
|
+
*/
|
|
24637
|
+
var SceneConfirmSchema = object({
|
|
24638
|
+
enabled: boolean().default(false),
|
|
24639
|
+
prompt: string().min(1).max(1e3),
|
|
24640
|
+
profileId: string().optional(),
|
|
24641
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24642
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24643
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24644
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24645
|
+
});
|
|
23869
24646
|
var SceneMonitorSchema = object({
|
|
23870
24647
|
id: string(),
|
|
23871
24648
|
label: string(),
|
|
@@ -23884,7 +24661,56 @@ var SceneMonitorSchema = object({
|
|
|
23884
24661
|
lastConfidence: number().nullable(),
|
|
23885
24662
|
currentCondition: SceneConditionSchema.nullable(),
|
|
23886
24663
|
availability: _enum(["ok", "unavailable"]),
|
|
23887
|
-
unavailableReason: string().nullable()
|
|
24664
|
+
unavailableReason: string().nullable(),
|
|
24665
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24666
|
+
baselineStateId: string().nullable(),
|
|
24667
|
+
/** Which boolean drives notification rules and any export. */
|
|
24668
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24669
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24670
|
+
verdict: SceneVerdictSchema,
|
|
24671
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24672
|
+
latched: boolean(),
|
|
24673
|
+
/** Last reset (or creation). */
|
|
24674
|
+
armedAt: number(),
|
|
24675
|
+
divergedAt: number().nullable(),
|
|
24676
|
+
restoredAt: number().nullable(),
|
|
24677
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24678
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24679
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24680
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24681
|
+
/** An observation only advances the pending count when it is at least this
|
|
24682
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24683
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24684
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24685
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24686
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24687
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24688
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24689
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24690
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24691
|
+
* automation can react to the bin coming back without the operator's own
|
|
24692
|
+
* alarm silently clearing itself. */
|
|
24693
|
+
autoRestore: boolean().default(false),
|
|
24694
|
+
/** What to do when the current light has no reference of its own. See
|
|
24695
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24696
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24697
|
+
/**
|
|
24698
|
+
* The light whose checks are currently being SAT OUT under
|
|
24699
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24700
|
+
*
|
|
24701
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24702
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24703
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24704
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24705
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24706
|
+
* read as a broken one.
|
|
24707
|
+
*/
|
|
24708
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24709
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24710
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24711
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24712
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24713
|
+
coveredConditions: array(SceneConditionSchema)
|
|
23888
24714
|
});
|
|
23889
24715
|
var SceneMonitorStatusSchema = object({
|
|
23890
24716
|
monitors: array(SceneMonitorSchema),
|
|
@@ -23917,7 +24743,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23917
24743
|
"both"
|
|
23918
24744
|
]).optional(),
|
|
23919
24745
|
checkIntervalSec: number().optional(),
|
|
23920
|
-
check: SceneCheckSchema.optional()
|
|
24746
|
+
check: SceneCheckSchema.optional(),
|
|
24747
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24748
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24749
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24750
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24751
|
+
autoRestore: boolean().optional(),
|
|
24752
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24753
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24754
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
23921
24755
|
})
|
|
23922
24756
|
}), _void(), {
|
|
23923
24757
|
kind: "mutation",
|
|
@@ -23954,6 +24788,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
23954
24788
|
}), _void(), {
|
|
23955
24789
|
kind: "mutation",
|
|
23956
24790
|
auth: "admin"
|
|
24791
|
+
}), method(object({
|
|
24792
|
+
deviceId: number(),
|
|
24793
|
+
monitorId: string(),
|
|
24794
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24795
|
+
recapture: boolean().optional()
|
|
24796
|
+
}), _void(), {
|
|
24797
|
+
kind: "mutation",
|
|
24798
|
+
auth: "admin"
|
|
23957
24799
|
});
|
|
23958
24800
|
/**
|
|
23959
24801
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24107,6 +24949,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24107
24949
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24108
24950
|
metadata: record(string(), unknown()).optional()
|
|
24109
24951
|
});
|
|
24952
|
+
object({
|
|
24953
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
24954
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
24955
|
+
* one the camera itself once produced. */
|
|
24956
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
24957
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
24958
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
24959
|
+
* re-read. */
|
|
24960
|
+
lastFetchedAt: number()
|
|
24961
|
+
});
|
|
24110
24962
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24111
24963
|
/** One of the camera's stream profiles. */
|
|
24112
24964
|
var StreamProfileSchema = _enum([
|
|
@@ -24262,12 +25114,64 @@ var NetworkAddressSchema = object({
|
|
|
24262
25114
|
family: string(),
|
|
24263
25115
|
internal: boolean()
|
|
24264
25116
|
});
|
|
25117
|
+
/**
|
|
25118
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25119
|
+
* numbers.
|
|
25120
|
+
*
|
|
25121
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25122
|
+
* nothing overwrites it.
|
|
25123
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25124
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25125
|
+
* the sun-times consumers otherwise fall back to.
|
|
25126
|
+
*
|
|
25127
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25128
|
+
* own input will eventually trust the guess.
|
|
25129
|
+
*/
|
|
25130
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25131
|
+
/**
|
|
25132
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25133
|
+
*
|
|
25134
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25135
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25136
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25137
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25138
|
+
* coordinates or presses detect.
|
|
25139
|
+
*/
|
|
25140
|
+
var SiteLocationStatusSchema = object({
|
|
25141
|
+
location: object({
|
|
25142
|
+
/** WGS84 decimal degrees. */
|
|
25143
|
+
latitude: number().min(-90).max(90),
|
|
25144
|
+
longitude: number().min(-180).max(180),
|
|
25145
|
+
source: SiteLocationSourceSchema,
|
|
25146
|
+
/** Epoch ms the value was last written. */
|
|
25147
|
+
updatedAt: number(),
|
|
25148
|
+
/**
|
|
25149
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25150
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25151
|
+
*/
|
|
25152
|
+
label: string().optional()
|
|
25153
|
+
}).nullable(),
|
|
25154
|
+
derivationAttemptedAt: number().nullable(),
|
|
25155
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25156
|
+
derivationError: string().nullable()
|
|
25157
|
+
});
|
|
25158
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25159
|
+
var SetSiteLocationInputSchema = object({
|
|
25160
|
+
latitude: number().min(-90).max(90),
|
|
25161
|
+
longitude: number().min(-180).max(180)
|
|
25162
|
+
}).nullable();
|
|
24265
25163
|
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(), {
|
|
24266
25164
|
kind: "mutation",
|
|
24267
25165
|
auth: "admin"
|
|
24268
25166
|
}), method(_void(), _void(), {
|
|
24269
25167
|
kind: "mutation",
|
|
24270
25168
|
auth: "admin"
|
|
25169
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25170
|
+
kind: "mutation",
|
|
25171
|
+
auth: "admin"
|
|
25172
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25173
|
+
kind: "mutation",
|
|
25174
|
+
auth: "admin"
|
|
24271
25175
|
});
|
|
24272
25176
|
object({
|
|
24273
25177
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -26997,6 +27901,12 @@ Object.freeze({
|
|
|
26997
27901
|
addonId: null,
|
|
26998
27902
|
access: "create"
|
|
26999
27903
|
},
|
|
27904
|
+
"llm.cancel": {
|
|
27905
|
+
capName: "llm",
|
|
27906
|
+
capScope: "system",
|
|
27907
|
+
addonId: null,
|
|
27908
|
+
access: "create"
|
|
27909
|
+
},
|
|
27000
27910
|
"llm.deleteModel": {
|
|
27001
27911
|
capName: "llm",
|
|
27002
27912
|
capScope: "system",
|
|
@@ -27081,6 +27991,12 @@ Object.freeze({
|
|
|
27081
27991
|
addonId: null,
|
|
27082
27992
|
access: "view"
|
|
27083
27993
|
},
|
|
27994
|
+
"llm.resolveModelRef": {
|
|
27995
|
+
capName: "llm",
|
|
27996
|
+
capScope: "system",
|
|
27997
|
+
addonId: null,
|
|
27998
|
+
access: "create"
|
|
27999
|
+
},
|
|
27084
28000
|
"llm.setDefault": {
|
|
27085
28001
|
capName: "llm",
|
|
27086
28002
|
capScope: "system",
|
|
@@ -29247,6 +30163,12 @@ Object.freeze({
|
|
|
29247
30163
|
addonId: null,
|
|
29248
30164
|
access: "create"
|
|
29249
30165
|
},
|
|
30166
|
+
"sceneMonitor.resetScene": {
|
|
30167
|
+
capName: "scene-monitor",
|
|
30168
|
+
capScope: "device",
|
|
30169
|
+
addonId: null,
|
|
30170
|
+
access: "delete"
|
|
30171
|
+
},
|
|
29250
30172
|
"sceneMonitor.updateScene": {
|
|
29251
30173
|
capName: "scene-monitor",
|
|
29252
30174
|
capScope: "device",
|
|
@@ -29925,6 +30847,12 @@ Object.freeze({
|
|
|
29925
30847
|
addonId: null,
|
|
29926
30848
|
access: "create"
|
|
29927
30849
|
},
|
|
30850
|
+
"system.detectSiteLocation": {
|
|
30851
|
+
capName: "system",
|
|
30852
|
+
capScope: "system",
|
|
30853
|
+
addonId: null,
|
|
30854
|
+
access: "create"
|
|
30855
|
+
},
|
|
29928
30856
|
"system.featureFlags": {
|
|
29929
30857
|
capName: "system",
|
|
29930
30858
|
capScope: "system",
|
|
@@ -29943,6 +30871,12 @@ Object.freeze({
|
|
|
29943
30871
|
addonId: null,
|
|
29944
30872
|
access: "view"
|
|
29945
30873
|
},
|
|
30874
|
+
"system.getSiteLocation": {
|
|
30875
|
+
capName: "system",
|
|
30876
|
+
capScope: "system",
|
|
30877
|
+
addonId: null,
|
|
30878
|
+
access: "view"
|
|
30879
|
+
},
|
|
29946
30880
|
"system.health": {
|
|
29947
30881
|
capName: "system",
|
|
29948
30882
|
capScope: "system",
|
|
@@ -29967,6 +30901,12 @@ Object.freeze({
|
|
|
29967
30901
|
addonId: null,
|
|
29968
30902
|
access: "create"
|
|
29969
30903
|
},
|
|
30904
|
+
"system.setSiteLocation": {
|
|
30905
|
+
capName: "system",
|
|
30906
|
+
capScope: "system",
|
|
30907
|
+
addonId: null,
|
|
30908
|
+
access: "create"
|
|
30909
|
+
},
|
|
29970
30910
|
"terminalSession.adoptLegacyMonitor": {
|
|
29971
30911
|
capName: "terminal-session",
|
|
29972
30912
|
capScope: "system",
|
|
@@ -30538,6 +31478,1704 @@ Object.freeze({
|
|
|
30538
31478
|
access: "create"
|
|
30539
31479
|
}
|
|
30540
31480
|
});
|
|
31481
|
+
Object.freeze({
|
|
31482
|
+
"accessories.setChildHidden": [{
|
|
31483
|
+
name: "childDeviceId",
|
|
31484
|
+
form: "single",
|
|
31485
|
+
optional: false
|
|
31486
|
+
}, {
|
|
31487
|
+
name: "deviceId",
|
|
31488
|
+
form: "single",
|
|
31489
|
+
optional: false
|
|
31490
|
+
}],
|
|
31491
|
+
"addonSettings.getDeviceSettings": [{
|
|
31492
|
+
name: "deviceId",
|
|
31493
|
+
form: "single",
|
|
31494
|
+
optional: false
|
|
31495
|
+
}],
|
|
31496
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31497
|
+
name: "deviceId",
|
|
31498
|
+
form: "single",
|
|
31499
|
+
optional: false
|
|
31500
|
+
}],
|
|
31501
|
+
"alarmPanel.arm": [{
|
|
31502
|
+
name: "deviceId",
|
|
31503
|
+
form: "single",
|
|
31504
|
+
optional: false
|
|
31505
|
+
}],
|
|
31506
|
+
"alarmPanel.disarm": [{
|
|
31507
|
+
name: "deviceId",
|
|
31508
|
+
form: "single",
|
|
31509
|
+
optional: false
|
|
31510
|
+
}],
|
|
31511
|
+
"alarmPanel.trigger": [{
|
|
31512
|
+
name: "deviceId",
|
|
31513
|
+
form: "single",
|
|
31514
|
+
optional: false
|
|
31515
|
+
}],
|
|
31516
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31517
|
+
name: "deviceId",
|
|
31518
|
+
form: "single",
|
|
31519
|
+
optional: false
|
|
31520
|
+
}],
|
|
31521
|
+
"audioAnalyzer.classify": [{
|
|
31522
|
+
name: "deviceId",
|
|
31523
|
+
form: "single",
|
|
31524
|
+
optional: true
|
|
31525
|
+
}],
|
|
31526
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31527
|
+
name: "deviceId",
|
|
31528
|
+
form: "single",
|
|
31529
|
+
optional: false
|
|
31530
|
+
}],
|
|
31531
|
+
"audioMetrics.getHistory": [{
|
|
31532
|
+
name: "deviceId",
|
|
31533
|
+
form: "single",
|
|
31534
|
+
optional: false
|
|
31535
|
+
}],
|
|
31536
|
+
"automationControl.disable": [{
|
|
31537
|
+
name: "deviceId",
|
|
31538
|
+
form: "single",
|
|
31539
|
+
optional: false
|
|
31540
|
+
}],
|
|
31541
|
+
"automationControl.enable": [{
|
|
31542
|
+
name: "deviceId",
|
|
31543
|
+
form: "single",
|
|
31544
|
+
optional: false
|
|
31545
|
+
}],
|
|
31546
|
+
"automationControl.trigger": [{
|
|
31547
|
+
name: "deviceId",
|
|
31548
|
+
form: "single",
|
|
31549
|
+
optional: false
|
|
31550
|
+
}],
|
|
31551
|
+
"battery.wakeForStream": [{
|
|
31552
|
+
name: "deviceId",
|
|
31553
|
+
form: "single",
|
|
31554
|
+
optional: false
|
|
31555
|
+
}],
|
|
31556
|
+
"brightness.setBrightness": [{
|
|
31557
|
+
name: "deviceId",
|
|
31558
|
+
form: "single",
|
|
31559
|
+
optional: false
|
|
31560
|
+
}],
|
|
31561
|
+
"button.press": [{
|
|
31562
|
+
name: "deviceId",
|
|
31563
|
+
form: "single",
|
|
31564
|
+
optional: false
|
|
31565
|
+
}],
|
|
31566
|
+
"cameraCredentials.getCredentials": [{
|
|
31567
|
+
name: "deviceId",
|
|
31568
|
+
form: "single",
|
|
31569
|
+
optional: false
|
|
31570
|
+
}],
|
|
31571
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31572
|
+
name: "deviceId",
|
|
31573
|
+
form: "single",
|
|
31574
|
+
optional: false
|
|
31575
|
+
}],
|
|
31576
|
+
"cameraStreams.getCameraStreams": [{
|
|
31577
|
+
name: "deviceId",
|
|
31578
|
+
form: "single",
|
|
31579
|
+
optional: false
|
|
31580
|
+
}],
|
|
31581
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31582
|
+
name: "deviceId",
|
|
31583
|
+
form: "single",
|
|
31584
|
+
optional: false
|
|
31585
|
+
}],
|
|
31586
|
+
"cameraStreams.getRtspEntries": [{
|
|
31587
|
+
name: "deviceId",
|
|
31588
|
+
form: "single",
|
|
31589
|
+
optional: false
|
|
31590
|
+
}],
|
|
31591
|
+
"cameraStreams.pickStream": [{
|
|
31592
|
+
name: "deviceId",
|
|
31593
|
+
form: "single",
|
|
31594
|
+
optional: false
|
|
31595
|
+
}],
|
|
31596
|
+
"climateControl.setFanMode": [{
|
|
31597
|
+
name: "deviceId",
|
|
31598
|
+
form: "single",
|
|
31599
|
+
optional: false
|
|
31600
|
+
}],
|
|
31601
|
+
"climateControl.setMode": [{
|
|
31602
|
+
name: "deviceId",
|
|
31603
|
+
form: "single",
|
|
31604
|
+
optional: false
|
|
31605
|
+
}],
|
|
31606
|
+
"climateControl.setPreset": [{
|
|
31607
|
+
name: "deviceId",
|
|
31608
|
+
form: "single",
|
|
31609
|
+
optional: false
|
|
31610
|
+
}],
|
|
31611
|
+
"climateControl.setSwingHorizontal": [{
|
|
31612
|
+
name: "deviceId",
|
|
31613
|
+
form: "single",
|
|
31614
|
+
optional: false
|
|
31615
|
+
}],
|
|
31616
|
+
"climateControl.setSwingVertical": [{
|
|
31617
|
+
name: "deviceId",
|
|
31618
|
+
form: "single",
|
|
31619
|
+
optional: false
|
|
31620
|
+
}],
|
|
31621
|
+
"climateControl.setTarget": [{
|
|
31622
|
+
name: "deviceId",
|
|
31623
|
+
form: "single",
|
|
31624
|
+
optional: false
|
|
31625
|
+
}],
|
|
31626
|
+
"climateControl.setTargetHumidity": [{
|
|
31627
|
+
name: "deviceId",
|
|
31628
|
+
form: "single",
|
|
31629
|
+
optional: false
|
|
31630
|
+
}],
|
|
31631
|
+
"climateControl.setTargetRange": [{
|
|
31632
|
+
name: "deviceId",
|
|
31633
|
+
form: "single",
|
|
31634
|
+
optional: false
|
|
31635
|
+
}],
|
|
31636
|
+
"color.setColor": [{
|
|
31637
|
+
name: "deviceId",
|
|
31638
|
+
form: "single",
|
|
31639
|
+
optional: false
|
|
31640
|
+
}],
|
|
31641
|
+
"consumables.reset": [{
|
|
31642
|
+
name: "deviceId",
|
|
31643
|
+
form: "single",
|
|
31644
|
+
optional: false
|
|
31645
|
+
}],
|
|
31646
|
+
"control.setValue": [{
|
|
31647
|
+
name: "deviceId",
|
|
31648
|
+
form: "single",
|
|
31649
|
+
optional: false
|
|
31650
|
+
}],
|
|
31651
|
+
"cover.close": [{
|
|
31652
|
+
name: "deviceId",
|
|
31653
|
+
form: "single",
|
|
31654
|
+
optional: false
|
|
31655
|
+
}],
|
|
31656
|
+
"cover.open": [{
|
|
31657
|
+
name: "deviceId",
|
|
31658
|
+
form: "single",
|
|
31659
|
+
optional: false
|
|
31660
|
+
}],
|
|
31661
|
+
"cover.setPosition": [{
|
|
31662
|
+
name: "deviceId",
|
|
31663
|
+
form: "single",
|
|
31664
|
+
optional: false
|
|
31665
|
+
}],
|
|
31666
|
+
"cover.setTiltPosition": [{
|
|
31667
|
+
name: "deviceId",
|
|
31668
|
+
form: "single",
|
|
31669
|
+
optional: false
|
|
31670
|
+
}],
|
|
31671
|
+
"cover.stop": [{
|
|
31672
|
+
name: "deviceId",
|
|
31673
|
+
form: "single",
|
|
31674
|
+
optional: false
|
|
31675
|
+
}],
|
|
31676
|
+
"dayNight.getOptions": [{
|
|
31677
|
+
name: "deviceId",
|
|
31678
|
+
form: "single",
|
|
31679
|
+
optional: false
|
|
31680
|
+
}],
|
|
31681
|
+
"dayNight.setSettings": [{
|
|
31682
|
+
name: "deviceId",
|
|
31683
|
+
form: "single",
|
|
31684
|
+
optional: false
|
|
31685
|
+
}],
|
|
31686
|
+
"decoder.createSession": [{
|
|
31687
|
+
name: "deviceId",
|
|
31688
|
+
form: "single",
|
|
31689
|
+
optional: true
|
|
31690
|
+
}],
|
|
31691
|
+
"deviceAdoption.release": [{
|
|
31692
|
+
name: "camDeviceId",
|
|
31693
|
+
form: "single",
|
|
31694
|
+
optional: false
|
|
31695
|
+
}],
|
|
31696
|
+
"deviceAdoption.resync": [{
|
|
31697
|
+
name: "camDeviceId",
|
|
31698
|
+
form: "single",
|
|
31699
|
+
optional: false
|
|
31700
|
+
}],
|
|
31701
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31702
|
+
name: "deviceId",
|
|
31703
|
+
form: "single",
|
|
31704
|
+
optional: false
|
|
31705
|
+
}],
|
|
31706
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31707
|
+
name: "deviceId",
|
|
31708
|
+
form: "single",
|
|
31709
|
+
optional: false
|
|
31710
|
+
}],
|
|
31711
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31712
|
+
name: "deviceId",
|
|
31713
|
+
form: "single",
|
|
31714
|
+
optional: false
|
|
31715
|
+
}],
|
|
31716
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31717
|
+
name: "childDeviceId",
|
|
31718
|
+
form: "single",
|
|
31719
|
+
optional: false
|
|
31720
|
+
}, {
|
|
31721
|
+
name: "deviceId",
|
|
31722
|
+
form: "single",
|
|
31723
|
+
optional: false
|
|
31724
|
+
}],
|
|
31725
|
+
"deviceManager.adoptionRelease": [{
|
|
31726
|
+
name: "camDeviceId",
|
|
31727
|
+
form: "single",
|
|
31728
|
+
optional: false
|
|
31729
|
+
}],
|
|
31730
|
+
"deviceManager.adoptionResync": [{
|
|
31731
|
+
name: "camDeviceId",
|
|
31732
|
+
form: "single",
|
|
31733
|
+
optional: false
|
|
31734
|
+
}],
|
|
31735
|
+
"deviceManager.applyInitialMeta": [{
|
|
31736
|
+
name: "deviceId",
|
|
31737
|
+
form: "single",
|
|
31738
|
+
optional: false
|
|
31739
|
+
}, {
|
|
31740
|
+
name: "linkDeviceId",
|
|
31741
|
+
form: "single",
|
|
31742
|
+
optional: true
|
|
31743
|
+
}],
|
|
31744
|
+
"deviceManager.disable": [{
|
|
31745
|
+
name: "deviceId",
|
|
31746
|
+
form: "single",
|
|
31747
|
+
optional: false
|
|
31748
|
+
}],
|
|
31749
|
+
"deviceManager.enable": [{
|
|
31750
|
+
name: "deviceId",
|
|
31751
|
+
form: "single",
|
|
31752
|
+
optional: false
|
|
31753
|
+
}],
|
|
31754
|
+
"deviceManager.getBindings": [{
|
|
31755
|
+
name: "deviceId",
|
|
31756
|
+
form: "single",
|
|
31757
|
+
optional: false
|
|
31758
|
+
}],
|
|
31759
|
+
"deviceManager.getChildren": [{
|
|
31760
|
+
name: "parentDeviceId",
|
|
31761
|
+
form: "single",
|
|
31762
|
+
optional: false
|
|
31763
|
+
}],
|
|
31764
|
+
"deviceManager.getConfigSchema": [{
|
|
31765
|
+
name: "deviceId",
|
|
31766
|
+
form: "single",
|
|
31767
|
+
optional: false
|
|
31768
|
+
}],
|
|
31769
|
+
"deviceManager.getDevice": [{
|
|
31770
|
+
name: "deviceId",
|
|
31771
|
+
form: "single",
|
|
31772
|
+
optional: false
|
|
31773
|
+
}],
|
|
31774
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31775
|
+
name: "deviceId",
|
|
31776
|
+
form: "single",
|
|
31777
|
+
optional: false
|
|
31778
|
+
}],
|
|
31779
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31780
|
+
name: "deviceId",
|
|
31781
|
+
form: "single",
|
|
31782
|
+
optional: false
|
|
31783
|
+
}],
|
|
31784
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31785
|
+
name: "deviceId",
|
|
31786
|
+
form: "single",
|
|
31787
|
+
optional: false
|
|
31788
|
+
}],
|
|
31789
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31790
|
+
name: "deviceId",
|
|
31791
|
+
form: "single",
|
|
31792
|
+
optional: false
|
|
31793
|
+
}],
|
|
31794
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31795
|
+
name: "deviceIds",
|
|
31796
|
+
form: "array",
|
|
31797
|
+
optional: false
|
|
31798
|
+
}],
|
|
31799
|
+
"deviceManager.getLinkedDevices": [{
|
|
31800
|
+
name: "deviceId",
|
|
31801
|
+
form: "single",
|
|
31802
|
+
optional: false
|
|
31803
|
+
}],
|
|
31804
|
+
"deviceManager.getSettingsSchema": [{
|
|
31805
|
+
name: "deviceId",
|
|
31806
|
+
form: "single",
|
|
31807
|
+
optional: false
|
|
31808
|
+
}],
|
|
31809
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31810
|
+
name: "deviceId",
|
|
31811
|
+
form: "single",
|
|
31812
|
+
optional: false
|
|
31813
|
+
}],
|
|
31814
|
+
"deviceManager.getStreamSources": [{
|
|
31815
|
+
name: "deviceId",
|
|
31816
|
+
form: "single",
|
|
31817
|
+
optional: false
|
|
31818
|
+
}],
|
|
31819
|
+
"deviceManager.getWireableFields": [{
|
|
31820
|
+
name: "deviceId",
|
|
31821
|
+
form: "single",
|
|
31822
|
+
optional: false
|
|
31823
|
+
}],
|
|
31824
|
+
"deviceManager.loadConfig": [{
|
|
31825
|
+
name: "deviceId",
|
|
31826
|
+
form: "single",
|
|
31827
|
+
optional: false
|
|
31828
|
+
}],
|
|
31829
|
+
"deviceManager.loadMeta": [{
|
|
31830
|
+
name: "deviceId",
|
|
31831
|
+
form: "single",
|
|
31832
|
+
optional: false
|
|
31833
|
+
}],
|
|
31834
|
+
"deviceManager.loadRuntimeState": [{
|
|
31835
|
+
name: "deviceId",
|
|
31836
|
+
form: "single",
|
|
31837
|
+
optional: false
|
|
31838
|
+
}],
|
|
31839
|
+
"deviceManager.persistConfig": [{
|
|
31840
|
+
name: "deviceId",
|
|
31841
|
+
form: "single",
|
|
31842
|
+
optional: false
|
|
31843
|
+
}],
|
|
31844
|
+
"deviceManager.probeStreams": [{
|
|
31845
|
+
name: "deviceId",
|
|
31846
|
+
form: "single",
|
|
31847
|
+
optional: false
|
|
31848
|
+
}],
|
|
31849
|
+
"deviceManager.registerDevice": [{
|
|
31850
|
+
name: "parentDeviceId",
|
|
31851
|
+
form: "single",
|
|
31852
|
+
optional: true
|
|
31853
|
+
}],
|
|
31854
|
+
"deviceManager.remove": [{
|
|
31855
|
+
name: "deviceId",
|
|
31856
|
+
form: "single",
|
|
31857
|
+
optional: false
|
|
31858
|
+
}],
|
|
31859
|
+
"deviceManager.removeDevice": [{
|
|
31860
|
+
name: "deviceId",
|
|
31861
|
+
form: "single",
|
|
31862
|
+
optional: false
|
|
31863
|
+
}],
|
|
31864
|
+
"deviceManager.runDeviceAction": [{
|
|
31865
|
+
name: "deviceId",
|
|
31866
|
+
form: "single",
|
|
31867
|
+
optional: false
|
|
31868
|
+
}],
|
|
31869
|
+
"deviceManager.setChildLayout": [{
|
|
31870
|
+
name: "deviceId",
|
|
31871
|
+
form: "single",
|
|
31872
|
+
optional: false
|
|
31873
|
+
}],
|
|
31874
|
+
"deviceManager.setDisabled": [{
|
|
31875
|
+
name: "deviceId",
|
|
31876
|
+
form: "single",
|
|
31877
|
+
optional: false
|
|
31878
|
+
}],
|
|
31879
|
+
"deviceManager.setDisplay": [{
|
|
31880
|
+
name: "deviceId",
|
|
31881
|
+
form: "single",
|
|
31882
|
+
optional: false
|
|
31883
|
+
}],
|
|
31884
|
+
"deviceManager.setIntegrationId": [{
|
|
31885
|
+
name: "deviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: false
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31890
|
+
name: "deviceId",
|
|
31891
|
+
form: "single",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}, {
|
|
31894
|
+
name: "linkDeviceId",
|
|
31895
|
+
form: "single",
|
|
31896
|
+
optional: true
|
|
31897
|
+
}],
|
|
31898
|
+
"deviceManager.setLocation": [{
|
|
31899
|
+
name: "deviceId",
|
|
31900
|
+
form: "single",
|
|
31901
|
+
optional: false
|
|
31902
|
+
}],
|
|
31903
|
+
"deviceManager.setMetadata": [{
|
|
31904
|
+
name: "deviceId",
|
|
31905
|
+
form: "single",
|
|
31906
|
+
optional: false
|
|
31907
|
+
}],
|
|
31908
|
+
"deviceManager.setName": [{
|
|
31909
|
+
name: "deviceId",
|
|
31910
|
+
form: "single",
|
|
31911
|
+
optional: false
|
|
31912
|
+
}],
|
|
31913
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31914
|
+
name: "deviceId",
|
|
31915
|
+
form: "single",
|
|
31916
|
+
optional: false
|
|
31917
|
+
}],
|
|
31918
|
+
"deviceManager.setRole": [{
|
|
31919
|
+
name: "deviceId",
|
|
31920
|
+
form: "single",
|
|
31921
|
+
optional: false
|
|
31922
|
+
}],
|
|
31923
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31924
|
+
name: "deviceId",
|
|
31925
|
+
form: "single",
|
|
31926
|
+
optional: false
|
|
31927
|
+
}],
|
|
31928
|
+
"deviceManager.setType": [{
|
|
31929
|
+
name: "deviceId",
|
|
31930
|
+
form: "single",
|
|
31931
|
+
optional: false
|
|
31932
|
+
}],
|
|
31933
|
+
"deviceManager.setWrapperActive": [{
|
|
31934
|
+
name: "deviceId",
|
|
31935
|
+
form: "single",
|
|
31936
|
+
optional: false
|
|
31937
|
+
}],
|
|
31938
|
+
"deviceManager.testField": [{
|
|
31939
|
+
name: "deviceId",
|
|
31940
|
+
form: "single",
|
|
31941
|
+
optional: false
|
|
31942
|
+
}],
|
|
31943
|
+
"deviceManager.updateConfig": [{
|
|
31944
|
+
name: "deviceId",
|
|
31945
|
+
form: "single",
|
|
31946
|
+
optional: false
|
|
31947
|
+
}],
|
|
31948
|
+
"deviceManager.updateDeviceField": [{
|
|
31949
|
+
name: "deviceId",
|
|
31950
|
+
form: "single",
|
|
31951
|
+
optional: false
|
|
31952
|
+
}],
|
|
31953
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
31954
|
+
name: "deviceId",
|
|
31955
|
+
form: "single",
|
|
31956
|
+
optional: false
|
|
31957
|
+
}],
|
|
31958
|
+
"deviceOps.getConfigEntries": [{
|
|
31959
|
+
name: "deviceId",
|
|
31960
|
+
form: "single",
|
|
31961
|
+
optional: false
|
|
31962
|
+
}],
|
|
31963
|
+
"deviceOps.getRawState": [{
|
|
31964
|
+
name: "deviceId",
|
|
31965
|
+
form: "single",
|
|
31966
|
+
optional: false
|
|
31967
|
+
}],
|
|
31968
|
+
"deviceOps.getSettingsSchema": [{
|
|
31969
|
+
name: "deviceId",
|
|
31970
|
+
form: "single",
|
|
31971
|
+
optional: false
|
|
31972
|
+
}],
|
|
31973
|
+
"deviceOps.getStreamSources": [{
|
|
31974
|
+
name: "deviceId",
|
|
31975
|
+
form: "single",
|
|
31976
|
+
optional: false
|
|
31977
|
+
}],
|
|
31978
|
+
"deviceOps.removeDevice": [{
|
|
31979
|
+
name: "deviceId",
|
|
31980
|
+
form: "single",
|
|
31981
|
+
optional: false
|
|
31982
|
+
}],
|
|
31983
|
+
"deviceOps.runAction": [{
|
|
31984
|
+
name: "deviceId",
|
|
31985
|
+
form: "single",
|
|
31986
|
+
optional: false
|
|
31987
|
+
}],
|
|
31988
|
+
"deviceOps.setConfig": [{
|
|
31989
|
+
name: "deviceId",
|
|
31990
|
+
form: "single",
|
|
31991
|
+
optional: false
|
|
31992
|
+
}],
|
|
31993
|
+
"deviceState.getCapSlice": [{
|
|
31994
|
+
name: "deviceId",
|
|
31995
|
+
form: "single",
|
|
31996
|
+
optional: false
|
|
31997
|
+
}],
|
|
31998
|
+
"deviceState.getSnapshot": [{
|
|
31999
|
+
name: "deviceId",
|
|
32000
|
+
form: "single",
|
|
32001
|
+
optional: false
|
|
32002
|
+
}],
|
|
32003
|
+
"deviceState.setCapSlice": [{
|
|
32004
|
+
name: "deviceId",
|
|
32005
|
+
form: "single",
|
|
32006
|
+
optional: false
|
|
32007
|
+
}],
|
|
32008
|
+
"events.getEventClipUrl": [{
|
|
32009
|
+
name: "deviceId",
|
|
32010
|
+
form: "single",
|
|
32011
|
+
optional: false
|
|
32012
|
+
}],
|
|
32013
|
+
"events.getEvents": [{
|
|
32014
|
+
name: "deviceId",
|
|
32015
|
+
form: "single",
|
|
32016
|
+
optional: false
|
|
32017
|
+
}],
|
|
32018
|
+
"events.getEventThumbnail": [{
|
|
32019
|
+
name: "deviceId",
|
|
32020
|
+
form: "single",
|
|
32021
|
+
optional: false
|
|
32022
|
+
}],
|
|
32023
|
+
"faceGallery.getFaceByTrack": [{
|
|
32024
|
+
name: "deviceId",
|
|
32025
|
+
form: "single",
|
|
32026
|
+
optional: false
|
|
32027
|
+
}],
|
|
32028
|
+
"faceGallery.listRecentFaces": [{
|
|
32029
|
+
name: "deviceId",
|
|
32030
|
+
form: "single",
|
|
32031
|
+
optional: true
|
|
32032
|
+
}],
|
|
32033
|
+
"fanControl.setDirection": [{
|
|
32034
|
+
name: "deviceId",
|
|
32035
|
+
form: "single",
|
|
32036
|
+
optional: false
|
|
32037
|
+
}],
|
|
32038
|
+
"fanControl.setOscillating": [{
|
|
32039
|
+
name: "deviceId",
|
|
32040
|
+
form: "single",
|
|
32041
|
+
optional: false
|
|
32042
|
+
}],
|
|
32043
|
+
"fanControl.setPercentage": [{
|
|
32044
|
+
name: "deviceId",
|
|
32045
|
+
form: "single",
|
|
32046
|
+
optional: false
|
|
32047
|
+
}],
|
|
32048
|
+
"fanControl.setPreset": [{
|
|
32049
|
+
name: "deviceId",
|
|
32050
|
+
form: "single",
|
|
32051
|
+
optional: false
|
|
32052
|
+
}],
|
|
32053
|
+
"humidifier.setMode": [{
|
|
32054
|
+
name: "deviceId",
|
|
32055
|
+
form: "single",
|
|
32056
|
+
optional: false
|
|
32057
|
+
}],
|
|
32058
|
+
"humidifier.setOn": [{
|
|
32059
|
+
name: "deviceId",
|
|
32060
|
+
form: "single",
|
|
32061
|
+
optional: false
|
|
32062
|
+
}],
|
|
32063
|
+
"humidifier.setTargetHumidity": [{
|
|
32064
|
+
name: "deviceId",
|
|
32065
|
+
form: "single",
|
|
32066
|
+
optional: false
|
|
32067
|
+
}],
|
|
32068
|
+
"imageSettings.getOptions": [{
|
|
32069
|
+
name: "deviceId",
|
|
32070
|
+
form: "single",
|
|
32071
|
+
optional: false
|
|
32072
|
+
}],
|
|
32073
|
+
"imageSettings.setSettings": [{
|
|
32074
|
+
name: "deviceId",
|
|
32075
|
+
form: "single",
|
|
32076
|
+
optional: false
|
|
32077
|
+
}],
|
|
32078
|
+
"intercom.endTalkSession": [{
|
|
32079
|
+
name: "deviceId",
|
|
32080
|
+
form: "single",
|
|
32081
|
+
optional: false
|
|
32082
|
+
}],
|
|
32083
|
+
"intercom.handleAnswer": [{
|
|
32084
|
+
name: "deviceId",
|
|
32085
|
+
form: "single",
|
|
32086
|
+
optional: false
|
|
32087
|
+
}],
|
|
32088
|
+
"intercom.pushTalkAudio": [{
|
|
32089
|
+
name: "deviceId",
|
|
32090
|
+
form: "single",
|
|
32091
|
+
optional: false
|
|
32092
|
+
}],
|
|
32093
|
+
"intercom.startSession": [{
|
|
32094
|
+
name: "deviceId",
|
|
32095
|
+
form: "single",
|
|
32096
|
+
optional: false
|
|
32097
|
+
}],
|
|
32098
|
+
"intercom.startTalkSession": [{
|
|
32099
|
+
name: "deviceId",
|
|
32100
|
+
form: "single",
|
|
32101
|
+
optional: false
|
|
32102
|
+
}],
|
|
32103
|
+
"intercom.stopSession": [{
|
|
32104
|
+
name: "deviceId",
|
|
32105
|
+
form: "single",
|
|
32106
|
+
optional: false
|
|
32107
|
+
}],
|
|
32108
|
+
"lawnMowerControl.dock": [{
|
|
32109
|
+
name: "deviceId",
|
|
32110
|
+
form: "single",
|
|
32111
|
+
optional: false
|
|
32112
|
+
}],
|
|
32113
|
+
"lawnMowerControl.pause": [{
|
|
32114
|
+
name: "deviceId",
|
|
32115
|
+
form: "single",
|
|
32116
|
+
optional: false
|
|
32117
|
+
}],
|
|
32118
|
+
"lawnMowerControl.startMowing": [{
|
|
32119
|
+
name: "deviceId",
|
|
32120
|
+
form: "single",
|
|
32121
|
+
optional: false
|
|
32122
|
+
}],
|
|
32123
|
+
"lockControl.lock": [{
|
|
32124
|
+
name: "deviceId",
|
|
32125
|
+
form: "single",
|
|
32126
|
+
optional: false
|
|
32127
|
+
}],
|
|
32128
|
+
"lockControl.open": [{
|
|
32129
|
+
name: "deviceId",
|
|
32130
|
+
form: "single",
|
|
32131
|
+
optional: false
|
|
32132
|
+
}],
|
|
32133
|
+
"lockControl.unlock": [{
|
|
32134
|
+
name: "deviceId",
|
|
32135
|
+
form: "single",
|
|
32136
|
+
optional: false
|
|
32137
|
+
}],
|
|
32138
|
+
"mediaPlayer.next": [{
|
|
32139
|
+
name: "deviceId",
|
|
32140
|
+
form: "single",
|
|
32141
|
+
optional: false
|
|
32142
|
+
}],
|
|
32143
|
+
"mediaPlayer.pause": [{
|
|
32144
|
+
name: "deviceId",
|
|
32145
|
+
form: "single",
|
|
32146
|
+
optional: false
|
|
32147
|
+
}],
|
|
32148
|
+
"mediaPlayer.play": [{
|
|
32149
|
+
name: "deviceId",
|
|
32150
|
+
form: "single",
|
|
32151
|
+
optional: false
|
|
32152
|
+
}],
|
|
32153
|
+
"mediaPlayer.playMedia": [{
|
|
32154
|
+
name: "deviceId",
|
|
32155
|
+
form: "single",
|
|
32156
|
+
optional: false
|
|
32157
|
+
}],
|
|
32158
|
+
"mediaPlayer.previous": [{
|
|
32159
|
+
name: "deviceId",
|
|
32160
|
+
form: "single",
|
|
32161
|
+
optional: false
|
|
32162
|
+
}],
|
|
32163
|
+
"mediaPlayer.seek": [{
|
|
32164
|
+
name: "deviceId",
|
|
32165
|
+
form: "single",
|
|
32166
|
+
optional: false
|
|
32167
|
+
}],
|
|
32168
|
+
"mediaPlayer.selectSource": [{
|
|
32169
|
+
name: "deviceId",
|
|
32170
|
+
form: "single",
|
|
32171
|
+
optional: false
|
|
32172
|
+
}],
|
|
32173
|
+
"mediaPlayer.setMute": [{
|
|
32174
|
+
name: "deviceId",
|
|
32175
|
+
form: "single",
|
|
32176
|
+
optional: false
|
|
32177
|
+
}],
|
|
32178
|
+
"mediaPlayer.setRepeat": [{
|
|
32179
|
+
name: "deviceId",
|
|
32180
|
+
form: "single",
|
|
32181
|
+
optional: false
|
|
32182
|
+
}],
|
|
32183
|
+
"mediaPlayer.setShuffle": [{
|
|
32184
|
+
name: "deviceId",
|
|
32185
|
+
form: "single",
|
|
32186
|
+
optional: false
|
|
32187
|
+
}],
|
|
32188
|
+
"mediaPlayer.setVolume": [{
|
|
32189
|
+
name: "deviceId",
|
|
32190
|
+
form: "single",
|
|
32191
|
+
optional: false
|
|
32192
|
+
}],
|
|
32193
|
+
"mediaPlayer.stop": [{
|
|
32194
|
+
name: "deviceId",
|
|
32195
|
+
form: "single",
|
|
32196
|
+
optional: false
|
|
32197
|
+
}],
|
|
32198
|
+
"motion.isDetected": [{
|
|
32199
|
+
name: "deviceId",
|
|
32200
|
+
form: "single",
|
|
32201
|
+
optional: false
|
|
32202
|
+
}],
|
|
32203
|
+
"motionDetection.analyze": [{
|
|
32204
|
+
name: "deviceId",
|
|
32205
|
+
form: "single",
|
|
32206
|
+
optional: false
|
|
32207
|
+
}],
|
|
32208
|
+
"motionDetection.removeCamera": [{
|
|
32209
|
+
name: "deviceId",
|
|
32210
|
+
form: "single",
|
|
32211
|
+
optional: false
|
|
32212
|
+
}],
|
|
32213
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32214
|
+
name: "deviceId",
|
|
32215
|
+
form: "single",
|
|
32216
|
+
optional: false
|
|
32217
|
+
}],
|
|
32218
|
+
"motionZones.getOptions": [{
|
|
32219
|
+
name: "deviceId",
|
|
32220
|
+
form: "single",
|
|
32221
|
+
optional: false
|
|
32222
|
+
}],
|
|
32223
|
+
"motionZones.setZone": [{
|
|
32224
|
+
name: "deviceId",
|
|
32225
|
+
form: "single",
|
|
32226
|
+
optional: false
|
|
32227
|
+
}],
|
|
32228
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32229
|
+
name: "deviceId",
|
|
32230
|
+
form: "single",
|
|
32231
|
+
optional: false
|
|
32232
|
+
}],
|
|
32233
|
+
"networkQuality.getDeviceStats": [{
|
|
32234
|
+
name: "deviceId",
|
|
32235
|
+
form: "single",
|
|
32236
|
+
optional: false
|
|
32237
|
+
}],
|
|
32238
|
+
"networkQuality.reportClientStats": [{
|
|
32239
|
+
name: "deviceId",
|
|
32240
|
+
form: "single",
|
|
32241
|
+
optional: false
|
|
32242
|
+
}],
|
|
32243
|
+
"notificationRules.setDeviceMuted": [{
|
|
32244
|
+
name: "deviceId",
|
|
32245
|
+
form: "single",
|
|
32246
|
+
optional: false
|
|
32247
|
+
}],
|
|
32248
|
+
"notifier.cancel": [{
|
|
32249
|
+
name: "deviceId",
|
|
32250
|
+
form: "single",
|
|
32251
|
+
optional: false
|
|
32252
|
+
}],
|
|
32253
|
+
"notifier.send": [{
|
|
32254
|
+
name: "deviceId",
|
|
32255
|
+
form: "single",
|
|
32256
|
+
optional: false
|
|
32257
|
+
}],
|
|
32258
|
+
"osd.setOverlay": [{
|
|
32259
|
+
name: "deviceId",
|
|
32260
|
+
form: "single",
|
|
32261
|
+
optional: false
|
|
32262
|
+
}],
|
|
32263
|
+
"osdManager.clearSlotBinding": [{
|
|
32264
|
+
name: "deviceId",
|
|
32265
|
+
form: "single",
|
|
32266
|
+
optional: false
|
|
32267
|
+
}],
|
|
32268
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32269
|
+
name: "sourceDeviceId",
|
|
32270
|
+
form: "single",
|
|
32271
|
+
optional: false
|
|
32272
|
+
}, {
|
|
32273
|
+
name: "targetDeviceId",
|
|
32274
|
+
form: "single",
|
|
32275
|
+
optional: false
|
|
32276
|
+
}],
|
|
32277
|
+
"osdManager.getDeviceOsd": [{
|
|
32278
|
+
name: "deviceId",
|
|
32279
|
+
form: "single",
|
|
32280
|
+
optional: false
|
|
32281
|
+
}],
|
|
32282
|
+
"osdManager.getSourceCatalog": [{
|
|
32283
|
+
name: "deviceId",
|
|
32284
|
+
form: "single",
|
|
32285
|
+
optional: false
|
|
32286
|
+
}],
|
|
32287
|
+
"osdManager.previewSlot": [{
|
|
32288
|
+
name: "deviceId",
|
|
32289
|
+
form: "single",
|
|
32290
|
+
optional: false
|
|
32291
|
+
}],
|
|
32292
|
+
"osdManager.renderDevice": [{
|
|
32293
|
+
name: "deviceId",
|
|
32294
|
+
form: "single",
|
|
32295
|
+
optional: false
|
|
32296
|
+
}],
|
|
32297
|
+
"osdManager.setSlotBinding": [{
|
|
32298
|
+
name: "deviceId",
|
|
32299
|
+
form: "single",
|
|
32300
|
+
optional: false
|
|
32301
|
+
}],
|
|
32302
|
+
"petFeeder.callPet": [{
|
|
32303
|
+
name: "deviceId",
|
|
32304
|
+
form: "single",
|
|
32305
|
+
optional: false
|
|
32306
|
+
}],
|
|
32307
|
+
"petFeeder.cancelFeed": [{
|
|
32308
|
+
name: "deviceId",
|
|
32309
|
+
form: "single",
|
|
32310
|
+
optional: false
|
|
32311
|
+
}],
|
|
32312
|
+
"petFeeder.feed": [{
|
|
32313
|
+
name: "deviceId",
|
|
32314
|
+
form: "single",
|
|
32315
|
+
optional: false
|
|
32316
|
+
}],
|
|
32317
|
+
"petFeeder.markFoodReplenished": [{
|
|
32318
|
+
name: "deviceId",
|
|
32319
|
+
form: "single",
|
|
32320
|
+
optional: false
|
|
32321
|
+
}],
|
|
32322
|
+
"petFeeder.playSound": [{
|
|
32323
|
+
name: "deviceId",
|
|
32324
|
+
form: "single",
|
|
32325
|
+
optional: false
|
|
32326
|
+
}],
|
|
32327
|
+
"petFeeder.resetDesiccant": [{
|
|
32328
|
+
name: "deviceId",
|
|
32329
|
+
form: "single",
|
|
32330
|
+
optional: false
|
|
32331
|
+
}],
|
|
32332
|
+
"petFeeder.setChildLock": [{
|
|
32333
|
+
name: "deviceId",
|
|
32334
|
+
form: "single",
|
|
32335
|
+
optional: false
|
|
32336
|
+
}],
|
|
32337
|
+
"petFeeder.setFeedSound": [{
|
|
32338
|
+
name: "deviceId",
|
|
32339
|
+
form: "single",
|
|
32340
|
+
optional: false
|
|
32341
|
+
}],
|
|
32342
|
+
"petFeeder.setIndicatorLight": [{
|
|
32343
|
+
name: "deviceId",
|
|
32344
|
+
form: "single",
|
|
32345
|
+
optional: false
|
|
32346
|
+
}],
|
|
32347
|
+
"petFeeder.setVolume": [{
|
|
32348
|
+
name: "deviceId",
|
|
32349
|
+
form: "single",
|
|
32350
|
+
optional: false
|
|
32351
|
+
}],
|
|
32352
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32353
|
+
name: "deviceId",
|
|
32354
|
+
form: "single",
|
|
32355
|
+
optional: false
|
|
32356
|
+
}],
|
|
32357
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32358
|
+
name: "deviceId",
|
|
32359
|
+
form: "single",
|
|
32360
|
+
optional: false
|
|
32361
|
+
}],
|
|
32362
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32363
|
+
name: "deviceId",
|
|
32364
|
+
form: "single",
|
|
32365
|
+
optional: false
|
|
32366
|
+
}],
|
|
32367
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32368
|
+
name: "deviceId",
|
|
32369
|
+
form: "single",
|
|
32370
|
+
optional: false
|
|
32371
|
+
}],
|
|
32372
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32373
|
+
name: "deviceId",
|
|
32374
|
+
form: "single",
|
|
32375
|
+
optional: false
|
|
32376
|
+
}],
|
|
32377
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32378
|
+
name: "deviceId",
|
|
32379
|
+
form: "single",
|
|
32380
|
+
optional: false
|
|
32381
|
+
}],
|
|
32382
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32383
|
+
name: "deviceId",
|
|
32384
|
+
form: "single",
|
|
32385
|
+
optional: false
|
|
32386
|
+
}],
|
|
32387
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32388
|
+
name: "deviceId",
|
|
32389
|
+
form: "single",
|
|
32390
|
+
optional: false
|
|
32391
|
+
}],
|
|
32392
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32393
|
+
name: "deviceId",
|
|
32394
|
+
form: "single",
|
|
32395
|
+
optional: false
|
|
32396
|
+
}],
|
|
32397
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32398
|
+
name: "deviceId",
|
|
32399
|
+
form: "single",
|
|
32400
|
+
optional: false
|
|
32401
|
+
}],
|
|
32402
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32403
|
+
name: "deviceId",
|
|
32404
|
+
form: "single",
|
|
32405
|
+
optional: false
|
|
32406
|
+
}],
|
|
32407
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32408
|
+
name: "deviceId",
|
|
32409
|
+
form: "single",
|
|
32410
|
+
optional: false
|
|
32411
|
+
}],
|
|
32412
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32413
|
+
name: "deviceIds",
|
|
32414
|
+
form: "array",
|
|
32415
|
+
optional: true
|
|
32416
|
+
}],
|
|
32417
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32418
|
+
name: "deviceId",
|
|
32419
|
+
form: "single",
|
|
32420
|
+
optional: false
|
|
32421
|
+
}],
|
|
32422
|
+
"pipelineAnalytics.getTrack": [{
|
|
32423
|
+
name: "deviceId",
|
|
32424
|
+
form: "single",
|
|
32425
|
+
optional: false
|
|
32426
|
+
}],
|
|
32427
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
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.listTrackMedia": [{
|
|
32468
|
+
name: "deviceId",
|
|
32469
|
+
form: "single",
|
|
32470
|
+
optional: false
|
|
32471
|
+
}],
|
|
32472
|
+
"pipelineAnalytics.listTracks": [{
|
|
32473
|
+
name: "deviceId",
|
|
32474
|
+
form: "single",
|
|
32475
|
+
optional: false
|
|
32476
|
+
}],
|
|
32477
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32478
|
+
name: "deviceId",
|
|
32479
|
+
form: "single",
|
|
32480
|
+
optional: false
|
|
32481
|
+
}],
|
|
32482
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32483
|
+
name: "deviceId",
|
|
32484
|
+
form: "single",
|
|
32485
|
+
optional: false
|
|
32486
|
+
}],
|
|
32487
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32488
|
+
name: "deviceId",
|
|
32489
|
+
form: "single",
|
|
32490
|
+
optional: false
|
|
32491
|
+
}],
|
|
32492
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32493
|
+
name: "deviceId",
|
|
32494
|
+
form: "single",
|
|
32495
|
+
optional: true
|
|
32496
|
+
}],
|
|
32497
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32498
|
+
name: "deviceId",
|
|
32499
|
+
form: "single",
|
|
32500
|
+
optional: false
|
|
32501
|
+
}],
|
|
32502
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32503
|
+
name: "deviceId",
|
|
32504
|
+
form: "single",
|
|
32505
|
+
optional: false
|
|
32506
|
+
}],
|
|
32507
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32508
|
+
name: "deviceId",
|
|
32509
|
+
form: "single",
|
|
32510
|
+
optional: true
|
|
32511
|
+
}],
|
|
32512
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32513
|
+
name: "deviceId",
|
|
32514
|
+
form: "single",
|
|
32515
|
+
optional: false
|
|
32516
|
+
}],
|
|
32517
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32518
|
+
name: "deviceId",
|
|
32519
|
+
form: "single",
|
|
32520
|
+
optional: false
|
|
32521
|
+
}],
|
|
32522
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32523
|
+
name: "deviceId",
|
|
32524
|
+
form: "single",
|
|
32525
|
+
optional: false
|
|
32526
|
+
}],
|
|
32527
|
+
"pipelineExecutor.runPipeline": [{
|
|
32528
|
+
name: "deviceId",
|
|
32529
|
+
form: "single",
|
|
32530
|
+
optional: true
|
|
32531
|
+
}],
|
|
32532
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32533
|
+
name: "deviceId",
|
|
32534
|
+
form: "single",
|
|
32535
|
+
optional: true
|
|
32536
|
+
}],
|
|
32537
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32538
|
+
name: "deviceId",
|
|
32539
|
+
form: "single",
|
|
32540
|
+
optional: false
|
|
32541
|
+
}],
|
|
32542
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32543
|
+
name: "deviceId",
|
|
32544
|
+
form: "single",
|
|
32545
|
+
optional: false
|
|
32546
|
+
}],
|
|
32547
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32548
|
+
name: "deviceId",
|
|
32549
|
+
form: "single",
|
|
32550
|
+
optional: false
|
|
32551
|
+
}],
|
|
32552
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32553
|
+
name: "deviceId",
|
|
32554
|
+
form: "single",
|
|
32555
|
+
optional: false
|
|
32556
|
+
}],
|
|
32557
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32558
|
+
name: "deviceId",
|
|
32559
|
+
form: "single",
|
|
32560
|
+
optional: false
|
|
32561
|
+
}],
|
|
32562
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32563
|
+
name: "deviceId",
|
|
32564
|
+
form: "single",
|
|
32565
|
+
optional: false
|
|
32566
|
+
}],
|
|
32567
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32568
|
+
name: "deviceIds",
|
|
32569
|
+
form: "array",
|
|
32570
|
+
optional: true
|
|
32571
|
+
}],
|
|
32572
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32573
|
+
name: "deviceId",
|
|
32574
|
+
form: "single",
|
|
32575
|
+
optional: false
|
|
32576
|
+
}],
|
|
32577
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32578
|
+
name: "deviceId",
|
|
32579
|
+
form: "single",
|
|
32580
|
+
optional: false
|
|
32581
|
+
}],
|
|
32582
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32583
|
+
name: "deviceId",
|
|
32584
|
+
form: "single",
|
|
32585
|
+
optional: false
|
|
32586
|
+
}],
|
|
32587
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32588
|
+
name: "deviceId",
|
|
32589
|
+
form: "single",
|
|
32590
|
+
optional: false
|
|
32591
|
+
}],
|
|
32592
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32593
|
+
name: "deviceId",
|
|
32594
|
+
form: "single",
|
|
32595
|
+
optional: false
|
|
32596
|
+
}],
|
|
32597
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32598
|
+
name: "deviceId",
|
|
32599
|
+
form: "single",
|
|
32600
|
+
optional: false
|
|
32601
|
+
}],
|
|
32602
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32603
|
+
name: "deviceId",
|
|
32604
|
+
form: "single",
|
|
32605
|
+
optional: false
|
|
32606
|
+
}],
|
|
32607
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32608
|
+
name: "deviceId",
|
|
32609
|
+
form: "single",
|
|
32610
|
+
optional: false
|
|
32611
|
+
}],
|
|
32612
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32613
|
+
name: "deviceId",
|
|
32614
|
+
form: "single",
|
|
32615
|
+
optional: false
|
|
32616
|
+
}],
|
|
32617
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32618
|
+
name: "deviceId",
|
|
32619
|
+
form: "single",
|
|
32620
|
+
optional: false
|
|
32621
|
+
}],
|
|
32622
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32623
|
+
name: "deviceId",
|
|
32624
|
+
form: "single",
|
|
32625
|
+
optional: false
|
|
32626
|
+
}],
|
|
32627
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32628
|
+
name: "deviceId",
|
|
32629
|
+
form: "single",
|
|
32630
|
+
optional: false
|
|
32631
|
+
}],
|
|
32632
|
+
"pipelineRunner.attachCamera": [{
|
|
32633
|
+
name: "deviceId",
|
|
32634
|
+
form: "single",
|
|
32635
|
+
optional: false
|
|
32636
|
+
}],
|
|
32637
|
+
"pipelineRunner.detachCamera": [{
|
|
32638
|
+
name: "deviceId",
|
|
32639
|
+
form: "single",
|
|
32640
|
+
optional: false
|
|
32641
|
+
}],
|
|
32642
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32643
|
+
name: "deviceId",
|
|
32644
|
+
form: "single",
|
|
32645
|
+
optional: false
|
|
32646
|
+
}],
|
|
32647
|
+
"pipelineRunner.reportMotion": [{
|
|
32648
|
+
name: "deviceId",
|
|
32649
|
+
form: "single",
|
|
32650
|
+
optional: false
|
|
32651
|
+
}],
|
|
32652
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32653
|
+
name: "deviceId",
|
|
32654
|
+
form: "single",
|
|
32655
|
+
optional: false
|
|
32656
|
+
}],
|
|
32657
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32658
|
+
name: "sourceDeviceId",
|
|
32659
|
+
form: "single",
|
|
32660
|
+
optional: false
|
|
32661
|
+
}],
|
|
32662
|
+
"plateGallery.getPlateByTrack": [{
|
|
32663
|
+
name: "deviceId",
|
|
32664
|
+
form: "single",
|
|
32665
|
+
optional: false
|
|
32666
|
+
}],
|
|
32667
|
+
"plateGallery.listPlates": [{
|
|
32668
|
+
name: "deviceId",
|
|
32669
|
+
form: "single",
|
|
32670
|
+
optional: true
|
|
32671
|
+
}],
|
|
32672
|
+
"privacyMask.getOptions": [{
|
|
32673
|
+
name: "deviceId",
|
|
32674
|
+
form: "single",
|
|
32675
|
+
optional: false
|
|
32676
|
+
}],
|
|
32677
|
+
"privacyMask.setAudioEnabled": [{
|
|
32678
|
+
name: "deviceId",
|
|
32679
|
+
form: "single",
|
|
32680
|
+
optional: false
|
|
32681
|
+
}],
|
|
32682
|
+
"privacyMask.setMask": [{
|
|
32683
|
+
name: "deviceId",
|
|
32684
|
+
form: "single",
|
|
32685
|
+
optional: false
|
|
32686
|
+
}],
|
|
32687
|
+
"ptz.continuousMove": [{
|
|
32688
|
+
name: "deviceId",
|
|
32689
|
+
form: "single",
|
|
32690
|
+
optional: false
|
|
32691
|
+
}],
|
|
32692
|
+
"ptz.deletePreset": [{
|
|
32693
|
+
name: "deviceId",
|
|
32694
|
+
form: "single",
|
|
32695
|
+
optional: false
|
|
32696
|
+
}],
|
|
32697
|
+
"ptz.getOptions": [{
|
|
32698
|
+
name: "deviceId",
|
|
32699
|
+
form: "single",
|
|
32700
|
+
optional: false
|
|
32701
|
+
}],
|
|
32702
|
+
"ptz.getPosition": [{
|
|
32703
|
+
name: "deviceId",
|
|
32704
|
+
form: "single",
|
|
32705
|
+
optional: false
|
|
32706
|
+
}],
|
|
32707
|
+
"ptz.getPresets": [{
|
|
32708
|
+
name: "deviceId",
|
|
32709
|
+
form: "single",
|
|
32710
|
+
optional: false
|
|
32711
|
+
}],
|
|
32712
|
+
"ptz.goHome": [{
|
|
32713
|
+
name: "deviceId",
|
|
32714
|
+
form: "single",
|
|
32715
|
+
optional: false
|
|
32716
|
+
}],
|
|
32717
|
+
"ptz.goToPreset": [{
|
|
32718
|
+
name: "deviceId",
|
|
32719
|
+
form: "single",
|
|
32720
|
+
optional: false
|
|
32721
|
+
}],
|
|
32722
|
+
"ptz.move": [{
|
|
32723
|
+
name: "deviceId",
|
|
32724
|
+
form: "single",
|
|
32725
|
+
optional: false
|
|
32726
|
+
}],
|
|
32727
|
+
"ptz.savePreset": [{
|
|
32728
|
+
name: "deviceId",
|
|
32729
|
+
form: "single",
|
|
32730
|
+
optional: false
|
|
32731
|
+
}],
|
|
32732
|
+
"ptz.setAutofocus": [{
|
|
32733
|
+
name: "deviceId",
|
|
32734
|
+
form: "single",
|
|
32735
|
+
optional: false
|
|
32736
|
+
}],
|
|
32737
|
+
"ptz.stop": [{
|
|
32738
|
+
name: "deviceId",
|
|
32739
|
+
form: "single",
|
|
32740
|
+
optional: false
|
|
32741
|
+
}],
|
|
32742
|
+
"ptzAutotrack.getSettings": [{
|
|
32743
|
+
name: "deviceId",
|
|
32744
|
+
form: "single",
|
|
32745
|
+
optional: false
|
|
32746
|
+
}],
|
|
32747
|
+
"ptzAutotrack.getStatus": [{
|
|
32748
|
+
name: "deviceId",
|
|
32749
|
+
form: "single",
|
|
32750
|
+
optional: false
|
|
32751
|
+
}],
|
|
32752
|
+
"ptzAutotrack.setEnabled": [{
|
|
32753
|
+
name: "deviceId",
|
|
32754
|
+
form: "single",
|
|
32755
|
+
optional: false
|
|
32756
|
+
}],
|
|
32757
|
+
"ptzAutotrack.setSettings": [{
|
|
32758
|
+
name: "deviceId",
|
|
32759
|
+
form: "single",
|
|
32760
|
+
optional: false
|
|
32761
|
+
}],
|
|
32762
|
+
"reboot.reboot": [{
|
|
32763
|
+
name: "deviceId",
|
|
32764
|
+
form: "single",
|
|
32765
|
+
optional: false
|
|
32766
|
+
}],
|
|
32767
|
+
"recording.deleteFootprint": [{
|
|
32768
|
+
name: "deviceId",
|
|
32769
|
+
form: "single",
|
|
32770
|
+
optional: false
|
|
32771
|
+
}],
|
|
32772
|
+
"recording.getAvailability": [{
|
|
32773
|
+
name: "deviceId",
|
|
32774
|
+
form: "single",
|
|
32775
|
+
optional: false
|
|
32776
|
+
}],
|
|
32777
|
+
"recording.getDaysWithRecordings": [{
|
|
32778
|
+
name: "deviceId",
|
|
32779
|
+
form: "single",
|
|
32780
|
+
optional: false
|
|
32781
|
+
}],
|
|
32782
|
+
"recording.getDeviceConfig": [{
|
|
32783
|
+
name: "deviceId",
|
|
32784
|
+
form: "single",
|
|
32785
|
+
optional: false
|
|
32786
|
+
}],
|
|
32787
|
+
"recording.getPlaybackManifest": [{
|
|
32788
|
+
name: "deviceId",
|
|
32789
|
+
form: "single",
|
|
32790
|
+
optional: false
|
|
32791
|
+
}],
|
|
32792
|
+
"recording.listOpsLog": [{
|
|
32793
|
+
name: "deviceId",
|
|
32794
|
+
form: "single",
|
|
32795
|
+
optional: true
|
|
32796
|
+
}],
|
|
32797
|
+
"recording.locateSegment": [{
|
|
32798
|
+
name: "deviceId",
|
|
32799
|
+
form: "single",
|
|
32800
|
+
optional: false
|
|
32801
|
+
}],
|
|
32802
|
+
"recording.pruneFootage": [{
|
|
32803
|
+
name: "deviceId",
|
|
32804
|
+
form: "single",
|
|
32805
|
+
optional: false
|
|
32806
|
+
}],
|
|
32807
|
+
"recording.readGopBytes": [{
|
|
32808
|
+
name: "deviceId",
|
|
32809
|
+
form: "single",
|
|
32810
|
+
optional: false
|
|
32811
|
+
}],
|
|
32812
|
+
"recording.readSegmentBytes": [{
|
|
32813
|
+
name: "deviceId",
|
|
32814
|
+
form: "single",
|
|
32815
|
+
optional: false
|
|
32816
|
+
}],
|
|
32817
|
+
"recording.relocateFootage": [{
|
|
32818
|
+
name: "deviceId",
|
|
32819
|
+
form: "single",
|
|
32820
|
+
optional: true
|
|
32821
|
+
}],
|
|
32822
|
+
"recording.renderClip": [{
|
|
32823
|
+
name: "deviceId",
|
|
32824
|
+
form: "single",
|
|
32825
|
+
optional: false
|
|
32826
|
+
}],
|
|
32827
|
+
"recording.renderGif": [{
|
|
32828
|
+
name: "deviceId",
|
|
32829
|
+
form: "single",
|
|
32830
|
+
optional: false
|
|
32831
|
+
}],
|
|
32832
|
+
"recording.rescanStorage": [{
|
|
32833
|
+
name: "deviceId",
|
|
32834
|
+
form: "single",
|
|
32835
|
+
optional: false
|
|
32836
|
+
}],
|
|
32837
|
+
"recording.setDeviceConfig": [{
|
|
32838
|
+
name: "deviceId",
|
|
32839
|
+
form: "single",
|
|
32840
|
+
optional: false
|
|
32841
|
+
}],
|
|
32842
|
+
"recording.startStorageMigrationMove": [{
|
|
32843
|
+
name: "deviceId",
|
|
32844
|
+
form: "single",
|
|
32845
|
+
optional: true
|
|
32846
|
+
}],
|
|
32847
|
+
"recordingExport.createExport": [{
|
|
32848
|
+
name: "deviceId",
|
|
32849
|
+
form: "single",
|
|
32850
|
+
optional: false
|
|
32851
|
+
}],
|
|
32852
|
+
"recordingExport.listExports": [{
|
|
32853
|
+
name: "deviceId",
|
|
32854
|
+
form: "single",
|
|
32855
|
+
optional: true
|
|
32856
|
+
}],
|
|
32857
|
+
"sceneMonitor.captureReference": [{
|
|
32858
|
+
name: "deviceId",
|
|
32859
|
+
form: "single",
|
|
32860
|
+
optional: false
|
|
32861
|
+
}],
|
|
32862
|
+
"sceneMonitor.createScene": [{
|
|
32863
|
+
name: "deviceId",
|
|
32864
|
+
form: "single",
|
|
32865
|
+
optional: false
|
|
32866
|
+
}],
|
|
32867
|
+
"sceneMonitor.deleteReference": [{
|
|
32868
|
+
name: "deviceId",
|
|
32869
|
+
form: "single",
|
|
32870
|
+
optional: false
|
|
32871
|
+
}],
|
|
32872
|
+
"sceneMonitor.deleteScene": [{
|
|
32873
|
+
name: "deviceId",
|
|
32874
|
+
form: "single",
|
|
32875
|
+
optional: false
|
|
32876
|
+
}],
|
|
32877
|
+
"sceneMonitor.listScenes": [{
|
|
32878
|
+
name: "deviceId",
|
|
32879
|
+
form: "single",
|
|
32880
|
+
optional: false
|
|
32881
|
+
}],
|
|
32882
|
+
"sceneMonitor.recheckNow": [{
|
|
32883
|
+
name: "deviceId",
|
|
32884
|
+
form: "single",
|
|
32885
|
+
optional: false
|
|
32886
|
+
}],
|
|
32887
|
+
"sceneMonitor.resetScene": [{
|
|
32888
|
+
name: "deviceId",
|
|
32889
|
+
form: "single",
|
|
32890
|
+
optional: false
|
|
32891
|
+
}],
|
|
32892
|
+
"sceneMonitor.updateScene": [{
|
|
32893
|
+
name: "deviceId",
|
|
32894
|
+
form: "single",
|
|
32895
|
+
optional: false
|
|
32896
|
+
}],
|
|
32897
|
+
"scriptRunner.run": [{
|
|
32898
|
+
name: "deviceId",
|
|
32899
|
+
form: "single",
|
|
32900
|
+
optional: false
|
|
32901
|
+
}],
|
|
32902
|
+
"scriptRunner.stop": [{
|
|
32903
|
+
name: "deviceId",
|
|
32904
|
+
form: "single",
|
|
32905
|
+
optional: false
|
|
32906
|
+
}],
|
|
32907
|
+
"snapshot.getSnapshot": [{
|
|
32908
|
+
name: "deviceId",
|
|
32909
|
+
form: "single",
|
|
32910
|
+
optional: false
|
|
32911
|
+
}],
|
|
32912
|
+
"snapshot.getSnapshotLinks": [{
|
|
32913
|
+
name: "targets",
|
|
32914
|
+
form: "object-array",
|
|
32915
|
+
optional: false,
|
|
32916
|
+
itemField: "deviceId"
|
|
32917
|
+
}],
|
|
32918
|
+
"snapshot.getSnapshotOverview": [{
|
|
32919
|
+
name: "deviceIds",
|
|
32920
|
+
form: "array",
|
|
32921
|
+
optional: false
|
|
32922
|
+
}],
|
|
32923
|
+
"snapshot.invalidateCache": [{
|
|
32924
|
+
name: "deviceId",
|
|
32925
|
+
form: "single",
|
|
32926
|
+
optional: false
|
|
32927
|
+
}],
|
|
32928
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32929
|
+
name: "deviceId",
|
|
32930
|
+
form: "single",
|
|
32931
|
+
optional: false
|
|
32932
|
+
}],
|
|
32933
|
+
"streamBroker.assignProfile": [{
|
|
32934
|
+
name: "deviceId",
|
|
32935
|
+
form: "single",
|
|
32936
|
+
optional: false
|
|
32937
|
+
}],
|
|
32938
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32939
|
+
name: "deviceId",
|
|
32940
|
+
form: "single",
|
|
32941
|
+
optional: false
|
|
32942
|
+
}],
|
|
32943
|
+
"streamBroker.getStreamWithCodec": [{
|
|
32944
|
+
name: "deviceId",
|
|
32945
|
+
form: "single",
|
|
32946
|
+
optional: false
|
|
32947
|
+
}],
|
|
32948
|
+
"streamBroker.produceEventMedia": [{
|
|
32949
|
+
name: "deviceId",
|
|
32950
|
+
form: "single",
|
|
32951
|
+
optional: false
|
|
32952
|
+
}],
|
|
32953
|
+
"streamBroker.publishCameraStream": [{
|
|
32954
|
+
name: "deviceId",
|
|
32955
|
+
form: "single",
|
|
32956
|
+
optional: false
|
|
32957
|
+
}],
|
|
32958
|
+
"streamBroker.renderPreBufferClip": [{
|
|
32959
|
+
name: "deviceId",
|
|
32960
|
+
form: "single",
|
|
32961
|
+
optional: false
|
|
32962
|
+
}],
|
|
32963
|
+
"streamBroker.restartProfile": [{
|
|
32964
|
+
name: "deviceId",
|
|
32965
|
+
form: "single",
|
|
32966
|
+
optional: false
|
|
32967
|
+
}],
|
|
32968
|
+
"streamBroker.retractCameraStream": [{
|
|
32969
|
+
name: "deviceId",
|
|
32970
|
+
form: "single",
|
|
32971
|
+
optional: false
|
|
32972
|
+
}],
|
|
32973
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
32974
|
+
name: "deviceId",
|
|
32975
|
+
form: "single",
|
|
32976
|
+
optional: false
|
|
32977
|
+
}],
|
|
32978
|
+
"streamBroker.unassignProfile": [{
|
|
32979
|
+
name: "deviceId",
|
|
32980
|
+
form: "single",
|
|
32981
|
+
optional: false
|
|
32982
|
+
}],
|
|
32983
|
+
"streamCatalog.getCatalog": [{
|
|
32984
|
+
name: "deviceId",
|
|
32985
|
+
form: "single",
|
|
32986
|
+
optional: false
|
|
32987
|
+
}],
|
|
32988
|
+
"streamParams.getConfigSchema": [{
|
|
32989
|
+
name: "deviceId",
|
|
32990
|
+
form: "single",
|
|
32991
|
+
optional: false
|
|
32992
|
+
}],
|
|
32993
|
+
"streamParams.getOptions": [{
|
|
32994
|
+
name: "deviceId",
|
|
32995
|
+
form: "single",
|
|
32996
|
+
optional: false
|
|
32997
|
+
}],
|
|
32998
|
+
"streamParams.setProfile": [{
|
|
32999
|
+
name: "deviceId",
|
|
33000
|
+
form: "single",
|
|
33001
|
+
optional: false
|
|
33002
|
+
}],
|
|
33003
|
+
"switch.setState": [{
|
|
33004
|
+
name: "deviceId",
|
|
33005
|
+
form: "single",
|
|
33006
|
+
optional: false
|
|
33007
|
+
}],
|
|
33008
|
+
"vacuumControl.locate": [{
|
|
33009
|
+
name: "deviceId",
|
|
33010
|
+
form: "single",
|
|
33011
|
+
optional: false
|
|
33012
|
+
}],
|
|
33013
|
+
"vacuumControl.pause": [{
|
|
33014
|
+
name: "deviceId",
|
|
33015
|
+
form: "single",
|
|
33016
|
+
optional: false
|
|
33017
|
+
}],
|
|
33018
|
+
"vacuumControl.returnToBase": [{
|
|
33019
|
+
name: "deviceId",
|
|
33020
|
+
form: "single",
|
|
33021
|
+
optional: false
|
|
33022
|
+
}],
|
|
33023
|
+
"vacuumControl.setFanSpeed": [{
|
|
33024
|
+
name: "deviceId",
|
|
33025
|
+
form: "single",
|
|
33026
|
+
optional: false
|
|
33027
|
+
}],
|
|
33028
|
+
"vacuumControl.start": [{
|
|
33029
|
+
name: "deviceId",
|
|
33030
|
+
form: "single",
|
|
33031
|
+
optional: false
|
|
33032
|
+
}],
|
|
33033
|
+
"vacuumControl.stop": [{
|
|
33034
|
+
name: "deviceId",
|
|
33035
|
+
form: "single",
|
|
33036
|
+
optional: false
|
|
33037
|
+
}],
|
|
33038
|
+
"valve.close": [{
|
|
33039
|
+
name: "deviceId",
|
|
33040
|
+
form: "single",
|
|
33041
|
+
optional: false
|
|
33042
|
+
}],
|
|
33043
|
+
"valve.open": [{
|
|
33044
|
+
name: "deviceId",
|
|
33045
|
+
form: "single",
|
|
33046
|
+
optional: false
|
|
33047
|
+
}],
|
|
33048
|
+
"valve.setPosition": [{
|
|
33049
|
+
name: "deviceId",
|
|
33050
|
+
form: "single",
|
|
33051
|
+
optional: false
|
|
33052
|
+
}],
|
|
33053
|
+
"valve.stop": [{
|
|
33054
|
+
name: "deviceId",
|
|
33055
|
+
form: "single",
|
|
33056
|
+
optional: false
|
|
33057
|
+
}],
|
|
33058
|
+
"videoclips.getClipPlayback": [{
|
|
33059
|
+
name: "deviceId",
|
|
33060
|
+
form: "single",
|
|
33061
|
+
optional: false
|
|
33062
|
+
}],
|
|
33063
|
+
"videoclips.listClips": [{
|
|
33064
|
+
name: "deviceId",
|
|
33065
|
+
form: "single",
|
|
33066
|
+
optional: false
|
|
33067
|
+
}],
|
|
33068
|
+
"waterHeater.setAway": [{
|
|
33069
|
+
name: "deviceId",
|
|
33070
|
+
form: "single",
|
|
33071
|
+
optional: false
|
|
33072
|
+
}],
|
|
33073
|
+
"waterHeater.setOperationMode": [{
|
|
33074
|
+
name: "deviceId",
|
|
33075
|
+
form: "single",
|
|
33076
|
+
optional: false
|
|
33077
|
+
}],
|
|
33078
|
+
"waterHeater.setTargetTemp": [{
|
|
33079
|
+
name: "deviceId",
|
|
33080
|
+
form: "single",
|
|
33081
|
+
optional: false
|
|
33082
|
+
}],
|
|
33083
|
+
"webrtcSession.addIceCandidate": [{
|
|
33084
|
+
name: "deviceId",
|
|
33085
|
+
form: "single",
|
|
33086
|
+
optional: false
|
|
33087
|
+
}],
|
|
33088
|
+
"webrtcSession.closeSession": [{
|
|
33089
|
+
name: "deviceId",
|
|
33090
|
+
form: "single",
|
|
33091
|
+
optional: false
|
|
33092
|
+
}],
|
|
33093
|
+
"webrtcSession.createSession": [{
|
|
33094
|
+
name: "deviceId",
|
|
33095
|
+
form: "single",
|
|
33096
|
+
optional: false
|
|
33097
|
+
}],
|
|
33098
|
+
"webrtcSession.getIceCandidates": [{
|
|
33099
|
+
name: "deviceId",
|
|
33100
|
+
form: "single",
|
|
33101
|
+
optional: false
|
|
33102
|
+
}],
|
|
33103
|
+
"webrtcSession.getSessionState": [{
|
|
33104
|
+
name: "deviceId",
|
|
33105
|
+
form: "single",
|
|
33106
|
+
optional: false
|
|
33107
|
+
}],
|
|
33108
|
+
"webrtcSession.handleAnswer": [{
|
|
33109
|
+
name: "deviceId",
|
|
33110
|
+
form: "single",
|
|
33111
|
+
optional: false
|
|
33112
|
+
}],
|
|
33113
|
+
"webrtcSession.handleOffer": [{
|
|
33114
|
+
name: "deviceId",
|
|
33115
|
+
form: "single",
|
|
33116
|
+
optional: false
|
|
33117
|
+
}],
|
|
33118
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33119
|
+
name: "deviceId",
|
|
33120
|
+
form: "single",
|
|
33121
|
+
optional: false
|
|
33122
|
+
}],
|
|
33123
|
+
"webrtcSession.listStreams": [{
|
|
33124
|
+
name: "deviceId",
|
|
33125
|
+
form: "single",
|
|
33126
|
+
optional: false
|
|
33127
|
+
}],
|
|
33128
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33129
|
+
name: "deviceId",
|
|
33130
|
+
form: "single",
|
|
33131
|
+
optional: false
|
|
33132
|
+
}],
|
|
33133
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33134
|
+
name: "deviceId",
|
|
33135
|
+
form: "single",
|
|
33136
|
+
optional: false
|
|
33137
|
+
}],
|
|
33138
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33139
|
+
name: "deviceId",
|
|
33140
|
+
form: "single",
|
|
33141
|
+
optional: false
|
|
33142
|
+
}],
|
|
33143
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33144
|
+
name: "deviceId",
|
|
33145
|
+
form: "single",
|
|
33146
|
+
optional: false
|
|
33147
|
+
}],
|
|
33148
|
+
"zoneRules.listRules": [{
|
|
33149
|
+
name: "deviceId",
|
|
33150
|
+
form: "single",
|
|
33151
|
+
optional: false
|
|
33152
|
+
}],
|
|
33153
|
+
"zoneRules.setRules": [{
|
|
33154
|
+
name: "deviceId",
|
|
33155
|
+
form: "single",
|
|
33156
|
+
optional: false
|
|
33157
|
+
}],
|
|
33158
|
+
"zones.addZone": [{
|
|
33159
|
+
name: "deviceId",
|
|
33160
|
+
form: "single",
|
|
33161
|
+
optional: false
|
|
33162
|
+
}],
|
|
33163
|
+
"zones.listZones": [{
|
|
33164
|
+
name: "deviceId",
|
|
33165
|
+
form: "single",
|
|
33166
|
+
optional: false
|
|
33167
|
+
}],
|
|
33168
|
+
"zones.removeZone": [{
|
|
33169
|
+
name: "deviceId",
|
|
33170
|
+
form: "single",
|
|
33171
|
+
optional: false
|
|
33172
|
+
}],
|
|
33173
|
+
"zones.updateZone": [{
|
|
33174
|
+
name: "deviceId",
|
|
33175
|
+
form: "single",
|
|
33176
|
+
optional: false
|
|
33177
|
+
}]
|
|
33178
|
+
});
|
|
30541
33179
|
Object.freeze({
|
|
30542
33180
|
"broker": "broker",
|
|
30543
33181
|
"device-export": "device-export",
|