@camstack/addon-import-alexa 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +2858 -139
- package/dist/addon.mjs +2858 -139
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
39
39
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
40
40
|
//#endregion
|
|
41
|
-
//#region ../types/dist/event-category-
|
|
41
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
42
42
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
43
43
|
EventCategory["SystemBoot"] = "system.boot";
|
|
44
44
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -245,6 +245,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
245
245
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
246
246
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
247
247
|
/**
|
|
248
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
249
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
250
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
251
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
252
|
+
* from the placement candidate set for as long as it holds.
|
|
253
|
+
*
|
|
254
|
+
* This exists because the state was previously invisible: little-unraid
|
|
255
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
256
|
+
* and nothing in the system said so.
|
|
257
|
+
*
|
|
258
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
259
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
260
|
+
* serves it exactly as before.
|
|
261
|
+
*/
|
|
262
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
263
|
+
/**
|
|
264
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
265
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
266
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
267
|
+
* per camera.
|
|
268
|
+
*
|
|
269
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
270
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
271
|
+
* camera" produce byte-identical silence.
|
|
272
|
+
*/
|
|
273
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
274
|
+
/**
|
|
248
275
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
249
276
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
250
277
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -11116,6 +11143,8 @@ var QueryFilterSchema = object({
|
|
|
11116
11143
|
where: record(string(), unknown()).optional(),
|
|
11117
11144
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11118
11145
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11146
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
11147
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11119
11148
|
orderBy: object({
|
|
11120
11149
|
field: string(),
|
|
11121
11150
|
direction: _enum(["asc", "desc"])
|
|
@@ -11135,7 +11164,8 @@ var QueryFilterSchema = object({
|
|
|
11135
11164
|
var MutationFilterSchema = object({
|
|
11136
11165
|
where: record(string(), unknown()).optional(),
|
|
11137
11166
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11138
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
11167
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11168
|
+
whereNot: record(string(), unknown()).optional()
|
|
11139
11169
|
});
|
|
11140
11170
|
/** A single stored record: `{ id, data }`. */
|
|
11141
11171
|
var SettingsRecordSchema = object({
|
|
@@ -12671,6 +12701,17 @@ var LlmImageSchema = object({
|
|
|
12671
12701
|
bytes: _instanceof(Uint8Array),
|
|
12672
12702
|
mimeType: string()
|
|
12673
12703
|
});
|
|
12704
|
+
/**
|
|
12705
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12706
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12707
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12708
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12709
|
+
*/
|
|
12710
|
+
var LlmRetryPolicySchema = object({
|
|
12711
|
+
enabled: boolean().default(false),
|
|
12712
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12713
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12714
|
+
});
|
|
12674
12715
|
var LlmGenerateBaseInputSchema = object({
|
|
12675
12716
|
/** Collection routing (the notification-output posture). */
|
|
12676
12717
|
addonId: string().optional(),
|
|
@@ -12685,7 +12726,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12685
12726
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12686
12727
|
/** Per-call override of the profile default. */
|
|
12687
12728
|
maxTokens: number().int().positive().optional(),
|
|
12688
|
-
temperature: number().optional()
|
|
12729
|
+
temperature: number().optional(),
|
|
12730
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12731
|
+
topP: number().min(0).max(1).optional(),
|
|
12732
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12733
|
+
topK: number().int().positive().optional(),
|
|
12734
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12735
|
+
timeoutMs: number().int().positive().optional(),
|
|
12736
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12737
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12738
|
+
/**
|
|
12739
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12740
|
+
*
|
|
12741
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12742
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12743
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12744
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12745
|
+
* not generations, and the real load is unbounded.
|
|
12746
|
+
*
|
|
12747
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12748
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12749
|
+
*/
|
|
12750
|
+
requestId: string().optional()
|
|
12689
12751
|
});
|
|
12690
12752
|
/**
|
|
12691
12753
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12698,6 +12760,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12698
12760
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12699
12761
|
* watchdog — operator decision #3).
|
|
12700
12762
|
*/
|
|
12763
|
+
/**
|
|
12764
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12765
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12766
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12767
|
+
* the preview is exactly what the node downloads.
|
|
12768
|
+
*/
|
|
12769
|
+
var ManagedModelExtraFileSchema = object({
|
|
12770
|
+
url: string(),
|
|
12771
|
+
filename: string(),
|
|
12772
|
+
sizeBytes: number(),
|
|
12773
|
+
sha256: string().optional()
|
|
12774
|
+
});
|
|
12701
12775
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12702
12776
|
object({
|
|
12703
12777
|
kind: literal("catalog"),
|
|
@@ -12706,7 +12780,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12706
12780
|
object({
|
|
12707
12781
|
kind: literal("url"),
|
|
12708
12782
|
url: string(),
|
|
12709
|
-
sha256: string().optional()
|
|
12783
|
+
sha256: string().optional(),
|
|
12784
|
+
/** Picker/status label; the file basename when absent. */
|
|
12785
|
+
label: string().optional(),
|
|
12786
|
+
sizeBytes: number().optional(),
|
|
12787
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12710
12788
|
}),
|
|
12711
12789
|
object({
|
|
12712
12790
|
kind: literal("path"),
|
|
@@ -12724,13 +12802,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12724
12802
|
gpuLayers: number().int().default(0),
|
|
12725
12803
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12726
12804
|
threads: number().int().optional(),
|
|
12727
|
-
/** Concurrent slots. */
|
|
12805
|
+
/** Concurrent slots (`--parallel`). */
|
|
12728
12806
|
parallel: number().int().default(1),
|
|
12807
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12808
|
+
batchSize: number().int().positive().optional(),
|
|
12809
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12810
|
+
ubatchSize: number().int().positive().optional(),
|
|
12811
|
+
/**
|
|
12812
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12813
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12814
|
+
*/
|
|
12815
|
+
flashAttention: boolean().default(false),
|
|
12816
|
+
/**
|
|
12817
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12818
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12819
|
+
* what the RAM budget is counting.
|
|
12820
|
+
*/
|
|
12821
|
+
mlock: boolean().default(false),
|
|
12822
|
+
/**
|
|
12823
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12824
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12825
|
+
* store produces on every first token.
|
|
12826
|
+
*/
|
|
12827
|
+
noMmap: boolean().default(false),
|
|
12828
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12829
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12830
|
+
cacheTypeK: _enum([
|
|
12831
|
+
"f32",
|
|
12832
|
+
"f16",
|
|
12833
|
+
"q8_0",
|
|
12834
|
+
"q5_1",
|
|
12835
|
+
"q5_0",
|
|
12836
|
+
"q4_1",
|
|
12837
|
+
"q4_0"
|
|
12838
|
+
]).optional(),
|
|
12839
|
+
cacheTypeV: _enum([
|
|
12840
|
+
"f32",
|
|
12841
|
+
"f16",
|
|
12842
|
+
"q8_0",
|
|
12843
|
+
"q5_1",
|
|
12844
|
+
"q5_0",
|
|
12845
|
+
"q4_1",
|
|
12846
|
+
"q4_0"
|
|
12847
|
+
]).optional(),
|
|
12848
|
+
/**
|
|
12849
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12850
|
+
* (which most vision chat templates need and some language-only models
|
|
12851
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12852
|
+
*
|
|
12853
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12854
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12855
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12856
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12857
|
+
* twice (D62).
|
|
12858
|
+
*/
|
|
12859
|
+
extraArgs: array(string()).default([]),
|
|
12729
12860
|
/** Else lazy: first generate boots it. */
|
|
12730
12861
|
autoStart: boolean().default(false),
|
|
12731
12862
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12732
12863
|
idleStopMinutes: number().int().default(30)
|
|
12733
12864
|
});
|
|
12865
|
+
/**
|
|
12866
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12867
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12868
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12869
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12870
|
+
*/
|
|
12871
|
+
var LlmDownloadProgressSchema = object({
|
|
12872
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12873
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12874
|
+
file: string(),
|
|
12875
|
+
fileIndex: number().int(),
|
|
12876
|
+
fileCount: number().int(),
|
|
12877
|
+
/** Across the WHOLE install, not the current file. */
|
|
12878
|
+
downloadedBytes: number(),
|
|
12879
|
+
totalBytes: number().optional()
|
|
12880
|
+
});
|
|
12734
12881
|
var LlmRuntimeStatusSchema = object({
|
|
12735
12882
|
/** Status is ALWAYS node-qualified. */
|
|
12736
12883
|
nodeId: string(),
|
|
@@ -12747,6 +12894,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12747
12894
|
modelPath: string().optional(),
|
|
12748
12895
|
modelId: string().optional(),
|
|
12749
12896
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12897
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12898
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12750
12899
|
lastError: string().optional(),
|
|
12751
12900
|
crashesInWindow: number(),
|
|
12752
12901
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12757,7 +12906,14 @@ var LlmNodeModelSchema = object({
|
|
|
12757
12906
|
file: string(),
|
|
12758
12907
|
sizeBytes: number(),
|
|
12759
12908
|
catalogId: string().optional(),
|
|
12760
|
-
installedAt: number().optional()
|
|
12909
|
+
installedAt: number().optional(),
|
|
12910
|
+
/**
|
|
12911
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12912
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12913
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12914
|
+
* it the picker could list such a file and do nothing with it.
|
|
12915
|
+
*/
|
|
12916
|
+
path: string().optional()
|
|
12761
12917
|
});
|
|
12762
12918
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12763
12919
|
nodeId: string(),
|
|
@@ -12813,10 +12969,47 @@ var LlmProfileSchema = object({
|
|
|
12813
12969
|
baseUrl: string().optional(),
|
|
12814
12970
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12815
12971
|
apiKey: string().optional(),
|
|
12972
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12973
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12974
|
+
* question about a picture nobody sent. */
|
|
12816
12975
|
supportsVision: boolean(),
|
|
12817
12976
|
temperature: number().min(0).max(2).optional(),
|
|
12977
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12978
|
+
topP: number().min(0).max(1).optional(),
|
|
12979
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12980
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12981
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12982
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12983
|
+
topK: number().int().positive().optional(),
|
|
12818
12984
|
maxTokens: number().int().positive().optional(),
|
|
12985
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12986
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12987
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12988
|
+
contextLength: number().int().positive().optional(),
|
|
12989
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12990
|
+
* two system prompts fighting is worse than either alone). */
|
|
12991
|
+
systemPrompt: string().optional(),
|
|
12992
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12819
12993
|
timeoutMs: number().int().positive().default(6e4),
|
|
12994
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12995
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12996
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12997
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12998
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12999
|
+
* GPU load is exactly what happens before them. */
|
|
13000
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
13001
|
+
/** Output started then stopped. */
|
|
13002
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
13003
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
13004
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
13005
|
+
retry: LlmRetryPolicySchema.default({
|
|
13006
|
+
enabled: false,
|
|
13007
|
+
maxAttempts: 1
|
|
13008
|
+
}),
|
|
13009
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
13010
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
13011
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
13012
|
+
toolsEnabled: boolean().default(false),
|
|
12820
13013
|
extraHeaders: record(string(), string()).optional(),
|
|
12821
13014
|
/** kind === 'managed-local' only (spec §4). */
|
|
12822
13015
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12866,6 +13059,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12866
13059
|
/** Vision models: companion projector file. */
|
|
12867
13060
|
mmprojUrl: string().optional()
|
|
12868
13061
|
});
|
|
13062
|
+
/**
|
|
13063
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
13064
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
13065
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
13066
|
+
* exception.
|
|
13067
|
+
*
|
|
13068
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
13069
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
13070
|
+
*/
|
|
13071
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
13072
|
+
ok: literal(true),
|
|
13073
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
13074
|
+
model: ManagedModelRefSchema,
|
|
13075
|
+
label: string(),
|
|
13076
|
+
repo: string(),
|
|
13077
|
+
quantization: string(),
|
|
13078
|
+
purpose: _enum(["text", "vision"]),
|
|
13079
|
+
totalBytes: number(),
|
|
13080
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
13081
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
13082
|
+
extraFilenames: array(string())
|
|
13083
|
+
}), object({
|
|
13084
|
+
ok: literal(false),
|
|
13085
|
+
code: string(),
|
|
13086
|
+
message: string(),
|
|
13087
|
+
candidates: array(string()).optional(),
|
|
13088
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
13089
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
13090
|
+
requiredBytes: number().optional()
|
|
13091
|
+
})]);
|
|
12869
13092
|
var LlmRuntimeNodeSchema = object({
|
|
12870
13093
|
nodeId: string(),
|
|
12871
13094
|
reachable: boolean(),
|
|
@@ -12878,7 +13101,10 @@ var ProfileRefInputSchema = object({
|
|
|
12878
13101
|
addonId: string(),
|
|
12879
13102
|
profileId: string()
|
|
12880
13103
|
});
|
|
12881
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
13104
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
13105
|
+
addonId: string().optional(),
|
|
13106
|
+
requestId: string()
|
|
13107
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12882
13108
|
kind: "mutation",
|
|
12883
13109
|
auth: "admin"
|
|
12884
13110
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12899,6 +13125,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12899
13125
|
consumer: string().optional(),
|
|
12900
13126
|
profileId: string().optional()
|
|
12901
13127
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
13128
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
13129
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
13130
|
+
ref: string(),
|
|
13131
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
13132
|
+
maxBytes: number().positive().optional()
|
|
13133
|
+
}), HfModelResolutionSchema, {
|
|
13134
|
+
kind: "mutation",
|
|
13135
|
+
auth: "admin"
|
|
13136
|
+
}), method(object({
|
|
12902
13137
|
nodeId: string(),
|
|
12903
13138
|
model: ManagedModelRefSchema
|
|
12904
13139
|
}), _void(), {
|
|
@@ -14546,6 +14781,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14546
14781
|
"stream-offline",
|
|
14547
14782
|
"node-online",
|
|
14548
14783
|
"node-offline",
|
|
14784
|
+
"node-inference-unavailable",
|
|
14785
|
+
"detection-blind",
|
|
14549
14786
|
"addon-update-available",
|
|
14550
14787
|
"server-update-available",
|
|
14551
14788
|
"alarm-triggered",
|
|
@@ -14607,7 +14844,16 @@ var NcScheduleSchema = object({
|
|
|
14607
14844
|
});
|
|
14608
14845
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14609
14846
|
var NcPlateMatcherSchema = object({
|
|
14610
|
-
|
|
14847
|
+
/**
|
|
14848
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14849
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14850
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14851
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14852
|
+
*
|
|
14853
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14854
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14855
|
+
*/
|
|
14856
|
+
values: array(string().min(1)),
|
|
14611
14857
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14612
14858
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14613
14859
|
});
|
|
@@ -14641,28 +14887,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14641
14887
|
/**
|
|
14642
14888
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14643
14889
|
*
|
|
14644
|
-
*
|
|
14645
|
-
*
|
|
14646
|
-
*
|
|
14647
|
-
*
|
|
14648
|
-
* window are HITS. A sample is a hit when it satisfies BOTH present filters:
|
|
14890
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14891
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14892
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14893
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14649
14894
|
*
|
|
14650
|
-
* -
|
|
14651
|
-
*
|
|
14652
|
-
*
|
|
14895
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14896
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14897
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14898
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14899
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14900
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14901
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14902
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14903
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14904
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14905
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14906
|
+
* seconds is 100% of nothing.
|
|
14653
14907
|
*
|
|
14654
|
-
*
|
|
14655
|
-
*
|
|
14656
|
-
*
|
|
14657
|
-
*
|
|
14658
|
-
*
|
|
14659
|
-
*
|
|
14660
|
-
* ZodEffects the cap path would have to special-case).
|
|
14908
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14909
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14910
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14911
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14912
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14913
|
+
* the wrong question to ask of a sparse classifier.
|
|
14661
14914
|
*
|
|
14662
|
-
*
|
|
14663
|
-
*
|
|
14664
|
-
*
|
|
14665
|
-
* `
|
|
14915
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14916
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14917
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14918
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14919
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14666
14920
|
*
|
|
14667
14921
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14668
14922
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14670,13 +14924,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14670
14924
|
* an operator who typed `dog` mean the same thing.
|
|
14671
14925
|
*/
|
|
14672
14926
|
var NcAudioConditionSchema = object({
|
|
14673
|
-
/**
|
|
14927
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14674
14928
|
labels: array(string().min(1)).min(1).optional(),
|
|
14675
|
-
/**
|
|
14929
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14676
14930
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14677
|
-
/**
|
|
14931
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14678
14932
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14679
|
-
/**
|
|
14933
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14680
14934
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14681
14935
|
});
|
|
14682
14936
|
/**
|
|
@@ -14814,13 +15068,81 @@ var NcRuleActionsSchema = object({
|
|
|
14814
15068
|
*/
|
|
14815
15069
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14816
15070
|
});
|
|
15071
|
+
/**
|
|
15072
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
15073
|
+
*
|
|
15074
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
15075
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
15076
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
15077
|
+
*
|
|
15078
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
15079
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
15080
|
+
*/
|
|
15081
|
+
var NcDeviceStateConditionSchema = object({
|
|
15082
|
+
deviceId: number().int(),
|
|
15083
|
+
/** Any of these matches. */
|
|
15084
|
+
states: array(string().min(1)).min(1)
|
|
15085
|
+
});
|
|
15086
|
+
/**
|
|
15087
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
15088
|
+
*
|
|
15089
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
15090
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
15091
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
15092
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
15093
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
15094
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
15095
|
+
* kind exist for it — see D159.
|
|
15096
|
+
*
|
|
15097
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
15098
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
15099
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
15100
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
15101
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
15102
|
+
*
|
|
15103
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
15104
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
15105
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
15106
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
15107
|
+
* override one rule against the scene's own default.
|
|
15108
|
+
*
|
|
15109
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
15110
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
15111
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
15112
|
+
* evidence, in either direction.
|
|
15113
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
15114
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
15115
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
15116
|
+
* reason the operator asked for a latch.
|
|
15117
|
+
*
|
|
15118
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
15119
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
15120
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
15121
|
+
* said out loud in the log rather than dropped in silence.
|
|
15122
|
+
*/
|
|
15123
|
+
var NcSceneConditionSchema = object({
|
|
15124
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
15125
|
+
sceneId: string().min(1),
|
|
15126
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
15127
|
+
deviceId: number().int().optional(),
|
|
15128
|
+
/** The state the scene must be in for the rule to fire. */
|
|
15129
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
15130
|
+
/**
|
|
15131
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
15132
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
15133
|
+
*/
|
|
15134
|
+
latched: boolean().optional()
|
|
15135
|
+
});
|
|
14817
15136
|
var NcConditionsSchema = object({
|
|
14818
15137
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14819
|
-
deviceState:
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
15138
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
15139
|
+
/**
|
|
15140
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
15141
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
15142
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
15143
|
+
* {@link NcSceneCondition} and D159.
|
|
15144
|
+
*/
|
|
15145
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14824
15146
|
/** Device scope — absent = all devices. */
|
|
14825
15147
|
devices: array(number()).optional(),
|
|
14826
15148
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14846,18 +15168,47 @@ var NcConditionsSchema = object({
|
|
|
14846
15168
|
*/
|
|
14847
15169
|
labelEquals: array(string().min(1)).optional(),
|
|
14848
15170
|
/**
|
|
14849
|
-
*
|
|
14850
|
-
*
|
|
14851
|
-
*
|
|
15171
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
15172
|
+
* is about recognised people at all.
|
|
15173
|
+
*
|
|
15174
|
+
* Three states, and the empty one is the point:
|
|
15175
|
+
*
|
|
15176
|
+
* | value | meaning |
|
|
15177
|
+
* | --- | --- |
|
|
15178
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
15179
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
15180
|
+
* | a list | only these identities |
|
|
15181
|
+
*
|
|
15182
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
15183
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
15184
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
15185
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
15186
|
+
* with the list under it is worse than no switch (D62).
|
|
15187
|
+
*
|
|
15188
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
15189
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
15190
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
15191
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
15192
|
+
* `{{label}}` renders.
|
|
15193
|
+
*
|
|
15194
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
15195
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
15196
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
15197
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
15198
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14852
15199
|
*/
|
|
14853
15200
|
identities: array(string().min(1)).optional(),
|
|
14854
|
-
/**
|
|
15201
|
+
/**
|
|
15202
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
15203
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
15204
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
15205
|
+
*/
|
|
14855
15206
|
plates: NcPlateMatcherSchema.optional(),
|
|
14856
15207
|
/**
|
|
14857
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14858
|
-
*
|
|
14859
|
-
* identity
|
|
14860
|
-
*
|
|
15208
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
15209
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
15210
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
15211
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14861
15212
|
*/
|
|
14862
15213
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14863
15214
|
/**
|
|
@@ -15249,7 +15600,80 @@ var NcRuleInputSchema = object({
|
|
|
15249
15600
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
15250
15601
|
* did, and absent is the only way to say that without a migration.
|
|
15251
15602
|
*/
|
|
15252
|
-
confirm: NcConfirmSchema.optional()
|
|
15603
|
+
confirm: NcConfirmSchema.optional(),
|
|
15604
|
+
/**
|
|
15605
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15606
|
+
*
|
|
15607
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15608
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15609
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15610
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15611
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15612
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15613
|
+
*
|
|
15614
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15615
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15616
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15617
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15618
|
+
*
|
|
15619
|
+
* | value | what happens |
|
|
15620
|
+
* | --- | --- |
|
|
15621
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15622
|
+
* | 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) |
|
|
15623
|
+
*
|
|
15624
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15625
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15626
|
+
* rule authored before this field meant.
|
|
15627
|
+
*
|
|
15628
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15629
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15630
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15631
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15632
|
+
*/
|
|
15633
|
+
waitForEnhancement: boolean().optional(),
|
|
15634
|
+
/**
|
|
15635
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15636
|
+
*
|
|
15637
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15638
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15639
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15640
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15641
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15642
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15643
|
+
*
|
|
15644
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15645
|
+
*
|
|
15646
|
+
* ### Why an idle cutoff and not a window
|
|
15647
|
+
*
|
|
15648
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15649
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15650
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15651
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15652
|
+
*
|
|
15653
|
+
* ### What it replaces
|
|
15654
|
+
*
|
|
15655
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15656
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15657
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15658
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15659
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15660
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15661
|
+
* throttled by the window its own first member spent.
|
|
15662
|
+
*
|
|
15663
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15664
|
+
*
|
|
15665
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15666
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15667
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15668
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15669
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15670
|
+
* path. Neither combination fires twice for one subject.
|
|
15671
|
+
*
|
|
15672
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15673
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15674
|
+
* field existed.
|
|
15675
|
+
*/
|
|
15676
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
15253
15677
|
});
|
|
15254
15678
|
/**
|
|
15255
15679
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15356,6 +15780,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
15356
15780
|
"occupancy",
|
|
15357
15781
|
"audio",
|
|
15358
15782
|
"deviceState",
|
|
15783
|
+
"scene",
|
|
15359
15784
|
"systemEvent"
|
|
15360
15785
|
]),
|
|
15361
15786
|
operator: _enum([
|
|
@@ -15761,7 +16186,87 @@ var MethodAccessSchema = _enum([
|
|
|
15761
16186
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15762
16187
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15763
16188
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15764
|
-
|
|
16189
|
+
/**
|
|
16190
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
16191
|
+
*
|
|
16192
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
16193
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
16194
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
16195
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
16196
|
+
*
|
|
16197
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
16198
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
16199
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
16200
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
16201
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
16202
|
+
* is NOT covered until the grant is edited.
|
|
16203
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
16204
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
16205
|
+
* re-resolves on the next request.
|
|
16206
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
16207
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
16208
|
+
* null/unset location matches NO `locations` selector.
|
|
16209
|
+
*/
|
|
16210
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
16211
|
+
object({ kind: literal("all") }),
|
|
16212
|
+
object({
|
|
16213
|
+
kind: literal("ids"),
|
|
16214
|
+
ids: array(number().int()).min(1)
|
|
16215
|
+
}),
|
|
16216
|
+
object({
|
|
16217
|
+
kind: literal("types"),
|
|
16218
|
+
types: array(_enum(DeviceType)).min(1)
|
|
16219
|
+
}),
|
|
16220
|
+
object({
|
|
16221
|
+
kind: literal("locations"),
|
|
16222
|
+
locations: array(string().min(1)).min(1)
|
|
16223
|
+
})
|
|
16224
|
+
]);
|
|
16225
|
+
var DeviceTokenScopeSchema = object({
|
|
16226
|
+
type: literal("device"),
|
|
16227
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
16228
|
+
selector: DeviceSelectorSchema,
|
|
16229
|
+
access: array(MethodAccessSchema).min(1),
|
|
16230
|
+
/**
|
|
16231
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
16232
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
16233
|
+
* Direction is parent → children ONLY.
|
|
16234
|
+
*
|
|
16235
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
16236
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
16237
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
16238
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
16239
|
+
* explicitly to override that default per grant.
|
|
16240
|
+
*/
|
|
16241
|
+
includeLinked: boolean().optional()
|
|
16242
|
+
});
|
|
16243
|
+
/**
|
|
16244
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
16245
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
16246
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
16247
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
16248
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
16249
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
16250
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
16251
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
16252
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
16253
|
+
*/
|
|
16254
|
+
function migrateLegacyTokenScope(raw) {
|
|
16255
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
16256
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
16257
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
16258
|
+
const targets = Reflect.get(raw, "targets");
|
|
16259
|
+
if (!Array.isArray(targets)) return raw;
|
|
16260
|
+
return {
|
|
16261
|
+
type: "device",
|
|
16262
|
+
selector: {
|
|
16263
|
+
kind: "ids",
|
|
16264
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
16265
|
+
},
|
|
16266
|
+
access: Reflect.get(raw, "access")
|
|
16267
|
+
};
|
|
16268
|
+
}
|
|
16269
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15765
16270
|
object({
|
|
15766
16271
|
type: literal("category"),
|
|
15767
16272
|
target: CapScopeSchema,
|
|
@@ -15777,18 +16282,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15777
16282
|
target: string(),
|
|
15778
16283
|
access: array(MethodAccessSchema).min(1)
|
|
15779
16284
|
}),
|
|
15780
|
-
|
|
15781
|
-
|
|
15782
|
-
/**
|
|
15783
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15784
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15785
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15786
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15787
|
-
*/
|
|
15788
|
-
targets: array(string()).min(1),
|
|
15789
|
-
access: array(MethodAccessSchema).min(1)
|
|
15790
|
-
})
|
|
15791
|
-
]);
|
|
16285
|
+
DeviceTokenScopeSchema
|
|
16286
|
+
]));
|
|
15792
16287
|
object({
|
|
15793
16288
|
id: string(),
|
|
15794
16289
|
username: string(),
|
|
@@ -16105,7 +16600,7 @@ var TrackEnvelopeSchema = object({
|
|
|
16105
16600
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
16106
16601
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
16107
16602
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
16108
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16603
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
16109
16604
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
16110
16605
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
16111
16606
|
* (`getObjectEvents` et al.).
|
|
@@ -16241,7 +16736,21 @@ union([literal(1), literal(2)]);
|
|
|
16241
16736
|
var LabelAttributionSchema = object({
|
|
16242
16737
|
stepId: string(),
|
|
16243
16738
|
modelId: string().optional(),
|
|
16244
|
-
decidedAt: number()
|
|
16739
|
+
decidedAt: number(),
|
|
16740
|
+
/**
|
|
16741
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16742
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16743
|
+
*
|
|
16744
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16745
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16746
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16747
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16748
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16749
|
+
*
|
|
16750
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16751
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16752
|
+
*/
|
|
16753
|
+
identityId: string().optional()
|
|
16245
16754
|
});
|
|
16246
16755
|
/**
|
|
16247
16756
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -16378,6 +16887,28 @@ var TrackSchema = object({
|
|
|
16378
16887
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
16379
16888
|
*/
|
|
16380
16889
|
hasFace: boolean().optional(),
|
|
16890
|
+
/**
|
|
16891
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16892
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16893
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16894
|
+
*
|
|
16895
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16896
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16897
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16898
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16899
|
+
* stop. This is the composition note that makes the row true.
|
|
16900
|
+
*
|
|
16901
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16902
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16903
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16904
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16905
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16906
|
+
*
|
|
16907
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16908
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16909
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16910
|
+
*/
|
|
16911
|
+
hasRider: boolean().optional(),
|
|
16381
16912
|
...TrackFlagFields,
|
|
16382
16913
|
...TrackRetrainFields
|
|
16383
16914
|
});
|
|
@@ -16727,7 +17258,10 @@ var RecentTracksQueryInput = object({
|
|
|
16727
17258
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16728
17259
|
cursor: string().optional(),
|
|
16729
17260
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16730
|
-
projection: TrackProjectionSchema.optional()
|
|
17261
|
+
projection: TrackProjectionSchema.optional(),
|
|
17262
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
17263
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
17264
|
+
includeStationary: boolean().optional()
|
|
16731
17265
|
});
|
|
16732
17266
|
var RecentTracksPageSchema = object({
|
|
16733
17267
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16945,7 +17479,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16945
17479
|
zone: TrackZoneFilterSchema.optional(),
|
|
16946
17480
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16947
17481
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16948
|
-
projection: TrackProjectionSchema.optional()
|
|
17482
|
+
projection: TrackProjectionSchema.optional(),
|
|
17483
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17484
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17485
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17486
|
+
includeStationary: boolean().optional()
|
|
16949
17487
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16950
17488
|
kind: "mutation",
|
|
16951
17489
|
auth: "admin"
|
|
@@ -17109,11 +17647,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17109
17647
|
auth: "admin"
|
|
17110
17648
|
}), method(object({
|
|
17111
17649
|
eventId: string(),
|
|
17112
|
-
kind: MediaFileKindEnum.optional()
|
|
17650
|
+
kind: MediaFileKindEnum.optional(),
|
|
17651
|
+
deviceId: number()
|
|
17652
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17653
|
+
trackId: string(),
|
|
17654
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17655
|
+
deviceId: number()
|
|
17113
17656
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
17114
17657
|
trackId: string(),
|
|
17115
|
-
|
|
17116
|
-
}), array(
|
|
17658
|
+
deviceId: number()
|
|
17659
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
17117
17660
|
kind: "mutation",
|
|
17118
17661
|
auth: "admin"
|
|
17119
17662
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17813,6 +18356,17 @@ var maxSessionHoldMsField = {
|
|
|
17813
18356
|
default: 12e4,
|
|
17814
18357
|
step: 5e3
|
|
17815
18358
|
};
|
|
18359
|
+
/**
|
|
18360
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
18361
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
18362
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
18363
|
+
*/
|
|
18364
|
+
var audioMotionWindowMsField = {
|
|
18365
|
+
min: 5e3,
|
|
18366
|
+
max: 6e5,
|
|
18367
|
+
default: 9e4,
|
|
18368
|
+
step: 5e3
|
|
18369
|
+
};
|
|
17816
18370
|
var motionFpsField = {
|
|
17817
18371
|
min: 1,
|
|
17818
18372
|
max: 30,
|
|
@@ -17844,7 +18398,7 @@ var detectionFpsField = {
|
|
|
17844
18398
|
var occupancyRecheckSecField = {
|
|
17845
18399
|
min: 0,
|
|
17846
18400
|
max: 300,
|
|
17847
|
-
default:
|
|
18401
|
+
default: 300,
|
|
17848
18402
|
step: 5
|
|
17849
18403
|
};
|
|
17850
18404
|
var occupancyRecheckFramesField = {
|
|
@@ -17989,6 +18543,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17989
18543
|
* resolved `CameraDetectionConfig`.
|
|
17990
18544
|
*/
|
|
17991
18545
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18546
|
+
/**
|
|
18547
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18548
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18549
|
+
*
|
|
18550
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18551
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18552
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18553
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18554
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18555
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18556
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18557
|
+
*
|
|
18558
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18559
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18560
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18561
|
+
*
|
|
18562
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18563
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18564
|
+
* `maxSessionHoldMs`.
|
|
18565
|
+
*/
|
|
18566
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17992
18567
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17993
18568
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17994
18569
|
motionStreamId: string(),
|
|
@@ -18084,7 +18659,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
18084
18659
|
*/
|
|
18085
18660
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
18086
18661
|
});
|
|
18087
|
-
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;
|
|
18662
|
+
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;
|
|
18088
18663
|
/**
|
|
18089
18664
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
18090
18665
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -19100,7 +19675,16 @@ targets: array(object({
|
|
|
19100
19675
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
19101
19676
|
* NOT refresh in the background. A surface should say so rather than
|
|
19102
19677
|
* present it as current. */
|
|
19103
|
-
sleeping: boolean()
|
|
19678
|
+
sleeping: boolean(),
|
|
19679
|
+
/** Current device state rendered over the cached frame. State images
|
|
19680
|
+
* remain authoritative even when their photographic background is
|
|
19681
|
+
* old; null means the link must carry a current camera frame. */
|
|
19682
|
+
stateReason: _enum([
|
|
19683
|
+
"disabled",
|
|
19684
|
+
"sleeping",
|
|
19685
|
+
"unreachable",
|
|
19686
|
+
"waking"
|
|
19687
|
+
]).nullable()
|
|
19104
19688
|
})));
|
|
19105
19689
|
/**
|
|
19106
19690
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20754,6 +21338,25 @@ var BatteryStatusSchema = object({
|
|
|
20754
21338
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20755
21339
|
lastUpdated: number(),
|
|
20756
21340
|
/**
|
|
21341
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
21342
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
21343
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
21344
|
+
*
|
|
21345
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
21346
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
21347
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
21348
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
21349
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
21350
|
+
*
|
|
21351
|
+
* It is deliberately NOT a clock in the
|
|
21352
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
21353
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
21354
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
21355
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
21356
|
+
* SQLite commit per round-trip.
|
|
21357
|
+
*/
|
|
21358
|
+
lastContactAt: number().optional(),
|
|
21359
|
+
/**
|
|
20757
21360
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20758
21361
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20759
21362
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23035,54 +23638,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
23035
23638
|
"g711ulaw",
|
|
23036
23639
|
"g711alaw"
|
|
23037
23640
|
]);
|
|
23038
|
-
|
|
23039
|
-
|
|
23040
|
-
|
|
23041
|
-
|
|
23042
|
-
|
|
23043
|
-
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
|
|
23051
|
-
}),
|
|
23052
|
-
|
|
23053
|
-
|
|
23054
|
-
}),
|
|
23055
|
-
|
|
23056
|
-
|
|
23057
|
-
}),
|
|
23058
|
-
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
|
|
23070
|
-
|
|
23071
|
-
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
|
|
23075
|
-
|
|
23076
|
-
|
|
23077
|
-
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
|
|
23641
|
+
var intercomCapability = {
|
|
23642
|
+
name: "intercom",
|
|
23643
|
+
scope: "device",
|
|
23644
|
+
deviceNative: true,
|
|
23645
|
+
mode: "singleton",
|
|
23646
|
+
deviceTypes: [DeviceType.Camera],
|
|
23647
|
+
methods: {
|
|
23648
|
+
/**
|
|
23649
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
23650
|
+
* offer with a single sendonly audio m-line the client answers
|
|
23651
|
+
* (client → server direction). The server wakes battery cams
|
|
23652
|
+
* transparently before opening the upstream talk channel.
|
|
23653
|
+
*/
|
|
23654
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
23655
|
+
sessionId: string(),
|
|
23656
|
+
sdpOffer: string()
|
|
23657
|
+
}), {
|
|
23658
|
+
kind: "mutation",
|
|
23659
|
+
auth: "admin"
|
|
23660
|
+
}),
|
|
23661
|
+
handleAnswer: method(object({
|
|
23662
|
+
deviceId: number(),
|
|
23663
|
+
sessionId: string(),
|
|
23664
|
+
sdpAnswer: string()
|
|
23665
|
+
}), _void(), {
|
|
23666
|
+
kind: "mutation",
|
|
23667
|
+
auth: "admin"
|
|
23668
|
+
}),
|
|
23669
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
23670
|
+
stopSession: method(object({
|
|
23671
|
+
deviceId: number(),
|
|
23672
|
+
sessionId: string()
|
|
23673
|
+
}), _void(), {
|
|
23674
|
+
kind: "mutation",
|
|
23675
|
+
auth: "admin"
|
|
23676
|
+
}),
|
|
23677
|
+
/**
|
|
23678
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
23679
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
23680
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
23681
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
23682
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
23683
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
23684
|
+
* vice versa).
|
|
23685
|
+
*/
|
|
23686
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23687
|
+
kind: "mutation",
|
|
23688
|
+
auth: "admin"
|
|
23689
|
+
}),
|
|
23690
|
+
/**
|
|
23691
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
23692
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
23693
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
23694
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
23695
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
23696
|
+
*
|
|
23697
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
23698
|
+
* rate — that information lives entirely inside the provider.
|
|
23699
|
+
*
|
|
23700
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
23701
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
23702
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
23703
|
+
* predictor would corrupt with re-ordering).
|
|
23704
|
+
*/
|
|
23705
|
+
pushTalkAudio: method(object({
|
|
23706
|
+
deviceId: number(),
|
|
23707
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
23708
|
+
* survives tRPC JSON serialization. */
|
|
23709
|
+
audioBase64: string(),
|
|
23710
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
23711
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
23712
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
23713
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
23714
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
23715
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
23716
|
+
sampleRate: number().int().positive().optional(),
|
|
23717
|
+
/** Channel count. Default 1. */
|
|
23718
|
+
channels: number().int().positive().optional(),
|
|
23719
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
23720
|
+
sequenceNumber: number().int()
|
|
23721
|
+
}), object({ accepted: boolean() }), {
|
|
23722
|
+
kind: "mutation",
|
|
23723
|
+
auth: "admin"
|
|
23724
|
+
}),
|
|
23725
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
23726
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
23727
|
+
kind: "mutation",
|
|
23728
|
+
auth: "admin"
|
|
23729
|
+
})
|
|
23730
|
+
},
|
|
23731
|
+
events: { onStatusChanged: { data: object({
|
|
23732
|
+
deviceId: number(),
|
|
23733
|
+
status: IntercomStatusSchema
|
|
23734
|
+
}) } },
|
|
23735
|
+
status: {
|
|
23736
|
+
schema: IntercomStatusSchema,
|
|
23737
|
+
kind: "command-driven"
|
|
23738
|
+
},
|
|
23739
|
+
/**
|
|
23740
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
23741
|
+
*
|
|
23742
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
23743
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
23744
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
23745
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
23746
|
+
* have been published and never received a value, which is the defect the
|
|
23747
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
23748
|
+
* `intercom` was excluded rather than exported.
|
|
23749
|
+
*
|
|
23750
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
23751
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
23752
|
+
* come to disagree. Providers write it through
|
|
23753
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
23754
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
23755
|
+
* the first session rather than after it.
|
|
23756
|
+
*
|
|
23757
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
23758
|
+
* session handle, so a session torn down by a transport death that never
|
|
23759
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
23760
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
23761
|
+
* `restored` — a restart must never restore "talking".
|
|
23762
|
+
*/
|
|
23763
|
+
runtimeState: IntercomStatusSchema,
|
|
23764
|
+
/**
|
|
23765
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
23766
|
+
* session, which by definition does not survive the process that held it.
|
|
23767
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
23768
|
+
*
|
|
23769
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
23770
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
23771
|
+
*/
|
|
23772
|
+
durability: "session"
|
|
23773
|
+
};
|
|
23086
23774
|
/**
|
|
23087
23775
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
23088
23776
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -25779,7 +26467,7 @@ method(object({
|
|
|
25779
26467
|
toMs: number()
|
|
25780
26468
|
}), RecordingAvailabilitySchema, {
|
|
25781
26469
|
kind: "query",
|
|
25782
|
-
auth: "
|
|
26470
|
+
auth: "protected"
|
|
25783
26471
|
}), method(object({
|
|
25784
26472
|
deviceId: number(),
|
|
25785
26473
|
fromMs: number(),
|
|
@@ -25787,14 +26475,14 @@ method(object({
|
|
|
25787
26475
|
tzOffsetMinutes: number()
|
|
25788
26476
|
}), RecordingDaysSchema, {
|
|
25789
26477
|
kind: "query",
|
|
25790
|
-
auth: "
|
|
26478
|
+
auth: "protected"
|
|
25791
26479
|
}), method(object({
|
|
25792
26480
|
deviceId: number(),
|
|
25793
26481
|
fromMs: number(),
|
|
25794
26482
|
toMs: number()
|
|
25795
26483
|
}), RecordingManifestSchema, {
|
|
25796
26484
|
kind: "query",
|
|
25797
|
-
auth: "
|
|
26485
|
+
auth: "protected"
|
|
25798
26486
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
25799
26487
|
kind: "query",
|
|
25800
26488
|
auth: "admin"
|
|
@@ -26084,14 +26772,77 @@ method(object({
|
|
|
26084
26772
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
26085
26773
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
26086
26774
|
*
|
|
26087
|
-
*
|
|
26088
|
-
*
|
|
26089
|
-
*
|
|
26090
|
-
*
|
|
26775
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
26776
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
26777
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
26778
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
26779
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
26780
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
26781
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
26782
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
26783
|
+
*
|
|
26784
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
26785
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
26786
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
26787
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
26788
|
+
*
|
|
26789
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
26790
|
+
* availability change; consumers never poll.
|
|
26091
26791
|
*/
|
|
26092
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
26093
|
-
*
|
|
26792
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
26793
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
26794
|
+
* Open by design so more can be added without a wire break.
|
|
26795
|
+
*
|
|
26796
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
26797
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
26798
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
26799
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
26094
26800
|
var SceneConditionSchema = string();
|
|
26801
|
+
/**
|
|
26802
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
26803
|
+
*
|
|
26804
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
26805
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
26806
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
26807
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
26808
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
26809
|
+
* working without it rather than degrading into a permanent complaint.
|
|
26810
|
+
*
|
|
26811
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
26812
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
26813
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
26814
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
26815
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
26816
|
+
* configuration choice instead of a nightly fault.
|
|
26817
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
26818
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
26819
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
26820
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
26821
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
26822
|
+
*
|
|
26823
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
26824
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
26825
|
+
* there would hide a scene the operator never finished setting up.
|
|
26826
|
+
*/
|
|
26827
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
26828
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
26829
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
26830
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
26831
|
+
* and never counts toward hysteresis in either direction. */
|
|
26832
|
+
var SceneVerdictSchema = _enum([
|
|
26833
|
+
"matched",
|
|
26834
|
+
"diverged",
|
|
26835
|
+
"unknown"
|
|
26836
|
+
]);
|
|
26837
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
26838
|
+
* silence that reads as "nothing has happened". */
|
|
26839
|
+
var SceneUnavailableSchema = _enum([
|
|
26840
|
+
"no-reference-for-condition",
|
|
26841
|
+
"view-shifted",
|
|
26842
|
+
"no-vision-profile",
|
|
26843
|
+
"encoder-model-changed",
|
|
26844
|
+
"no-snapshot"
|
|
26845
|
+
]);
|
|
26095
26846
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
26096
26847
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
26097
26848
|
var SceneReferenceSchema = object({
|
|
@@ -26099,7 +26850,14 @@ var SceneReferenceSchema = object({
|
|
|
26099
26850
|
modelId: string(),
|
|
26100
26851
|
condition: SceneConditionSchema,
|
|
26101
26852
|
capturedAt: number(),
|
|
26102
|
-
thumbnailMediaId: string().optional()
|
|
26853
|
+
thumbnailMediaId: string().optional(),
|
|
26854
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
26855
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
26856
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
26857
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
26858
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
26859
|
+
* transition, not per poll. */
|
|
26860
|
+
anchorEmbedding: array(number()).optional()
|
|
26103
26861
|
});
|
|
26104
26862
|
var SceneMonitorStateSchema = object({
|
|
26105
26863
|
id: string(),
|
|
@@ -26121,6 +26879,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
26121
26879
|
profileId: string().optional(),
|
|
26122
26880
|
hysteresisCount: number().int().positive()
|
|
26123
26881
|
})]);
|
|
26882
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
26883
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
26884
|
+
* out in silence rather than reporting a fault every night. */
|
|
26885
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
26886
|
+
/**
|
|
26887
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
26888
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
26889
|
+
*
|
|
26890
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
26891
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
26892
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
26893
|
+
* stateful claim that costs the operator a trip to reset.
|
|
26894
|
+
*/
|
|
26895
|
+
var SceneConfirmSchema = object({
|
|
26896
|
+
enabled: boolean().default(false),
|
|
26897
|
+
prompt: string().min(1).max(1e3),
|
|
26898
|
+
profileId: string().optional(),
|
|
26899
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
26900
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
26901
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
26902
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
26903
|
+
});
|
|
26124
26904
|
var SceneMonitorSchema = object({
|
|
26125
26905
|
id: string(),
|
|
26126
26906
|
label: string(),
|
|
@@ -26139,7 +26919,56 @@ var SceneMonitorSchema = object({
|
|
|
26139
26919
|
lastConfidence: number().nullable(),
|
|
26140
26920
|
currentCondition: SceneConditionSchema.nullable(),
|
|
26141
26921
|
availability: _enum(["ok", "unavailable"]),
|
|
26142
|
-
unavailableReason: string().nullable()
|
|
26922
|
+
unavailableReason: string().nullable(),
|
|
26923
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
26924
|
+
baselineStateId: string().nullable(),
|
|
26925
|
+
/** Which boolean drives notification rules and any export. */
|
|
26926
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
26927
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
26928
|
+
verdict: SceneVerdictSchema,
|
|
26929
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
26930
|
+
latched: boolean(),
|
|
26931
|
+
/** Last reset (or creation). */
|
|
26932
|
+
armedAt: number(),
|
|
26933
|
+
divergedAt: number().nullable(),
|
|
26934
|
+
restoredAt: number().nullable(),
|
|
26935
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
26936
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
26937
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
26938
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
26939
|
+
/** An observation only advances the pending count when it is at least this
|
|
26940
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
26941
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
26942
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
26943
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
26944
|
+
confirm: SceneConfirmSchema.optional(),
|
|
26945
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
26946
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
26947
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
26948
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
26949
|
+
* automation can react to the bin coming back without the operator's own
|
|
26950
|
+
* alarm silently clearing itself. */
|
|
26951
|
+
autoRestore: boolean().default(false),
|
|
26952
|
+
/** What to do when the current light has no reference of its own. See
|
|
26953
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
26954
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
26955
|
+
/**
|
|
26956
|
+
* The light whose checks are currently being SAT OUT under
|
|
26957
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
26958
|
+
*
|
|
26959
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
26960
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
26961
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
26962
|
+
* line, because the alternative is a scene that silently stops answering
|
|
26963
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
26964
|
+
* read as a broken one.
|
|
26965
|
+
*/
|
|
26966
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
26967
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
26968
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
26969
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
26970
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
26971
|
+
coveredConditions: array(SceneConditionSchema)
|
|
26143
26972
|
});
|
|
26144
26973
|
var SceneMonitorStatusSchema = object({
|
|
26145
26974
|
monitors: array(SceneMonitorSchema),
|
|
@@ -26152,12 +26981,6 @@ var sceneMonitorCapability = {
|
|
|
26152
26981
|
kind: "wrapper",
|
|
26153
26982
|
defaultActive: true,
|
|
26154
26983
|
deviceTypes: [DeviceType.Camera],
|
|
26155
|
-
deviceConfig: { ui: {
|
|
26156
|
-
kind: "widget",
|
|
26157
|
-
widgetId: "host/scene-monitor-editor",
|
|
26158
|
-
tab: "scenes",
|
|
26159
|
-
label: "Scenes"
|
|
26160
|
-
} },
|
|
26161
26984
|
methods: {
|
|
26162
26985
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
26163
26986
|
createScene: method(object({
|
|
@@ -26188,7 +27011,15 @@ var sceneMonitorCapability = {
|
|
|
26188
27011
|
"both"
|
|
26189
27012
|
]).optional(),
|
|
26190
27013
|
checkIntervalSec: number().optional(),
|
|
26191
|
-
check: SceneCheckSchema.optional()
|
|
27014
|
+
check: SceneCheckSchema.optional(),
|
|
27015
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
27016
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
27017
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
27018
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
27019
|
+
autoRestore: boolean().optional(),
|
|
27020
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
27021
|
+
/** `null` clears the vision-model adjudicator. */
|
|
27022
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
26192
27023
|
})
|
|
26193
27024
|
}), _void(), {
|
|
26194
27025
|
kind: "mutation",
|
|
@@ -26229,6 +27060,26 @@ var sceneMonitorCapability = {
|
|
|
26229
27060
|
}), _void(), {
|
|
26230
27061
|
kind: "mutation",
|
|
26231
27062
|
auth: "admin"
|
|
27063
|
+
}),
|
|
27064
|
+
/**
|
|
27065
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
27066
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
27067
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
27068
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
27069
|
+
* instead of failing silently weeks later.
|
|
27070
|
+
*
|
|
27071
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
27072
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
27073
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
27074
|
+
*/
|
|
27075
|
+
resetScene: method(object({
|
|
27076
|
+
deviceId: number(),
|
|
27077
|
+
monitorId: string(),
|
|
27078
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
27079
|
+
recapture: boolean().optional()
|
|
27080
|
+
}), _void(), {
|
|
27081
|
+
kind: "mutation",
|
|
27082
|
+
auth: "admin"
|
|
26232
27083
|
})
|
|
26233
27084
|
},
|
|
26234
27085
|
status: {
|
|
@@ -26465,7 +27316,70 @@ var CamStreamDescriptorSchema = object({
|
|
|
26465
27316
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
26466
27317
|
metadata: record(string(), unknown()).optional()
|
|
26467
27318
|
});
|
|
26468
|
-
|
|
27319
|
+
/**
|
|
27320
|
+
* `stream-catalog` — device-scoped, provider-implemented. The pull counterpart
|
|
27321
|
+
* of the removed `publishCameraStream` push: a camera provider returns the full
|
|
27322
|
+
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
27323
|
+
* broker can reconcile its registry against the authoritative provider state.
|
|
27324
|
+
*/
|
|
27325
|
+
/**
|
|
27326
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
27327
|
+
*
|
|
27328
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
27329
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
27330
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
27331
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
27332
|
+
* every later pull from a cache.
|
|
27333
|
+
*
|
|
27334
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
27335
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
27336
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
27337
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
27338
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
27339
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
27340
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
27341
|
+
*
|
|
27342
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
27343
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
27344
|
+
* the same reason: the last known value is the only value there is while the
|
|
27345
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
27346
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
27347
|
+
*/
|
|
27348
|
+
var StreamCatalogStateSchema = object({
|
|
27349
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
27350
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
27351
|
+
* one the camera itself once produced. */
|
|
27352
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
27353
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
27354
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
27355
|
+
* re-read. */
|
|
27356
|
+
lastFetchedAt: number()
|
|
27357
|
+
});
|
|
27358
|
+
var streamCatalogCapability = {
|
|
27359
|
+
name: "stream-catalog",
|
|
27360
|
+
scope: "device",
|
|
27361
|
+
deviceNative: true,
|
|
27362
|
+
mode: "singleton",
|
|
27363
|
+
deviceTypes: [DeviceType.Camera],
|
|
27364
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
27365
|
+
runtimeState: StreamCatalogStateSchema,
|
|
27366
|
+
/**
|
|
27367
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
27368
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
27369
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
27370
|
+
*
|
|
27371
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
27372
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
27373
|
+
* a day old and the camera is awake anyway).
|
|
27374
|
+
*
|
|
27375
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27376
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27377
|
+
*/
|
|
27378
|
+
durability: "restored",
|
|
27379
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
27380
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
27381
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
27382
|
+
};
|
|
26469
27383
|
/** One of the camera's stream profiles. */
|
|
26470
27384
|
var StreamProfileSchema = _enum([
|
|
26471
27385
|
"main",
|
|
@@ -26719,12 +27633,64 @@ var NetworkAddressSchema = object({
|
|
|
26719
27633
|
family: string(),
|
|
26720
27634
|
internal: boolean()
|
|
26721
27635
|
});
|
|
27636
|
+
/**
|
|
27637
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
27638
|
+
* numbers.
|
|
27639
|
+
*
|
|
27640
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
27641
|
+
* nothing overwrites it.
|
|
27642
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
27643
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
27644
|
+
* the sun-times consumers otherwise fall back to.
|
|
27645
|
+
*
|
|
27646
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
27647
|
+
* own input will eventually trust the guess.
|
|
27648
|
+
*/
|
|
27649
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
27650
|
+
/**
|
|
27651
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
27652
|
+
*
|
|
27653
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
27654
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
27655
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
27656
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
27657
|
+
* coordinates or presses detect.
|
|
27658
|
+
*/
|
|
27659
|
+
var SiteLocationStatusSchema = object({
|
|
27660
|
+
location: object({
|
|
27661
|
+
/** WGS84 decimal degrees. */
|
|
27662
|
+
latitude: number().min(-90).max(90),
|
|
27663
|
+
longitude: number().min(-180).max(180),
|
|
27664
|
+
source: SiteLocationSourceSchema,
|
|
27665
|
+
/** Epoch ms the value was last written. */
|
|
27666
|
+
updatedAt: number(),
|
|
27667
|
+
/**
|
|
27668
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
27669
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
27670
|
+
*/
|
|
27671
|
+
label: string().optional()
|
|
27672
|
+
}).nullable(),
|
|
27673
|
+
derivationAttemptedAt: number().nullable(),
|
|
27674
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
27675
|
+
derivationError: string().nullable()
|
|
27676
|
+
});
|
|
27677
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
27678
|
+
var SetSiteLocationInputSchema = object({
|
|
27679
|
+
latitude: number().min(-90).max(90),
|
|
27680
|
+
longitude: number().min(-180).max(180)
|
|
27681
|
+
}).nullable();
|
|
26722
27682
|
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(), {
|
|
26723
27683
|
kind: "mutation",
|
|
26724
27684
|
auth: "admin"
|
|
26725
27685
|
}), method(_void(), _void(), {
|
|
26726
27686
|
kind: "mutation",
|
|
26727
27687
|
auth: "admin"
|
|
27688
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
27689
|
+
kind: "mutation",
|
|
27690
|
+
auth: "admin"
|
|
27691
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
27692
|
+
kind: "mutation",
|
|
27693
|
+
auth: "admin"
|
|
26728
27694
|
});
|
|
26729
27695
|
/**
|
|
26730
27696
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -28044,6 +29010,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28044
29010
|
humiditySensor: humiditySensorCapability,
|
|
28045
29011
|
image: imageCapability,
|
|
28046
29012
|
imageSettings: imageSettingsCapability,
|
|
29013
|
+
intercom: intercomCapability,
|
|
28047
29014
|
lawnMowerControl: lawnMowerControlCapability,
|
|
28048
29015
|
lockControl: lockControlCapability,
|
|
28049
29016
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -28062,6 +29029,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28062
29029
|
sceneMonitor: sceneMonitorCapability,
|
|
28063
29030
|
scriptRunner: scriptRunnerCapability,
|
|
28064
29031
|
smoke: smokeCapability,
|
|
29032
|
+
streamCatalog: streamCatalogCapability,
|
|
28065
29033
|
streamParams: streamParamsCapability,
|
|
28066
29034
|
switch: switchCapability,
|
|
28067
29035
|
tamper: tamperCapability,
|
|
@@ -28715,6 +29683,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28715
29683
|
labels: ["probe not implemented"]
|
|
28716
29684
|
};
|
|
28717
29685
|
}
|
|
29686
|
+
/**
|
|
29687
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
29688
|
+
*
|
|
29689
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
29690
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
29691
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
29692
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
29693
|
+
*/
|
|
29694
|
+
restoreConcurrency = 4;
|
|
28718
29695
|
async restoreDevices(savedDevices) {
|
|
28719
29696
|
await this.onRestoreDevices(savedDevices);
|
|
28720
29697
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -28746,15 +29723,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28746
29723
|
*/
|
|
28747
29724
|
async onRestoreDevices(savedDevices) {
|
|
28748
29725
|
const restored = /* @__PURE__ */ new Set();
|
|
28749
|
-
|
|
28750
|
-
|
|
29726
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
29727
|
+
const restoreOne = async (saved) => {
|
|
28751
29728
|
const Class = this.deviceClasses[saved.type];
|
|
28752
29729
|
if (!Class) {
|
|
28753
29730
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
28754
29731
|
tags: { stableId: saved.stableId },
|
|
28755
29732
|
meta: { type: saved.type }
|
|
28756
29733
|
});
|
|
28757
|
-
|
|
29734
|
+
return;
|
|
28758
29735
|
}
|
|
28759
29736
|
try {
|
|
28760
29737
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -28768,7 +29745,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28768
29745
|
}
|
|
28769
29746
|
});
|
|
28770
29747
|
}
|
|
28771
|
-
}
|
|
29748
|
+
};
|
|
29749
|
+
let nextTopLevel = 0;
|
|
29750
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
29751
|
+
for (;;) {
|
|
29752
|
+
const saved = topLevel[nextTopLevel++];
|
|
29753
|
+
if (saved === void 0) return;
|
|
29754
|
+
await restoreOne(saved);
|
|
29755
|
+
}
|
|
29756
|
+
}));
|
|
28772
29757
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
28773
29758
|
for (const saved of childRows) {
|
|
28774
29759
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -30859,6 +31844,12 @@ Object.freeze({
|
|
|
30859
31844
|
addonId: null,
|
|
30860
31845
|
access: "create"
|
|
30861
31846
|
},
|
|
31847
|
+
"llm.cancel": {
|
|
31848
|
+
capName: "llm",
|
|
31849
|
+
capScope: "system",
|
|
31850
|
+
addonId: null,
|
|
31851
|
+
access: "create"
|
|
31852
|
+
},
|
|
30862
31853
|
"llm.deleteModel": {
|
|
30863
31854
|
capName: "llm",
|
|
30864
31855
|
capScope: "system",
|
|
@@ -30943,6 +31934,12 @@ Object.freeze({
|
|
|
30943
31934
|
addonId: null,
|
|
30944
31935
|
access: "view"
|
|
30945
31936
|
},
|
|
31937
|
+
"llm.resolveModelRef": {
|
|
31938
|
+
capName: "llm",
|
|
31939
|
+
capScope: "system",
|
|
31940
|
+
addonId: null,
|
|
31941
|
+
access: "create"
|
|
31942
|
+
},
|
|
30946
31943
|
"llm.setDefault": {
|
|
30947
31944
|
capName: "llm",
|
|
30948
31945
|
capScope: "system",
|
|
@@ -33109,6 +34106,12 @@ Object.freeze({
|
|
|
33109
34106
|
addonId: null,
|
|
33110
34107
|
access: "create"
|
|
33111
34108
|
},
|
|
34109
|
+
"sceneMonitor.resetScene": {
|
|
34110
|
+
capName: "scene-monitor",
|
|
34111
|
+
capScope: "device",
|
|
34112
|
+
addonId: null,
|
|
34113
|
+
access: "delete"
|
|
34114
|
+
},
|
|
33112
34115
|
"sceneMonitor.updateScene": {
|
|
33113
34116
|
capName: "scene-monitor",
|
|
33114
34117
|
capScope: "device",
|
|
@@ -33787,6 +34790,12 @@ Object.freeze({
|
|
|
33787
34790
|
addonId: null,
|
|
33788
34791
|
access: "create"
|
|
33789
34792
|
},
|
|
34793
|
+
"system.detectSiteLocation": {
|
|
34794
|
+
capName: "system",
|
|
34795
|
+
capScope: "system",
|
|
34796
|
+
addonId: null,
|
|
34797
|
+
access: "create"
|
|
34798
|
+
},
|
|
33790
34799
|
"system.featureFlags": {
|
|
33791
34800
|
capName: "system",
|
|
33792
34801
|
capScope: "system",
|
|
@@ -33805,6 +34814,12 @@ Object.freeze({
|
|
|
33805
34814
|
addonId: null,
|
|
33806
34815
|
access: "view"
|
|
33807
34816
|
},
|
|
34817
|
+
"system.getSiteLocation": {
|
|
34818
|
+
capName: "system",
|
|
34819
|
+
capScope: "system",
|
|
34820
|
+
addonId: null,
|
|
34821
|
+
access: "view"
|
|
34822
|
+
},
|
|
33808
34823
|
"system.health": {
|
|
33809
34824
|
capName: "system",
|
|
33810
34825
|
capScope: "system",
|
|
@@ -33829,6 +34844,12 @@ Object.freeze({
|
|
|
33829
34844
|
addonId: null,
|
|
33830
34845
|
access: "create"
|
|
33831
34846
|
},
|
|
34847
|
+
"system.setSiteLocation": {
|
|
34848
|
+
capName: "system",
|
|
34849
|
+
capScope: "system",
|
|
34850
|
+
addonId: null,
|
|
34851
|
+
access: "create"
|
|
34852
|
+
},
|
|
33832
34853
|
"terminalSession.adoptLegacyMonitor": {
|
|
33833
34854
|
capName: "terminal-session",
|
|
33834
34855
|
capScope: "system",
|
|
@@ -34400,6 +35421,1704 @@ Object.freeze({
|
|
|
34400
35421
|
access: "create"
|
|
34401
35422
|
}
|
|
34402
35423
|
});
|
|
35424
|
+
Object.freeze({
|
|
35425
|
+
"accessories.setChildHidden": [{
|
|
35426
|
+
name: "childDeviceId",
|
|
35427
|
+
form: "single",
|
|
35428
|
+
optional: false
|
|
35429
|
+
}, {
|
|
35430
|
+
name: "deviceId",
|
|
35431
|
+
form: "single",
|
|
35432
|
+
optional: false
|
|
35433
|
+
}],
|
|
35434
|
+
"addonSettings.getDeviceSettings": [{
|
|
35435
|
+
name: "deviceId",
|
|
35436
|
+
form: "single",
|
|
35437
|
+
optional: false
|
|
35438
|
+
}],
|
|
35439
|
+
"addonSettings.updateDeviceSettings": [{
|
|
35440
|
+
name: "deviceId",
|
|
35441
|
+
form: "single",
|
|
35442
|
+
optional: false
|
|
35443
|
+
}],
|
|
35444
|
+
"alarmPanel.arm": [{
|
|
35445
|
+
name: "deviceId",
|
|
35446
|
+
form: "single",
|
|
35447
|
+
optional: false
|
|
35448
|
+
}],
|
|
35449
|
+
"alarmPanel.disarm": [{
|
|
35450
|
+
name: "deviceId",
|
|
35451
|
+
form: "single",
|
|
35452
|
+
optional: false
|
|
35453
|
+
}],
|
|
35454
|
+
"alarmPanel.trigger": [{
|
|
35455
|
+
name: "deviceId",
|
|
35456
|
+
form: "single",
|
|
35457
|
+
optional: false
|
|
35458
|
+
}],
|
|
35459
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
35460
|
+
name: "deviceId",
|
|
35461
|
+
form: "single",
|
|
35462
|
+
optional: false
|
|
35463
|
+
}],
|
|
35464
|
+
"audioAnalyzer.classify": [{
|
|
35465
|
+
name: "deviceId",
|
|
35466
|
+
form: "single",
|
|
35467
|
+
optional: true
|
|
35468
|
+
}],
|
|
35469
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
35470
|
+
name: "deviceId",
|
|
35471
|
+
form: "single",
|
|
35472
|
+
optional: false
|
|
35473
|
+
}],
|
|
35474
|
+
"audioMetrics.getHistory": [{
|
|
35475
|
+
name: "deviceId",
|
|
35476
|
+
form: "single",
|
|
35477
|
+
optional: false
|
|
35478
|
+
}],
|
|
35479
|
+
"automationControl.disable": [{
|
|
35480
|
+
name: "deviceId",
|
|
35481
|
+
form: "single",
|
|
35482
|
+
optional: false
|
|
35483
|
+
}],
|
|
35484
|
+
"automationControl.enable": [{
|
|
35485
|
+
name: "deviceId",
|
|
35486
|
+
form: "single",
|
|
35487
|
+
optional: false
|
|
35488
|
+
}],
|
|
35489
|
+
"automationControl.trigger": [{
|
|
35490
|
+
name: "deviceId",
|
|
35491
|
+
form: "single",
|
|
35492
|
+
optional: false
|
|
35493
|
+
}],
|
|
35494
|
+
"battery.wakeForStream": [{
|
|
35495
|
+
name: "deviceId",
|
|
35496
|
+
form: "single",
|
|
35497
|
+
optional: false
|
|
35498
|
+
}],
|
|
35499
|
+
"brightness.setBrightness": [{
|
|
35500
|
+
name: "deviceId",
|
|
35501
|
+
form: "single",
|
|
35502
|
+
optional: false
|
|
35503
|
+
}],
|
|
35504
|
+
"button.press": [{
|
|
35505
|
+
name: "deviceId",
|
|
35506
|
+
form: "single",
|
|
35507
|
+
optional: false
|
|
35508
|
+
}],
|
|
35509
|
+
"cameraCredentials.getCredentials": [{
|
|
35510
|
+
name: "deviceId",
|
|
35511
|
+
form: "single",
|
|
35512
|
+
optional: false
|
|
35513
|
+
}],
|
|
35514
|
+
"cameraStreams.getBrokerStreams": [{
|
|
35515
|
+
name: "deviceId",
|
|
35516
|
+
form: "single",
|
|
35517
|
+
optional: false
|
|
35518
|
+
}],
|
|
35519
|
+
"cameraStreams.getCameraStreams": [{
|
|
35520
|
+
name: "deviceId",
|
|
35521
|
+
form: "single",
|
|
35522
|
+
optional: false
|
|
35523
|
+
}],
|
|
35524
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
35525
|
+
name: "deviceId",
|
|
35526
|
+
form: "single",
|
|
35527
|
+
optional: false
|
|
35528
|
+
}],
|
|
35529
|
+
"cameraStreams.getRtspEntries": [{
|
|
35530
|
+
name: "deviceId",
|
|
35531
|
+
form: "single",
|
|
35532
|
+
optional: false
|
|
35533
|
+
}],
|
|
35534
|
+
"cameraStreams.pickStream": [{
|
|
35535
|
+
name: "deviceId",
|
|
35536
|
+
form: "single",
|
|
35537
|
+
optional: false
|
|
35538
|
+
}],
|
|
35539
|
+
"climateControl.setFanMode": [{
|
|
35540
|
+
name: "deviceId",
|
|
35541
|
+
form: "single",
|
|
35542
|
+
optional: false
|
|
35543
|
+
}],
|
|
35544
|
+
"climateControl.setMode": [{
|
|
35545
|
+
name: "deviceId",
|
|
35546
|
+
form: "single",
|
|
35547
|
+
optional: false
|
|
35548
|
+
}],
|
|
35549
|
+
"climateControl.setPreset": [{
|
|
35550
|
+
name: "deviceId",
|
|
35551
|
+
form: "single",
|
|
35552
|
+
optional: false
|
|
35553
|
+
}],
|
|
35554
|
+
"climateControl.setSwingHorizontal": [{
|
|
35555
|
+
name: "deviceId",
|
|
35556
|
+
form: "single",
|
|
35557
|
+
optional: false
|
|
35558
|
+
}],
|
|
35559
|
+
"climateControl.setSwingVertical": [{
|
|
35560
|
+
name: "deviceId",
|
|
35561
|
+
form: "single",
|
|
35562
|
+
optional: false
|
|
35563
|
+
}],
|
|
35564
|
+
"climateControl.setTarget": [{
|
|
35565
|
+
name: "deviceId",
|
|
35566
|
+
form: "single",
|
|
35567
|
+
optional: false
|
|
35568
|
+
}],
|
|
35569
|
+
"climateControl.setTargetHumidity": [{
|
|
35570
|
+
name: "deviceId",
|
|
35571
|
+
form: "single",
|
|
35572
|
+
optional: false
|
|
35573
|
+
}],
|
|
35574
|
+
"climateControl.setTargetRange": [{
|
|
35575
|
+
name: "deviceId",
|
|
35576
|
+
form: "single",
|
|
35577
|
+
optional: false
|
|
35578
|
+
}],
|
|
35579
|
+
"color.setColor": [{
|
|
35580
|
+
name: "deviceId",
|
|
35581
|
+
form: "single",
|
|
35582
|
+
optional: false
|
|
35583
|
+
}],
|
|
35584
|
+
"consumables.reset": [{
|
|
35585
|
+
name: "deviceId",
|
|
35586
|
+
form: "single",
|
|
35587
|
+
optional: false
|
|
35588
|
+
}],
|
|
35589
|
+
"control.setValue": [{
|
|
35590
|
+
name: "deviceId",
|
|
35591
|
+
form: "single",
|
|
35592
|
+
optional: false
|
|
35593
|
+
}],
|
|
35594
|
+
"cover.close": [{
|
|
35595
|
+
name: "deviceId",
|
|
35596
|
+
form: "single",
|
|
35597
|
+
optional: false
|
|
35598
|
+
}],
|
|
35599
|
+
"cover.open": [{
|
|
35600
|
+
name: "deviceId",
|
|
35601
|
+
form: "single",
|
|
35602
|
+
optional: false
|
|
35603
|
+
}],
|
|
35604
|
+
"cover.setPosition": [{
|
|
35605
|
+
name: "deviceId",
|
|
35606
|
+
form: "single",
|
|
35607
|
+
optional: false
|
|
35608
|
+
}],
|
|
35609
|
+
"cover.setTiltPosition": [{
|
|
35610
|
+
name: "deviceId",
|
|
35611
|
+
form: "single",
|
|
35612
|
+
optional: false
|
|
35613
|
+
}],
|
|
35614
|
+
"cover.stop": [{
|
|
35615
|
+
name: "deviceId",
|
|
35616
|
+
form: "single",
|
|
35617
|
+
optional: false
|
|
35618
|
+
}],
|
|
35619
|
+
"dayNight.getOptions": [{
|
|
35620
|
+
name: "deviceId",
|
|
35621
|
+
form: "single",
|
|
35622
|
+
optional: false
|
|
35623
|
+
}],
|
|
35624
|
+
"dayNight.setSettings": [{
|
|
35625
|
+
name: "deviceId",
|
|
35626
|
+
form: "single",
|
|
35627
|
+
optional: false
|
|
35628
|
+
}],
|
|
35629
|
+
"decoder.createSession": [{
|
|
35630
|
+
name: "deviceId",
|
|
35631
|
+
form: "single",
|
|
35632
|
+
optional: true
|
|
35633
|
+
}],
|
|
35634
|
+
"deviceAdoption.release": [{
|
|
35635
|
+
name: "camDeviceId",
|
|
35636
|
+
form: "single",
|
|
35637
|
+
optional: false
|
|
35638
|
+
}],
|
|
35639
|
+
"deviceAdoption.resync": [{
|
|
35640
|
+
name: "camDeviceId",
|
|
35641
|
+
form: "single",
|
|
35642
|
+
optional: false
|
|
35643
|
+
}],
|
|
35644
|
+
"deviceDiscovery.adoptDevice": [{
|
|
35645
|
+
name: "deviceId",
|
|
35646
|
+
form: "single",
|
|
35647
|
+
optional: false
|
|
35648
|
+
}],
|
|
35649
|
+
"deviceDiscovery.listDiscovered": [{
|
|
35650
|
+
name: "deviceId",
|
|
35651
|
+
form: "single",
|
|
35652
|
+
optional: false
|
|
35653
|
+
}],
|
|
35654
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
35655
|
+
name: "deviceId",
|
|
35656
|
+
form: "single",
|
|
35657
|
+
optional: false
|
|
35658
|
+
}],
|
|
35659
|
+
"deviceDiscovery.releaseDevice": [{
|
|
35660
|
+
name: "childDeviceId",
|
|
35661
|
+
form: "single",
|
|
35662
|
+
optional: false
|
|
35663
|
+
}, {
|
|
35664
|
+
name: "deviceId",
|
|
35665
|
+
form: "single",
|
|
35666
|
+
optional: false
|
|
35667
|
+
}],
|
|
35668
|
+
"deviceManager.adoptionRelease": [{
|
|
35669
|
+
name: "camDeviceId",
|
|
35670
|
+
form: "single",
|
|
35671
|
+
optional: false
|
|
35672
|
+
}],
|
|
35673
|
+
"deviceManager.adoptionResync": [{
|
|
35674
|
+
name: "camDeviceId",
|
|
35675
|
+
form: "single",
|
|
35676
|
+
optional: false
|
|
35677
|
+
}],
|
|
35678
|
+
"deviceManager.applyInitialMeta": [{
|
|
35679
|
+
name: "deviceId",
|
|
35680
|
+
form: "single",
|
|
35681
|
+
optional: false
|
|
35682
|
+
}, {
|
|
35683
|
+
name: "linkDeviceId",
|
|
35684
|
+
form: "single",
|
|
35685
|
+
optional: true
|
|
35686
|
+
}],
|
|
35687
|
+
"deviceManager.disable": [{
|
|
35688
|
+
name: "deviceId",
|
|
35689
|
+
form: "single",
|
|
35690
|
+
optional: false
|
|
35691
|
+
}],
|
|
35692
|
+
"deviceManager.enable": [{
|
|
35693
|
+
name: "deviceId",
|
|
35694
|
+
form: "single",
|
|
35695
|
+
optional: false
|
|
35696
|
+
}],
|
|
35697
|
+
"deviceManager.getBindings": [{
|
|
35698
|
+
name: "deviceId",
|
|
35699
|
+
form: "single",
|
|
35700
|
+
optional: false
|
|
35701
|
+
}],
|
|
35702
|
+
"deviceManager.getChildren": [{
|
|
35703
|
+
name: "parentDeviceId",
|
|
35704
|
+
form: "single",
|
|
35705
|
+
optional: false
|
|
35706
|
+
}],
|
|
35707
|
+
"deviceManager.getConfigSchema": [{
|
|
35708
|
+
name: "deviceId",
|
|
35709
|
+
form: "single",
|
|
35710
|
+
optional: false
|
|
35711
|
+
}],
|
|
35712
|
+
"deviceManager.getDevice": [{
|
|
35713
|
+
name: "deviceId",
|
|
35714
|
+
form: "single",
|
|
35715
|
+
optional: false
|
|
35716
|
+
}],
|
|
35717
|
+
"deviceManager.getDeviceAggregate": [{
|
|
35718
|
+
name: "deviceId",
|
|
35719
|
+
form: "single",
|
|
35720
|
+
optional: false
|
|
35721
|
+
}],
|
|
35722
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
35723
|
+
name: "deviceId",
|
|
35724
|
+
form: "single",
|
|
35725
|
+
optional: false
|
|
35726
|
+
}],
|
|
35727
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
35728
|
+
name: "deviceId",
|
|
35729
|
+
form: "single",
|
|
35730
|
+
optional: false
|
|
35731
|
+
}],
|
|
35732
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
35733
|
+
name: "deviceId",
|
|
35734
|
+
form: "single",
|
|
35735
|
+
optional: false
|
|
35736
|
+
}],
|
|
35737
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
35738
|
+
name: "deviceIds",
|
|
35739
|
+
form: "array",
|
|
35740
|
+
optional: false
|
|
35741
|
+
}],
|
|
35742
|
+
"deviceManager.getLinkedDevices": [{
|
|
35743
|
+
name: "deviceId",
|
|
35744
|
+
form: "single",
|
|
35745
|
+
optional: false
|
|
35746
|
+
}],
|
|
35747
|
+
"deviceManager.getSettingsSchema": [{
|
|
35748
|
+
name: "deviceId",
|
|
35749
|
+
form: "single",
|
|
35750
|
+
optional: false
|
|
35751
|
+
}],
|
|
35752
|
+
"deviceManager.getStreamProfileMap": [{
|
|
35753
|
+
name: "deviceId",
|
|
35754
|
+
form: "single",
|
|
35755
|
+
optional: false
|
|
35756
|
+
}],
|
|
35757
|
+
"deviceManager.getStreamSources": [{
|
|
35758
|
+
name: "deviceId",
|
|
35759
|
+
form: "single",
|
|
35760
|
+
optional: false
|
|
35761
|
+
}],
|
|
35762
|
+
"deviceManager.getWireableFields": [{
|
|
35763
|
+
name: "deviceId",
|
|
35764
|
+
form: "single",
|
|
35765
|
+
optional: false
|
|
35766
|
+
}],
|
|
35767
|
+
"deviceManager.loadConfig": [{
|
|
35768
|
+
name: "deviceId",
|
|
35769
|
+
form: "single",
|
|
35770
|
+
optional: false
|
|
35771
|
+
}],
|
|
35772
|
+
"deviceManager.loadMeta": [{
|
|
35773
|
+
name: "deviceId",
|
|
35774
|
+
form: "single",
|
|
35775
|
+
optional: false
|
|
35776
|
+
}],
|
|
35777
|
+
"deviceManager.loadRuntimeState": [{
|
|
35778
|
+
name: "deviceId",
|
|
35779
|
+
form: "single",
|
|
35780
|
+
optional: false
|
|
35781
|
+
}],
|
|
35782
|
+
"deviceManager.persistConfig": [{
|
|
35783
|
+
name: "deviceId",
|
|
35784
|
+
form: "single",
|
|
35785
|
+
optional: false
|
|
35786
|
+
}],
|
|
35787
|
+
"deviceManager.probeStreams": [{
|
|
35788
|
+
name: "deviceId",
|
|
35789
|
+
form: "single",
|
|
35790
|
+
optional: false
|
|
35791
|
+
}],
|
|
35792
|
+
"deviceManager.registerDevice": [{
|
|
35793
|
+
name: "parentDeviceId",
|
|
35794
|
+
form: "single",
|
|
35795
|
+
optional: true
|
|
35796
|
+
}],
|
|
35797
|
+
"deviceManager.remove": [{
|
|
35798
|
+
name: "deviceId",
|
|
35799
|
+
form: "single",
|
|
35800
|
+
optional: false
|
|
35801
|
+
}],
|
|
35802
|
+
"deviceManager.removeDevice": [{
|
|
35803
|
+
name: "deviceId",
|
|
35804
|
+
form: "single",
|
|
35805
|
+
optional: false
|
|
35806
|
+
}],
|
|
35807
|
+
"deviceManager.runDeviceAction": [{
|
|
35808
|
+
name: "deviceId",
|
|
35809
|
+
form: "single",
|
|
35810
|
+
optional: false
|
|
35811
|
+
}],
|
|
35812
|
+
"deviceManager.setChildLayout": [{
|
|
35813
|
+
name: "deviceId",
|
|
35814
|
+
form: "single",
|
|
35815
|
+
optional: false
|
|
35816
|
+
}],
|
|
35817
|
+
"deviceManager.setDisabled": [{
|
|
35818
|
+
name: "deviceId",
|
|
35819
|
+
form: "single",
|
|
35820
|
+
optional: false
|
|
35821
|
+
}],
|
|
35822
|
+
"deviceManager.setDisplay": [{
|
|
35823
|
+
name: "deviceId",
|
|
35824
|
+
form: "single",
|
|
35825
|
+
optional: false
|
|
35826
|
+
}],
|
|
35827
|
+
"deviceManager.setIntegrationId": [{
|
|
35828
|
+
name: "deviceId",
|
|
35829
|
+
form: "single",
|
|
35830
|
+
optional: false
|
|
35831
|
+
}],
|
|
35832
|
+
"deviceManager.setLinkDeviceId": [{
|
|
35833
|
+
name: "deviceId",
|
|
35834
|
+
form: "single",
|
|
35835
|
+
optional: false
|
|
35836
|
+
}, {
|
|
35837
|
+
name: "linkDeviceId",
|
|
35838
|
+
form: "single",
|
|
35839
|
+
optional: true
|
|
35840
|
+
}],
|
|
35841
|
+
"deviceManager.setLocation": [{
|
|
35842
|
+
name: "deviceId",
|
|
35843
|
+
form: "single",
|
|
35844
|
+
optional: false
|
|
35845
|
+
}],
|
|
35846
|
+
"deviceManager.setMetadata": [{
|
|
35847
|
+
name: "deviceId",
|
|
35848
|
+
form: "single",
|
|
35849
|
+
optional: false
|
|
35850
|
+
}],
|
|
35851
|
+
"deviceManager.setName": [{
|
|
35852
|
+
name: "deviceId",
|
|
35853
|
+
form: "single",
|
|
35854
|
+
optional: false
|
|
35855
|
+
}],
|
|
35856
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
35857
|
+
name: "deviceId",
|
|
35858
|
+
form: "single",
|
|
35859
|
+
optional: false
|
|
35860
|
+
}],
|
|
35861
|
+
"deviceManager.setRole": [{
|
|
35862
|
+
name: "deviceId",
|
|
35863
|
+
form: "single",
|
|
35864
|
+
optional: false
|
|
35865
|
+
}],
|
|
35866
|
+
"deviceManager.setStreamProfileMap": [{
|
|
35867
|
+
name: "deviceId",
|
|
35868
|
+
form: "single",
|
|
35869
|
+
optional: false
|
|
35870
|
+
}],
|
|
35871
|
+
"deviceManager.setType": [{
|
|
35872
|
+
name: "deviceId",
|
|
35873
|
+
form: "single",
|
|
35874
|
+
optional: false
|
|
35875
|
+
}],
|
|
35876
|
+
"deviceManager.setWrapperActive": [{
|
|
35877
|
+
name: "deviceId",
|
|
35878
|
+
form: "single",
|
|
35879
|
+
optional: false
|
|
35880
|
+
}],
|
|
35881
|
+
"deviceManager.testField": [{
|
|
35882
|
+
name: "deviceId",
|
|
35883
|
+
form: "single",
|
|
35884
|
+
optional: false
|
|
35885
|
+
}],
|
|
35886
|
+
"deviceManager.updateConfig": [{
|
|
35887
|
+
name: "deviceId",
|
|
35888
|
+
form: "single",
|
|
35889
|
+
optional: false
|
|
35890
|
+
}],
|
|
35891
|
+
"deviceManager.updateDeviceField": [{
|
|
35892
|
+
name: "deviceId",
|
|
35893
|
+
form: "single",
|
|
35894
|
+
optional: false
|
|
35895
|
+
}],
|
|
35896
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
35897
|
+
name: "deviceId",
|
|
35898
|
+
form: "single",
|
|
35899
|
+
optional: false
|
|
35900
|
+
}],
|
|
35901
|
+
"deviceOps.getConfigEntries": [{
|
|
35902
|
+
name: "deviceId",
|
|
35903
|
+
form: "single",
|
|
35904
|
+
optional: false
|
|
35905
|
+
}],
|
|
35906
|
+
"deviceOps.getRawState": [{
|
|
35907
|
+
name: "deviceId",
|
|
35908
|
+
form: "single",
|
|
35909
|
+
optional: false
|
|
35910
|
+
}],
|
|
35911
|
+
"deviceOps.getSettingsSchema": [{
|
|
35912
|
+
name: "deviceId",
|
|
35913
|
+
form: "single",
|
|
35914
|
+
optional: false
|
|
35915
|
+
}],
|
|
35916
|
+
"deviceOps.getStreamSources": [{
|
|
35917
|
+
name: "deviceId",
|
|
35918
|
+
form: "single",
|
|
35919
|
+
optional: false
|
|
35920
|
+
}],
|
|
35921
|
+
"deviceOps.removeDevice": [{
|
|
35922
|
+
name: "deviceId",
|
|
35923
|
+
form: "single",
|
|
35924
|
+
optional: false
|
|
35925
|
+
}],
|
|
35926
|
+
"deviceOps.runAction": [{
|
|
35927
|
+
name: "deviceId",
|
|
35928
|
+
form: "single",
|
|
35929
|
+
optional: false
|
|
35930
|
+
}],
|
|
35931
|
+
"deviceOps.setConfig": [{
|
|
35932
|
+
name: "deviceId",
|
|
35933
|
+
form: "single",
|
|
35934
|
+
optional: false
|
|
35935
|
+
}],
|
|
35936
|
+
"deviceState.getCapSlice": [{
|
|
35937
|
+
name: "deviceId",
|
|
35938
|
+
form: "single",
|
|
35939
|
+
optional: false
|
|
35940
|
+
}],
|
|
35941
|
+
"deviceState.getSnapshot": [{
|
|
35942
|
+
name: "deviceId",
|
|
35943
|
+
form: "single",
|
|
35944
|
+
optional: false
|
|
35945
|
+
}],
|
|
35946
|
+
"deviceState.setCapSlice": [{
|
|
35947
|
+
name: "deviceId",
|
|
35948
|
+
form: "single",
|
|
35949
|
+
optional: false
|
|
35950
|
+
}],
|
|
35951
|
+
"events.getEventClipUrl": [{
|
|
35952
|
+
name: "deviceId",
|
|
35953
|
+
form: "single",
|
|
35954
|
+
optional: false
|
|
35955
|
+
}],
|
|
35956
|
+
"events.getEvents": [{
|
|
35957
|
+
name: "deviceId",
|
|
35958
|
+
form: "single",
|
|
35959
|
+
optional: false
|
|
35960
|
+
}],
|
|
35961
|
+
"events.getEventThumbnail": [{
|
|
35962
|
+
name: "deviceId",
|
|
35963
|
+
form: "single",
|
|
35964
|
+
optional: false
|
|
35965
|
+
}],
|
|
35966
|
+
"faceGallery.getFaceByTrack": [{
|
|
35967
|
+
name: "deviceId",
|
|
35968
|
+
form: "single",
|
|
35969
|
+
optional: false
|
|
35970
|
+
}],
|
|
35971
|
+
"faceGallery.listRecentFaces": [{
|
|
35972
|
+
name: "deviceId",
|
|
35973
|
+
form: "single",
|
|
35974
|
+
optional: true
|
|
35975
|
+
}],
|
|
35976
|
+
"fanControl.setDirection": [{
|
|
35977
|
+
name: "deviceId",
|
|
35978
|
+
form: "single",
|
|
35979
|
+
optional: false
|
|
35980
|
+
}],
|
|
35981
|
+
"fanControl.setOscillating": [{
|
|
35982
|
+
name: "deviceId",
|
|
35983
|
+
form: "single",
|
|
35984
|
+
optional: false
|
|
35985
|
+
}],
|
|
35986
|
+
"fanControl.setPercentage": [{
|
|
35987
|
+
name: "deviceId",
|
|
35988
|
+
form: "single",
|
|
35989
|
+
optional: false
|
|
35990
|
+
}],
|
|
35991
|
+
"fanControl.setPreset": [{
|
|
35992
|
+
name: "deviceId",
|
|
35993
|
+
form: "single",
|
|
35994
|
+
optional: false
|
|
35995
|
+
}],
|
|
35996
|
+
"humidifier.setMode": [{
|
|
35997
|
+
name: "deviceId",
|
|
35998
|
+
form: "single",
|
|
35999
|
+
optional: false
|
|
36000
|
+
}],
|
|
36001
|
+
"humidifier.setOn": [{
|
|
36002
|
+
name: "deviceId",
|
|
36003
|
+
form: "single",
|
|
36004
|
+
optional: false
|
|
36005
|
+
}],
|
|
36006
|
+
"humidifier.setTargetHumidity": [{
|
|
36007
|
+
name: "deviceId",
|
|
36008
|
+
form: "single",
|
|
36009
|
+
optional: false
|
|
36010
|
+
}],
|
|
36011
|
+
"imageSettings.getOptions": [{
|
|
36012
|
+
name: "deviceId",
|
|
36013
|
+
form: "single",
|
|
36014
|
+
optional: false
|
|
36015
|
+
}],
|
|
36016
|
+
"imageSettings.setSettings": [{
|
|
36017
|
+
name: "deviceId",
|
|
36018
|
+
form: "single",
|
|
36019
|
+
optional: false
|
|
36020
|
+
}],
|
|
36021
|
+
"intercom.endTalkSession": [{
|
|
36022
|
+
name: "deviceId",
|
|
36023
|
+
form: "single",
|
|
36024
|
+
optional: false
|
|
36025
|
+
}],
|
|
36026
|
+
"intercom.handleAnswer": [{
|
|
36027
|
+
name: "deviceId",
|
|
36028
|
+
form: "single",
|
|
36029
|
+
optional: false
|
|
36030
|
+
}],
|
|
36031
|
+
"intercom.pushTalkAudio": [{
|
|
36032
|
+
name: "deviceId",
|
|
36033
|
+
form: "single",
|
|
36034
|
+
optional: false
|
|
36035
|
+
}],
|
|
36036
|
+
"intercom.startSession": [{
|
|
36037
|
+
name: "deviceId",
|
|
36038
|
+
form: "single",
|
|
36039
|
+
optional: false
|
|
36040
|
+
}],
|
|
36041
|
+
"intercom.startTalkSession": [{
|
|
36042
|
+
name: "deviceId",
|
|
36043
|
+
form: "single",
|
|
36044
|
+
optional: false
|
|
36045
|
+
}],
|
|
36046
|
+
"intercom.stopSession": [{
|
|
36047
|
+
name: "deviceId",
|
|
36048
|
+
form: "single",
|
|
36049
|
+
optional: false
|
|
36050
|
+
}],
|
|
36051
|
+
"lawnMowerControl.dock": [{
|
|
36052
|
+
name: "deviceId",
|
|
36053
|
+
form: "single",
|
|
36054
|
+
optional: false
|
|
36055
|
+
}],
|
|
36056
|
+
"lawnMowerControl.pause": [{
|
|
36057
|
+
name: "deviceId",
|
|
36058
|
+
form: "single",
|
|
36059
|
+
optional: false
|
|
36060
|
+
}],
|
|
36061
|
+
"lawnMowerControl.startMowing": [{
|
|
36062
|
+
name: "deviceId",
|
|
36063
|
+
form: "single",
|
|
36064
|
+
optional: false
|
|
36065
|
+
}],
|
|
36066
|
+
"lockControl.lock": [{
|
|
36067
|
+
name: "deviceId",
|
|
36068
|
+
form: "single",
|
|
36069
|
+
optional: false
|
|
36070
|
+
}],
|
|
36071
|
+
"lockControl.open": [{
|
|
36072
|
+
name: "deviceId",
|
|
36073
|
+
form: "single",
|
|
36074
|
+
optional: false
|
|
36075
|
+
}],
|
|
36076
|
+
"lockControl.unlock": [{
|
|
36077
|
+
name: "deviceId",
|
|
36078
|
+
form: "single",
|
|
36079
|
+
optional: false
|
|
36080
|
+
}],
|
|
36081
|
+
"mediaPlayer.next": [{
|
|
36082
|
+
name: "deviceId",
|
|
36083
|
+
form: "single",
|
|
36084
|
+
optional: false
|
|
36085
|
+
}],
|
|
36086
|
+
"mediaPlayer.pause": [{
|
|
36087
|
+
name: "deviceId",
|
|
36088
|
+
form: "single",
|
|
36089
|
+
optional: false
|
|
36090
|
+
}],
|
|
36091
|
+
"mediaPlayer.play": [{
|
|
36092
|
+
name: "deviceId",
|
|
36093
|
+
form: "single",
|
|
36094
|
+
optional: false
|
|
36095
|
+
}],
|
|
36096
|
+
"mediaPlayer.playMedia": [{
|
|
36097
|
+
name: "deviceId",
|
|
36098
|
+
form: "single",
|
|
36099
|
+
optional: false
|
|
36100
|
+
}],
|
|
36101
|
+
"mediaPlayer.previous": [{
|
|
36102
|
+
name: "deviceId",
|
|
36103
|
+
form: "single",
|
|
36104
|
+
optional: false
|
|
36105
|
+
}],
|
|
36106
|
+
"mediaPlayer.seek": [{
|
|
36107
|
+
name: "deviceId",
|
|
36108
|
+
form: "single",
|
|
36109
|
+
optional: false
|
|
36110
|
+
}],
|
|
36111
|
+
"mediaPlayer.selectSource": [{
|
|
36112
|
+
name: "deviceId",
|
|
36113
|
+
form: "single",
|
|
36114
|
+
optional: false
|
|
36115
|
+
}],
|
|
36116
|
+
"mediaPlayer.setMute": [{
|
|
36117
|
+
name: "deviceId",
|
|
36118
|
+
form: "single",
|
|
36119
|
+
optional: false
|
|
36120
|
+
}],
|
|
36121
|
+
"mediaPlayer.setRepeat": [{
|
|
36122
|
+
name: "deviceId",
|
|
36123
|
+
form: "single",
|
|
36124
|
+
optional: false
|
|
36125
|
+
}],
|
|
36126
|
+
"mediaPlayer.setShuffle": [{
|
|
36127
|
+
name: "deviceId",
|
|
36128
|
+
form: "single",
|
|
36129
|
+
optional: false
|
|
36130
|
+
}],
|
|
36131
|
+
"mediaPlayer.setVolume": [{
|
|
36132
|
+
name: "deviceId",
|
|
36133
|
+
form: "single",
|
|
36134
|
+
optional: false
|
|
36135
|
+
}],
|
|
36136
|
+
"mediaPlayer.stop": [{
|
|
36137
|
+
name: "deviceId",
|
|
36138
|
+
form: "single",
|
|
36139
|
+
optional: false
|
|
36140
|
+
}],
|
|
36141
|
+
"motion.isDetected": [{
|
|
36142
|
+
name: "deviceId",
|
|
36143
|
+
form: "single",
|
|
36144
|
+
optional: false
|
|
36145
|
+
}],
|
|
36146
|
+
"motionDetection.analyze": [{
|
|
36147
|
+
name: "deviceId",
|
|
36148
|
+
form: "single",
|
|
36149
|
+
optional: false
|
|
36150
|
+
}],
|
|
36151
|
+
"motionDetection.removeCamera": [{
|
|
36152
|
+
name: "deviceId",
|
|
36153
|
+
form: "single",
|
|
36154
|
+
optional: false
|
|
36155
|
+
}],
|
|
36156
|
+
"motionTrigger.setMotionTrigger": [{
|
|
36157
|
+
name: "deviceId",
|
|
36158
|
+
form: "single",
|
|
36159
|
+
optional: false
|
|
36160
|
+
}],
|
|
36161
|
+
"motionZones.getOptions": [{
|
|
36162
|
+
name: "deviceId",
|
|
36163
|
+
form: "single",
|
|
36164
|
+
optional: false
|
|
36165
|
+
}],
|
|
36166
|
+
"motionZones.setZone": [{
|
|
36167
|
+
name: "deviceId",
|
|
36168
|
+
form: "single",
|
|
36169
|
+
optional: false
|
|
36170
|
+
}],
|
|
36171
|
+
"nativeObjectDetection.setEnabled": [{
|
|
36172
|
+
name: "deviceId",
|
|
36173
|
+
form: "single",
|
|
36174
|
+
optional: false
|
|
36175
|
+
}],
|
|
36176
|
+
"networkQuality.getDeviceStats": [{
|
|
36177
|
+
name: "deviceId",
|
|
36178
|
+
form: "single",
|
|
36179
|
+
optional: false
|
|
36180
|
+
}],
|
|
36181
|
+
"networkQuality.reportClientStats": [{
|
|
36182
|
+
name: "deviceId",
|
|
36183
|
+
form: "single",
|
|
36184
|
+
optional: false
|
|
36185
|
+
}],
|
|
36186
|
+
"notificationRules.setDeviceMuted": [{
|
|
36187
|
+
name: "deviceId",
|
|
36188
|
+
form: "single",
|
|
36189
|
+
optional: false
|
|
36190
|
+
}],
|
|
36191
|
+
"notifier.cancel": [{
|
|
36192
|
+
name: "deviceId",
|
|
36193
|
+
form: "single",
|
|
36194
|
+
optional: false
|
|
36195
|
+
}],
|
|
36196
|
+
"notifier.send": [{
|
|
36197
|
+
name: "deviceId",
|
|
36198
|
+
form: "single",
|
|
36199
|
+
optional: false
|
|
36200
|
+
}],
|
|
36201
|
+
"osd.setOverlay": [{
|
|
36202
|
+
name: "deviceId",
|
|
36203
|
+
form: "single",
|
|
36204
|
+
optional: false
|
|
36205
|
+
}],
|
|
36206
|
+
"osdManager.clearSlotBinding": [{
|
|
36207
|
+
name: "deviceId",
|
|
36208
|
+
form: "single",
|
|
36209
|
+
optional: false
|
|
36210
|
+
}],
|
|
36211
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
36212
|
+
name: "sourceDeviceId",
|
|
36213
|
+
form: "single",
|
|
36214
|
+
optional: false
|
|
36215
|
+
}, {
|
|
36216
|
+
name: "targetDeviceId",
|
|
36217
|
+
form: "single",
|
|
36218
|
+
optional: false
|
|
36219
|
+
}],
|
|
36220
|
+
"osdManager.getDeviceOsd": [{
|
|
36221
|
+
name: "deviceId",
|
|
36222
|
+
form: "single",
|
|
36223
|
+
optional: false
|
|
36224
|
+
}],
|
|
36225
|
+
"osdManager.getSourceCatalog": [{
|
|
36226
|
+
name: "deviceId",
|
|
36227
|
+
form: "single",
|
|
36228
|
+
optional: false
|
|
36229
|
+
}],
|
|
36230
|
+
"osdManager.previewSlot": [{
|
|
36231
|
+
name: "deviceId",
|
|
36232
|
+
form: "single",
|
|
36233
|
+
optional: false
|
|
36234
|
+
}],
|
|
36235
|
+
"osdManager.renderDevice": [{
|
|
36236
|
+
name: "deviceId",
|
|
36237
|
+
form: "single",
|
|
36238
|
+
optional: false
|
|
36239
|
+
}],
|
|
36240
|
+
"osdManager.setSlotBinding": [{
|
|
36241
|
+
name: "deviceId",
|
|
36242
|
+
form: "single",
|
|
36243
|
+
optional: false
|
|
36244
|
+
}],
|
|
36245
|
+
"petFeeder.callPet": [{
|
|
36246
|
+
name: "deviceId",
|
|
36247
|
+
form: "single",
|
|
36248
|
+
optional: false
|
|
36249
|
+
}],
|
|
36250
|
+
"petFeeder.cancelFeed": [{
|
|
36251
|
+
name: "deviceId",
|
|
36252
|
+
form: "single",
|
|
36253
|
+
optional: false
|
|
36254
|
+
}],
|
|
36255
|
+
"petFeeder.feed": [{
|
|
36256
|
+
name: "deviceId",
|
|
36257
|
+
form: "single",
|
|
36258
|
+
optional: false
|
|
36259
|
+
}],
|
|
36260
|
+
"petFeeder.markFoodReplenished": [{
|
|
36261
|
+
name: "deviceId",
|
|
36262
|
+
form: "single",
|
|
36263
|
+
optional: false
|
|
36264
|
+
}],
|
|
36265
|
+
"petFeeder.playSound": [{
|
|
36266
|
+
name: "deviceId",
|
|
36267
|
+
form: "single",
|
|
36268
|
+
optional: false
|
|
36269
|
+
}],
|
|
36270
|
+
"petFeeder.resetDesiccant": [{
|
|
36271
|
+
name: "deviceId",
|
|
36272
|
+
form: "single",
|
|
36273
|
+
optional: false
|
|
36274
|
+
}],
|
|
36275
|
+
"petFeeder.setChildLock": [{
|
|
36276
|
+
name: "deviceId",
|
|
36277
|
+
form: "single",
|
|
36278
|
+
optional: false
|
|
36279
|
+
}],
|
|
36280
|
+
"petFeeder.setFeedSound": [{
|
|
36281
|
+
name: "deviceId",
|
|
36282
|
+
form: "single",
|
|
36283
|
+
optional: false
|
|
36284
|
+
}],
|
|
36285
|
+
"petFeeder.setIndicatorLight": [{
|
|
36286
|
+
name: "deviceId",
|
|
36287
|
+
form: "single",
|
|
36288
|
+
optional: false
|
|
36289
|
+
}],
|
|
36290
|
+
"petFeeder.setVolume": [{
|
|
36291
|
+
name: "deviceId",
|
|
36292
|
+
form: "single",
|
|
36293
|
+
optional: false
|
|
36294
|
+
}],
|
|
36295
|
+
"pipelineAnalytics.clearTracks": [{
|
|
36296
|
+
name: "deviceId",
|
|
36297
|
+
form: "single",
|
|
36298
|
+
optional: false
|
|
36299
|
+
}],
|
|
36300
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
36301
|
+
name: "deviceId",
|
|
36302
|
+
form: "single",
|
|
36303
|
+
optional: false
|
|
36304
|
+
}],
|
|
36305
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
36306
|
+
name: "deviceId",
|
|
36307
|
+
form: "single",
|
|
36308
|
+
optional: false
|
|
36309
|
+
}],
|
|
36310
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
36311
|
+
name: "deviceId",
|
|
36312
|
+
form: "single",
|
|
36313
|
+
optional: false
|
|
36314
|
+
}],
|
|
36315
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
36316
|
+
name: "deviceId",
|
|
36317
|
+
form: "single",
|
|
36318
|
+
optional: false
|
|
36319
|
+
}],
|
|
36320
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
36321
|
+
name: "deviceId",
|
|
36322
|
+
form: "single",
|
|
36323
|
+
optional: false
|
|
36324
|
+
}],
|
|
36325
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
36326
|
+
name: "deviceId",
|
|
36327
|
+
form: "single",
|
|
36328
|
+
optional: false
|
|
36329
|
+
}],
|
|
36330
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
36331
|
+
name: "deviceId",
|
|
36332
|
+
form: "single",
|
|
36333
|
+
optional: false
|
|
36334
|
+
}],
|
|
36335
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
36336
|
+
name: "deviceId",
|
|
36337
|
+
form: "single",
|
|
36338
|
+
optional: false
|
|
36339
|
+
}],
|
|
36340
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
36341
|
+
name: "deviceId",
|
|
36342
|
+
form: "single",
|
|
36343
|
+
optional: false
|
|
36344
|
+
}],
|
|
36345
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
36346
|
+
name: "deviceId",
|
|
36347
|
+
form: "single",
|
|
36348
|
+
optional: false
|
|
36349
|
+
}],
|
|
36350
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
36351
|
+
name: "deviceId",
|
|
36352
|
+
form: "single",
|
|
36353
|
+
optional: false
|
|
36354
|
+
}],
|
|
36355
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
36356
|
+
name: "deviceIds",
|
|
36357
|
+
form: "array",
|
|
36358
|
+
optional: true
|
|
36359
|
+
}],
|
|
36360
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
36361
|
+
name: "deviceId",
|
|
36362
|
+
form: "single",
|
|
36363
|
+
optional: false
|
|
36364
|
+
}],
|
|
36365
|
+
"pipelineAnalytics.getTrack": [{
|
|
36366
|
+
name: "deviceId",
|
|
36367
|
+
form: "single",
|
|
36368
|
+
optional: false
|
|
36369
|
+
}],
|
|
36370
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
36371
|
+
name: "deviceId",
|
|
36372
|
+
form: "single",
|
|
36373
|
+
optional: false
|
|
36374
|
+
}],
|
|
36375
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
36376
|
+
name: "deviceIds",
|
|
36377
|
+
form: "array",
|
|
36378
|
+
optional: true
|
|
36379
|
+
}],
|
|
36380
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
36381
|
+
name: "deviceIds",
|
|
36382
|
+
form: "array",
|
|
36383
|
+
optional: true
|
|
36384
|
+
}],
|
|
36385
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
36386
|
+
name: "deviceId",
|
|
36387
|
+
form: "single",
|
|
36388
|
+
optional: false
|
|
36389
|
+
}],
|
|
36390
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
36391
|
+
name: "deviceIds",
|
|
36392
|
+
form: "array",
|
|
36393
|
+
optional: false
|
|
36394
|
+
}],
|
|
36395
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
36396
|
+
name: "deviceId",
|
|
36397
|
+
form: "single",
|
|
36398
|
+
optional: true
|
|
36399
|
+
}],
|
|
36400
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
36401
|
+
name: "deviceIds",
|
|
36402
|
+
form: "array",
|
|
36403
|
+
optional: false
|
|
36404
|
+
}],
|
|
36405
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
36406
|
+
name: "deviceIds",
|
|
36407
|
+
form: "array",
|
|
36408
|
+
optional: true
|
|
36409
|
+
}],
|
|
36410
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
36411
|
+
name: "deviceId",
|
|
36412
|
+
form: "single",
|
|
36413
|
+
optional: false
|
|
36414
|
+
}],
|
|
36415
|
+
"pipelineAnalytics.listTracks": [{
|
|
36416
|
+
name: "deviceId",
|
|
36417
|
+
form: "single",
|
|
36418
|
+
optional: false
|
|
36419
|
+
}],
|
|
36420
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
36421
|
+
name: "deviceId",
|
|
36422
|
+
form: "single",
|
|
36423
|
+
optional: false
|
|
36424
|
+
}],
|
|
36425
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
36426
|
+
name: "deviceId",
|
|
36427
|
+
form: "single",
|
|
36428
|
+
optional: false
|
|
36429
|
+
}],
|
|
36430
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
36431
|
+
name: "deviceId",
|
|
36432
|
+
form: "single",
|
|
36433
|
+
optional: false
|
|
36434
|
+
}],
|
|
36435
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
36436
|
+
name: "deviceId",
|
|
36437
|
+
form: "single",
|
|
36438
|
+
optional: true
|
|
36439
|
+
}],
|
|
36440
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
36441
|
+
name: "deviceId",
|
|
36442
|
+
form: "single",
|
|
36443
|
+
optional: false
|
|
36444
|
+
}],
|
|
36445
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
36446
|
+
name: "deviceId",
|
|
36447
|
+
form: "single",
|
|
36448
|
+
optional: false
|
|
36449
|
+
}],
|
|
36450
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
36451
|
+
name: "deviceId",
|
|
36452
|
+
form: "single",
|
|
36453
|
+
optional: true
|
|
36454
|
+
}],
|
|
36455
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
36456
|
+
name: "deviceId",
|
|
36457
|
+
form: "single",
|
|
36458
|
+
optional: false
|
|
36459
|
+
}],
|
|
36460
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
36461
|
+
name: "deviceId",
|
|
36462
|
+
form: "single",
|
|
36463
|
+
optional: false
|
|
36464
|
+
}],
|
|
36465
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
36466
|
+
name: "deviceId",
|
|
36467
|
+
form: "single",
|
|
36468
|
+
optional: false
|
|
36469
|
+
}],
|
|
36470
|
+
"pipelineExecutor.runPipeline": [{
|
|
36471
|
+
name: "deviceId",
|
|
36472
|
+
form: "single",
|
|
36473
|
+
optional: true
|
|
36474
|
+
}],
|
|
36475
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
36476
|
+
name: "deviceId",
|
|
36477
|
+
form: "single",
|
|
36478
|
+
optional: true
|
|
36479
|
+
}],
|
|
36480
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
36481
|
+
name: "deviceId",
|
|
36482
|
+
form: "single",
|
|
36483
|
+
optional: false
|
|
36484
|
+
}],
|
|
36485
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
36486
|
+
name: "deviceId",
|
|
36487
|
+
form: "single",
|
|
36488
|
+
optional: false
|
|
36489
|
+
}],
|
|
36490
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
36491
|
+
name: "deviceId",
|
|
36492
|
+
form: "single",
|
|
36493
|
+
optional: false
|
|
36494
|
+
}],
|
|
36495
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
36496
|
+
name: "deviceId",
|
|
36497
|
+
form: "single",
|
|
36498
|
+
optional: false
|
|
36499
|
+
}],
|
|
36500
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
36501
|
+
name: "deviceId",
|
|
36502
|
+
form: "single",
|
|
36503
|
+
optional: false
|
|
36504
|
+
}],
|
|
36505
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
36506
|
+
name: "deviceId",
|
|
36507
|
+
form: "single",
|
|
36508
|
+
optional: false
|
|
36509
|
+
}],
|
|
36510
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
36511
|
+
name: "deviceIds",
|
|
36512
|
+
form: "array",
|
|
36513
|
+
optional: true
|
|
36514
|
+
}],
|
|
36515
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
36516
|
+
name: "deviceId",
|
|
36517
|
+
form: "single",
|
|
36518
|
+
optional: false
|
|
36519
|
+
}],
|
|
36520
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
36521
|
+
name: "deviceId",
|
|
36522
|
+
form: "single",
|
|
36523
|
+
optional: false
|
|
36524
|
+
}],
|
|
36525
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
36526
|
+
name: "deviceId",
|
|
36527
|
+
form: "single",
|
|
36528
|
+
optional: false
|
|
36529
|
+
}],
|
|
36530
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
36531
|
+
name: "deviceId",
|
|
36532
|
+
form: "single",
|
|
36533
|
+
optional: false
|
|
36534
|
+
}],
|
|
36535
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
36536
|
+
name: "deviceId",
|
|
36537
|
+
form: "single",
|
|
36538
|
+
optional: false
|
|
36539
|
+
}],
|
|
36540
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
36541
|
+
name: "deviceId",
|
|
36542
|
+
form: "single",
|
|
36543
|
+
optional: false
|
|
36544
|
+
}],
|
|
36545
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
36546
|
+
name: "deviceId",
|
|
36547
|
+
form: "single",
|
|
36548
|
+
optional: false
|
|
36549
|
+
}],
|
|
36550
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
36551
|
+
name: "deviceId",
|
|
36552
|
+
form: "single",
|
|
36553
|
+
optional: false
|
|
36554
|
+
}],
|
|
36555
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
36556
|
+
name: "deviceId",
|
|
36557
|
+
form: "single",
|
|
36558
|
+
optional: false
|
|
36559
|
+
}],
|
|
36560
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
36561
|
+
name: "deviceId",
|
|
36562
|
+
form: "single",
|
|
36563
|
+
optional: false
|
|
36564
|
+
}],
|
|
36565
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
36566
|
+
name: "deviceId",
|
|
36567
|
+
form: "single",
|
|
36568
|
+
optional: false
|
|
36569
|
+
}],
|
|
36570
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
36571
|
+
name: "deviceId",
|
|
36572
|
+
form: "single",
|
|
36573
|
+
optional: false
|
|
36574
|
+
}],
|
|
36575
|
+
"pipelineRunner.attachCamera": [{
|
|
36576
|
+
name: "deviceId",
|
|
36577
|
+
form: "single",
|
|
36578
|
+
optional: false
|
|
36579
|
+
}],
|
|
36580
|
+
"pipelineRunner.detachCamera": [{
|
|
36581
|
+
name: "deviceId",
|
|
36582
|
+
form: "single",
|
|
36583
|
+
optional: false
|
|
36584
|
+
}],
|
|
36585
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
36586
|
+
name: "deviceId",
|
|
36587
|
+
form: "single",
|
|
36588
|
+
optional: false
|
|
36589
|
+
}],
|
|
36590
|
+
"pipelineRunner.reportMotion": [{
|
|
36591
|
+
name: "deviceId",
|
|
36592
|
+
form: "single",
|
|
36593
|
+
optional: false
|
|
36594
|
+
}],
|
|
36595
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
36596
|
+
name: "deviceId",
|
|
36597
|
+
form: "single",
|
|
36598
|
+
optional: false
|
|
36599
|
+
}],
|
|
36600
|
+
"pipelineRunner.runStatelessStep": [{
|
|
36601
|
+
name: "sourceDeviceId",
|
|
36602
|
+
form: "single",
|
|
36603
|
+
optional: false
|
|
36604
|
+
}],
|
|
36605
|
+
"plateGallery.getPlateByTrack": [{
|
|
36606
|
+
name: "deviceId",
|
|
36607
|
+
form: "single",
|
|
36608
|
+
optional: false
|
|
36609
|
+
}],
|
|
36610
|
+
"plateGallery.listPlates": [{
|
|
36611
|
+
name: "deviceId",
|
|
36612
|
+
form: "single",
|
|
36613
|
+
optional: true
|
|
36614
|
+
}],
|
|
36615
|
+
"privacyMask.getOptions": [{
|
|
36616
|
+
name: "deviceId",
|
|
36617
|
+
form: "single",
|
|
36618
|
+
optional: false
|
|
36619
|
+
}],
|
|
36620
|
+
"privacyMask.setAudioEnabled": [{
|
|
36621
|
+
name: "deviceId",
|
|
36622
|
+
form: "single",
|
|
36623
|
+
optional: false
|
|
36624
|
+
}],
|
|
36625
|
+
"privacyMask.setMask": [{
|
|
36626
|
+
name: "deviceId",
|
|
36627
|
+
form: "single",
|
|
36628
|
+
optional: false
|
|
36629
|
+
}],
|
|
36630
|
+
"ptz.continuousMove": [{
|
|
36631
|
+
name: "deviceId",
|
|
36632
|
+
form: "single",
|
|
36633
|
+
optional: false
|
|
36634
|
+
}],
|
|
36635
|
+
"ptz.deletePreset": [{
|
|
36636
|
+
name: "deviceId",
|
|
36637
|
+
form: "single",
|
|
36638
|
+
optional: false
|
|
36639
|
+
}],
|
|
36640
|
+
"ptz.getOptions": [{
|
|
36641
|
+
name: "deviceId",
|
|
36642
|
+
form: "single",
|
|
36643
|
+
optional: false
|
|
36644
|
+
}],
|
|
36645
|
+
"ptz.getPosition": [{
|
|
36646
|
+
name: "deviceId",
|
|
36647
|
+
form: "single",
|
|
36648
|
+
optional: false
|
|
36649
|
+
}],
|
|
36650
|
+
"ptz.getPresets": [{
|
|
36651
|
+
name: "deviceId",
|
|
36652
|
+
form: "single",
|
|
36653
|
+
optional: false
|
|
36654
|
+
}],
|
|
36655
|
+
"ptz.goHome": [{
|
|
36656
|
+
name: "deviceId",
|
|
36657
|
+
form: "single",
|
|
36658
|
+
optional: false
|
|
36659
|
+
}],
|
|
36660
|
+
"ptz.goToPreset": [{
|
|
36661
|
+
name: "deviceId",
|
|
36662
|
+
form: "single",
|
|
36663
|
+
optional: false
|
|
36664
|
+
}],
|
|
36665
|
+
"ptz.move": [{
|
|
36666
|
+
name: "deviceId",
|
|
36667
|
+
form: "single",
|
|
36668
|
+
optional: false
|
|
36669
|
+
}],
|
|
36670
|
+
"ptz.savePreset": [{
|
|
36671
|
+
name: "deviceId",
|
|
36672
|
+
form: "single",
|
|
36673
|
+
optional: false
|
|
36674
|
+
}],
|
|
36675
|
+
"ptz.setAutofocus": [{
|
|
36676
|
+
name: "deviceId",
|
|
36677
|
+
form: "single",
|
|
36678
|
+
optional: false
|
|
36679
|
+
}],
|
|
36680
|
+
"ptz.stop": [{
|
|
36681
|
+
name: "deviceId",
|
|
36682
|
+
form: "single",
|
|
36683
|
+
optional: false
|
|
36684
|
+
}],
|
|
36685
|
+
"ptzAutotrack.getSettings": [{
|
|
36686
|
+
name: "deviceId",
|
|
36687
|
+
form: "single",
|
|
36688
|
+
optional: false
|
|
36689
|
+
}],
|
|
36690
|
+
"ptzAutotrack.getStatus": [{
|
|
36691
|
+
name: "deviceId",
|
|
36692
|
+
form: "single",
|
|
36693
|
+
optional: false
|
|
36694
|
+
}],
|
|
36695
|
+
"ptzAutotrack.setEnabled": [{
|
|
36696
|
+
name: "deviceId",
|
|
36697
|
+
form: "single",
|
|
36698
|
+
optional: false
|
|
36699
|
+
}],
|
|
36700
|
+
"ptzAutotrack.setSettings": [{
|
|
36701
|
+
name: "deviceId",
|
|
36702
|
+
form: "single",
|
|
36703
|
+
optional: false
|
|
36704
|
+
}],
|
|
36705
|
+
"reboot.reboot": [{
|
|
36706
|
+
name: "deviceId",
|
|
36707
|
+
form: "single",
|
|
36708
|
+
optional: false
|
|
36709
|
+
}],
|
|
36710
|
+
"recording.deleteFootprint": [{
|
|
36711
|
+
name: "deviceId",
|
|
36712
|
+
form: "single",
|
|
36713
|
+
optional: false
|
|
36714
|
+
}],
|
|
36715
|
+
"recording.getAvailability": [{
|
|
36716
|
+
name: "deviceId",
|
|
36717
|
+
form: "single",
|
|
36718
|
+
optional: false
|
|
36719
|
+
}],
|
|
36720
|
+
"recording.getDaysWithRecordings": [{
|
|
36721
|
+
name: "deviceId",
|
|
36722
|
+
form: "single",
|
|
36723
|
+
optional: false
|
|
36724
|
+
}],
|
|
36725
|
+
"recording.getDeviceConfig": [{
|
|
36726
|
+
name: "deviceId",
|
|
36727
|
+
form: "single",
|
|
36728
|
+
optional: false
|
|
36729
|
+
}],
|
|
36730
|
+
"recording.getPlaybackManifest": [{
|
|
36731
|
+
name: "deviceId",
|
|
36732
|
+
form: "single",
|
|
36733
|
+
optional: false
|
|
36734
|
+
}],
|
|
36735
|
+
"recording.listOpsLog": [{
|
|
36736
|
+
name: "deviceId",
|
|
36737
|
+
form: "single",
|
|
36738
|
+
optional: true
|
|
36739
|
+
}],
|
|
36740
|
+
"recording.locateSegment": [{
|
|
36741
|
+
name: "deviceId",
|
|
36742
|
+
form: "single",
|
|
36743
|
+
optional: false
|
|
36744
|
+
}],
|
|
36745
|
+
"recording.pruneFootage": [{
|
|
36746
|
+
name: "deviceId",
|
|
36747
|
+
form: "single",
|
|
36748
|
+
optional: false
|
|
36749
|
+
}],
|
|
36750
|
+
"recording.readGopBytes": [{
|
|
36751
|
+
name: "deviceId",
|
|
36752
|
+
form: "single",
|
|
36753
|
+
optional: false
|
|
36754
|
+
}],
|
|
36755
|
+
"recording.readSegmentBytes": [{
|
|
36756
|
+
name: "deviceId",
|
|
36757
|
+
form: "single",
|
|
36758
|
+
optional: false
|
|
36759
|
+
}],
|
|
36760
|
+
"recording.relocateFootage": [{
|
|
36761
|
+
name: "deviceId",
|
|
36762
|
+
form: "single",
|
|
36763
|
+
optional: true
|
|
36764
|
+
}],
|
|
36765
|
+
"recording.renderClip": [{
|
|
36766
|
+
name: "deviceId",
|
|
36767
|
+
form: "single",
|
|
36768
|
+
optional: false
|
|
36769
|
+
}],
|
|
36770
|
+
"recording.renderGif": [{
|
|
36771
|
+
name: "deviceId",
|
|
36772
|
+
form: "single",
|
|
36773
|
+
optional: false
|
|
36774
|
+
}],
|
|
36775
|
+
"recording.rescanStorage": [{
|
|
36776
|
+
name: "deviceId",
|
|
36777
|
+
form: "single",
|
|
36778
|
+
optional: false
|
|
36779
|
+
}],
|
|
36780
|
+
"recording.setDeviceConfig": [{
|
|
36781
|
+
name: "deviceId",
|
|
36782
|
+
form: "single",
|
|
36783
|
+
optional: false
|
|
36784
|
+
}],
|
|
36785
|
+
"recording.startStorageMigrationMove": [{
|
|
36786
|
+
name: "deviceId",
|
|
36787
|
+
form: "single",
|
|
36788
|
+
optional: true
|
|
36789
|
+
}],
|
|
36790
|
+
"recordingExport.createExport": [{
|
|
36791
|
+
name: "deviceId",
|
|
36792
|
+
form: "single",
|
|
36793
|
+
optional: false
|
|
36794
|
+
}],
|
|
36795
|
+
"recordingExport.listExports": [{
|
|
36796
|
+
name: "deviceId",
|
|
36797
|
+
form: "single",
|
|
36798
|
+
optional: true
|
|
36799
|
+
}],
|
|
36800
|
+
"sceneMonitor.captureReference": [{
|
|
36801
|
+
name: "deviceId",
|
|
36802
|
+
form: "single",
|
|
36803
|
+
optional: false
|
|
36804
|
+
}],
|
|
36805
|
+
"sceneMonitor.createScene": [{
|
|
36806
|
+
name: "deviceId",
|
|
36807
|
+
form: "single",
|
|
36808
|
+
optional: false
|
|
36809
|
+
}],
|
|
36810
|
+
"sceneMonitor.deleteReference": [{
|
|
36811
|
+
name: "deviceId",
|
|
36812
|
+
form: "single",
|
|
36813
|
+
optional: false
|
|
36814
|
+
}],
|
|
36815
|
+
"sceneMonitor.deleteScene": [{
|
|
36816
|
+
name: "deviceId",
|
|
36817
|
+
form: "single",
|
|
36818
|
+
optional: false
|
|
36819
|
+
}],
|
|
36820
|
+
"sceneMonitor.listScenes": [{
|
|
36821
|
+
name: "deviceId",
|
|
36822
|
+
form: "single",
|
|
36823
|
+
optional: false
|
|
36824
|
+
}],
|
|
36825
|
+
"sceneMonitor.recheckNow": [{
|
|
36826
|
+
name: "deviceId",
|
|
36827
|
+
form: "single",
|
|
36828
|
+
optional: false
|
|
36829
|
+
}],
|
|
36830
|
+
"sceneMonitor.resetScene": [{
|
|
36831
|
+
name: "deviceId",
|
|
36832
|
+
form: "single",
|
|
36833
|
+
optional: false
|
|
36834
|
+
}],
|
|
36835
|
+
"sceneMonitor.updateScene": [{
|
|
36836
|
+
name: "deviceId",
|
|
36837
|
+
form: "single",
|
|
36838
|
+
optional: false
|
|
36839
|
+
}],
|
|
36840
|
+
"scriptRunner.run": [{
|
|
36841
|
+
name: "deviceId",
|
|
36842
|
+
form: "single",
|
|
36843
|
+
optional: false
|
|
36844
|
+
}],
|
|
36845
|
+
"scriptRunner.stop": [{
|
|
36846
|
+
name: "deviceId",
|
|
36847
|
+
form: "single",
|
|
36848
|
+
optional: false
|
|
36849
|
+
}],
|
|
36850
|
+
"snapshot.getSnapshot": [{
|
|
36851
|
+
name: "deviceId",
|
|
36852
|
+
form: "single",
|
|
36853
|
+
optional: false
|
|
36854
|
+
}],
|
|
36855
|
+
"snapshot.getSnapshotLinks": [{
|
|
36856
|
+
name: "targets",
|
|
36857
|
+
form: "object-array",
|
|
36858
|
+
optional: false,
|
|
36859
|
+
itemField: "deviceId"
|
|
36860
|
+
}],
|
|
36861
|
+
"snapshot.getSnapshotOverview": [{
|
|
36862
|
+
name: "deviceIds",
|
|
36863
|
+
form: "array",
|
|
36864
|
+
optional: false
|
|
36865
|
+
}],
|
|
36866
|
+
"snapshot.invalidateCache": [{
|
|
36867
|
+
name: "deviceId",
|
|
36868
|
+
form: "single",
|
|
36869
|
+
optional: false
|
|
36870
|
+
}],
|
|
36871
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
36872
|
+
name: "deviceId",
|
|
36873
|
+
form: "single",
|
|
36874
|
+
optional: false
|
|
36875
|
+
}],
|
|
36876
|
+
"streamBroker.assignProfile": [{
|
|
36877
|
+
name: "deviceId",
|
|
36878
|
+
form: "single",
|
|
36879
|
+
optional: false
|
|
36880
|
+
}],
|
|
36881
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
36882
|
+
name: "deviceId",
|
|
36883
|
+
form: "single",
|
|
36884
|
+
optional: false
|
|
36885
|
+
}],
|
|
36886
|
+
"streamBroker.getStreamWithCodec": [{
|
|
36887
|
+
name: "deviceId",
|
|
36888
|
+
form: "single",
|
|
36889
|
+
optional: false
|
|
36890
|
+
}],
|
|
36891
|
+
"streamBroker.produceEventMedia": [{
|
|
36892
|
+
name: "deviceId",
|
|
36893
|
+
form: "single",
|
|
36894
|
+
optional: false
|
|
36895
|
+
}],
|
|
36896
|
+
"streamBroker.publishCameraStream": [{
|
|
36897
|
+
name: "deviceId",
|
|
36898
|
+
form: "single",
|
|
36899
|
+
optional: false
|
|
36900
|
+
}],
|
|
36901
|
+
"streamBroker.renderPreBufferClip": [{
|
|
36902
|
+
name: "deviceId",
|
|
36903
|
+
form: "single",
|
|
36904
|
+
optional: false
|
|
36905
|
+
}],
|
|
36906
|
+
"streamBroker.restartProfile": [{
|
|
36907
|
+
name: "deviceId",
|
|
36908
|
+
form: "single",
|
|
36909
|
+
optional: false
|
|
36910
|
+
}],
|
|
36911
|
+
"streamBroker.retractCameraStream": [{
|
|
36912
|
+
name: "deviceId",
|
|
36913
|
+
form: "single",
|
|
36914
|
+
optional: false
|
|
36915
|
+
}],
|
|
36916
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
36917
|
+
name: "deviceId",
|
|
36918
|
+
form: "single",
|
|
36919
|
+
optional: false
|
|
36920
|
+
}],
|
|
36921
|
+
"streamBroker.unassignProfile": [{
|
|
36922
|
+
name: "deviceId",
|
|
36923
|
+
form: "single",
|
|
36924
|
+
optional: false
|
|
36925
|
+
}],
|
|
36926
|
+
"streamCatalog.getCatalog": [{
|
|
36927
|
+
name: "deviceId",
|
|
36928
|
+
form: "single",
|
|
36929
|
+
optional: false
|
|
36930
|
+
}],
|
|
36931
|
+
"streamParams.getConfigSchema": [{
|
|
36932
|
+
name: "deviceId",
|
|
36933
|
+
form: "single",
|
|
36934
|
+
optional: false
|
|
36935
|
+
}],
|
|
36936
|
+
"streamParams.getOptions": [{
|
|
36937
|
+
name: "deviceId",
|
|
36938
|
+
form: "single",
|
|
36939
|
+
optional: false
|
|
36940
|
+
}],
|
|
36941
|
+
"streamParams.setProfile": [{
|
|
36942
|
+
name: "deviceId",
|
|
36943
|
+
form: "single",
|
|
36944
|
+
optional: false
|
|
36945
|
+
}],
|
|
36946
|
+
"switch.setState": [{
|
|
36947
|
+
name: "deviceId",
|
|
36948
|
+
form: "single",
|
|
36949
|
+
optional: false
|
|
36950
|
+
}],
|
|
36951
|
+
"vacuumControl.locate": [{
|
|
36952
|
+
name: "deviceId",
|
|
36953
|
+
form: "single",
|
|
36954
|
+
optional: false
|
|
36955
|
+
}],
|
|
36956
|
+
"vacuumControl.pause": [{
|
|
36957
|
+
name: "deviceId",
|
|
36958
|
+
form: "single",
|
|
36959
|
+
optional: false
|
|
36960
|
+
}],
|
|
36961
|
+
"vacuumControl.returnToBase": [{
|
|
36962
|
+
name: "deviceId",
|
|
36963
|
+
form: "single",
|
|
36964
|
+
optional: false
|
|
36965
|
+
}],
|
|
36966
|
+
"vacuumControl.setFanSpeed": [{
|
|
36967
|
+
name: "deviceId",
|
|
36968
|
+
form: "single",
|
|
36969
|
+
optional: false
|
|
36970
|
+
}],
|
|
36971
|
+
"vacuumControl.start": [{
|
|
36972
|
+
name: "deviceId",
|
|
36973
|
+
form: "single",
|
|
36974
|
+
optional: false
|
|
36975
|
+
}],
|
|
36976
|
+
"vacuumControl.stop": [{
|
|
36977
|
+
name: "deviceId",
|
|
36978
|
+
form: "single",
|
|
36979
|
+
optional: false
|
|
36980
|
+
}],
|
|
36981
|
+
"valve.close": [{
|
|
36982
|
+
name: "deviceId",
|
|
36983
|
+
form: "single",
|
|
36984
|
+
optional: false
|
|
36985
|
+
}],
|
|
36986
|
+
"valve.open": [{
|
|
36987
|
+
name: "deviceId",
|
|
36988
|
+
form: "single",
|
|
36989
|
+
optional: false
|
|
36990
|
+
}],
|
|
36991
|
+
"valve.setPosition": [{
|
|
36992
|
+
name: "deviceId",
|
|
36993
|
+
form: "single",
|
|
36994
|
+
optional: false
|
|
36995
|
+
}],
|
|
36996
|
+
"valve.stop": [{
|
|
36997
|
+
name: "deviceId",
|
|
36998
|
+
form: "single",
|
|
36999
|
+
optional: false
|
|
37000
|
+
}],
|
|
37001
|
+
"videoclips.getClipPlayback": [{
|
|
37002
|
+
name: "deviceId",
|
|
37003
|
+
form: "single",
|
|
37004
|
+
optional: false
|
|
37005
|
+
}],
|
|
37006
|
+
"videoclips.listClips": [{
|
|
37007
|
+
name: "deviceId",
|
|
37008
|
+
form: "single",
|
|
37009
|
+
optional: false
|
|
37010
|
+
}],
|
|
37011
|
+
"waterHeater.setAway": [{
|
|
37012
|
+
name: "deviceId",
|
|
37013
|
+
form: "single",
|
|
37014
|
+
optional: false
|
|
37015
|
+
}],
|
|
37016
|
+
"waterHeater.setOperationMode": [{
|
|
37017
|
+
name: "deviceId",
|
|
37018
|
+
form: "single",
|
|
37019
|
+
optional: false
|
|
37020
|
+
}],
|
|
37021
|
+
"waterHeater.setTargetTemp": [{
|
|
37022
|
+
name: "deviceId",
|
|
37023
|
+
form: "single",
|
|
37024
|
+
optional: false
|
|
37025
|
+
}],
|
|
37026
|
+
"webrtcSession.addIceCandidate": [{
|
|
37027
|
+
name: "deviceId",
|
|
37028
|
+
form: "single",
|
|
37029
|
+
optional: false
|
|
37030
|
+
}],
|
|
37031
|
+
"webrtcSession.closeSession": [{
|
|
37032
|
+
name: "deviceId",
|
|
37033
|
+
form: "single",
|
|
37034
|
+
optional: false
|
|
37035
|
+
}],
|
|
37036
|
+
"webrtcSession.createSession": [{
|
|
37037
|
+
name: "deviceId",
|
|
37038
|
+
form: "single",
|
|
37039
|
+
optional: false
|
|
37040
|
+
}],
|
|
37041
|
+
"webrtcSession.getIceCandidates": [{
|
|
37042
|
+
name: "deviceId",
|
|
37043
|
+
form: "single",
|
|
37044
|
+
optional: false
|
|
37045
|
+
}],
|
|
37046
|
+
"webrtcSession.getSessionState": [{
|
|
37047
|
+
name: "deviceId",
|
|
37048
|
+
form: "single",
|
|
37049
|
+
optional: false
|
|
37050
|
+
}],
|
|
37051
|
+
"webrtcSession.handleAnswer": [{
|
|
37052
|
+
name: "deviceId",
|
|
37053
|
+
form: "single",
|
|
37054
|
+
optional: false
|
|
37055
|
+
}],
|
|
37056
|
+
"webrtcSession.handleOffer": [{
|
|
37057
|
+
name: "deviceId",
|
|
37058
|
+
form: "single",
|
|
37059
|
+
optional: false
|
|
37060
|
+
}],
|
|
37061
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
37062
|
+
name: "deviceId",
|
|
37063
|
+
form: "single",
|
|
37064
|
+
optional: false
|
|
37065
|
+
}],
|
|
37066
|
+
"webrtcSession.listStreams": [{
|
|
37067
|
+
name: "deviceId",
|
|
37068
|
+
form: "single",
|
|
37069
|
+
optional: false
|
|
37070
|
+
}],
|
|
37071
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
37072
|
+
name: "deviceId",
|
|
37073
|
+
form: "single",
|
|
37074
|
+
optional: false
|
|
37075
|
+
}],
|
|
37076
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
37077
|
+
name: "deviceId",
|
|
37078
|
+
form: "single",
|
|
37079
|
+
optional: false
|
|
37080
|
+
}],
|
|
37081
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
37082
|
+
name: "deviceId",
|
|
37083
|
+
form: "single",
|
|
37084
|
+
optional: false
|
|
37085
|
+
}],
|
|
37086
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
37087
|
+
name: "deviceId",
|
|
37088
|
+
form: "single",
|
|
37089
|
+
optional: false
|
|
37090
|
+
}],
|
|
37091
|
+
"zoneRules.listRules": [{
|
|
37092
|
+
name: "deviceId",
|
|
37093
|
+
form: "single",
|
|
37094
|
+
optional: false
|
|
37095
|
+
}],
|
|
37096
|
+
"zoneRules.setRules": [{
|
|
37097
|
+
name: "deviceId",
|
|
37098
|
+
form: "single",
|
|
37099
|
+
optional: false
|
|
37100
|
+
}],
|
|
37101
|
+
"zones.addZone": [{
|
|
37102
|
+
name: "deviceId",
|
|
37103
|
+
form: "single",
|
|
37104
|
+
optional: false
|
|
37105
|
+
}],
|
|
37106
|
+
"zones.listZones": [{
|
|
37107
|
+
name: "deviceId",
|
|
37108
|
+
form: "single",
|
|
37109
|
+
optional: false
|
|
37110
|
+
}],
|
|
37111
|
+
"zones.removeZone": [{
|
|
37112
|
+
name: "deviceId",
|
|
37113
|
+
form: "single",
|
|
37114
|
+
optional: false
|
|
37115
|
+
}],
|
|
37116
|
+
"zones.updateZone": [{
|
|
37117
|
+
name: "deviceId",
|
|
37118
|
+
form: "single",
|
|
37119
|
+
optional: false
|
|
37120
|
+
}]
|
|
37121
|
+
});
|
|
34403
37122
|
Object.freeze({
|
|
34404
37123
|
"broker": "broker",
|
|
34405
37124
|
"device-export": "device-export",
|