@camstack/addon-provider-dreame 0.2.17 → 0.2.19
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/addon.js +2894 -140
- package/dist/addon.mjs +2894 -140
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -50504,7 +50504,7 @@ objectType({
|
|
|
50504
50504
|
})
|
|
50505
50505
|
});
|
|
50506
50506
|
//#endregion
|
|
50507
|
-
//#region ../types/dist/event-category-
|
|
50507
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
50508
50508
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
50509
50509
|
EventCategory["SystemBoot"] = "system.boot";
|
|
50510
50510
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -50711,6 +50711,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
50711
50711
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
50712
50712
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
50713
50713
|
/**
|
|
50714
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
50715
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
50716
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
50717
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
50718
|
+
* from the placement candidate set for as long as it holds.
|
|
50719
|
+
*
|
|
50720
|
+
* This exists because the state was previously invisible: little-unraid
|
|
50721
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
50722
|
+
* and nothing in the system said so.
|
|
50723
|
+
*
|
|
50724
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
50725
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
50726
|
+
* serves it exactly as before.
|
|
50727
|
+
*/
|
|
50728
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
50729
|
+
/**
|
|
50730
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
50731
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
50732
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
50733
|
+
* per camera.
|
|
50734
|
+
*
|
|
50735
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
50736
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
50737
|
+
* camera" produce byte-identical silence.
|
|
50738
|
+
*/
|
|
50739
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
50740
|
+
/**
|
|
50714
50741
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
50715
50742
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
50716
50743
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -61395,6 +61422,8 @@ var QueryFilterSchema = object({
|
|
|
61395
61422
|
where: record(string(), unknown()).optional(),
|
|
61396
61423
|
whereIn: record(string(), array(unknown())).optional(),
|
|
61397
61424
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
61425
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
61426
|
+
whereNot: record(string(), unknown()).optional(),
|
|
61398
61427
|
orderBy: object({
|
|
61399
61428
|
field: string(),
|
|
61400
61429
|
direction: _enum(["asc", "desc"])
|
|
@@ -61414,7 +61443,8 @@ var QueryFilterSchema = object({
|
|
|
61414
61443
|
var MutationFilterSchema = object({
|
|
61415
61444
|
where: record(string(), unknown()).optional(),
|
|
61416
61445
|
whereIn: record(string(), array(unknown())).optional(),
|
|
61417
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
61446
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
61447
|
+
whereNot: record(string(), unknown()).optional()
|
|
61418
61448
|
});
|
|
61419
61449
|
/** A single stored record: `{ id, data }`. */
|
|
61420
61450
|
var SettingsRecordSchema = object({
|
|
@@ -62950,6 +62980,17 @@ var LlmImageSchema = object({
|
|
|
62950
62980
|
bytes: _instanceof(Uint8Array),
|
|
62951
62981
|
mimeType: string()
|
|
62952
62982
|
});
|
|
62983
|
+
/**
|
|
62984
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
62985
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
62986
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
62987
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
62988
|
+
*/
|
|
62989
|
+
var LlmRetryPolicySchema = object({
|
|
62990
|
+
enabled: boolean().default(false),
|
|
62991
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
62992
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
62993
|
+
});
|
|
62953
62994
|
var LlmGenerateBaseInputSchema = object({
|
|
62954
62995
|
/** Collection routing (the notification-output posture). */
|
|
62955
62996
|
addonId: string().optional(),
|
|
@@ -62964,7 +63005,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
62964
63005
|
jsonSchema: record(string(), unknown()).optional(),
|
|
62965
63006
|
/** Per-call override of the profile default. */
|
|
62966
63007
|
maxTokens: number().int().positive().optional(),
|
|
62967
|
-
temperature: number().optional()
|
|
63008
|
+
temperature: number().optional(),
|
|
63009
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
63010
|
+
topP: number().min(0).max(1).optional(),
|
|
63011
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
63012
|
+
topK: number().int().positive().optional(),
|
|
63013
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
63014
|
+
timeoutMs: number().int().positive().optional(),
|
|
63015
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
63016
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
63017
|
+
/**
|
|
63018
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
63019
|
+
*
|
|
63020
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
63021
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
63022
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
63023
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
63024
|
+
* not generations, and the real load is unbounded.
|
|
63025
|
+
*
|
|
63026
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
63027
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
63028
|
+
*/
|
|
63029
|
+
requestId: string().optional()
|
|
62968
63030
|
});
|
|
62969
63031
|
/**
|
|
62970
63032
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -62977,6 +63039,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
62977
63039
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
62978
63040
|
* watchdog — operator decision #3).
|
|
62979
63041
|
*/
|
|
63042
|
+
/**
|
|
63043
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
63044
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
63045
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
63046
|
+
* the preview is exactly what the node downloads.
|
|
63047
|
+
*/
|
|
63048
|
+
var ManagedModelExtraFileSchema = object({
|
|
63049
|
+
url: string(),
|
|
63050
|
+
filename: string(),
|
|
63051
|
+
sizeBytes: number(),
|
|
63052
|
+
sha256: string().optional()
|
|
63053
|
+
});
|
|
62980
63054
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
62981
63055
|
object({
|
|
62982
63056
|
kind: literal("catalog"),
|
|
@@ -62985,7 +63059,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
62985
63059
|
object({
|
|
62986
63060
|
kind: literal("url"),
|
|
62987
63061
|
url: string(),
|
|
62988
|
-
sha256: string().optional()
|
|
63062
|
+
sha256: string().optional(),
|
|
63063
|
+
/** Picker/status label; the file basename when absent. */
|
|
63064
|
+
label: string().optional(),
|
|
63065
|
+
sizeBytes: number().optional(),
|
|
63066
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
62989
63067
|
}),
|
|
62990
63068
|
object({
|
|
62991
63069
|
kind: literal("path"),
|
|
@@ -63003,13 +63081,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
63003
63081
|
gpuLayers: number().int().default(0),
|
|
63004
63082
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
63005
63083
|
threads: number().int().optional(),
|
|
63006
|
-
/** Concurrent slots. */
|
|
63084
|
+
/** Concurrent slots (`--parallel`). */
|
|
63007
63085
|
parallel: number().int().default(1),
|
|
63086
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
63087
|
+
batchSize: number().int().positive().optional(),
|
|
63088
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
63089
|
+
ubatchSize: number().int().positive().optional(),
|
|
63090
|
+
/**
|
|
63091
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
63092
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
63093
|
+
*/
|
|
63094
|
+
flashAttention: boolean().default(false),
|
|
63095
|
+
/**
|
|
63096
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
63097
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
63098
|
+
* what the RAM budget is counting.
|
|
63099
|
+
*/
|
|
63100
|
+
mlock: boolean().default(false),
|
|
63101
|
+
/**
|
|
63102
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
63103
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
63104
|
+
* store produces on every first token.
|
|
63105
|
+
*/
|
|
63106
|
+
noMmap: boolean().default(false),
|
|
63107
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
63108
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
63109
|
+
cacheTypeK: _enum([
|
|
63110
|
+
"f32",
|
|
63111
|
+
"f16",
|
|
63112
|
+
"q8_0",
|
|
63113
|
+
"q5_1",
|
|
63114
|
+
"q5_0",
|
|
63115
|
+
"q4_1",
|
|
63116
|
+
"q4_0"
|
|
63117
|
+
]).optional(),
|
|
63118
|
+
cacheTypeV: _enum([
|
|
63119
|
+
"f32",
|
|
63120
|
+
"f16",
|
|
63121
|
+
"q8_0",
|
|
63122
|
+
"q5_1",
|
|
63123
|
+
"q5_0",
|
|
63124
|
+
"q4_1",
|
|
63125
|
+
"q4_0"
|
|
63126
|
+
]).optional(),
|
|
63127
|
+
/**
|
|
63128
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
63129
|
+
* (which most vision chat templates need and some language-only models
|
|
63130
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
63131
|
+
*
|
|
63132
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
63133
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
63134
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
63135
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
63136
|
+
* twice (D62).
|
|
63137
|
+
*/
|
|
63138
|
+
extraArgs: array(string()).default([]),
|
|
63008
63139
|
/** Else lazy: first generate boots it. */
|
|
63009
63140
|
autoStart: boolean().default(false),
|
|
63010
63141
|
/** 0 = never; frees RAM after quiet periods. */
|
|
63011
63142
|
idleStopMinutes: number().int().default(30)
|
|
63012
63143
|
});
|
|
63144
|
+
/**
|
|
63145
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
63146
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
63147
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
63148
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
63149
|
+
*/
|
|
63150
|
+
var LlmDownloadProgressSchema = object({
|
|
63151
|
+
phase: _enum(["downloading", "verifying"]),
|
|
63152
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
63153
|
+
file: string(),
|
|
63154
|
+
fileIndex: number().int(),
|
|
63155
|
+
fileCount: number().int(),
|
|
63156
|
+
/** Across the WHOLE install, not the current file. */
|
|
63157
|
+
downloadedBytes: number(),
|
|
63158
|
+
totalBytes: number().optional()
|
|
63159
|
+
});
|
|
63013
63160
|
var LlmRuntimeStatusSchema = object({
|
|
63014
63161
|
/** Status is ALWAYS node-qualified. */
|
|
63015
63162
|
nodeId: string(),
|
|
@@ -63026,6 +63173,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
63026
63173
|
modelPath: string().optional(),
|
|
63027
63174
|
modelId: string().optional(),
|
|
63028
63175
|
downloadProgress: number().min(0).max(1).optional(),
|
|
63176
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
63177
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
63029
63178
|
lastError: string().optional(),
|
|
63030
63179
|
crashesInWindow: number(),
|
|
63031
63180
|
/** Child RSS (sampled best-effort). */
|
|
@@ -63036,7 +63185,14 @@ var LlmNodeModelSchema = object({
|
|
|
63036
63185
|
file: string(),
|
|
63037
63186
|
sizeBytes: number(),
|
|
63038
63187
|
catalogId: string().optional(),
|
|
63039
|
-
installedAt: number().optional()
|
|
63188
|
+
installedAt: number().optional(),
|
|
63189
|
+
/**
|
|
63190
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
63191
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
63192
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
63193
|
+
* it the picker could list such a file and do nothing with it.
|
|
63194
|
+
*/
|
|
63195
|
+
path: string().optional()
|
|
63040
63196
|
});
|
|
63041
63197
|
var LlmRuntimeDiskUsageSchema = object({
|
|
63042
63198
|
nodeId: string(),
|
|
@@ -63092,10 +63248,47 @@ var LlmProfileSchema = object({
|
|
|
63092
63248
|
baseUrl: string().optional(),
|
|
63093
63249
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
63094
63250
|
apiKey: string().optional(),
|
|
63251
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
63252
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
63253
|
+
* question about a picture nobody sent. */
|
|
63095
63254
|
supportsVision: boolean(),
|
|
63096
63255
|
temperature: number().min(0).max(2).optional(),
|
|
63256
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
63257
|
+
topP: number().min(0).max(1).optional(),
|
|
63258
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
63259
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
63260
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
63261
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
63262
|
+
topK: number().int().positive().optional(),
|
|
63097
63263
|
maxTokens: number().int().positive().optional(),
|
|
63264
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
63265
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
63266
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
63267
|
+
contextLength: number().int().positive().optional(),
|
|
63268
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
63269
|
+
* two system prompts fighting is worse than either alone). */
|
|
63270
|
+
systemPrompt: string().optional(),
|
|
63271
|
+
/** Total generation bound — the only one a unary call has. */
|
|
63098
63272
|
timeoutMs: number().int().positive().default(6e4),
|
|
63273
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
63274
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
63275
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
63276
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
63277
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
63278
|
+
* GPU load is exactly what happens before them. */
|
|
63279
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
63280
|
+
/** Output started then stopped. */
|
|
63281
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
63282
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
63283
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
63284
|
+
retry: LlmRetryPolicySchema.default({
|
|
63285
|
+
enabled: false,
|
|
63286
|
+
maxAttempts: 1
|
|
63287
|
+
}),
|
|
63288
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
63289
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
63290
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
63291
|
+
toolsEnabled: boolean().default(false),
|
|
63099
63292
|
extraHeaders: record(string(), string()).optional(),
|
|
63100
63293
|
/** kind === 'managed-local' only (spec §4). */
|
|
63101
63294
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -63145,6 +63338,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
63145
63338
|
/** Vision models: companion projector file. */
|
|
63146
63339
|
mmprojUrl: string().optional()
|
|
63147
63340
|
});
|
|
63341
|
+
/**
|
|
63342
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
63343
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
63344
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
63345
|
+
* exception.
|
|
63346
|
+
*
|
|
63347
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
63348
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
63349
|
+
*/
|
|
63350
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
63351
|
+
ok: literal(true),
|
|
63352
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
63353
|
+
model: ManagedModelRefSchema,
|
|
63354
|
+
label: string(),
|
|
63355
|
+
repo: string(),
|
|
63356
|
+
quantization: string(),
|
|
63357
|
+
purpose: _enum(["text", "vision"]),
|
|
63358
|
+
totalBytes: number(),
|
|
63359
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
63360
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
63361
|
+
extraFilenames: array(string())
|
|
63362
|
+
}), object({
|
|
63363
|
+
ok: literal(false),
|
|
63364
|
+
code: string(),
|
|
63365
|
+
message: string(),
|
|
63366
|
+
candidates: array(string()).optional(),
|
|
63367
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
63368
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
63369
|
+
requiredBytes: number().optional()
|
|
63370
|
+
})]);
|
|
63148
63371
|
var LlmRuntimeNodeSchema = object({
|
|
63149
63372
|
nodeId: string(),
|
|
63150
63373
|
reachable: boolean(),
|
|
@@ -63157,7 +63380,10 @@ var ProfileRefInputSchema = object({
|
|
|
63157
63380
|
addonId: string(),
|
|
63158
63381
|
profileId: string()
|
|
63159
63382
|
});
|
|
63160
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
63383
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
63384
|
+
addonId: string().optional(),
|
|
63385
|
+
requestId: string()
|
|
63386
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
63161
63387
|
kind: "mutation",
|
|
63162
63388
|
auth: "admin"
|
|
63163
63389
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -63178,6 +63404,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
63178
63404
|
consumer: string().optional(),
|
|
63179
63405
|
profileId: string().optional()
|
|
63180
63406
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
63407
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
63408
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
63409
|
+
ref: string(),
|
|
63410
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
63411
|
+
maxBytes: number().positive().optional()
|
|
63412
|
+
}), HfModelResolutionSchema, {
|
|
63413
|
+
kind: "mutation",
|
|
63414
|
+
auth: "admin"
|
|
63415
|
+
}), method(object({
|
|
63181
63416
|
nodeId: string(),
|
|
63182
63417
|
model: ManagedModelRefSchema
|
|
63183
63418
|
}), _void(), {
|
|
@@ -64825,6 +65060,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
64825
65060
|
"stream-offline",
|
|
64826
65061
|
"node-online",
|
|
64827
65062
|
"node-offline",
|
|
65063
|
+
"node-inference-unavailable",
|
|
65064
|
+
"detection-blind",
|
|
64828
65065
|
"addon-update-available",
|
|
64829
65066
|
"server-update-available",
|
|
64830
65067
|
"alarm-triggered",
|
|
@@ -64886,7 +65123,16 @@ var NcScheduleSchema = object({
|
|
|
64886
65123
|
});
|
|
64887
65124
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
64888
65125
|
var NcPlateMatcherSchema = object({
|
|
64889
|
-
|
|
65126
|
+
/**
|
|
65127
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
65128
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
65129
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
65130
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
65131
|
+
*
|
|
65132
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
65133
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
65134
|
+
*/
|
|
65135
|
+
values: array(string().min(1)),
|
|
64890
65136
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
64891
65137
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
64892
65138
|
});
|
|
@@ -64920,28 +65166,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
64920
65166
|
/**
|
|
64921
65167
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
64922
65168
|
*
|
|
64923
|
-
*
|
|
64924
|
-
*
|
|
64925
|
-
*
|
|
64926
|
-
*
|
|
64927
|
-
* window are HITS. A sample is a hit when it satisfies BOTH present filters:
|
|
65169
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
65170
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
65171
|
+
* there is no second switch that can disagree with the first and every rule
|
|
65172
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
64928
65173
|
*
|
|
64929
|
-
* -
|
|
64930
|
-
*
|
|
64931
|
-
*
|
|
65174
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
65175
|
+
* classifier labels with one of them. No window, no percentage:
|
|
65176
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
65177
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
65178
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
65179
|
+
* reaches this condition if the classifier was already confident enough.
|
|
65180
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
65181
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
65182
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
65183
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
65184
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
65185
|
+
* seconds is 100% of nothing.
|
|
64932
65186
|
*
|
|
64933
|
-
*
|
|
64934
|
-
*
|
|
64935
|
-
*
|
|
64936
|
-
*
|
|
64937
|
-
*
|
|
64938
|
-
*
|
|
64939
|
-
* ZodEffects the cap path would have to special-case).
|
|
65187
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
65188
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
65189
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
65190
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
65191
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
65192
|
+
* the wrong question to ask of a sparse classifier.
|
|
64940
65193
|
*
|
|
64941
|
-
*
|
|
64942
|
-
*
|
|
64943
|
-
*
|
|
64944
|
-
* `
|
|
65194
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
65195
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
65196
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
65197
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
65198
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
64945
65199
|
*
|
|
64946
65200
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
64947
65201
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -64949,13 +65203,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
64949
65203
|
* an operator who typed `dog` mean the same thing.
|
|
64950
65204
|
*/
|
|
64951
65205
|
var NcAudioConditionSchema = object({
|
|
64952
|
-
/**
|
|
65206
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
64953
65207
|
labels: array(string().min(1)).min(1).optional(),
|
|
64954
|
-
/**
|
|
65208
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
64955
65209
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
64956
|
-
/**
|
|
65210
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
64957
65211
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
64958
|
-
/**
|
|
65212
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
64959
65213
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
64960
65214
|
});
|
|
64961
65215
|
/**
|
|
@@ -65093,13 +65347,81 @@ var NcRuleActionsSchema = object({
|
|
|
65093
65347
|
*/
|
|
65094
65348
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
65095
65349
|
});
|
|
65350
|
+
/**
|
|
65351
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
65352
|
+
*
|
|
65353
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
65354
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
65355
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
65356
|
+
*
|
|
65357
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
65358
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
65359
|
+
*/
|
|
65360
|
+
var NcDeviceStateConditionSchema = object({
|
|
65361
|
+
deviceId: number().int(),
|
|
65362
|
+
/** Any of these matches. */
|
|
65363
|
+
states: array(string().min(1)).min(1)
|
|
65364
|
+
});
|
|
65365
|
+
/**
|
|
65366
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
65367
|
+
*
|
|
65368
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
65369
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
65370
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
65371
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
65372
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
65373
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
65374
|
+
* kind exist for it — see D159.
|
|
65375
|
+
*
|
|
65376
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
65377
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
65378
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
65379
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
65380
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
65381
|
+
*
|
|
65382
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
65383
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
65384
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
65385
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
65386
|
+
* override one rule against the scene's own default.
|
|
65387
|
+
*
|
|
65388
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
65389
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
65390
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
65391
|
+
* evidence, in either direction.
|
|
65392
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
65393
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
65394
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
65395
|
+
* reason the operator asked for a latch.
|
|
65396
|
+
*
|
|
65397
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
65398
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
65399
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
65400
|
+
* said out loud in the log rather than dropped in silence.
|
|
65401
|
+
*/
|
|
65402
|
+
var NcSceneConditionSchema = object({
|
|
65403
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
65404
|
+
sceneId: string().min(1),
|
|
65405
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
65406
|
+
deviceId: number().int().optional(),
|
|
65407
|
+
/** The state the scene must be in for the rule to fire. */
|
|
65408
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
65409
|
+
/**
|
|
65410
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
65411
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
65412
|
+
*/
|
|
65413
|
+
latched: boolean().optional()
|
|
65414
|
+
});
|
|
65096
65415
|
var NcConditionsSchema = object({
|
|
65097
65416
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
65098
|
-
deviceState:
|
|
65099
|
-
|
|
65100
|
-
|
|
65101
|
-
|
|
65102
|
-
|
|
65417
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
65418
|
+
/**
|
|
65419
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
65420
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
65421
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
65422
|
+
* {@link NcSceneCondition} and D159.
|
|
65423
|
+
*/
|
|
65424
|
+
scene: NcSceneConditionSchema.optional(),
|
|
65103
65425
|
/** Device scope — absent = all devices. */
|
|
65104
65426
|
devices: array(number()).optional(),
|
|
65105
65427
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -65125,18 +65447,47 @@ var NcConditionsSchema = object({
|
|
|
65125
65447
|
*/
|
|
65126
65448
|
labelEquals: array(string().min(1)).optional(),
|
|
65127
65449
|
/**
|
|
65128
|
-
*
|
|
65129
|
-
*
|
|
65130
|
-
*
|
|
65450
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
65451
|
+
* is about recognised people at all.
|
|
65452
|
+
*
|
|
65453
|
+
* Three states, and the empty one is the point:
|
|
65454
|
+
*
|
|
65455
|
+
* | value | meaning |
|
|
65456
|
+
* | --- | --- |
|
|
65457
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
65458
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
65459
|
+
* | a list | only these identities |
|
|
65460
|
+
*
|
|
65461
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
65462
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
65463
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
65464
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
65465
|
+
* with the list under it is worse than no switch (D62).
|
|
65466
|
+
*
|
|
65467
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
65468
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
65469
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
65470
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
65471
|
+
* `{{label}}` renders.
|
|
65472
|
+
*
|
|
65473
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
65474
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
65475
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
65476
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
65477
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
65131
65478
|
*/
|
|
65132
65479
|
identities: array(string().min(1)).optional(),
|
|
65133
|
-
/**
|
|
65480
|
+
/**
|
|
65481
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
65482
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
65483
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
65484
|
+
*/
|
|
65134
65485
|
plates: NcPlateMatcherSchema.optional(),
|
|
65135
65486
|
/**
|
|
65136
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
65137
|
-
*
|
|
65138
|
-
* identity
|
|
65139
|
-
*
|
|
65487
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
65488
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
65489
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
65490
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
65140
65491
|
*/
|
|
65141
65492
|
identitiesExclude: array(string().min(1)).optional(),
|
|
65142
65493
|
/**
|
|
@@ -65528,7 +65879,80 @@ var NcRuleInputSchema = object({
|
|
|
65528
65879
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
65529
65880
|
* did, and absent is the only way to say that without a migration.
|
|
65530
65881
|
*/
|
|
65531
|
-
confirm: NcConfirmSchema.optional()
|
|
65882
|
+
confirm: NcConfirmSchema.optional(),
|
|
65883
|
+
/**
|
|
65884
|
+
* WAIT for face/plate recognition before saying anything.
|
|
65885
|
+
*
|
|
65886
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
65887
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
65888
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
65889
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
65890
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
65891
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
65892
|
+
*
|
|
65893
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
65894
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
65895
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
65896
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
65897
|
+
*
|
|
65898
|
+
* | value | what happens |
|
|
65899
|
+
* | --- | --- |
|
|
65900
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
65901
|
+
* | 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) |
|
|
65902
|
+
*
|
|
65903
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
65904
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
65905
|
+
* rule authored before this field meant.
|
|
65906
|
+
*
|
|
65907
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
65908
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
65909
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
65910
|
+
* be satisfied, because a closed track carries no crossing.
|
|
65911
|
+
*/
|
|
65912
|
+
waitForEnhancement: boolean().optional(),
|
|
65913
|
+
/**
|
|
65914
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
65915
|
+
*
|
|
65916
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
65917
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
65918
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
65919
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
65920
|
+
* notification with an updated one naming everybody. The push carries the
|
|
65921
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
65922
|
+
*
|
|
65923
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
65924
|
+
*
|
|
65925
|
+
* ### Why an idle cutoff and not a window
|
|
65926
|
+
*
|
|
65927
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
65928
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
65929
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
65930
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
65931
|
+
*
|
|
65932
|
+
* ### What it replaces
|
|
65933
|
+
*
|
|
65934
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
65935
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
65936
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
65937
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
65938
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
65939
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
65940
|
+
* throttled by the window its own first member spent.
|
|
65941
|
+
*
|
|
65942
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
65943
|
+
*
|
|
65944
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
65945
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
65946
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
65947
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
65948
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
65949
|
+
* path. Neither combination fires twice for one subject.
|
|
65950
|
+
*
|
|
65951
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
65952
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
65953
|
+
* field existed.
|
|
65954
|
+
*/
|
|
65955
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
65532
65956
|
});
|
|
65533
65957
|
/**
|
|
65534
65958
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -65635,6 +66059,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
65635
66059
|
"occupancy",
|
|
65636
66060
|
"audio",
|
|
65637
66061
|
"deviceState",
|
|
66062
|
+
"scene",
|
|
65638
66063
|
"systemEvent"
|
|
65639
66064
|
]),
|
|
65640
66065
|
operator: _enum([
|
|
@@ -66040,7 +66465,87 @@ var MethodAccessSchema = _enum([
|
|
|
66040
66465
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
66041
66466
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
66042
66467
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
66043
|
-
|
|
66468
|
+
/**
|
|
66469
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
66470
|
+
*
|
|
66471
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
66472
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
66473
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
66474
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
66475
|
+
*
|
|
66476
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
66477
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
66478
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
66479
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
66480
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
66481
|
+
* is NOT covered until the grant is edited.
|
|
66482
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
66483
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
66484
|
+
* re-resolves on the next request.
|
|
66485
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
66486
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
66487
|
+
* null/unset location matches NO `locations` selector.
|
|
66488
|
+
*/
|
|
66489
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
66490
|
+
object({ kind: literal("all") }),
|
|
66491
|
+
object({
|
|
66492
|
+
kind: literal("ids"),
|
|
66493
|
+
ids: array(number().int()).min(1)
|
|
66494
|
+
}),
|
|
66495
|
+
object({
|
|
66496
|
+
kind: literal("types"),
|
|
66497
|
+
types: array(_enum(DeviceType)).min(1)
|
|
66498
|
+
}),
|
|
66499
|
+
object({
|
|
66500
|
+
kind: literal("locations"),
|
|
66501
|
+
locations: array(string().min(1)).min(1)
|
|
66502
|
+
})
|
|
66503
|
+
]);
|
|
66504
|
+
var DeviceTokenScopeSchema = object({
|
|
66505
|
+
type: literal("device"),
|
|
66506
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
66507
|
+
selector: DeviceSelectorSchema,
|
|
66508
|
+
access: array(MethodAccessSchema).min(1),
|
|
66509
|
+
/**
|
|
66510
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
66511
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
66512
|
+
* Direction is parent → children ONLY.
|
|
66513
|
+
*
|
|
66514
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
66515
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
66516
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
66517
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
66518
|
+
* explicitly to override that default per grant.
|
|
66519
|
+
*/
|
|
66520
|
+
includeLinked: boolean().optional()
|
|
66521
|
+
});
|
|
66522
|
+
/**
|
|
66523
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
66524
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
66525
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
66526
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
66527
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
66528
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
66529
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
66530
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
66531
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
66532
|
+
*/
|
|
66533
|
+
function migrateLegacyTokenScope(raw) {
|
|
66534
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
66535
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
66536
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
66537
|
+
const targets = Reflect.get(raw, "targets");
|
|
66538
|
+
if (!Array.isArray(targets)) return raw;
|
|
66539
|
+
return {
|
|
66540
|
+
type: "device",
|
|
66541
|
+
selector: {
|
|
66542
|
+
kind: "ids",
|
|
66543
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
66544
|
+
},
|
|
66545
|
+
access: Reflect.get(raw, "access")
|
|
66546
|
+
};
|
|
66547
|
+
}
|
|
66548
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
66044
66549
|
object({
|
|
66045
66550
|
type: literal("category"),
|
|
66046
66551
|
target: CapScopeSchema,
|
|
@@ -66056,18 +66561,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
66056
66561
|
target: string(),
|
|
66057
66562
|
access: array(MethodAccessSchema).min(1)
|
|
66058
66563
|
}),
|
|
66059
|
-
|
|
66060
|
-
|
|
66061
|
-
/**
|
|
66062
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
66063
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
66064
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
66065
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
66066
|
-
*/
|
|
66067
|
-
targets: array(string()).min(1),
|
|
66068
|
-
access: array(MethodAccessSchema).min(1)
|
|
66069
|
-
})
|
|
66070
|
-
]);
|
|
66564
|
+
DeviceTokenScopeSchema
|
|
66565
|
+
]));
|
|
66071
66566
|
object({
|
|
66072
66567
|
id: string(),
|
|
66073
66568
|
username: string(),
|
|
@@ -66384,7 +66879,7 @@ var TrackEnvelopeSchema = object({
|
|
|
66384
66879
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
66385
66880
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
66386
66881
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
66387
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
66882
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
66388
66883
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
66389
66884
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
66390
66885
|
* (`getObjectEvents` et al.).
|
|
@@ -66520,7 +67015,21 @@ union([literal(1), literal(2)]);
|
|
|
66520
67015
|
var LabelAttributionSchema = object({
|
|
66521
67016
|
stepId: string(),
|
|
66522
67017
|
modelId: string().optional(),
|
|
66523
|
-
decidedAt: number()
|
|
67018
|
+
decidedAt: number(),
|
|
67019
|
+
/**
|
|
67020
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
67021
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
67022
|
+
*
|
|
67023
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
67024
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
67025
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
67026
|
+
* the thing that does not move, so it is what a rule matches on
|
|
67027
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
67028
|
+
*
|
|
67029
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
67030
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
67031
|
+
*/
|
|
67032
|
+
identityId: string().optional()
|
|
66524
67033
|
});
|
|
66525
67034
|
/**
|
|
66526
67035
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -66657,6 +67166,28 @@ var TrackSchema = object({
|
|
|
66657
67166
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
66658
67167
|
*/
|
|
66659
67168
|
hasFace: boolean().optional(),
|
|
67169
|
+
/**
|
|
67170
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
67171
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
67172
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
67173
|
+
*
|
|
67174
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
67175
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
67176
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
67177
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
67178
|
+
* stop. This is the composition note that makes the row true.
|
|
67179
|
+
*
|
|
67180
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
67181
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
67182
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
67183
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
67184
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
67185
|
+
*
|
|
67186
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
67187
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
67188
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
67189
|
+
*/
|
|
67190
|
+
hasRider: boolean().optional(),
|
|
66660
67191
|
...TrackFlagFields,
|
|
66661
67192
|
...TrackRetrainFields
|
|
66662
67193
|
});
|
|
@@ -67006,7 +67537,10 @@ var RecentTracksQueryInput = object({
|
|
|
67006
67537
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
67007
67538
|
cursor: string().optional(),
|
|
67008
67539
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
67009
|
-
projection: TrackProjectionSchema.optional()
|
|
67540
|
+
projection: TrackProjectionSchema.optional(),
|
|
67541
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
67542
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
67543
|
+
includeStationary: boolean().optional()
|
|
67010
67544
|
});
|
|
67011
67545
|
var RecentTracksPageSchema = object({
|
|
67012
67546
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -67224,7 +67758,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
67224
67758
|
zone: TrackZoneFilterSchema.optional(),
|
|
67225
67759
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
67226
67760
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
67227
|
-
projection: TrackProjectionSchema.optional()
|
|
67761
|
+
projection: TrackProjectionSchema.optional(),
|
|
67762
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
67763
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
67764
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
67765
|
+
includeStationary: boolean().optional()
|
|
67228
67766
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
67229
67767
|
kind: "mutation",
|
|
67230
67768
|
auth: "admin"
|
|
@@ -67388,11 +67926,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
67388
67926
|
auth: "admin"
|
|
67389
67927
|
}), method(object({
|
|
67390
67928
|
eventId: string(),
|
|
67391
|
-
kind: MediaFileKindEnum.optional()
|
|
67929
|
+
kind: MediaFileKindEnum.optional(),
|
|
67930
|
+
deviceId: number()
|
|
67392
67931
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
67393
67932
|
trackId: string(),
|
|
67394
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
67395
|
-
|
|
67933
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
67934
|
+
deviceId: number()
|
|
67935
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
67936
|
+
trackId: string(),
|
|
67937
|
+
deviceId: number()
|
|
67938
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
67396
67939
|
kind: "mutation",
|
|
67397
67940
|
auth: "admin"
|
|
67398
67941
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -68092,6 +68635,17 @@ var maxSessionHoldMsField = {
|
|
|
68092
68635
|
default: 12e4,
|
|
68093
68636
|
step: 5e3
|
|
68094
68637
|
};
|
|
68638
|
+
/**
|
|
68639
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
68640
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
68641
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
68642
|
+
*/
|
|
68643
|
+
var audioMotionWindowMsField = {
|
|
68644
|
+
min: 5e3,
|
|
68645
|
+
max: 6e5,
|
|
68646
|
+
default: 9e4,
|
|
68647
|
+
step: 5e3
|
|
68648
|
+
};
|
|
68095
68649
|
var motionFpsField = {
|
|
68096
68650
|
min: 1,
|
|
68097
68651
|
max: 30,
|
|
@@ -68123,7 +68677,7 @@ var detectionFpsField = {
|
|
|
68123
68677
|
var occupancyRecheckSecField = {
|
|
68124
68678
|
min: 0,
|
|
68125
68679
|
max: 300,
|
|
68126
|
-
default:
|
|
68680
|
+
default: 300,
|
|
68127
68681
|
step: 5
|
|
68128
68682
|
};
|
|
68129
68683
|
var occupancyRecheckFramesField = {
|
|
@@ -68268,6 +68822,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
68268
68822
|
* resolved `CameraDetectionConfig`.
|
|
68269
68823
|
*/
|
|
68270
68824
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
68825
|
+
/**
|
|
68826
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
68827
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
68828
|
+
*
|
|
68829
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
68830
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
68831
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
68832
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
68833
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
68834
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
68835
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
68836
|
+
*
|
|
68837
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
68838
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
68839
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
68840
|
+
*
|
|
68841
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
68842
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
68843
|
+
* `maxSessionHoldMs`.
|
|
68844
|
+
*/
|
|
68845
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
68271
68846
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
68272
68847
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
68273
68848
|
motionStreamId: string(),
|
|
@@ -68363,7 +68938,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
68363
68938
|
*/
|
|
68364
68939
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
68365
68940
|
});
|
|
68366
|
-
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;
|
|
68941
|
+
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;
|
|
68367
68942
|
/**
|
|
68368
68943
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
68369
68944
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -69349,7 +69924,31 @@ DeviceType.Camera, method(object({
|
|
|
69349
69924
|
lastCapturedAt: number().nullable(),
|
|
69350
69925
|
cacheAgeMs: number().nullable(),
|
|
69351
69926
|
etag: string().nullable()
|
|
69352
|
-
}))), systemMethod(object({
|
|
69927
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
69928
|
+
/** The battery slice as read, or null when the device has none. */
|
|
69929
|
+
battery: object({
|
|
69930
|
+
sleeping: boolean(),
|
|
69931
|
+
lastUpdated: number(),
|
|
69932
|
+
lastContactAt: number().optional()
|
|
69933
|
+
}).nullable(),
|
|
69934
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
69935
|
+
state: object({
|
|
69936
|
+
isBattery: boolean(),
|
|
69937
|
+
reason: _enum([
|
|
69938
|
+
"disabled",
|
|
69939
|
+
"sleeping",
|
|
69940
|
+
"unreachable",
|
|
69941
|
+
"waking"
|
|
69942
|
+
]).nullable()
|
|
69943
|
+
}),
|
|
69944
|
+
/** The cached frame behind the next paint. */
|
|
69945
|
+
frame: object({
|
|
69946
|
+
capturedAt: number().nullable(),
|
|
69947
|
+
ageMs: number().nullable()
|
|
69948
|
+
}),
|
|
69949
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
69950
|
+
waking: boolean()
|
|
69951
|
+
})), systemMethod(object({
|
|
69353
69952
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
69354
69953
|
* width) the caller will paint — the width is snapped to the server's
|
|
69355
69954
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -69379,7 +69978,16 @@ targets: array(object({
|
|
|
69379
69978
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
69380
69979
|
* NOT refresh in the background. A surface should say so rather than
|
|
69381
69980
|
* present it as current. */
|
|
69382
|
-
sleeping: boolean()
|
|
69981
|
+
sleeping: boolean(),
|
|
69982
|
+
/** Current device state rendered over the cached frame. State images
|
|
69983
|
+
* remain authoritative even when their photographic background is
|
|
69984
|
+
* old; null means the link must carry a current camera frame. */
|
|
69985
|
+
stateReason: _enum([
|
|
69986
|
+
"disabled",
|
|
69987
|
+
"sleeping",
|
|
69988
|
+
"unreachable",
|
|
69989
|
+
"waking"
|
|
69990
|
+
]).nullable()
|
|
69383
69991
|
})));
|
|
69384
69992
|
/**
|
|
69385
69993
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -71033,6 +71641,25 @@ var BatteryStatusSchema = object({
|
|
|
71033
71641
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
71034
71642
|
lastUpdated: number(),
|
|
71035
71643
|
/**
|
|
71644
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
71645
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
71646
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
71647
|
+
*
|
|
71648
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
71649
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
71650
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
71651
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
71652
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
71653
|
+
*
|
|
71654
|
+
* It is deliberately NOT a clock in the
|
|
71655
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
71656
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
71657
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
71658
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
71659
|
+
* SQLite commit per round-trip.
|
|
71660
|
+
*/
|
|
71661
|
+
lastContactAt: number().optional(),
|
|
71662
|
+
/**
|
|
71036
71663
|
* True when the source is a BINARY low-battery indicator (HA
|
|
71037
71664
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
71038
71665
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -73322,54 +73949,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
73322
73949
|
"g711ulaw",
|
|
73323
73950
|
"g711alaw"
|
|
73324
73951
|
]);
|
|
73325
|
-
|
|
73326
|
-
|
|
73327
|
-
|
|
73328
|
-
|
|
73329
|
-
|
|
73330
|
-
|
|
73331
|
-
|
|
73332
|
-
|
|
73333
|
-
|
|
73334
|
-
|
|
73335
|
-
|
|
73336
|
-
|
|
73337
|
-
|
|
73338
|
-
}),
|
|
73339
|
-
|
|
73340
|
-
|
|
73341
|
-
}),
|
|
73342
|
-
|
|
73343
|
-
|
|
73344
|
-
}),
|
|
73345
|
-
|
|
73346
|
-
|
|
73347
|
-
|
|
73348
|
-
|
|
73349
|
-
|
|
73350
|
-
|
|
73351
|
-
|
|
73352
|
-
|
|
73353
|
-
|
|
73354
|
-
|
|
73355
|
-
|
|
73356
|
-
|
|
73357
|
-
|
|
73358
|
-
|
|
73359
|
-
|
|
73360
|
-
|
|
73361
|
-
|
|
73362
|
-
|
|
73363
|
-
|
|
73364
|
-
|
|
73365
|
-
|
|
73366
|
-
|
|
73367
|
-
|
|
73368
|
-
|
|
73369
|
-
|
|
73370
|
-
|
|
73371
|
-
|
|
73372
|
-
|
|
73952
|
+
var intercomCapability = {
|
|
73953
|
+
name: "intercom",
|
|
73954
|
+
scope: "device",
|
|
73955
|
+
deviceNative: true,
|
|
73956
|
+
mode: "singleton",
|
|
73957
|
+
deviceTypes: [DeviceType.Camera],
|
|
73958
|
+
methods: {
|
|
73959
|
+
/**
|
|
73960
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
73961
|
+
* offer with a single sendonly audio m-line the client answers
|
|
73962
|
+
* (client → server direction). The server wakes battery cams
|
|
73963
|
+
* transparently before opening the upstream talk channel.
|
|
73964
|
+
*/
|
|
73965
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
73966
|
+
sessionId: string(),
|
|
73967
|
+
sdpOffer: string()
|
|
73968
|
+
}), {
|
|
73969
|
+
kind: "mutation",
|
|
73970
|
+
auth: "admin"
|
|
73971
|
+
}),
|
|
73972
|
+
handleAnswer: method(object({
|
|
73973
|
+
deviceId: number(),
|
|
73974
|
+
sessionId: string(),
|
|
73975
|
+
sdpAnswer: string()
|
|
73976
|
+
}), _void(), {
|
|
73977
|
+
kind: "mutation",
|
|
73978
|
+
auth: "admin"
|
|
73979
|
+
}),
|
|
73980
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
73981
|
+
stopSession: method(object({
|
|
73982
|
+
deviceId: number(),
|
|
73983
|
+
sessionId: string()
|
|
73984
|
+
}), _void(), {
|
|
73985
|
+
kind: "mutation",
|
|
73986
|
+
auth: "admin"
|
|
73987
|
+
}),
|
|
73988
|
+
/**
|
|
73989
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
73990
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
73991
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
73992
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
73993
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
73994
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
73995
|
+
* vice versa).
|
|
73996
|
+
*/
|
|
73997
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
73998
|
+
kind: "mutation",
|
|
73999
|
+
auth: "admin"
|
|
74000
|
+
}),
|
|
74001
|
+
/**
|
|
74002
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
74003
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
74004
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
74005
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
74006
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
74007
|
+
*
|
|
74008
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
74009
|
+
* rate — that information lives entirely inside the provider.
|
|
74010
|
+
*
|
|
74011
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
74012
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
74013
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
74014
|
+
* predictor would corrupt with re-ordering).
|
|
74015
|
+
*/
|
|
74016
|
+
pushTalkAudio: method(object({
|
|
74017
|
+
deviceId: number(),
|
|
74018
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
74019
|
+
* survives tRPC JSON serialization. */
|
|
74020
|
+
audioBase64: string(),
|
|
74021
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
74022
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
74023
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
74024
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
74025
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
74026
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
74027
|
+
sampleRate: number().int().positive().optional(),
|
|
74028
|
+
/** Channel count. Default 1. */
|
|
74029
|
+
channels: number().int().positive().optional(),
|
|
74030
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
74031
|
+
sequenceNumber: number().int()
|
|
74032
|
+
}), object({ accepted: boolean() }), {
|
|
74033
|
+
kind: "mutation",
|
|
74034
|
+
auth: "admin"
|
|
74035
|
+
}),
|
|
74036
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
74037
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
74038
|
+
kind: "mutation",
|
|
74039
|
+
auth: "admin"
|
|
74040
|
+
})
|
|
74041
|
+
},
|
|
74042
|
+
events: { onStatusChanged: { data: object({
|
|
74043
|
+
deviceId: number(),
|
|
74044
|
+
status: IntercomStatusSchema
|
|
74045
|
+
}) } },
|
|
74046
|
+
status: {
|
|
74047
|
+
schema: IntercomStatusSchema,
|
|
74048
|
+
kind: "command-driven"
|
|
74049
|
+
},
|
|
74050
|
+
/**
|
|
74051
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
74052
|
+
*
|
|
74053
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
74054
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
74055
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
74056
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
74057
|
+
* have been published and never received a value, which is the defect the
|
|
74058
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
74059
|
+
* `intercom` was excluded rather than exported.
|
|
74060
|
+
*
|
|
74061
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
74062
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
74063
|
+
* come to disagree. Providers write it through
|
|
74064
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
74065
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
74066
|
+
* the first session rather than after it.
|
|
74067
|
+
*
|
|
74068
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
74069
|
+
* session handle, so a session torn down by a transport death that never
|
|
74070
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
74071
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
74072
|
+
* `restored` — a restart must never restore "talking".
|
|
74073
|
+
*/
|
|
74074
|
+
runtimeState: IntercomStatusSchema,
|
|
74075
|
+
/**
|
|
74076
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
74077
|
+
* session, which by definition does not survive the process that held it.
|
|
74078
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
74079
|
+
*
|
|
74080
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
74081
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
74082
|
+
*/
|
|
74083
|
+
durability: "session"
|
|
74084
|
+
};
|
|
73373
74085
|
/**
|
|
73374
74086
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
73375
74087
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -76066,7 +76778,7 @@ method(object({
|
|
|
76066
76778
|
toMs: number()
|
|
76067
76779
|
}), RecordingAvailabilitySchema, {
|
|
76068
76780
|
kind: "query",
|
|
76069
|
-
auth: "
|
|
76781
|
+
auth: "protected"
|
|
76070
76782
|
}), method(object({
|
|
76071
76783
|
deviceId: number(),
|
|
76072
76784
|
fromMs: number(),
|
|
@@ -76074,14 +76786,14 @@ method(object({
|
|
|
76074
76786
|
tzOffsetMinutes: number()
|
|
76075
76787
|
}), RecordingDaysSchema, {
|
|
76076
76788
|
kind: "query",
|
|
76077
|
-
auth: "
|
|
76789
|
+
auth: "protected"
|
|
76078
76790
|
}), method(object({
|
|
76079
76791
|
deviceId: number(),
|
|
76080
76792
|
fromMs: number(),
|
|
76081
76793
|
toMs: number()
|
|
76082
76794
|
}), RecordingManifestSchema, {
|
|
76083
76795
|
kind: "query",
|
|
76084
|
-
auth: "
|
|
76796
|
+
auth: "protected"
|
|
76085
76797
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
76086
76798
|
kind: "query",
|
|
76087
76799
|
auth: "admin"
|
|
@@ -76371,14 +77083,77 @@ method(object({
|
|
|
76371
77083
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
76372
77084
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
76373
77085
|
*
|
|
76374
|
-
*
|
|
76375
|
-
*
|
|
76376
|
-
*
|
|
76377
|
-
*
|
|
77086
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
77087
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
77088
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
77089
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
77090
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
77091
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
77092
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
77093
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
77094
|
+
*
|
|
77095
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
77096
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
77097
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
77098
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
77099
|
+
*
|
|
77100
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
77101
|
+
* availability change; consumers never poll.
|
|
76378
77102
|
*/
|
|
76379
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
76380
|
-
*
|
|
77103
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
77104
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
77105
|
+
* Open by design so more can be added without a wire break.
|
|
77106
|
+
*
|
|
77107
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
77108
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
77109
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
77110
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
76381
77111
|
var SceneConditionSchema = string();
|
|
77112
|
+
/**
|
|
77113
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
77114
|
+
*
|
|
77115
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
77116
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
77117
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
77118
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
77119
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
77120
|
+
* working without it rather than degrading into a permanent complaint.
|
|
77121
|
+
*
|
|
77122
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
77123
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
77124
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
77125
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
77126
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
77127
|
+
* configuration choice instead of a nightly fault.
|
|
77128
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
77129
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
77130
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
77131
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
77132
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
77133
|
+
*
|
|
77134
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
77135
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
77136
|
+
* there would hide a scene the operator never finished setting up.
|
|
77137
|
+
*/
|
|
77138
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
77139
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
77140
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
77141
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
77142
|
+
* and never counts toward hysteresis in either direction. */
|
|
77143
|
+
var SceneVerdictSchema = _enum([
|
|
77144
|
+
"matched",
|
|
77145
|
+
"diverged",
|
|
77146
|
+
"unknown"
|
|
77147
|
+
]);
|
|
77148
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
77149
|
+
* silence that reads as "nothing has happened". */
|
|
77150
|
+
var SceneUnavailableSchema = _enum([
|
|
77151
|
+
"no-reference-for-condition",
|
|
77152
|
+
"view-shifted",
|
|
77153
|
+
"no-vision-profile",
|
|
77154
|
+
"encoder-model-changed",
|
|
77155
|
+
"no-snapshot"
|
|
77156
|
+
]);
|
|
76382
77157
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
76383
77158
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
76384
77159
|
var SceneReferenceSchema = object({
|
|
@@ -76386,7 +77161,14 @@ var SceneReferenceSchema = object({
|
|
|
76386
77161
|
modelId: string(),
|
|
76387
77162
|
condition: SceneConditionSchema,
|
|
76388
77163
|
capturedAt: number(),
|
|
76389
|
-
thumbnailMediaId: string().optional()
|
|
77164
|
+
thumbnailMediaId: string().optional(),
|
|
77165
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
77166
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
77167
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
77168
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
77169
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
77170
|
+
* transition, not per poll. */
|
|
77171
|
+
anchorEmbedding: array(number()).optional()
|
|
76390
77172
|
});
|
|
76391
77173
|
var SceneMonitorStateSchema = object({
|
|
76392
77174
|
id: string(),
|
|
@@ -76408,6 +77190,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
76408
77190
|
profileId: string().optional(),
|
|
76409
77191
|
hysteresisCount: number().int().positive()
|
|
76410
77192
|
})]);
|
|
77193
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
77194
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
77195
|
+
* out in silence rather than reporting a fault every night. */
|
|
77196
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
77197
|
+
/**
|
|
77198
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
77199
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
77200
|
+
*
|
|
77201
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
77202
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
77203
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
77204
|
+
* stateful claim that costs the operator a trip to reset.
|
|
77205
|
+
*/
|
|
77206
|
+
var SceneConfirmSchema = object({
|
|
77207
|
+
enabled: boolean().default(false),
|
|
77208
|
+
prompt: string().min(1).max(1e3),
|
|
77209
|
+
profileId: string().optional(),
|
|
77210
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
77211
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
77212
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
77213
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
77214
|
+
});
|
|
76411
77215
|
var SceneMonitorSchema = object({
|
|
76412
77216
|
id: string(),
|
|
76413
77217
|
label: string(),
|
|
@@ -76426,7 +77230,56 @@ var SceneMonitorSchema = object({
|
|
|
76426
77230
|
lastConfidence: number().nullable(),
|
|
76427
77231
|
currentCondition: SceneConditionSchema.nullable(),
|
|
76428
77232
|
availability: _enum(["ok", "unavailable"]),
|
|
76429
|
-
unavailableReason: string().nullable()
|
|
77233
|
+
unavailableReason: string().nullable(),
|
|
77234
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
77235
|
+
baselineStateId: string().nullable(),
|
|
77236
|
+
/** Which boolean drives notification rules and any export. */
|
|
77237
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
77238
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
77239
|
+
verdict: SceneVerdictSchema,
|
|
77240
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
77241
|
+
latched: boolean(),
|
|
77242
|
+
/** Last reset (or creation). */
|
|
77243
|
+
armedAt: number(),
|
|
77244
|
+
divergedAt: number().nullable(),
|
|
77245
|
+
restoredAt: number().nullable(),
|
|
77246
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
77247
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
77248
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
77249
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
77250
|
+
/** An observation only advances the pending count when it is at least this
|
|
77251
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
77252
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
77253
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
77254
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
77255
|
+
confirm: SceneConfirmSchema.optional(),
|
|
77256
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
77257
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
77258
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
77259
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
77260
|
+
* automation can react to the bin coming back without the operator's own
|
|
77261
|
+
* alarm silently clearing itself. */
|
|
77262
|
+
autoRestore: boolean().default(false),
|
|
77263
|
+
/** What to do when the current light has no reference of its own. See
|
|
77264
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
77265
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
77266
|
+
/**
|
|
77267
|
+
* The light whose checks are currently being SAT OUT under
|
|
77268
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
77269
|
+
*
|
|
77270
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
77271
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
77272
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
77273
|
+
* line, because the alternative is a scene that silently stops answering
|
|
77274
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
77275
|
+
* read as a broken one.
|
|
77276
|
+
*/
|
|
77277
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
77278
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
77279
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
77280
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
77281
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
77282
|
+
coveredConditions: array(SceneConditionSchema)
|
|
76430
77283
|
});
|
|
76431
77284
|
var SceneMonitorStatusSchema = object({
|
|
76432
77285
|
monitors: array(SceneMonitorSchema),
|
|
@@ -76439,12 +77292,6 @@ var sceneMonitorCapability = {
|
|
|
76439
77292
|
kind: "wrapper",
|
|
76440
77293
|
defaultActive: true,
|
|
76441
77294
|
deviceTypes: [DeviceType.Camera],
|
|
76442
|
-
deviceConfig: { ui: {
|
|
76443
|
-
kind: "widget",
|
|
76444
|
-
widgetId: "host/scene-monitor-editor",
|
|
76445
|
-
tab: "scenes",
|
|
76446
|
-
label: "Scenes"
|
|
76447
|
-
} },
|
|
76448
77295
|
methods: {
|
|
76449
77296
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
76450
77297
|
createScene: method(object({
|
|
@@ -76475,7 +77322,15 @@ var sceneMonitorCapability = {
|
|
|
76475
77322
|
"both"
|
|
76476
77323
|
]).optional(),
|
|
76477
77324
|
checkIntervalSec: number().optional(),
|
|
76478
|
-
check: SceneCheckSchema.optional()
|
|
77325
|
+
check: SceneCheckSchema.optional(),
|
|
77326
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
77327
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
77328
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
77329
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
77330
|
+
autoRestore: boolean().optional(),
|
|
77331
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
77332
|
+
/** `null` clears the vision-model adjudicator. */
|
|
77333
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
76479
77334
|
})
|
|
76480
77335
|
}), _void(), {
|
|
76481
77336
|
kind: "mutation",
|
|
@@ -76516,6 +77371,26 @@ var sceneMonitorCapability = {
|
|
|
76516
77371
|
}), _void(), {
|
|
76517
77372
|
kind: "mutation",
|
|
76518
77373
|
auth: "admin"
|
|
77374
|
+
}),
|
|
77375
|
+
/**
|
|
77376
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
77377
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
77378
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
77379
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
77380
|
+
* instead of failing silently weeks later.
|
|
77381
|
+
*
|
|
77382
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
77383
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
77384
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
77385
|
+
*/
|
|
77386
|
+
resetScene: method(object({
|
|
77387
|
+
deviceId: number(),
|
|
77388
|
+
monitorId: string(),
|
|
77389
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
77390
|
+
recapture: boolean().optional()
|
|
77391
|
+
}), _void(), {
|
|
77392
|
+
kind: "mutation",
|
|
77393
|
+
auth: "admin"
|
|
76519
77394
|
})
|
|
76520
77395
|
},
|
|
76521
77396
|
status: {
|
|
@@ -76752,7 +77627,70 @@ var CamStreamDescriptorSchema = object({
|
|
|
76752
77627
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
76753
77628
|
metadata: record(string(), unknown()).optional()
|
|
76754
77629
|
});
|
|
76755
|
-
|
|
77630
|
+
/**
|
|
77631
|
+
* `stream-catalog` — device-scoped, provider-implemented. The pull counterpart
|
|
77632
|
+
* of the removed `publishCameraStream` push: a camera provider returns the full
|
|
77633
|
+
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
77634
|
+
* broker can reconcile its registry against the authoritative provider state.
|
|
77635
|
+
*/
|
|
77636
|
+
/**
|
|
77637
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
77638
|
+
*
|
|
77639
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
77640
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
77641
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
77642
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
77643
|
+
* every later pull from a cache.
|
|
77644
|
+
*
|
|
77645
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
77646
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
77647
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
77648
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
77649
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
77650
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
77651
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
77652
|
+
*
|
|
77653
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
77654
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
77655
|
+
* the same reason: the last known value is the only value there is while the
|
|
77656
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
77657
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
77658
|
+
*/
|
|
77659
|
+
var StreamCatalogStateSchema = object({
|
|
77660
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
77661
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
77662
|
+
* one the camera itself once produced. */
|
|
77663
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
77664
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
77665
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
77666
|
+
* re-read. */
|
|
77667
|
+
lastFetchedAt: number()
|
|
77668
|
+
});
|
|
77669
|
+
var streamCatalogCapability = {
|
|
77670
|
+
name: "stream-catalog",
|
|
77671
|
+
scope: "device",
|
|
77672
|
+
deviceNative: true,
|
|
77673
|
+
mode: "singleton",
|
|
77674
|
+
deviceTypes: [DeviceType.Camera],
|
|
77675
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
77676
|
+
runtimeState: StreamCatalogStateSchema,
|
|
77677
|
+
/**
|
|
77678
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
77679
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
77680
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
77681
|
+
*
|
|
77682
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
77683
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
77684
|
+
* a day old and the camera is awake anyway).
|
|
77685
|
+
*
|
|
77686
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
77687
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
77688
|
+
*/
|
|
77689
|
+
durability: "restored",
|
|
77690
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
77691
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
77692
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
77693
|
+
};
|
|
76756
77694
|
/** One of the camera's stream profiles. */
|
|
76757
77695
|
var StreamProfileSchema = _enum([
|
|
76758
77696
|
"main",
|
|
@@ -77006,12 +77944,64 @@ var NetworkAddressSchema = object({
|
|
|
77006
77944
|
family: string(),
|
|
77007
77945
|
internal: boolean()
|
|
77008
77946
|
});
|
|
77947
|
+
/**
|
|
77948
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
77949
|
+
* numbers.
|
|
77950
|
+
*
|
|
77951
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
77952
|
+
* nothing overwrites it.
|
|
77953
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
77954
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
77955
|
+
* the sun-times consumers otherwise fall back to.
|
|
77956
|
+
*
|
|
77957
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
77958
|
+
* own input will eventually trust the guess.
|
|
77959
|
+
*/
|
|
77960
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
77961
|
+
/**
|
|
77962
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
77963
|
+
*
|
|
77964
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
77965
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
77966
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
77967
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
77968
|
+
* coordinates or presses detect.
|
|
77969
|
+
*/
|
|
77970
|
+
var SiteLocationStatusSchema = object({
|
|
77971
|
+
location: object({
|
|
77972
|
+
/** WGS84 decimal degrees. */
|
|
77973
|
+
latitude: number().min(-90).max(90),
|
|
77974
|
+
longitude: number().min(-180).max(180),
|
|
77975
|
+
source: SiteLocationSourceSchema,
|
|
77976
|
+
/** Epoch ms the value was last written. */
|
|
77977
|
+
updatedAt: number(),
|
|
77978
|
+
/**
|
|
77979
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
77980
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
77981
|
+
*/
|
|
77982
|
+
label: string().optional()
|
|
77983
|
+
}).nullable(),
|
|
77984
|
+
derivationAttemptedAt: number().nullable(),
|
|
77985
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
77986
|
+
derivationError: string().nullable()
|
|
77987
|
+
});
|
|
77988
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
77989
|
+
var SetSiteLocationInputSchema = object({
|
|
77990
|
+
latitude: number().min(-90).max(90),
|
|
77991
|
+
longitude: number().min(-180).max(180)
|
|
77992
|
+
}).nullable();
|
|
77009
77993
|
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(), {
|
|
77010
77994
|
kind: "mutation",
|
|
77011
77995
|
auth: "admin"
|
|
77012
77996
|
}), method(_void(), _void(), {
|
|
77013
77997
|
kind: "mutation",
|
|
77014
77998
|
auth: "admin"
|
|
77999
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
78000
|
+
kind: "mutation",
|
|
78001
|
+
auth: "admin"
|
|
78002
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
78003
|
+
kind: "mutation",
|
|
78004
|
+
auth: "admin"
|
|
77015
78005
|
});
|
|
77016
78006
|
/**
|
|
77017
78007
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -78331,6 +79321,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
78331
79321
|
humiditySensor: humiditySensorCapability,
|
|
78332
79322
|
image: imageCapability,
|
|
78333
79323
|
imageSettings: imageSettingsCapability,
|
|
79324
|
+
intercom: intercomCapability,
|
|
78334
79325
|
lawnMowerControl: lawnMowerControlCapability,
|
|
78335
79326
|
lockControl: lockControlCapability,
|
|
78336
79327
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -78349,6 +79340,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
78349
79340
|
sceneMonitor: sceneMonitorCapability,
|
|
78350
79341
|
scriptRunner: scriptRunnerCapability,
|
|
78351
79342
|
smoke: smokeCapability,
|
|
79343
|
+
streamCatalog: streamCatalogCapability,
|
|
78352
79344
|
streamParams: streamParamsCapability,
|
|
78353
79345
|
switch: switchCapability,
|
|
78354
79346
|
tamper: tamperCapability,
|
|
@@ -79002,6 +79994,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
79002
79994
|
labels: ["probe not implemented"]
|
|
79003
79995
|
};
|
|
79004
79996
|
}
|
|
79997
|
+
/**
|
|
79998
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
79999
|
+
*
|
|
80000
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
80001
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
80002
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
80003
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
80004
|
+
*/
|
|
80005
|
+
restoreConcurrency = 4;
|
|
79005
80006
|
async restoreDevices(savedDevices) {
|
|
79006
80007
|
await this.onRestoreDevices(savedDevices);
|
|
79007
80008
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -79033,15 +80034,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
79033
80034
|
*/
|
|
79034
80035
|
async onRestoreDevices(savedDevices) {
|
|
79035
80036
|
const restored = /* @__PURE__ */ new Set();
|
|
79036
|
-
|
|
79037
|
-
|
|
80037
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
80038
|
+
const restoreOne = async (saved) => {
|
|
79038
80039
|
const Class = this.deviceClasses[saved.type];
|
|
79039
80040
|
if (!Class) {
|
|
79040
80041
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
79041
80042
|
tags: { stableId: saved.stableId },
|
|
79042
80043
|
meta: { type: saved.type }
|
|
79043
80044
|
});
|
|
79044
|
-
|
|
80045
|
+
return;
|
|
79045
80046
|
}
|
|
79046
80047
|
try {
|
|
79047
80048
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -79055,7 +80056,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
79055
80056
|
}
|
|
79056
80057
|
});
|
|
79057
80058
|
}
|
|
79058
|
-
}
|
|
80059
|
+
};
|
|
80060
|
+
let nextTopLevel = 0;
|
|
80061
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
80062
|
+
for (;;) {
|
|
80063
|
+
const saved = topLevel[nextTopLevel++];
|
|
80064
|
+
if (saved === void 0) return;
|
|
80065
|
+
await restoreOne(saved);
|
|
80066
|
+
}
|
|
80067
|
+
}));
|
|
79059
80068
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
79060
80069
|
for (const saved of childRows) {
|
|
79061
80070
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -81146,6 +82155,12 @@ Object.freeze({
|
|
|
81146
82155
|
addonId: null,
|
|
81147
82156
|
access: "create"
|
|
81148
82157
|
},
|
|
82158
|
+
"llm.cancel": {
|
|
82159
|
+
capName: "llm",
|
|
82160
|
+
capScope: "system",
|
|
82161
|
+
addonId: null,
|
|
82162
|
+
access: "create"
|
|
82163
|
+
},
|
|
81149
82164
|
"llm.deleteModel": {
|
|
81150
82165
|
capName: "llm",
|
|
81151
82166
|
capScope: "system",
|
|
@@ -81230,6 +82245,12 @@ Object.freeze({
|
|
|
81230
82245
|
addonId: null,
|
|
81231
82246
|
access: "view"
|
|
81232
82247
|
},
|
|
82248
|
+
"llm.resolveModelRef": {
|
|
82249
|
+
capName: "llm",
|
|
82250
|
+
capScope: "system",
|
|
82251
|
+
addonId: null,
|
|
82252
|
+
access: "create"
|
|
82253
|
+
},
|
|
81233
82254
|
"llm.setDefault": {
|
|
81234
82255
|
capName: "llm",
|
|
81235
82256
|
capScope: "system",
|
|
@@ -83396,6 +84417,12 @@ Object.freeze({
|
|
|
83396
84417
|
addonId: null,
|
|
83397
84418
|
access: "create"
|
|
83398
84419
|
},
|
|
84420
|
+
"sceneMonitor.resetScene": {
|
|
84421
|
+
capName: "scene-monitor",
|
|
84422
|
+
capScope: "device",
|
|
84423
|
+
addonId: null,
|
|
84424
|
+
access: "delete"
|
|
84425
|
+
},
|
|
83399
84426
|
"sceneMonitor.updateScene": {
|
|
83400
84427
|
capName: "scene-monitor",
|
|
83401
84428
|
capScope: "device",
|
|
@@ -83534,6 +84561,12 @@ Object.freeze({
|
|
|
83534
84561
|
addonId: null,
|
|
83535
84562
|
access: "view"
|
|
83536
84563
|
},
|
|
84564
|
+
"snapshot.getDebugState": {
|
|
84565
|
+
capName: "snapshot",
|
|
84566
|
+
capScope: "device",
|
|
84567
|
+
addonId: null,
|
|
84568
|
+
access: "view"
|
|
84569
|
+
},
|
|
83537
84570
|
"snapshot.getSnapshot": {
|
|
83538
84571
|
capName: "snapshot",
|
|
83539
84572
|
capScope: "device",
|
|
@@ -84074,6 +85107,12 @@ Object.freeze({
|
|
|
84074
85107
|
addonId: null,
|
|
84075
85108
|
access: "create"
|
|
84076
85109
|
},
|
|
85110
|
+
"system.detectSiteLocation": {
|
|
85111
|
+
capName: "system",
|
|
85112
|
+
capScope: "system",
|
|
85113
|
+
addonId: null,
|
|
85114
|
+
access: "create"
|
|
85115
|
+
},
|
|
84077
85116
|
"system.featureFlags": {
|
|
84078
85117
|
capName: "system",
|
|
84079
85118
|
capScope: "system",
|
|
@@ -84092,6 +85131,12 @@ Object.freeze({
|
|
|
84092
85131
|
addonId: null,
|
|
84093
85132
|
access: "view"
|
|
84094
85133
|
},
|
|
85134
|
+
"system.getSiteLocation": {
|
|
85135
|
+
capName: "system",
|
|
85136
|
+
capScope: "system",
|
|
85137
|
+
addonId: null,
|
|
85138
|
+
access: "view"
|
|
85139
|
+
},
|
|
84095
85140
|
"system.health": {
|
|
84096
85141
|
capName: "system",
|
|
84097
85142
|
capScope: "system",
|
|
@@ -84116,6 +85161,12 @@ Object.freeze({
|
|
|
84116
85161
|
addonId: null,
|
|
84117
85162
|
access: "create"
|
|
84118
85163
|
},
|
|
85164
|
+
"system.setSiteLocation": {
|
|
85165
|
+
capName: "system",
|
|
85166
|
+
capScope: "system",
|
|
85167
|
+
addonId: null,
|
|
85168
|
+
access: "create"
|
|
85169
|
+
},
|
|
84119
85170
|
"terminalSession.adoptLegacyMonitor": {
|
|
84120
85171
|
capName: "terminal-session",
|
|
84121
85172
|
capScope: "system",
|
|
@@ -84687,6 +85738,1709 @@ Object.freeze({
|
|
|
84687
85738
|
access: "create"
|
|
84688
85739
|
}
|
|
84689
85740
|
});
|
|
85741
|
+
Object.freeze({
|
|
85742
|
+
"accessories.setChildHidden": [{
|
|
85743
|
+
name: "childDeviceId",
|
|
85744
|
+
form: "single",
|
|
85745
|
+
optional: false
|
|
85746
|
+
}, {
|
|
85747
|
+
name: "deviceId",
|
|
85748
|
+
form: "single",
|
|
85749
|
+
optional: false
|
|
85750
|
+
}],
|
|
85751
|
+
"addonSettings.getDeviceSettings": [{
|
|
85752
|
+
name: "deviceId",
|
|
85753
|
+
form: "single",
|
|
85754
|
+
optional: false
|
|
85755
|
+
}],
|
|
85756
|
+
"addonSettings.updateDeviceSettings": [{
|
|
85757
|
+
name: "deviceId",
|
|
85758
|
+
form: "single",
|
|
85759
|
+
optional: false
|
|
85760
|
+
}],
|
|
85761
|
+
"alarmPanel.arm": [{
|
|
85762
|
+
name: "deviceId",
|
|
85763
|
+
form: "single",
|
|
85764
|
+
optional: false
|
|
85765
|
+
}],
|
|
85766
|
+
"alarmPanel.disarm": [{
|
|
85767
|
+
name: "deviceId",
|
|
85768
|
+
form: "single",
|
|
85769
|
+
optional: false
|
|
85770
|
+
}],
|
|
85771
|
+
"alarmPanel.trigger": [{
|
|
85772
|
+
name: "deviceId",
|
|
85773
|
+
form: "single",
|
|
85774
|
+
optional: false
|
|
85775
|
+
}],
|
|
85776
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
85777
|
+
name: "deviceId",
|
|
85778
|
+
form: "single",
|
|
85779
|
+
optional: false
|
|
85780
|
+
}],
|
|
85781
|
+
"audioAnalyzer.classify": [{
|
|
85782
|
+
name: "deviceId",
|
|
85783
|
+
form: "single",
|
|
85784
|
+
optional: true
|
|
85785
|
+
}],
|
|
85786
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
85787
|
+
name: "deviceId",
|
|
85788
|
+
form: "single",
|
|
85789
|
+
optional: false
|
|
85790
|
+
}],
|
|
85791
|
+
"audioMetrics.getHistory": [{
|
|
85792
|
+
name: "deviceId",
|
|
85793
|
+
form: "single",
|
|
85794
|
+
optional: false
|
|
85795
|
+
}],
|
|
85796
|
+
"automationControl.disable": [{
|
|
85797
|
+
name: "deviceId",
|
|
85798
|
+
form: "single",
|
|
85799
|
+
optional: false
|
|
85800
|
+
}],
|
|
85801
|
+
"automationControl.enable": [{
|
|
85802
|
+
name: "deviceId",
|
|
85803
|
+
form: "single",
|
|
85804
|
+
optional: false
|
|
85805
|
+
}],
|
|
85806
|
+
"automationControl.trigger": [{
|
|
85807
|
+
name: "deviceId",
|
|
85808
|
+
form: "single",
|
|
85809
|
+
optional: false
|
|
85810
|
+
}],
|
|
85811
|
+
"battery.wakeForStream": [{
|
|
85812
|
+
name: "deviceId",
|
|
85813
|
+
form: "single",
|
|
85814
|
+
optional: false
|
|
85815
|
+
}],
|
|
85816
|
+
"brightness.setBrightness": [{
|
|
85817
|
+
name: "deviceId",
|
|
85818
|
+
form: "single",
|
|
85819
|
+
optional: false
|
|
85820
|
+
}],
|
|
85821
|
+
"button.press": [{
|
|
85822
|
+
name: "deviceId",
|
|
85823
|
+
form: "single",
|
|
85824
|
+
optional: false
|
|
85825
|
+
}],
|
|
85826
|
+
"cameraCredentials.getCredentials": [{
|
|
85827
|
+
name: "deviceId",
|
|
85828
|
+
form: "single",
|
|
85829
|
+
optional: false
|
|
85830
|
+
}],
|
|
85831
|
+
"cameraStreams.getBrokerStreams": [{
|
|
85832
|
+
name: "deviceId",
|
|
85833
|
+
form: "single",
|
|
85834
|
+
optional: false
|
|
85835
|
+
}],
|
|
85836
|
+
"cameraStreams.getCameraStreams": [{
|
|
85837
|
+
name: "deviceId",
|
|
85838
|
+
form: "single",
|
|
85839
|
+
optional: false
|
|
85840
|
+
}],
|
|
85841
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
85842
|
+
name: "deviceId",
|
|
85843
|
+
form: "single",
|
|
85844
|
+
optional: false
|
|
85845
|
+
}],
|
|
85846
|
+
"cameraStreams.getRtspEntries": [{
|
|
85847
|
+
name: "deviceId",
|
|
85848
|
+
form: "single",
|
|
85849
|
+
optional: false
|
|
85850
|
+
}],
|
|
85851
|
+
"cameraStreams.pickStream": [{
|
|
85852
|
+
name: "deviceId",
|
|
85853
|
+
form: "single",
|
|
85854
|
+
optional: false
|
|
85855
|
+
}],
|
|
85856
|
+
"climateControl.setFanMode": [{
|
|
85857
|
+
name: "deviceId",
|
|
85858
|
+
form: "single",
|
|
85859
|
+
optional: false
|
|
85860
|
+
}],
|
|
85861
|
+
"climateControl.setMode": [{
|
|
85862
|
+
name: "deviceId",
|
|
85863
|
+
form: "single",
|
|
85864
|
+
optional: false
|
|
85865
|
+
}],
|
|
85866
|
+
"climateControl.setPreset": [{
|
|
85867
|
+
name: "deviceId",
|
|
85868
|
+
form: "single",
|
|
85869
|
+
optional: false
|
|
85870
|
+
}],
|
|
85871
|
+
"climateControl.setSwingHorizontal": [{
|
|
85872
|
+
name: "deviceId",
|
|
85873
|
+
form: "single",
|
|
85874
|
+
optional: false
|
|
85875
|
+
}],
|
|
85876
|
+
"climateControl.setSwingVertical": [{
|
|
85877
|
+
name: "deviceId",
|
|
85878
|
+
form: "single",
|
|
85879
|
+
optional: false
|
|
85880
|
+
}],
|
|
85881
|
+
"climateControl.setTarget": [{
|
|
85882
|
+
name: "deviceId",
|
|
85883
|
+
form: "single",
|
|
85884
|
+
optional: false
|
|
85885
|
+
}],
|
|
85886
|
+
"climateControl.setTargetHumidity": [{
|
|
85887
|
+
name: "deviceId",
|
|
85888
|
+
form: "single",
|
|
85889
|
+
optional: false
|
|
85890
|
+
}],
|
|
85891
|
+
"climateControl.setTargetRange": [{
|
|
85892
|
+
name: "deviceId",
|
|
85893
|
+
form: "single",
|
|
85894
|
+
optional: false
|
|
85895
|
+
}],
|
|
85896
|
+
"color.setColor": [{
|
|
85897
|
+
name: "deviceId",
|
|
85898
|
+
form: "single",
|
|
85899
|
+
optional: false
|
|
85900
|
+
}],
|
|
85901
|
+
"consumables.reset": [{
|
|
85902
|
+
name: "deviceId",
|
|
85903
|
+
form: "single",
|
|
85904
|
+
optional: false
|
|
85905
|
+
}],
|
|
85906
|
+
"control.setValue": [{
|
|
85907
|
+
name: "deviceId",
|
|
85908
|
+
form: "single",
|
|
85909
|
+
optional: false
|
|
85910
|
+
}],
|
|
85911
|
+
"cover.close": [{
|
|
85912
|
+
name: "deviceId",
|
|
85913
|
+
form: "single",
|
|
85914
|
+
optional: false
|
|
85915
|
+
}],
|
|
85916
|
+
"cover.open": [{
|
|
85917
|
+
name: "deviceId",
|
|
85918
|
+
form: "single",
|
|
85919
|
+
optional: false
|
|
85920
|
+
}],
|
|
85921
|
+
"cover.setPosition": [{
|
|
85922
|
+
name: "deviceId",
|
|
85923
|
+
form: "single",
|
|
85924
|
+
optional: false
|
|
85925
|
+
}],
|
|
85926
|
+
"cover.setTiltPosition": [{
|
|
85927
|
+
name: "deviceId",
|
|
85928
|
+
form: "single",
|
|
85929
|
+
optional: false
|
|
85930
|
+
}],
|
|
85931
|
+
"cover.stop": [{
|
|
85932
|
+
name: "deviceId",
|
|
85933
|
+
form: "single",
|
|
85934
|
+
optional: false
|
|
85935
|
+
}],
|
|
85936
|
+
"dayNight.getOptions": [{
|
|
85937
|
+
name: "deviceId",
|
|
85938
|
+
form: "single",
|
|
85939
|
+
optional: false
|
|
85940
|
+
}],
|
|
85941
|
+
"dayNight.setSettings": [{
|
|
85942
|
+
name: "deviceId",
|
|
85943
|
+
form: "single",
|
|
85944
|
+
optional: false
|
|
85945
|
+
}],
|
|
85946
|
+
"decoder.createSession": [{
|
|
85947
|
+
name: "deviceId",
|
|
85948
|
+
form: "single",
|
|
85949
|
+
optional: true
|
|
85950
|
+
}],
|
|
85951
|
+
"deviceAdoption.release": [{
|
|
85952
|
+
name: "camDeviceId",
|
|
85953
|
+
form: "single",
|
|
85954
|
+
optional: false
|
|
85955
|
+
}],
|
|
85956
|
+
"deviceAdoption.resync": [{
|
|
85957
|
+
name: "camDeviceId",
|
|
85958
|
+
form: "single",
|
|
85959
|
+
optional: false
|
|
85960
|
+
}],
|
|
85961
|
+
"deviceDiscovery.adoptDevice": [{
|
|
85962
|
+
name: "deviceId",
|
|
85963
|
+
form: "single",
|
|
85964
|
+
optional: false
|
|
85965
|
+
}],
|
|
85966
|
+
"deviceDiscovery.listDiscovered": [{
|
|
85967
|
+
name: "deviceId",
|
|
85968
|
+
form: "single",
|
|
85969
|
+
optional: false
|
|
85970
|
+
}],
|
|
85971
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
85972
|
+
name: "deviceId",
|
|
85973
|
+
form: "single",
|
|
85974
|
+
optional: false
|
|
85975
|
+
}],
|
|
85976
|
+
"deviceDiscovery.releaseDevice": [{
|
|
85977
|
+
name: "childDeviceId",
|
|
85978
|
+
form: "single",
|
|
85979
|
+
optional: false
|
|
85980
|
+
}, {
|
|
85981
|
+
name: "deviceId",
|
|
85982
|
+
form: "single",
|
|
85983
|
+
optional: false
|
|
85984
|
+
}],
|
|
85985
|
+
"deviceManager.adoptionRelease": [{
|
|
85986
|
+
name: "camDeviceId",
|
|
85987
|
+
form: "single",
|
|
85988
|
+
optional: false
|
|
85989
|
+
}],
|
|
85990
|
+
"deviceManager.adoptionResync": [{
|
|
85991
|
+
name: "camDeviceId",
|
|
85992
|
+
form: "single",
|
|
85993
|
+
optional: false
|
|
85994
|
+
}],
|
|
85995
|
+
"deviceManager.applyInitialMeta": [{
|
|
85996
|
+
name: "deviceId",
|
|
85997
|
+
form: "single",
|
|
85998
|
+
optional: false
|
|
85999
|
+
}, {
|
|
86000
|
+
name: "linkDeviceId",
|
|
86001
|
+
form: "single",
|
|
86002
|
+
optional: true
|
|
86003
|
+
}],
|
|
86004
|
+
"deviceManager.disable": [{
|
|
86005
|
+
name: "deviceId",
|
|
86006
|
+
form: "single",
|
|
86007
|
+
optional: false
|
|
86008
|
+
}],
|
|
86009
|
+
"deviceManager.enable": [{
|
|
86010
|
+
name: "deviceId",
|
|
86011
|
+
form: "single",
|
|
86012
|
+
optional: false
|
|
86013
|
+
}],
|
|
86014
|
+
"deviceManager.getBindings": [{
|
|
86015
|
+
name: "deviceId",
|
|
86016
|
+
form: "single",
|
|
86017
|
+
optional: false
|
|
86018
|
+
}],
|
|
86019
|
+
"deviceManager.getChildren": [{
|
|
86020
|
+
name: "parentDeviceId",
|
|
86021
|
+
form: "single",
|
|
86022
|
+
optional: false
|
|
86023
|
+
}],
|
|
86024
|
+
"deviceManager.getConfigSchema": [{
|
|
86025
|
+
name: "deviceId",
|
|
86026
|
+
form: "single",
|
|
86027
|
+
optional: false
|
|
86028
|
+
}],
|
|
86029
|
+
"deviceManager.getDevice": [{
|
|
86030
|
+
name: "deviceId",
|
|
86031
|
+
form: "single",
|
|
86032
|
+
optional: false
|
|
86033
|
+
}],
|
|
86034
|
+
"deviceManager.getDeviceAggregate": [{
|
|
86035
|
+
name: "deviceId",
|
|
86036
|
+
form: "single",
|
|
86037
|
+
optional: false
|
|
86038
|
+
}],
|
|
86039
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
86040
|
+
name: "deviceId",
|
|
86041
|
+
form: "single",
|
|
86042
|
+
optional: false
|
|
86043
|
+
}],
|
|
86044
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
86045
|
+
name: "deviceId",
|
|
86046
|
+
form: "single",
|
|
86047
|
+
optional: false
|
|
86048
|
+
}],
|
|
86049
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
86050
|
+
name: "deviceId",
|
|
86051
|
+
form: "single",
|
|
86052
|
+
optional: false
|
|
86053
|
+
}],
|
|
86054
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
86055
|
+
name: "deviceIds",
|
|
86056
|
+
form: "array",
|
|
86057
|
+
optional: false
|
|
86058
|
+
}],
|
|
86059
|
+
"deviceManager.getLinkedDevices": [{
|
|
86060
|
+
name: "deviceId",
|
|
86061
|
+
form: "single",
|
|
86062
|
+
optional: false
|
|
86063
|
+
}],
|
|
86064
|
+
"deviceManager.getSettingsSchema": [{
|
|
86065
|
+
name: "deviceId",
|
|
86066
|
+
form: "single",
|
|
86067
|
+
optional: false
|
|
86068
|
+
}],
|
|
86069
|
+
"deviceManager.getStreamProfileMap": [{
|
|
86070
|
+
name: "deviceId",
|
|
86071
|
+
form: "single",
|
|
86072
|
+
optional: false
|
|
86073
|
+
}],
|
|
86074
|
+
"deviceManager.getStreamSources": [{
|
|
86075
|
+
name: "deviceId",
|
|
86076
|
+
form: "single",
|
|
86077
|
+
optional: false
|
|
86078
|
+
}],
|
|
86079
|
+
"deviceManager.getWireableFields": [{
|
|
86080
|
+
name: "deviceId",
|
|
86081
|
+
form: "single",
|
|
86082
|
+
optional: false
|
|
86083
|
+
}],
|
|
86084
|
+
"deviceManager.loadConfig": [{
|
|
86085
|
+
name: "deviceId",
|
|
86086
|
+
form: "single",
|
|
86087
|
+
optional: false
|
|
86088
|
+
}],
|
|
86089
|
+
"deviceManager.loadMeta": [{
|
|
86090
|
+
name: "deviceId",
|
|
86091
|
+
form: "single",
|
|
86092
|
+
optional: false
|
|
86093
|
+
}],
|
|
86094
|
+
"deviceManager.loadRuntimeState": [{
|
|
86095
|
+
name: "deviceId",
|
|
86096
|
+
form: "single",
|
|
86097
|
+
optional: false
|
|
86098
|
+
}],
|
|
86099
|
+
"deviceManager.persistConfig": [{
|
|
86100
|
+
name: "deviceId",
|
|
86101
|
+
form: "single",
|
|
86102
|
+
optional: false
|
|
86103
|
+
}],
|
|
86104
|
+
"deviceManager.probeStreams": [{
|
|
86105
|
+
name: "deviceId",
|
|
86106
|
+
form: "single",
|
|
86107
|
+
optional: false
|
|
86108
|
+
}],
|
|
86109
|
+
"deviceManager.registerDevice": [{
|
|
86110
|
+
name: "parentDeviceId",
|
|
86111
|
+
form: "single",
|
|
86112
|
+
optional: true
|
|
86113
|
+
}],
|
|
86114
|
+
"deviceManager.remove": [{
|
|
86115
|
+
name: "deviceId",
|
|
86116
|
+
form: "single",
|
|
86117
|
+
optional: false
|
|
86118
|
+
}],
|
|
86119
|
+
"deviceManager.removeDevice": [{
|
|
86120
|
+
name: "deviceId",
|
|
86121
|
+
form: "single",
|
|
86122
|
+
optional: false
|
|
86123
|
+
}],
|
|
86124
|
+
"deviceManager.runDeviceAction": [{
|
|
86125
|
+
name: "deviceId",
|
|
86126
|
+
form: "single",
|
|
86127
|
+
optional: false
|
|
86128
|
+
}],
|
|
86129
|
+
"deviceManager.setChildLayout": [{
|
|
86130
|
+
name: "deviceId",
|
|
86131
|
+
form: "single",
|
|
86132
|
+
optional: false
|
|
86133
|
+
}],
|
|
86134
|
+
"deviceManager.setDisabled": [{
|
|
86135
|
+
name: "deviceId",
|
|
86136
|
+
form: "single",
|
|
86137
|
+
optional: false
|
|
86138
|
+
}],
|
|
86139
|
+
"deviceManager.setDisplay": [{
|
|
86140
|
+
name: "deviceId",
|
|
86141
|
+
form: "single",
|
|
86142
|
+
optional: false
|
|
86143
|
+
}],
|
|
86144
|
+
"deviceManager.setIntegrationId": [{
|
|
86145
|
+
name: "deviceId",
|
|
86146
|
+
form: "single",
|
|
86147
|
+
optional: false
|
|
86148
|
+
}],
|
|
86149
|
+
"deviceManager.setLinkDeviceId": [{
|
|
86150
|
+
name: "deviceId",
|
|
86151
|
+
form: "single",
|
|
86152
|
+
optional: false
|
|
86153
|
+
}, {
|
|
86154
|
+
name: "linkDeviceId",
|
|
86155
|
+
form: "single",
|
|
86156
|
+
optional: true
|
|
86157
|
+
}],
|
|
86158
|
+
"deviceManager.setLocation": [{
|
|
86159
|
+
name: "deviceId",
|
|
86160
|
+
form: "single",
|
|
86161
|
+
optional: false
|
|
86162
|
+
}],
|
|
86163
|
+
"deviceManager.setMetadata": [{
|
|
86164
|
+
name: "deviceId",
|
|
86165
|
+
form: "single",
|
|
86166
|
+
optional: false
|
|
86167
|
+
}],
|
|
86168
|
+
"deviceManager.setName": [{
|
|
86169
|
+
name: "deviceId",
|
|
86170
|
+
form: "single",
|
|
86171
|
+
optional: false
|
|
86172
|
+
}],
|
|
86173
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
86174
|
+
name: "deviceId",
|
|
86175
|
+
form: "single",
|
|
86176
|
+
optional: false
|
|
86177
|
+
}],
|
|
86178
|
+
"deviceManager.setRole": [{
|
|
86179
|
+
name: "deviceId",
|
|
86180
|
+
form: "single",
|
|
86181
|
+
optional: false
|
|
86182
|
+
}],
|
|
86183
|
+
"deviceManager.setStreamProfileMap": [{
|
|
86184
|
+
name: "deviceId",
|
|
86185
|
+
form: "single",
|
|
86186
|
+
optional: false
|
|
86187
|
+
}],
|
|
86188
|
+
"deviceManager.setType": [{
|
|
86189
|
+
name: "deviceId",
|
|
86190
|
+
form: "single",
|
|
86191
|
+
optional: false
|
|
86192
|
+
}],
|
|
86193
|
+
"deviceManager.setWrapperActive": [{
|
|
86194
|
+
name: "deviceId",
|
|
86195
|
+
form: "single",
|
|
86196
|
+
optional: false
|
|
86197
|
+
}],
|
|
86198
|
+
"deviceManager.testField": [{
|
|
86199
|
+
name: "deviceId",
|
|
86200
|
+
form: "single",
|
|
86201
|
+
optional: false
|
|
86202
|
+
}],
|
|
86203
|
+
"deviceManager.updateConfig": [{
|
|
86204
|
+
name: "deviceId",
|
|
86205
|
+
form: "single",
|
|
86206
|
+
optional: false
|
|
86207
|
+
}],
|
|
86208
|
+
"deviceManager.updateDeviceField": [{
|
|
86209
|
+
name: "deviceId",
|
|
86210
|
+
form: "single",
|
|
86211
|
+
optional: false
|
|
86212
|
+
}],
|
|
86213
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
86214
|
+
name: "deviceId",
|
|
86215
|
+
form: "single",
|
|
86216
|
+
optional: false
|
|
86217
|
+
}],
|
|
86218
|
+
"deviceOps.getConfigEntries": [{
|
|
86219
|
+
name: "deviceId",
|
|
86220
|
+
form: "single",
|
|
86221
|
+
optional: false
|
|
86222
|
+
}],
|
|
86223
|
+
"deviceOps.getRawState": [{
|
|
86224
|
+
name: "deviceId",
|
|
86225
|
+
form: "single",
|
|
86226
|
+
optional: false
|
|
86227
|
+
}],
|
|
86228
|
+
"deviceOps.getSettingsSchema": [{
|
|
86229
|
+
name: "deviceId",
|
|
86230
|
+
form: "single",
|
|
86231
|
+
optional: false
|
|
86232
|
+
}],
|
|
86233
|
+
"deviceOps.getStreamSources": [{
|
|
86234
|
+
name: "deviceId",
|
|
86235
|
+
form: "single",
|
|
86236
|
+
optional: false
|
|
86237
|
+
}],
|
|
86238
|
+
"deviceOps.removeDevice": [{
|
|
86239
|
+
name: "deviceId",
|
|
86240
|
+
form: "single",
|
|
86241
|
+
optional: false
|
|
86242
|
+
}],
|
|
86243
|
+
"deviceOps.runAction": [{
|
|
86244
|
+
name: "deviceId",
|
|
86245
|
+
form: "single",
|
|
86246
|
+
optional: false
|
|
86247
|
+
}],
|
|
86248
|
+
"deviceOps.setConfig": [{
|
|
86249
|
+
name: "deviceId",
|
|
86250
|
+
form: "single",
|
|
86251
|
+
optional: false
|
|
86252
|
+
}],
|
|
86253
|
+
"deviceState.getCapSlice": [{
|
|
86254
|
+
name: "deviceId",
|
|
86255
|
+
form: "single",
|
|
86256
|
+
optional: false
|
|
86257
|
+
}],
|
|
86258
|
+
"deviceState.getSnapshot": [{
|
|
86259
|
+
name: "deviceId",
|
|
86260
|
+
form: "single",
|
|
86261
|
+
optional: false
|
|
86262
|
+
}],
|
|
86263
|
+
"deviceState.setCapSlice": [{
|
|
86264
|
+
name: "deviceId",
|
|
86265
|
+
form: "single",
|
|
86266
|
+
optional: false
|
|
86267
|
+
}],
|
|
86268
|
+
"events.getEventClipUrl": [{
|
|
86269
|
+
name: "deviceId",
|
|
86270
|
+
form: "single",
|
|
86271
|
+
optional: false
|
|
86272
|
+
}],
|
|
86273
|
+
"events.getEvents": [{
|
|
86274
|
+
name: "deviceId",
|
|
86275
|
+
form: "single",
|
|
86276
|
+
optional: false
|
|
86277
|
+
}],
|
|
86278
|
+
"events.getEventThumbnail": [{
|
|
86279
|
+
name: "deviceId",
|
|
86280
|
+
form: "single",
|
|
86281
|
+
optional: false
|
|
86282
|
+
}],
|
|
86283
|
+
"faceGallery.getFaceByTrack": [{
|
|
86284
|
+
name: "deviceId",
|
|
86285
|
+
form: "single",
|
|
86286
|
+
optional: false
|
|
86287
|
+
}],
|
|
86288
|
+
"faceGallery.listRecentFaces": [{
|
|
86289
|
+
name: "deviceId",
|
|
86290
|
+
form: "single",
|
|
86291
|
+
optional: true
|
|
86292
|
+
}],
|
|
86293
|
+
"fanControl.setDirection": [{
|
|
86294
|
+
name: "deviceId",
|
|
86295
|
+
form: "single",
|
|
86296
|
+
optional: false
|
|
86297
|
+
}],
|
|
86298
|
+
"fanControl.setOscillating": [{
|
|
86299
|
+
name: "deviceId",
|
|
86300
|
+
form: "single",
|
|
86301
|
+
optional: false
|
|
86302
|
+
}],
|
|
86303
|
+
"fanControl.setPercentage": [{
|
|
86304
|
+
name: "deviceId",
|
|
86305
|
+
form: "single",
|
|
86306
|
+
optional: false
|
|
86307
|
+
}],
|
|
86308
|
+
"fanControl.setPreset": [{
|
|
86309
|
+
name: "deviceId",
|
|
86310
|
+
form: "single",
|
|
86311
|
+
optional: false
|
|
86312
|
+
}],
|
|
86313
|
+
"humidifier.setMode": [{
|
|
86314
|
+
name: "deviceId",
|
|
86315
|
+
form: "single",
|
|
86316
|
+
optional: false
|
|
86317
|
+
}],
|
|
86318
|
+
"humidifier.setOn": [{
|
|
86319
|
+
name: "deviceId",
|
|
86320
|
+
form: "single",
|
|
86321
|
+
optional: false
|
|
86322
|
+
}],
|
|
86323
|
+
"humidifier.setTargetHumidity": [{
|
|
86324
|
+
name: "deviceId",
|
|
86325
|
+
form: "single",
|
|
86326
|
+
optional: false
|
|
86327
|
+
}],
|
|
86328
|
+
"imageSettings.getOptions": [{
|
|
86329
|
+
name: "deviceId",
|
|
86330
|
+
form: "single",
|
|
86331
|
+
optional: false
|
|
86332
|
+
}],
|
|
86333
|
+
"imageSettings.setSettings": [{
|
|
86334
|
+
name: "deviceId",
|
|
86335
|
+
form: "single",
|
|
86336
|
+
optional: false
|
|
86337
|
+
}],
|
|
86338
|
+
"intercom.endTalkSession": [{
|
|
86339
|
+
name: "deviceId",
|
|
86340
|
+
form: "single",
|
|
86341
|
+
optional: false
|
|
86342
|
+
}],
|
|
86343
|
+
"intercom.handleAnswer": [{
|
|
86344
|
+
name: "deviceId",
|
|
86345
|
+
form: "single",
|
|
86346
|
+
optional: false
|
|
86347
|
+
}],
|
|
86348
|
+
"intercom.pushTalkAudio": [{
|
|
86349
|
+
name: "deviceId",
|
|
86350
|
+
form: "single",
|
|
86351
|
+
optional: false
|
|
86352
|
+
}],
|
|
86353
|
+
"intercom.startSession": [{
|
|
86354
|
+
name: "deviceId",
|
|
86355
|
+
form: "single",
|
|
86356
|
+
optional: false
|
|
86357
|
+
}],
|
|
86358
|
+
"intercom.startTalkSession": [{
|
|
86359
|
+
name: "deviceId",
|
|
86360
|
+
form: "single",
|
|
86361
|
+
optional: false
|
|
86362
|
+
}],
|
|
86363
|
+
"intercom.stopSession": [{
|
|
86364
|
+
name: "deviceId",
|
|
86365
|
+
form: "single",
|
|
86366
|
+
optional: false
|
|
86367
|
+
}],
|
|
86368
|
+
"lawnMowerControl.dock": [{
|
|
86369
|
+
name: "deviceId",
|
|
86370
|
+
form: "single",
|
|
86371
|
+
optional: false
|
|
86372
|
+
}],
|
|
86373
|
+
"lawnMowerControl.pause": [{
|
|
86374
|
+
name: "deviceId",
|
|
86375
|
+
form: "single",
|
|
86376
|
+
optional: false
|
|
86377
|
+
}],
|
|
86378
|
+
"lawnMowerControl.startMowing": [{
|
|
86379
|
+
name: "deviceId",
|
|
86380
|
+
form: "single",
|
|
86381
|
+
optional: false
|
|
86382
|
+
}],
|
|
86383
|
+
"lockControl.lock": [{
|
|
86384
|
+
name: "deviceId",
|
|
86385
|
+
form: "single",
|
|
86386
|
+
optional: false
|
|
86387
|
+
}],
|
|
86388
|
+
"lockControl.open": [{
|
|
86389
|
+
name: "deviceId",
|
|
86390
|
+
form: "single",
|
|
86391
|
+
optional: false
|
|
86392
|
+
}],
|
|
86393
|
+
"lockControl.unlock": [{
|
|
86394
|
+
name: "deviceId",
|
|
86395
|
+
form: "single",
|
|
86396
|
+
optional: false
|
|
86397
|
+
}],
|
|
86398
|
+
"mediaPlayer.next": [{
|
|
86399
|
+
name: "deviceId",
|
|
86400
|
+
form: "single",
|
|
86401
|
+
optional: false
|
|
86402
|
+
}],
|
|
86403
|
+
"mediaPlayer.pause": [{
|
|
86404
|
+
name: "deviceId",
|
|
86405
|
+
form: "single",
|
|
86406
|
+
optional: false
|
|
86407
|
+
}],
|
|
86408
|
+
"mediaPlayer.play": [{
|
|
86409
|
+
name: "deviceId",
|
|
86410
|
+
form: "single",
|
|
86411
|
+
optional: false
|
|
86412
|
+
}],
|
|
86413
|
+
"mediaPlayer.playMedia": [{
|
|
86414
|
+
name: "deviceId",
|
|
86415
|
+
form: "single",
|
|
86416
|
+
optional: false
|
|
86417
|
+
}],
|
|
86418
|
+
"mediaPlayer.previous": [{
|
|
86419
|
+
name: "deviceId",
|
|
86420
|
+
form: "single",
|
|
86421
|
+
optional: false
|
|
86422
|
+
}],
|
|
86423
|
+
"mediaPlayer.seek": [{
|
|
86424
|
+
name: "deviceId",
|
|
86425
|
+
form: "single",
|
|
86426
|
+
optional: false
|
|
86427
|
+
}],
|
|
86428
|
+
"mediaPlayer.selectSource": [{
|
|
86429
|
+
name: "deviceId",
|
|
86430
|
+
form: "single",
|
|
86431
|
+
optional: false
|
|
86432
|
+
}],
|
|
86433
|
+
"mediaPlayer.setMute": [{
|
|
86434
|
+
name: "deviceId",
|
|
86435
|
+
form: "single",
|
|
86436
|
+
optional: false
|
|
86437
|
+
}],
|
|
86438
|
+
"mediaPlayer.setRepeat": [{
|
|
86439
|
+
name: "deviceId",
|
|
86440
|
+
form: "single",
|
|
86441
|
+
optional: false
|
|
86442
|
+
}],
|
|
86443
|
+
"mediaPlayer.setShuffle": [{
|
|
86444
|
+
name: "deviceId",
|
|
86445
|
+
form: "single",
|
|
86446
|
+
optional: false
|
|
86447
|
+
}],
|
|
86448
|
+
"mediaPlayer.setVolume": [{
|
|
86449
|
+
name: "deviceId",
|
|
86450
|
+
form: "single",
|
|
86451
|
+
optional: false
|
|
86452
|
+
}],
|
|
86453
|
+
"mediaPlayer.stop": [{
|
|
86454
|
+
name: "deviceId",
|
|
86455
|
+
form: "single",
|
|
86456
|
+
optional: false
|
|
86457
|
+
}],
|
|
86458
|
+
"motion.isDetected": [{
|
|
86459
|
+
name: "deviceId",
|
|
86460
|
+
form: "single",
|
|
86461
|
+
optional: false
|
|
86462
|
+
}],
|
|
86463
|
+
"motionDetection.analyze": [{
|
|
86464
|
+
name: "deviceId",
|
|
86465
|
+
form: "single",
|
|
86466
|
+
optional: false
|
|
86467
|
+
}],
|
|
86468
|
+
"motionDetection.removeCamera": [{
|
|
86469
|
+
name: "deviceId",
|
|
86470
|
+
form: "single",
|
|
86471
|
+
optional: false
|
|
86472
|
+
}],
|
|
86473
|
+
"motionTrigger.setMotionTrigger": [{
|
|
86474
|
+
name: "deviceId",
|
|
86475
|
+
form: "single",
|
|
86476
|
+
optional: false
|
|
86477
|
+
}],
|
|
86478
|
+
"motionZones.getOptions": [{
|
|
86479
|
+
name: "deviceId",
|
|
86480
|
+
form: "single",
|
|
86481
|
+
optional: false
|
|
86482
|
+
}],
|
|
86483
|
+
"motionZones.setZone": [{
|
|
86484
|
+
name: "deviceId",
|
|
86485
|
+
form: "single",
|
|
86486
|
+
optional: false
|
|
86487
|
+
}],
|
|
86488
|
+
"nativeObjectDetection.setEnabled": [{
|
|
86489
|
+
name: "deviceId",
|
|
86490
|
+
form: "single",
|
|
86491
|
+
optional: false
|
|
86492
|
+
}],
|
|
86493
|
+
"networkQuality.getDeviceStats": [{
|
|
86494
|
+
name: "deviceId",
|
|
86495
|
+
form: "single",
|
|
86496
|
+
optional: false
|
|
86497
|
+
}],
|
|
86498
|
+
"networkQuality.reportClientStats": [{
|
|
86499
|
+
name: "deviceId",
|
|
86500
|
+
form: "single",
|
|
86501
|
+
optional: false
|
|
86502
|
+
}],
|
|
86503
|
+
"notificationRules.setDeviceMuted": [{
|
|
86504
|
+
name: "deviceId",
|
|
86505
|
+
form: "single",
|
|
86506
|
+
optional: false
|
|
86507
|
+
}],
|
|
86508
|
+
"notifier.cancel": [{
|
|
86509
|
+
name: "deviceId",
|
|
86510
|
+
form: "single",
|
|
86511
|
+
optional: false
|
|
86512
|
+
}],
|
|
86513
|
+
"notifier.send": [{
|
|
86514
|
+
name: "deviceId",
|
|
86515
|
+
form: "single",
|
|
86516
|
+
optional: false
|
|
86517
|
+
}],
|
|
86518
|
+
"osd.setOverlay": [{
|
|
86519
|
+
name: "deviceId",
|
|
86520
|
+
form: "single",
|
|
86521
|
+
optional: false
|
|
86522
|
+
}],
|
|
86523
|
+
"osdManager.clearSlotBinding": [{
|
|
86524
|
+
name: "deviceId",
|
|
86525
|
+
form: "single",
|
|
86526
|
+
optional: false
|
|
86527
|
+
}],
|
|
86528
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
86529
|
+
name: "sourceDeviceId",
|
|
86530
|
+
form: "single",
|
|
86531
|
+
optional: false
|
|
86532
|
+
}, {
|
|
86533
|
+
name: "targetDeviceId",
|
|
86534
|
+
form: "single",
|
|
86535
|
+
optional: false
|
|
86536
|
+
}],
|
|
86537
|
+
"osdManager.getDeviceOsd": [{
|
|
86538
|
+
name: "deviceId",
|
|
86539
|
+
form: "single",
|
|
86540
|
+
optional: false
|
|
86541
|
+
}],
|
|
86542
|
+
"osdManager.getSourceCatalog": [{
|
|
86543
|
+
name: "deviceId",
|
|
86544
|
+
form: "single",
|
|
86545
|
+
optional: false
|
|
86546
|
+
}],
|
|
86547
|
+
"osdManager.previewSlot": [{
|
|
86548
|
+
name: "deviceId",
|
|
86549
|
+
form: "single",
|
|
86550
|
+
optional: false
|
|
86551
|
+
}],
|
|
86552
|
+
"osdManager.renderDevice": [{
|
|
86553
|
+
name: "deviceId",
|
|
86554
|
+
form: "single",
|
|
86555
|
+
optional: false
|
|
86556
|
+
}],
|
|
86557
|
+
"osdManager.setSlotBinding": [{
|
|
86558
|
+
name: "deviceId",
|
|
86559
|
+
form: "single",
|
|
86560
|
+
optional: false
|
|
86561
|
+
}],
|
|
86562
|
+
"petFeeder.callPet": [{
|
|
86563
|
+
name: "deviceId",
|
|
86564
|
+
form: "single",
|
|
86565
|
+
optional: false
|
|
86566
|
+
}],
|
|
86567
|
+
"petFeeder.cancelFeed": [{
|
|
86568
|
+
name: "deviceId",
|
|
86569
|
+
form: "single",
|
|
86570
|
+
optional: false
|
|
86571
|
+
}],
|
|
86572
|
+
"petFeeder.feed": [{
|
|
86573
|
+
name: "deviceId",
|
|
86574
|
+
form: "single",
|
|
86575
|
+
optional: false
|
|
86576
|
+
}],
|
|
86577
|
+
"petFeeder.markFoodReplenished": [{
|
|
86578
|
+
name: "deviceId",
|
|
86579
|
+
form: "single",
|
|
86580
|
+
optional: false
|
|
86581
|
+
}],
|
|
86582
|
+
"petFeeder.playSound": [{
|
|
86583
|
+
name: "deviceId",
|
|
86584
|
+
form: "single",
|
|
86585
|
+
optional: false
|
|
86586
|
+
}],
|
|
86587
|
+
"petFeeder.resetDesiccant": [{
|
|
86588
|
+
name: "deviceId",
|
|
86589
|
+
form: "single",
|
|
86590
|
+
optional: false
|
|
86591
|
+
}],
|
|
86592
|
+
"petFeeder.setChildLock": [{
|
|
86593
|
+
name: "deviceId",
|
|
86594
|
+
form: "single",
|
|
86595
|
+
optional: false
|
|
86596
|
+
}],
|
|
86597
|
+
"petFeeder.setFeedSound": [{
|
|
86598
|
+
name: "deviceId",
|
|
86599
|
+
form: "single",
|
|
86600
|
+
optional: false
|
|
86601
|
+
}],
|
|
86602
|
+
"petFeeder.setIndicatorLight": [{
|
|
86603
|
+
name: "deviceId",
|
|
86604
|
+
form: "single",
|
|
86605
|
+
optional: false
|
|
86606
|
+
}],
|
|
86607
|
+
"petFeeder.setVolume": [{
|
|
86608
|
+
name: "deviceId",
|
|
86609
|
+
form: "single",
|
|
86610
|
+
optional: false
|
|
86611
|
+
}],
|
|
86612
|
+
"pipelineAnalytics.clearTracks": [{
|
|
86613
|
+
name: "deviceId",
|
|
86614
|
+
form: "single",
|
|
86615
|
+
optional: false
|
|
86616
|
+
}],
|
|
86617
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
86618
|
+
name: "deviceId",
|
|
86619
|
+
form: "single",
|
|
86620
|
+
optional: false
|
|
86621
|
+
}],
|
|
86622
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
86623
|
+
name: "deviceId",
|
|
86624
|
+
form: "single",
|
|
86625
|
+
optional: false
|
|
86626
|
+
}],
|
|
86627
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
86628
|
+
name: "deviceId",
|
|
86629
|
+
form: "single",
|
|
86630
|
+
optional: false
|
|
86631
|
+
}],
|
|
86632
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
86633
|
+
name: "deviceId",
|
|
86634
|
+
form: "single",
|
|
86635
|
+
optional: false
|
|
86636
|
+
}],
|
|
86637
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
86638
|
+
name: "deviceId",
|
|
86639
|
+
form: "single",
|
|
86640
|
+
optional: false
|
|
86641
|
+
}],
|
|
86642
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
86643
|
+
name: "deviceId",
|
|
86644
|
+
form: "single",
|
|
86645
|
+
optional: false
|
|
86646
|
+
}],
|
|
86647
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
86648
|
+
name: "deviceId",
|
|
86649
|
+
form: "single",
|
|
86650
|
+
optional: false
|
|
86651
|
+
}],
|
|
86652
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
86653
|
+
name: "deviceId",
|
|
86654
|
+
form: "single",
|
|
86655
|
+
optional: false
|
|
86656
|
+
}],
|
|
86657
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
86658
|
+
name: "deviceId",
|
|
86659
|
+
form: "single",
|
|
86660
|
+
optional: false
|
|
86661
|
+
}],
|
|
86662
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
86663
|
+
name: "deviceId",
|
|
86664
|
+
form: "single",
|
|
86665
|
+
optional: false
|
|
86666
|
+
}],
|
|
86667
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
86668
|
+
name: "deviceId",
|
|
86669
|
+
form: "single",
|
|
86670
|
+
optional: false
|
|
86671
|
+
}],
|
|
86672
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
86673
|
+
name: "deviceIds",
|
|
86674
|
+
form: "array",
|
|
86675
|
+
optional: true
|
|
86676
|
+
}],
|
|
86677
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
86678
|
+
name: "deviceId",
|
|
86679
|
+
form: "single",
|
|
86680
|
+
optional: false
|
|
86681
|
+
}],
|
|
86682
|
+
"pipelineAnalytics.getTrack": [{
|
|
86683
|
+
name: "deviceId",
|
|
86684
|
+
form: "single",
|
|
86685
|
+
optional: false
|
|
86686
|
+
}],
|
|
86687
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
86688
|
+
name: "deviceId",
|
|
86689
|
+
form: "single",
|
|
86690
|
+
optional: false
|
|
86691
|
+
}],
|
|
86692
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
86693
|
+
name: "deviceIds",
|
|
86694
|
+
form: "array",
|
|
86695
|
+
optional: true
|
|
86696
|
+
}],
|
|
86697
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
86698
|
+
name: "deviceIds",
|
|
86699
|
+
form: "array",
|
|
86700
|
+
optional: true
|
|
86701
|
+
}],
|
|
86702
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
86703
|
+
name: "deviceId",
|
|
86704
|
+
form: "single",
|
|
86705
|
+
optional: false
|
|
86706
|
+
}],
|
|
86707
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
86708
|
+
name: "deviceIds",
|
|
86709
|
+
form: "array",
|
|
86710
|
+
optional: false
|
|
86711
|
+
}],
|
|
86712
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
86713
|
+
name: "deviceId",
|
|
86714
|
+
form: "single",
|
|
86715
|
+
optional: true
|
|
86716
|
+
}],
|
|
86717
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
86718
|
+
name: "deviceIds",
|
|
86719
|
+
form: "array",
|
|
86720
|
+
optional: false
|
|
86721
|
+
}],
|
|
86722
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
86723
|
+
name: "deviceIds",
|
|
86724
|
+
form: "array",
|
|
86725
|
+
optional: true
|
|
86726
|
+
}],
|
|
86727
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
86728
|
+
name: "deviceId",
|
|
86729
|
+
form: "single",
|
|
86730
|
+
optional: false
|
|
86731
|
+
}],
|
|
86732
|
+
"pipelineAnalytics.listTracks": [{
|
|
86733
|
+
name: "deviceId",
|
|
86734
|
+
form: "single",
|
|
86735
|
+
optional: false
|
|
86736
|
+
}],
|
|
86737
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
86738
|
+
name: "deviceId",
|
|
86739
|
+
form: "single",
|
|
86740
|
+
optional: false
|
|
86741
|
+
}],
|
|
86742
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
86743
|
+
name: "deviceId",
|
|
86744
|
+
form: "single",
|
|
86745
|
+
optional: false
|
|
86746
|
+
}],
|
|
86747
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
86748
|
+
name: "deviceId",
|
|
86749
|
+
form: "single",
|
|
86750
|
+
optional: false
|
|
86751
|
+
}],
|
|
86752
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
86753
|
+
name: "deviceId",
|
|
86754
|
+
form: "single",
|
|
86755
|
+
optional: true
|
|
86756
|
+
}],
|
|
86757
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
86758
|
+
name: "deviceId",
|
|
86759
|
+
form: "single",
|
|
86760
|
+
optional: false
|
|
86761
|
+
}],
|
|
86762
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
86763
|
+
name: "deviceId",
|
|
86764
|
+
form: "single",
|
|
86765
|
+
optional: false
|
|
86766
|
+
}],
|
|
86767
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
86768
|
+
name: "deviceId",
|
|
86769
|
+
form: "single",
|
|
86770
|
+
optional: true
|
|
86771
|
+
}],
|
|
86772
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
86773
|
+
name: "deviceId",
|
|
86774
|
+
form: "single",
|
|
86775
|
+
optional: false
|
|
86776
|
+
}],
|
|
86777
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
86778
|
+
name: "deviceId",
|
|
86779
|
+
form: "single",
|
|
86780
|
+
optional: false
|
|
86781
|
+
}],
|
|
86782
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
86783
|
+
name: "deviceId",
|
|
86784
|
+
form: "single",
|
|
86785
|
+
optional: false
|
|
86786
|
+
}],
|
|
86787
|
+
"pipelineExecutor.runPipeline": [{
|
|
86788
|
+
name: "deviceId",
|
|
86789
|
+
form: "single",
|
|
86790
|
+
optional: true
|
|
86791
|
+
}],
|
|
86792
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
86793
|
+
name: "deviceId",
|
|
86794
|
+
form: "single",
|
|
86795
|
+
optional: true
|
|
86796
|
+
}],
|
|
86797
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
86798
|
+
name: "deviceId",
|
|
86799
|
+
form: "single",
|
|
86800
|
+
optional: false
|
|
86801
|
+
}],
|
|
86802
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
86803
|
+
name: "deviceId",
|
|
86804
|
+
form: "single",
|
|
86805
|
+
optional: false
|
|
86806
|
+
}],
|
|
86807
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
86808
|
+
name: "deviceId",
|
|
86809
|
+
form: "single",
|
|
86810
|
+
optional: false
|
|
86811
|
+
}],
|
|
86812
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
86813
|
+
name: "deviceId",
|
|
86814
|
+
form: "single",
|
|
86815
|
+
optional: false
|
|
86816
|
+
}],
|
|
86817
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
86818
|
+
name: "deviceId",
|
|
86819
|
+
form: "single",
|
|
86820
|
+
optional: false
|
|
86821
|
+
}],
|
|
86822
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
86823
|
+
name: "deviceId",
|
|
86824
|
+
form: "single",
|
|
86825
|
+
optional: false
|
|
86826
|
+
}],
|
|
86827
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
86828
|
+
name: "deviceIds",
|
|
86829
|
+
form: "array",
|
|
86830
|
+
optional: true
|
|
86831
|
+
}],
|
|
86832
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
86833
|
+
name: "deviceId",
|
|
86834
|
+
form: "single",
|
|
86835
|
+
optional: false
|
|
86836
|
+
}],
|
|
86837
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
86838
|
+
name: "deviceId",
|
|
86839
|
+
form: "single",
|
|
86840
|
+
optional: false
|
|
86841
|
+
}],
|
|
86842
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
86843
|
+
name: "deviceId",
|
|
86844
|
+
form: "single",
|
|
86845
|
+
optional: false
|
|
86846
|
+
}],
|
|
86847
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
86848
|
+
name: "deviceId",
|
|
86849
|
+
form: "single",
|
|
86850
|
+
optional: false
|
|
86851
|
+
}],
|
|
86852
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
86853
|
+
name: "deviceId",
|
|
86854
|
+
form: "single",
|
|
86855
|
+
optional: false
|
|
86856
|
+
}],
|
|
86857
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
86858
|
+
name: "deviceId",
|
|
86859
|
+
form: "single",
|
|
86860
|
+
optional: false
|
|
86861
|
+
}],
|
|
86862
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
86863
|
+
name: "deviceId",
|
|
86864
|
+
form: "single",
|
|
86865
|
+
optional: false
|
|
86866
|
+
}],
|
|
86867
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
86868
|
+
name: "deviceId",
|
|
86869
|
+
form: "single",
|
|
86870
|
+
optional: false
|
|
86871
|
+
}],
|
|
86872
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
86873
|
+
name: "deviceId",
|
|
86874
|
+
form: "single",
|
|
86875
|
+
optional: false
|
|
86876
|
+
}],
|
|
86877
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
86878
|
+
name: "deviceId",
|
|
86879
|
+
form: "single",
|
|
86880
|
+
optional: false
|
|
86881
|
+
}],
|
|
86882
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
86883
|
+
name: "deviceId",
|
|
86884
|
+
form: "single",
|
|
86885
|
+
optional: false
|
|
86886
|
+
}],
|
|
86887
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
86888
|
+
name: "deviceId",
|
|
86889
|
+
form: "single",
|
|
86890
|
+
optional: false
|
|
86891
|
+
}],
|
|
86892
|
+
"pipelineRunner.attachCamera": [{
|
|
86893
|
+
name: "deviceId",
|
|
86894
|
+
form: "single",
|
|
86895
|
+
optional: false
|
|
86896
|
+
}],
|
|
86897
|
+
"pipelineRunner.detachCamera": [{
|
|
86898
|
+
name: "deviceId",
|
|
86899
|
+
form: "single",
|
|
86900
|
+
optional: false
|
|
86901
|
+
}],
|
|
86902
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
86903
|
+
name: "deviceId",
|
|
86904
|
+
form: "single",
|
|
86905
|
+
optional: false
|
|
86906
|
+
}],
|
|
86907
|
+
"pipelineRunner.reportMotion": [{
|
|
86908
|
+
name: "deviceId",
|
|
86909
|
+
form: "single",
|
|
86910
|
+
optional: false
|
|
86911
|
+
}],
|
|
86912
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
86913
|
+
name: "deviceId",
|
|
86914
|
+
form: "single",
|
|
86915
|
+
optional: false
|
|
86916
|
+
}],
|
|
86917
|
+
"pipelineRunner.runStatelessStep": [{
|
|
86918
|
+
name: "sourceDeviceId",
|
|
86919
|
+
form: "single",
|
|
86920
|
+
optional: false
|
|
86921
|
+
}],
|
|
86922
|
+
"plateGallery.getPlateByTrack": [{
|
|
86923
|
+
name: "deviceId",
|
|
86924
|
+
form: "single",
|
|
86925
|
+
optional: false
|
|
86926
|
+
}],
|
|
86927
|
+
"plateGallery.listPlates": [{
|
|
86928
|
+
name: "deviceId",
|
|
86929
|
+
form: "single",
|
|
86930
|
+
optional: true
|
|
86931
|
+
}],
|
|
86932
|
+
"privacyMask.getOptions": [{
|
|
86933
|
+
name: "deviceId",
|
|
86934
|
+
form: "single",
|
|
86935
|
+
optional: false
|
|
86936
|
+
}],
|
|
86937
|
+
"privacyMask.setAudioEnabled": [{
|
|
86938
|
+
name: "deviceId",
|
|
86939
|
+
form: "single",
|
|
86940
|
+
optional: false
|
|
86941
|
+
}],
|
|
86942
|
+
"privacyMask.setMask": [{
|
|
86943
|
+
name: "deviceId",
|
|
86944
|
+
form: "single",
|
|
86945
|
+
optional: false
|
|
86946
|
+
}],
|
|
86947
|
+
"ptz.continuousMove": [{
|
|
86948
|
+
name: "deviceId",
|
|
86949
|
+
form: "single",
|
|
86950
|
+
optional: false
|
|
86951
|
+
}],
|
|
86952
|
+
"ptz.deletePreset": [{
|
|
86953
|
+
name: "deviceId",
|
|
86954
|
+
form: "single",
|
|
86955
|
+
optional: false
|
|
86956
|
+
}],
|
|
86957
|
+
"ptz.getOptions": [{
|
|
86958
|
+
name: "deviceId",
|
|
86959
|
+
form: "single",
|
|
86960
|
+
optional: false
|
|
86961
|
+
}],
|
|
86962
|
+
"ptz.getPosition": [{
|
|
86963
|
+
name: "deviceId",
|
|
86964
|
+
form: "single",
|
|
86965
|
+
optional: false
|
|
86966
|
+
}],
|
|
86967
|
+
"ptz.getPresets": [{
|
|
86968
|
+
name: "deviceId",
|
|
86969
|
+
form: "single",
|
|
86970
|
+
optional: false
|
|
86971
|
+
}],
|
|
86972
|
+
"ptz.goHome": [{
|
|
86973
|
+
name: "deviceId",
|
|
86974
|
+
form: "single",
|
|
86975
|
+
optional: false
|
|
86976
|
+
}],
|
|
86977
|
+
"ptz.goToPreset": [{
|
|
86978
|
+
name: "deviceId",
|
|
86979
|
+
form: "single",
|
|
86980
|
+
optional: false
|
|
86981
|
+
}],
|
|
86982
|
+
"ptz.move": [{
|
|
86983
|
+
name: "deviceId",
|
|
86984
|
+
form: "single",
|
|
86985
|
+
optional: false
|
|
86986
|
+
}],
|
|
86987
|
+
"ptz.savePreset": [{
|
|
86988
|
+
name: "deviceId",
|
|
86989
|
+
form: "single",
|
|
86990
|
+
optional: false
|
|
86991
|
+
}],
|
|
86992
|
+
"ptz.setAutofocus": [{
|
|
86993
|
+
name: "deviceId",
|
|
86994
|
+
form: "single",
|
|
86995
|
+
optional: false
|
|
86996
|
+
}],
|
|
86997
|
+
"ptz.stop": [{
|
|
86998
|
+
name: "deviceId",
|
|
86999
|
+
form: "single",
|
|
87000
|
+
optional: false
|
|
87001
|
+
}],
|
|
87002
|
+
"ptzAutotrack.getSettings": [{
|
|
87003
|
+
name: "deviceId",
|
|
87004
|
+
form: "single",
|
|
87005
|
+
optional: false
|
|
87006
|
+
}],
|
|
87007
|
+
"ptzAutotrack.getStatus": [{
|
|
87008
|
+
name: "deviceId",
|
|
87009
|
+
form: "single",
|
|
87010
|
+
optional: false
|
|
87011
|
+
}],
|
|
87012
|
+
"ptzAutotrack.setEnabled": [{
|
|
87013
|
+
name: "deviceId",
|
|
87014
|
+
form: "single",
|
|
87015
|
+
optional: false
|
|
87016
|
+
}],
|
|
87017
|
+
"ptzAutotrack.setSettings": [{
|
|
87018
|
+
name: "deviceId",
|
|
87019
|
+
form: "single",
|
|
87020
|
+
optional: false
|
|
87021
|
+
}],
|
|
87022
|
+
"reboot.reboot": [{
|
|
87023
|
+
name: "deviceId",
|
|
87024
|
+
form: "single",
|
|
87025
|
+
optional: false
|
|
87026
|
+
}],
|
|
87027
|
+
"recording.deleteFootprint": [{
|
|
87028
|
+
name: "deviceId",
|
|
87029
|
+
form: "single",
|
|
87030
|
+
optional: false
|
|
87031
|
+
}],
|
|
87032
|
+
"recording.getAvailability": [{
|
|
87033
|
+
name: "deviceId",
|
|
87034
|
+
form: "single",
|
|
87035
|
+
optional: false
|
|
87036
|
+
}],
|
|
87037
|
+
"recording.getDaysWithRecordings": [{
|
|
87038
|
+
name: "deviceId",
|
|
87039
|
+
form: "single",
|
|
87040
|
+
optional: false
|
|
87041
|
+
}],
|
|
87042
|
+
"recording.getDeviceConfig": [{
|
|
87043
|
+
name: "deviceId",
|
|
87044
|
+
form: "single",
|
|
87045
|
+
optional: false
|
|
87046
|
+
}],
|
|
87047
|
+
"recording.getPlaybackManifest": [{
|
|
87048
|
+
name: "deviceId",
|
|
87049
|
+
form: "single",
|
|
87050
|
+
optional: false
|
|
87051
|
+
}],
|
|
87052
|
+
"recording.listOpsLog": [{
|
|
87053
|
+
name: "deviceId",
|
|
87054
|
+
form: "single",
|
|
87055
|
+
optional: true
|
|
87056
|
+
}],
|
|
87057
|
+
"recording.locateSegment": [{
|
|
87058
|
+
name: "deviceId",
|
|
87059
|
+
form: "single",
|
|
87060
|
+
optional: false
|
|
87061
|
+
}],
|
|
87062
|
+
"recording.pruneFootage": [{
|
|
87063
|
+
name: "deviceId",
|
|
87064
|
+
form: "single",
|
|
87065
|
+
optional: false
|
|
87066
|
+
}],
|
|
87067
|
+
"recording.readGopBytes": [{
|
|
87068
|
+
name: "deviceId",
|
|
87069
|
+
form: "single",
|
|
87070
|
+
optional: false
|
|
87071
|
+
}],
|
|
87072
|
+
"recording.readSegmentBytes": [{
|
|
87073
|
+
name: "deviceId",
|
|
87074
|
+
form: "single",
|
|
87075
|
+
optional: false
|
|
87076
|
+
}],
|
|
87077
|
+
"recording.relocateFootage": [{
|
|
87078
|
+
name: "deviceId",
|
|
87079
|
+
form: "single",
|
|
87080
|
+
optional: true
|
|
87081
|
+
}],
|
|
87082
|
+
"recording.renderClip": [{
|
|
87083
|
+
name: "deviceId",
|
|
87084
|
+
form: "single",
|
|
87085
|
+
optional: false
|
|
87086
|
+
}],
|
|
87087
|
+
"recording.renderGif": [{
|
|
87088
|
+
name: "deviceId",
|
|
87089
|
+
form: "single",
|
|
87090
|
+
optional: false
|
|
87091
|
+
}],
|
|
87092
|
+
"recording.rescanStorage": [{
|
|
87093
|
+
name: "deviceId",
|
|
87094
|
+
form: "single",
|
|
87095
|
+
optional: false
|
|
87096
|
+
}],
|
|
87097
|
+
"recording.setDeviceConfig": [{
|
|
87098
|
+
name: "deviceId",
|
|
87099
|
+
form: "single",
|
|
87100
|
+
optional: false
|
|
87101
|
+
}],
|
|
87102
|
+
"recording.startStorageMigrationMove": [{
|
|
87103
|
+
name: "deviceId",
|
|
87104
|
+
form: "single",
|
|
87105
|
+
optional: true
|
|
87106
|
+
}],
|
|
87107
|
+
"recordingExport.createExport": [{
|
|
87108
|
+
name: "deviceId",
|
|
87109
|
+
form: "single",
|
|
87110
|
+
optional: false
|
|
87111
|
+
}],
|
|
87112
|
+
"recordingExport.listExports": [{
|
|
87113
|
+
name: "deviceId",
|
|
87114
|
+
form: "single",
|
|
87115
|
+
optional: true
|
|
87116
|
+
}],
|
|
87117
|
+
"sceneMonitor.captureReference": [{
|
|
87118
|
+
name: "deviceId",
|
|
87119
|
+
form: "single",
|
|
87120
|
+
optional: false
|
|
87121
|
+
}],
|
|
87122
|
+
"sceneMonitor.createScene": [{
|
|
87123
|
+
name: "deviceId",
|
|
87124
|
+
form: "single",
|
|
87125
|
+
optional: false
|
|
87126
|
+
}],
|
|
87127
|
+
"sceneMonitor.deleteReference": [{
|
|
87128
|
+
name: "deviceId",
|
|
87129
|
+
form: "single",
|
|
87130
|
+
optional: false
|
|
87131
|
+
}],
|
|
87132
|
+
"sceneMonitor.deleteScene": [{
|
|
87133
|
+
name: "deviceId",
|
|
87134
|
+
form: "single",
|
|
87135
|
+
optional: false
|
|
87136
|
+
}],
|
|
87137
|
+
"sceneMonitor.listScenes": [{
|
|
87138
|
+
name: "deviceId",
|
|
87139
|
+
form: "single",
|
|
87140
|
+
optional: false
|
|
87141
|
+
}],
|
|
87142
|
+
"sceneMonitor.recheckNow": [{
|
|
87143
|
+
name: "deviceId",
|
|
87144
|
+
form: "single",
|
|
87145
|
+
optional: false
|
|
87146
|
+
}],
|
|
87147
|
+
"sceneMonitor.resetScene": [{
|
|
87148
|
+
name: "deviceId",
|
|
87149
|
+
form: "single",
|
|
87150
|
+
optional: false
|
|
87151
|
+
}],
|
|
87152
|
+
"sceneMonitor.updateScene": [{
|
|
87153
|
+
name: "deviceId",
|
|
87154
|
+
form: "single",
|
|
87155
|
+
optional: false
|
|
87156
|
+
}],
|
|
87157
|
+
"scriptRunner.run": [{
|
|
87158
|
+
name: "deviceId",
|
|
87159
|
+
form: "single",
|
|
87160
|
+
optional: false
|
|
87161
|
+
}],
|
|
87162
|
+
"scriptRunner.stop": [{
|
|
87163
|
+
name: "deviceId",
|
|
87164
|
+
form: "single",
|
|
87165
|
+
optional: false
|
|
87166
|
+
}],
|
|
87167
|
+
"snapshot.getDebugState": [{
|
|
87168
|
+
name: "deviceId",
|
|
87169
|
+
form: "single",
|
|
87170
|
+
optional: false
|
|
87171
|
+
}],
|
|
87172
|
+
"snapshot.getSnapshot": [{
|
|
87173
|
+
name: "deviceId",
|
|
87174
|
+
form: "single",
|
|
87175
|
+
optional: false
|
|
87176
|
+
}],
|
|
87177
|
+
"snapshot.getSnapshotLinks": [{
|
|
87178
|
+
name: "targets",
|
|
87179
|
+
form: "object-array",
|
|
87180
|
+
optional: false,
|
|
87181
|
+
itemField: "deviceId"
|
|
87182
|
+
}],
|
|
87183
|
+
"snapshot.getSnapshotOverview": [{
|
|
87184
|
+
name: "deviceIds",
|
|
87185
|
+
form: "array",
|
|
87186
|
+
optional: false
|
|
87187
|
+
}],
|
|
87188
|
+
"snapshot.invalidateCache": [{
|
|
87189
|
+
name: "deviceId",
|
|
87190
|
+
form: "single",
|
|
87191
|
+
optional: false
|
|
87192
|
+
}],
|
|
87193
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
87194
|
+
name: "deviceId",
|
|
87195
|
+
form: "single",
|
|
87196
|
+
optional: false
|
|
87197
|
+
}],
|
|
87198
|
+
"streamBroker.assignProfile": [{
|
|
87199
|
+
name: "deviceId",
|
|
87200
|
+
form: "single",
|
|
87201
|
+
optional: false
|
|
87202
|
+
}],
|
|
87203
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
87204
|
+
name: "deviceId",
|
|
87205
|
+
form: "single",
|
|
87206
|
+
optional: false
|
|
87207
|
+
}],
|
|
87208
|
+
"streamBroker.getStreamWithCodec": [{
|
|
87209
|
+
name: "deviceId",
|
|
87210
|
+
form: "single",
|
|
87211
|
+
optional: false
|
|
87212
|
+
}],
|
|
87213
|
+
"streamBroker.produceEventMedia": [{
|
|
87214
|
+
name: "deviceId",
|
|
87215
|
+
form: "single",
|
|
87216
|
+
optional: false
|
|
87217
|
+
}],
|
|
87218
|
+
"streamBroker.publishCameraStream": [{
|
|
87219
|
+
name: "deviceId",
|
|
87220
|
+
form: "single",
|
|
87221
|
+
optional: false
|
|
87222
|
+
}],
|
|
87223
|
+
"streamBroker.renderPreBufferClip": [{
|
|
87224
|
+
name: "deviceId",
|
|
87225
|
+
form: "single",
|
|
87226
|
+
optional: false
|
|
87227
|
+
}],
|
|
87228
|
+
"streamBroker.restartProfile": [{
|
|
87229
|
+
name: "deviceId",
|
|
87230
|
+
form: "single",
|
|
87231
|
+
optional: false
|
|
87232
|
+
}],
|
|
87233
|
+
"streamBroker.retractCameraStream": [{
|
|
87234
|
+
name: "deviceId",
|
|
87235
|
+
form: "single",
|
|
87236
|
+
optional: false
|
|
87237
|
+
}],
|
|
87238
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
87239
|
+
name: "deviceId",
|
|
87240
|
+
form: "single",
|
|
87241
|
+
optional: false
|
|
87242
|
+
}],
|
|
87243
|
+
"streamBroker.unassignProfile": [{
|
|
87244
|
+
name: "deviceId",
|
|
87245
|
+
form: "single",
|
|
87246
|
+
optional: false
|
|
87247
|
+
}],
|
|
87248
|
+
"streamCatalog.getCatalog": [{
|
|
87249
|
+
name: "deviceId",
|
|
87250
|
+
form: "single",
|
|
87251
|
+
optional: false
|
|
87252
|
+
}],
|
|
87253
|
+
"streamParams.getConfigSchema": [{
|
|
87254
|
+
name: "deviceId",
|
|
87255
|
+
form: "single",
|
|
87256
|
+
optional: false
|
|
87257
|
+
}],
|
|
87258
|
+
"streamParams.getOptions": [{
|
|
87259
|
+
name: "deviceId",
|
|
87260
|
+
form: "single",
|
|
87261
|
+
optional: false
|
|
87262
|
+
}],
|
|
87263
|
+
"streamParams.setProfile": [{
|
|
87264
|
+
name: "deviceId",
|
|
87265
|
+
form: "single",
|
|
87266
|
+
optional: false
|
|
87267
|
+
}],
|
|
87268
|
+
"switch.setState": [{
|
|
87269
|
+
name: "deviceId",
|
|
87270
|
+
form: "single",
|
|
87271
|
+
optional: false
|
|
87272
|
+
}],
|
|
87273
|
+
"vacuumControl.locate": [{
|
|
87274
|
+
name: "deviceId",
|
|
87275
|
+
form: "single",
|
|
87276
|
+
optional: false
|
|
87277
|
+
}],
|
|
87278
|
+
"vacuumControl.pause": [{
|
|
87279
|
+
name: "deviceId",
|
|
87280
|
+
form: "single",
|
|
87281
|
+
optional: false
|
|
87282
|
+
}],
|
|
87283
|
+
"vacuumControl.returnToBase": [{
|
|
87284
|
+
name: "deviceId",
|
|
87285
|
+
form: "single",
|
|
87286
|
+
optional: false
|
|
87287
|
+
}],
|
|
87288
|
+
"vacuumControl.setFanSpeed": [{
|
|
87289
|
+
name: "deviceId",
|
|
87290
|
+
form: "single",
|
|
87291
|
+
optional: false
|
|
87292
|
+
}],
|
|
87293
|
+
"vacuumControl.start": [{
|
|
87294
|
+
name: "deviceId",
|
|
87295
|
+
form: "single",
|
|
87296
|
+
optional: false
|
|
87297
|
+
}],
|
|
87298
|
+
"vacuumControl.stop": [{
|
|
87299
|
+
name: "deviceId",
|
|
87300
|
+
form: "single",
|
|
87301
|
+
optional: false
|
|
87302
|
+
}],
|
|
87303
|
+
"valve.close": [{
|
|
87304
|
+
name: "deviceId",
|
|
87305
|
+
form: "single",
|
|
87306
|
+
optional: false
|
|
87307
|
+
}],
|
|
87308
|
+
"valve.open": [{
|
|
87309
|
+
name: "deviceId",
|
|
87310
|
+
form: "single",
|
|
87311
|
+
optional: false
|
|
87312
|
+
}],
|
|
87313
|
+
"valve.setPosition": [{
|
|
87314
|
+
name: "deviceId",
|
|
87315
|
+
form: "single",
|
|
87316
|
+
optional: false
|
|
87317
|
+
}],
|
|
87318
|
+
"valve.stop": [{
|
|
87319
|
+
name: "deviceId",
|
|
87320
|
+
form: "single",
|
|
87321
|
+
optional: false
|
|
87322
|
+
}],
|
|
87323
|
+
"videoclips.getClipPlayback": [{
|
|
87324
|
+
name: "deviceId",
|
|
87325
|
+
form: "single",
|
|
87326
|
+
optional: false
|
|
87327
|
+
}],
|
|
87328
|
+
"videoclips.listClips": [{
|
|
87329
|
+
name: "deviceId",
|
|
87330
|
+
form: "single",
|
|
87331
|
+
optional: false
|
|
87332
|
+
}],
|
|
87333
|
+
"waterHeater.setAway": [{
|
|
87334
|
+
name: "deviceId",
|
|
87335
|
+
form: "single",
|
|
87336
|
+
optional: false
|
|
87337
|
+
}],
|
|
87338
|
+
"waterHeater.setOperationMode": [{
|
|
87339
|
+
name: "deviceId",
|
|
87340
|
+
form: "single",
|
|
87341
|
+
optional: false
|
|
87342
|
+
}],
|
|
87343
|
+
"waterHeater.setTargetTemp": [{
|
|
87344
|
+
name: "deviceId",
|
|
87345
|
+
form: "single",
|
|
87346
|
+
optional: false
|
|
87347
|
+
}],
|
|
87348
|
+
"webrtcSession.addIceCandidate": [{
|
|
87349
|
+
name: "deviceId",
|
|
87350
|
+
form: "single",
|
|
87351
|
+
optional: false
|
|
87352
|
+
}],
|
|
87353
|
+
"webrtcSession.closeSession": [{
|
|
87354
|
+
name: "deviceId",
|
|
87355
|
+
form: "single",
|
|
87356
|
+
optional: false
|
|
87357
|
+
}],
|
|
87358
|
+
"webrtcSession.createSession": [{
|
|
87359
|
+
name: "deviceId",
|
|
87360
|
+
form: "single",
|
|
87361
|
+
optional: false
|
|
87362
|
+
}],
|
|
87363
|
+
"webrtcSession.getIceCandidates": [{
|
|
87364
|
+
name: "deviceId",
|
|
87365
|
+
form: "single",
|
|
87366
|
+
optional: false
|
|
87367
|
+
}],
|
|
87368
|
+
"webrtcSession.getSessionState": [{
|
|
87369
|
+
name: "deviceId",
|
|
87370
|
+
form: "single",
|
|
87371
|
+
optional: false
|
|
87372
|
+
}],
|
|
87373
|
+
"webrtcSession.handleAnswer": [{
|
|
87374
|
+
name: "deviceId",
|
|
87375
|
+
form: "single",
|
|
87376
|
+
optional: false
|
|
87377
|
+
}],
|
|
87378
|
+
"webrtcSession.handleOffer": [{
|
|
87379
|
+
name: "deviceId",
|
|
87380
|
+
form: "single",
|
|
87381
|
+
optional: false
|
|
87382
|
+
}],
|
|
87383
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
87384
|
+
name: "deviceId",
|
|
87385
|
+
form: "single",
|
|
87386
|
+
optional: false
|
|
87387
|
+
}],
|
|
87388
|
+
"webrtcSession.listStreams": [{
|
|
87389
|
+
name: "deviceId",
|
|
87390
|
+
form: "single",
|
|
87391
|
+
optional: false
|
|
87392
|
+
}],
|
|
87393
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
87394
|
+
name: "deviceId",
|
|
87395
|
+
form: "single",
|
|
87396
|
+
optional: false
|
|
87397
|
+
}],
|
|
87398
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
87399
|
+
name: "deviceId",
|
|
87400
|
+
form: "single",
|
|
87401
|
+
optional: false
|
|
87402
|
+
}],
|
|
87403
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
87404
|
+
name: "deviceId",
|
|
87405
|
+
form: "single",
|
|
87406
|
+
optional: false
|
|
87407
|
+
}],
|
|
87408
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
87409
|
+
name: "deviceId",
|
|
87410
|
+
form: "single",
|
|
87411
|
+
optional: false
|
|
87412
|
+
}],
|
|
87413
|
+
"zoneRules.listRules": [{
|
|
87414
|
+
name: "deviceId",
|
|
87415
|
+
form: "single",
|
|
87416
|
+
optional: false
|
|
87417
|
+
}],
|
|
87418
|
+
"zoneRules.setRules": [{
|
|
87419
|
+
name: "deviceId",
|
|
87420
|
+
form: "single",
|
|
87421
|
+
optional: false
|
|
87422
|
+
}],
|
|
87423
|
+
"zones.addZone": [{
|
|
87424
|
+
name: "deviceId",
|
|
87425
|
+
form: "single",
|
|
87426
|
+
optional: false
|
|
87427
|
+
}],
|
|
87428
|
+
"zones.listZones": [{
|
|
87429
|
+
name: "deviceId",
|
|
87430
|
+
form: "single",
|
|
87431
|
+
optional: false
|
|
87432
|
+
}],
|
|
87433
|
+
"zones.removeZone": [{
|
|
87434
|
+
name: "deviceId",
|
|
87435
|
+
form: "single",
|
|
87436
|
+
optional: false
|
|
87437
|
+
}],
|
|
87438
|
+
"zones.updateZone": [{
|
|
87439
|
+
name: "deviceId",
|
|
87440
|
+
form: "single",
|
|
87441
|
+
optional: false
|
|
87442
|
+
}]
|
|
87443
|
+
});
|
|
84690
87444
|
Object.freeze({
|
|
84691
87445
|
"broker": "broker",
|
|
84692
87446
|
"device-export": "device-export",
|