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