@camstack/addon-provider-petkit 0.2.17 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +2898 -144
- package/dist/addon.mjs +2898 -144
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1101,7 +1101,7 @@ var Nodepetkit = class {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
};
|
|
1103
1103
|
//#endregion
|
|
1104
|
-
//#region ../types/dist/event-category-
|
|
1104
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
1105
1105
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
1106
1106
|
EventCategory["SystemBoot"] = "system.boot";
|
|
1107
1107
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1308,6 +1308,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1308
1308
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
1309
1309
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
1310
1310
|
/**
|
|
1311
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
1312
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
1313
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
1314
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
1315
|
+
* from the placement candidate set for as long as it holds.
|
|
1316
|
+
*
|
|
1317
|
+
* This exists because the state was previously invisible: little-unraid
|
|
1318
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
1319
|
+
* and nothing in the system said so.
|
|
1320
|
+
*
|
|
1321
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
1322
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
1323
|
+
* serves it exactly as before.
|
|
1324
|
+
*/
|
|
1325
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
1326
|
+
/**
|
|
1327
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
1328
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
1329
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
1330
|
+
* per camera.
|
|
1331
|
+
*
|
|
1332
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
1333
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
1334
|
+
* camera" produce byte-identical silence.
|
|
1335
|
+
*/
|
|
1336
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
1337
|
+
/**
|
|
1311
1338
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
1312
1339
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
1313
1340
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -11992,6 +12019,8 @@ var QueryFilterSchema = object({
|
|
|
11992
12019
|
where: record(string(), unknown()).optional(),
|
|
11993
12020
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11994
12021
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12022
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
12023
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11995
12024
|
orderBy: object({
|
|
11996
12025
|
field: string(),
|
|
11997
12026
|
direction: _enum(["asc", "desc"])
|
|
@@ -12011,7 +12040,8 @@ var QueryFilterSchema = object({
|
|
|
12011
12040
|
var MutationFilterSchema = object({
|
|
12012
12041
|
where: record(string(), unknown()).optional(),
|
|
12013
12042
|
whereIn: record(string(), array(unknown())).optional(),
|
|
12014
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
12043
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12044
|
+
whereNot: record(string(), unknown()).optional()
|
|
12015
12045
|
});
|
|
12016
12046
|
/** A single stored record: `{ id, data }`. */
|
|
12017
12047
|
var SettingsRecordSchema = object({
|
|
@@ -13547,6 +13577,17 @@ var LlmImageSchema = object({
|
|
|
13547
13577
|
bytes: _instanceof(Uint8Array),
|
|
13548
13578
|
mimeType: string()
|
|
13549
13579
|
});
|
|
13580
|
+
/**
|
|
13581
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
13582
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
13583
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
13584
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
13585
|
+
*/
|
|
13586
|
+
var LlmRetryPolicySchema = object({
|
|
13587
|
+
enabled: boolean().default(false),
|
|
13588
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
13589
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
13590
|
+
});
|
|
13550
13591
|
var LlmGenerateBaseInputSchema = object({
|
|
13551
13592
|
/** Collection routing (the notification-output posture). */
|
|
13552
13593
|
addonId: string().optional(),
|
|
@@ -13561,7 +13602,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13561
13602
|
jsonSchema: record(string(), unknown()).optional(),
|
|
13562
13603
|
/** Per-call override of the profile default. */
|
|
13563
13604
|
maxTokens: number().int().positive().optional(),
|
|
13564
|
-
temperature: number().optional()
|
|
13605
|
+
temperature: number().optional(),
|
|
13606
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
13607
|
+
topP: number().min(0).max(1).optional(),
|
|
13608
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
13609
|
+
topK: number().int().positive().optional(),
|
|
13610
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
13611
|
+
timeoutMs: number().int().positive().optional(),
|
|
13612
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
13613
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
13614
|
+
/**
|
|
13615
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
13616
|
+
*
|
|
13617
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
13618
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
13619
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
13620
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
13621
|
+
* not generations, and the real load is unbounded.
|
|
13622
|
+
*
|
|
13623
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
13624
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
13625
|
+
*/
|
|
13626
|
+
requestId: string().optional()
|
|
13565
13627
|
});
|
|
13566
13628
|
/**
|
|
13567
13629
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -13574,6 +13636,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13574
13636
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
13575
13637
|
* watchdog — operator decision #3).
|
|
13576
13638
|
*/
|
|
13639
|
+
/**
|
|
13640
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
13641
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
13642
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
13643
|
+
* the preview is exactly what the node downloads.
|
|
13644
|
+
*/
|
|
13645
|
+
var ManagedModelExtraFileSchema = object({
|
|
13646
|
+
url: string(),
|
|
13647
|
+
filename: string(),
|
|
13648
|
+
sizeBytes: number(),
|
|
13649
|
+
sha256: string().optional()
|
|
13650
|
+
});
|
|
13577
13651
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
13578
13652
|
object({
|
|
13579
13653
|
kind: literal("catalog"),
|
|
@@ -13582,7 +13656,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
13582
13656
|
object({
|
|
13583
13657
|
kind: literal("url"),
|
|
13584
13658
|
url: string(),
|
|
13585
|
-
sha256: string().optional()
|
|
13659
|
+
sha256: string().optional(),
|
|
13660
|
+
/** Picker/status label; the file basename when absent. */
|
|
13661
|
+
label: string().optional(),
|
|
13662
|
+
sizeBytes: number().optional(),
|
|
13663
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
13586
13664
|
}),
|
|
13587
13665
|
object({
|
|
13588
13666
|
kind: literal("path"),
|
|
@@ -13600,13 +13678,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
13600
13678
|
gpuLayers: number().int().default(0),
|
|
13601
13679
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
13602
13680
|
threads: number().int().optional(),
|
|
13603
|
-
/** Concurrent slots. */
|
|
13681
|
+
/** Concurrent slots (`--parallel`). */
|
|
13604
13682
|
parallel: number().int().default(1),
|
|
13683
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
13684
|
+
batchSize: number().int().positive().optional(),
|
|
13685
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
13686
|
+
ubatchSize: number().int().positive().optional(),
|
|
13687
|
+
/**
|
|
13688
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
13689
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
13690
|
+
*/
|
|
13691
|
+
flashAttention: boolean().default(false),
|
|
13692
|
+
/**
|
|
13693
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
13694
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
13695
|
+
* what the RAM budget is counting.
|
|
13696
|
+
*/
|
|
13697
|
+
mlock: boolean().default(false),
|
|
13698
|
+
/**
|
|
13699
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
13700
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
13701
|
+
* store produces on every first token.
|
|
13702
|
+
*/
|
|
13703
|
+
noMmap: boolean().default(false),
|
|
13704
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
13705
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
13706
|
+
cacheTypeK: _enum([
|
|
13707
|
+
"f32",
|
|
13708
|
+
"f16",
|
|
13709
|
+
"q8_0",
|
|
13710
|
+
"q5_1",
|
|
13711
|
+
"q5_0",
|
|
13712
|
+
"q4_1",
|
|
13713
|
+
"q4_0"
|
|
13714
|
+
]).optional(),
|
|
13715
|
+
cacheTypeV: _enum([
|
|
13716
|
+
"f32",
|
|
13717
|
+
"f16",
|
|
13718
|
+
"q8_0",
|
|
13719
|
+
"q5_1",
|
|
13720
|
+
"q5_0",
|
|
13721
|
+
"q4_1",
|
|
13722
|
+
"q4_0"
|
|
13723
|
+
]).optional(),
|
|
13724
|
+
/**
|
|
13725
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
13726
|
+
* (which most vision chat templates need and some language-only models
|
|
13727
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
13728
|
+
*
|
|
13729
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
13730
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
13731
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
13732
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
13733
|
+
* twice (D62).
|
|
13734
|
+
*/
|
|
13735
|
+
extraArgs: array(string()).default([]),
|
|
13605
13736
|
/** Else lazy: first generate boots it. */
|
|
13606
13737
|
autoStart: boolean().default(false),
|
|
13607
13738
|
/** 0 = never; frees RAM after quiet periods. */
|
|
13608
13739
|
idleStopMinutes: number().int().default(30)
|
|
13609
13740
|
});
|
|
13741
|
+
/**
|
|
13742
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
13743
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
13744
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
13745
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
13746
|
+
*/
|
|
13747
|
+
var LlmDownloadProgressSchema = object({
|
|
13748
|
+
phase: _enum(["downloading", "verifying"]),
|
|
13749
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
13750
|
+
file: string(),
|
|
13751
|
+
fileIndex: number().int(),
|
|
13752
|
+
fileCount: number().int(),
|
|
13753
|
+
/** Across the WHOLE install, not the current file. */
|
|
13754
|
+
downloadedBytes: number(),
|
|
13755
|
+
totalBytes: number().optional()
|
|
13756
|
+
});
|
|
13610
13757
|
var LlmRuntimeStatusSchema = object({
|
|
13611
13758
|
/** Status is ALWAYS node-qualified. */
|
|
13612
13759
|
nodeId: string(),
|
|
@@ -13623,6 +13770,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
13623
13770
|
modelPath: string().optional(),
|
|
13624
13771
|
modelId: string().optional(),
|
|
13625
13772
|
downloadProgress: number().min(0).max(1).optional(),
|
|
13773
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
13774
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
13626
13775
|
lastError: string().optional(),
|
|
13627
13776
|
crashesInWindow: number(),
|
|
13628
13777
|
/** Child RSS (sampled best-effort). */
|
|
@@ -13633,7 +13782,14 @@ var LlmNodeModelSchema = object({
|
|
|
13633
13782
|
file: string(),
|
|
13634
13783
|
sizeBytes: number(),
|
|
13635
13784
|
catalogId: string().optional(),
|
|
13636
|
-
installedAt: number().optional()
|
|
13785
|
+
installedAt: number().optional(),
|
|
13786
|
+
/**
|
|
13787
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
13788
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
13789
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
13790
|
+
* it the picker could list such a file and do nothing with it.
|
|
13791
|
+
*/
|
|
13792
|
+
path: string().optional()
|
|
13637
13793
|
});
|
|
13638
13794
|
var LlmRuntimeDiskUsageSchema = object({
|
|
13639
13795
|
nodeId: string(),
|
|
@@ -13689,10 +13845,47 @@ var LlmProfileSchema = object({
|
|
|
13689
13845
|
baseUrl: string().optional(),
|
|
13690
13846
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
13691
13847
|
apiKey: string().optional(),
|
|
13848
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
13849
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
13850
|
+
* question about a picture nobody sent. */
|
|
13692
13851
|
supportsVision: boolean(),
|
|
13693
13852
|
temperature: number().min(0).max(2).optional(),
|
|
13853
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
13854
|
+
topP: number().min(0).max(1).optional(),
|
|
13855
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
13856
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
13857
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
13858
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
13859
|
+
topK: number().int().positive().optional(),
|
|
13694
13860
|
maxTokens: number().int().positive().optional(),
|
|
13861
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
13862
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
13863
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
13864
|
+
contextLength: number().int().positive().optional(),
|
|
13865
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
13866
|
+
* two system prompts fighting is worse than either alone). */
|
|
13867
|
+
systemPrompt: string().optional(),
|
|
13868
|
+
/** Total generation bound — the only one a unary call has. */
|
|
13695
13869
|
timeoutMs: number().int().positive().default(6e4),
|
|
13870
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
13871
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
13872
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
13873
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
13874
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
13875
|
+
* GPU load is exactly what happens before them. */
|
|
13876
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
13877
|
+
/** Output started then stopped. */
|
|
13878
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
13879
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
13880
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
13881
|
+
retry: LlmRetryPolicySchema.default({
|
|
13882
|
+
enabled: false,
|
|
13883
|
+
maxAttempts: 1
|
|
13884
|
+
}),
|
|
13885
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
13886
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
13887
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
13888
|
+
toolsEnabled: boolean().default(false),
|
|
13696
13889
|
extraHeaders: record(string(), string()).optional(),
|
|
13697
13890
|
/** kind === 'managed-local' only (spec §4). */
|
|
13698
13891
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -13742,6 +13935,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
13742
13935
|
/** Vision models: companion projector file. */
|
|
13743
13936
|
mmprojUrl: string().optional()
|
|
13744
13937
|
});
|
|
13938
|
+
/**
|
|
13939
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
13940
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
13941
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
13942
|
+
* exception.
|
|
13943
|
+
*
|
|
13944
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
13945
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
13946
|
+
*/
|
|
13947
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
13948
|
+
ok: literal(true),
|
|
13949
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
13950
|
+
model: ManagedModelRefSchema,
|
|
13951
|
+
label: string(),
|
|
13952
|
+
repo: string(),
|
|
13953
|
+
quantization: string(),
|
|
13954
|
+
purpose: _enum(["text", "vision"]),
|
|
13955
|
+
totalBytes: number(),
|
|
13956
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
13957
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
13958
|
+
extraFilenames: array(string())
|
|
13959
|
+
}), object({
|
|
13960
|
+
ok: literal(false),
|
|
13961
|
+
code: string(),
|
|
13962
|
+
message: string(),
|
|
13963
|
+
candidates: array(string()).optional(),
|
|
13964
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
13965
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
13966
|
+
requiredBytes: number().optional()
|
|
13967
|
+
})]);
|
|
13745
13968
|
var LlmRuntimeNodeSchema = object({
|
|
13746
13969
|
nodeId: string(),
|
|
13747
13970
|
reachable: boolean(),
|
|
@@ -13754,7 +13977,10 @@ var ProfileRefInputSchema = object({
|
|
|
13754
13977
|
addonId: string(),
|
|
13755
13978
|
profileId: string()
|
|
13756
13979
|
});
|
|
13757
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
13980
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
13981
|
+
addonId: string().optional(),
|
|
13982
|
+
requestId: string()
|
|
13983
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
13758
13984
|
kind: "mutation",
|
|
13759
13985
|
auth: "admin"
|
|
13760
13986
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -13775,6 +14001,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
13775
14001
|
consumer: string().optional(),
|
|
13776
14002
|
profileId: string().optional()
|
|
13777
14003
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
14004
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
14005
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
14006
|
+
ref: string(),
|
|
14007
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
14008
|
+
maxBytes: number().positive().optional()
|
|
14009
|
+
}), HfModelResolutionSchema, {
|
|
14010
|
+
kind: "mutation",
|
|
14011
|
+
auth: "admin"
|
|
14012
|
+
}), method(object({
|
|
13778
14013
|
nodeId: string(),
|
|
13779
14014
|
model: ManagedModelRefSchema
|
|
13780
14015
|
}), _void(), {
|
|
@@ -15422,6 +15657,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
15422
15657
|
"stream-offline",
|
|
15423
15658
|
"node-online",
|
|
15424
15659
|
"node-offline",
|
|
15660
|
+
"node-inference-unavailable",
|
|
15661
|
+
"detection-blind",
|
|
15425
15662
|
"addon-update-available",
|
|
15426
15663
|
"server-update-available",
|
|
15427
15664
|
"alarm-triggered",
|
|
@@ -15483,7 +15720,16 @@ var NcScheduleSchema = object({
|
|
|
15483
15720
|
});
|
|
15484
15721
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
15485
15722
|
var NcPlateMatcherSchema = object({
|
|
15486
|
-
|
|
15723
|
+
/**
|
|
15724
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
15725
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
15726
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
15727
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
15728
|
+
*
|
|
15729
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
15730
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
15731
|
+
*/
|
|
15732
|
+
values: array(string().min(1)),
|
|
15487
15733
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
15488
15734
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
15489
15735
|
});
|
|
@@ -15517,28 +15763,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
15517
15763
|
/**
|
|
15518
15764
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
15519
15765
|
*
|
|
15520
|
-
*
|
|
15521
|
-
*
|
|
15522
|
-
*
|
|
15523
|
-
*
|
|
15524
|
-
*
|
|
15525
|
-
*
|
|
15526
|
-
*
|
|
15527
|
-
*
|
|
15528
|
-
*
|
|
15529
|
-
*
|
|
15530
|
-
*
|
|
15531
|
-
*
|
|
15532
|
-
*
|
|
15533
|
-
*
|
|
15534
|
-
*
|
|
15535
|
-
*
|
|
15536
|
-
*
|
|
15537
|
-
*
|
|
15538
|
-
*
|
|
15539
|
-
*
|
|
15540
|
-
*
|
|
15541
|
-
* `
|
|
15766
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
15767
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
15768
|
+
* there is no second switch that can disagree with the first and every rule
|
|
15769
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
15770
|
+
*
|
|
15771
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
15772
|
+
* classifier labels with one of them. No window, no percentage:
|
|
15773
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
15774
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
15775
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
15776
|
+
* reaches this condition if the classifier was already confident enough.
|
|
15777
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
15778
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
15779
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
15780
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
15781
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
15782
|
+
* seconds is 100% of nothing.
|
|
15783
|
+
*
|
|
15784
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
15785
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
15786
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
15787
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
15788
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
15789
|
+
* the wrong question to ask of a sparse classifier.
|
|
15790
|
+
*
|
|
15791
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
15792
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
15793
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
15794
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
15795
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
15542
15796
|
*
|
|
15543
15797
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
15544
15798
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -15546,13 +15800,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
15546
15800
|
* an operator who typed `dog` mean the same thing.
|
|
15547
15801
|
*/
|
|
15548
15802
|
var NcAudioConditionSchema = object({
|
|
15549
|
-
/**
|
|
15803
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
15550
15804
|
labels: array(string().min(1)).min(1).optional(),
|
|
15551
|
-
/**
|
|
15805
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
15552
15806
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
15553
|
-
/**
|
|
15807
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
15554
15808
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
15555
|
-
/**
|
|
15809
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
15556
15810
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
15557
15811
|
});
|
|
15558
15812
|
/**
|
|
@@ -15690,13 +15944,81 @@ var NcRuleActionsSchema = object({
|
|
|
15690
15944
|
*/
|
|
15691
15945
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
15692
15946
|
});
|
|
15947
|
+
/**
|
|
15948
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
15949
|
+
*
|
|
15950
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
15951
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
15952
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
15953
|
+
*
|
|
15954
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
15955
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
15956
|
+
*/
|
|
15957
|
+
var NcDeviceStateConditionSchema = object({
|
|
15958
|
+
deviceId: number().int(),
|
|
15959
|
+
/** Any of these matches. */
|
|
15960
|
+
states: array(string().min(1)).min(1)
|
|
15961
|
+
});
|
|
15962
|
+
/**
|
|
15963
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
15964
|
+
*
|
|
15965
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
15966
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
15967
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
15968
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
15969
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
15970
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
15971
|
+
* kind exist for it — see D159.
|
|
15972
|
+
*
|
|
15973
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
15974
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
15975
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
15976
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
15977
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
15978
|
+
*
|
|
15979
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
15980
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
15981
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
15982
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
15983
|
+
* override one rule against the scene's own default.
|
|
15984
|
+
*
|
|
15985
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
15986
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
15987
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
15988
|
+
* evidence, in either direction.
|
|
15989
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
15990
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
15991
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
15992
|
+
* reason the operator asked for a latch.
|
|
15993
|
+
*
|
|
15994
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
15995
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
15996
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
15997
|
+
* said out loud in the log rather than dropped in silence.
|
|
15998
|
+
*/
|
|
15999
|
+
var NcSceneConditionSchema = object({
|
|
16000
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
16001
|
+
sceneId: string().min(1),
|
|
16002
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
16003
|
+
deviceId: number().int().optional(),
|
|
16004
|
+
/** The state the scene must be in for the rule to fire. */
|
|
16005
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
16006
|
+
/**
|
|
16007
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
16008
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
16009
|
+
*/
|
|
16010
|
+
latched: boolean().optional()
|
|
16011
|
+
});
|
|
15693
16012
|
var NcConditionsSchema = object({
|
|
15694
16013
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
15695
|
-
deviceState:
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
|
|
15699
|
-
|
|
16014
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
16015
|
+
/**
|
|
16016
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
16017
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
16018
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
16019
|
+
* {@link NcSceneCondition} and D159.
|
|
16020
|
+
*/
|
|
16021
|
+
scene: NcSceneConditionSchema.optional(),
|
|
15700
16022
|
/** Device scope — absent = all devices. */
|
|
15701
16023
|
devices: array(number()).optional(),
|
|
15702
16024
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -15722,18 +16044,47 @@ var NcConditionsSchema = object({
|
|
|
15722
16044
|
*/
|
|
15723
16045
|
labelEquals: array(string().min(1)).optional(),
|
|
15724
16046
|
/**
|
|
15725
|
-
*
|
|
15726
|
-
*
|
|
15727
|
-
*
|
|
16047
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
16048
|
+
* is about recognised people at all.
|
|
16049
|
+
*
|
|
16050
|
+
* Three states, and the empty one is the point:
|
|
16051
|
+
*
|
|
16052
|
+
* | value | meaning |
|
|
16053
|
+
* | --- | --- |
|
|
16054
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
16055
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
16056
|
+
* | a list | only these identities |
|
|
16057
|
+
*
|
|
16058
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
16059
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
16060
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
16061
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
16062
|
+
* with the list under it is worse than no switch (D62).
|
|
16063
|
+
*
|
|
16064
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
16065
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
16066
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
16067
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
16068
|
+
* `{{label}}` renders.
|
|
16069
|
+
*
|
|
16070
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
16071
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
16072
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
16073
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
16074
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
15728
16075
|
*/
|
|
15729
16076
|
identities: array(string().min(1)).optional(),
|
|
15730
|
-
/**
|
|
16077
|
+
/**
|
|
16078
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
16079
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
16080
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
16081
|
+
*/
|
|
15731
16082
|
plates: NcPlateMatcherSchema.optional(),
|
|
15732
16083
|
/**
|
|
15733
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
15734
|
-
*
|
|
15735
|
-
* identity
|
|
15736
|
-
*
|
|
16084
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
16085
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
16086
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
16087
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
15737
16088
|
*/
|
|
15738
16089
|
identitiesExclude: array(string().min(1)).optional(),
|
|
15739
16090
|
/**
|
|
@@ -16125,7 +16476,80 @@ var NcRuleInputSchema = object({
|
|
|
16125
16476
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
16126
16477
|
* did, and absent is the only way to say that without a migration.
|
|
16127
16478
|
*/
|
|
16128
|
-
confirm: NcConfirmSchema.optional()
|
|
16479
|
+
confirm: NcConfirmSchema.optional(),
|
|
16480
|
+
/**
|
|
16481
|
+
* WAIT for face/plate recognition before saying anything.
|
|
16482
|
+
*
|
|
16483
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
16484
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
16485
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
16486
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
16487
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
16488
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
16489
|
+
*
|
|
16490
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
16491
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
16492
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
16493
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
16494
|
+
*
|
|
16495
|
+
* | value | what happens |
|
|
16496
|
+
* | --- | --- |
|
|
16497
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
16498
|
+
* | 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) |
|
|
16499
|
+
*
|
|
16500
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16501
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
16502
|
+
* rule authored before this field meant.
|
|
16503
|
+
*
|
|
16504
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
16505
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
16506
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
16507
|
+
* be satisfied, because a closed track carries no crossing.
|
|
16508
|
+
*/
|
|
16509
|
+
waitForEnhancement: boolean().optional(),
|
|
16510
|
+
/**
|
|
16511
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
16512
|
+
*
|
|
16513
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
16514
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
16515
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
16516
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
16517
|
+
* notification with an updated one naming everybody. The push carries the
|
|
16518
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
16519
|
+
*
|
|
16520
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
16521
|
+
*
|
|
16522
|
+
* ### Why an idle cutoff and not a window
|
|
16523
|
+
*
|
|
16524
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
16525
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
16526
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
16527
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
16528
|
+
*
|
|
16529
|
+
* ### What it replaces
|
|
16530
|
+
*
|
|
16531
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
16532
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
16533
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
16534
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
16535
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
16536
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
16537
|
+
* throttled by the window its own first member spent.
|
|
16538
|
+
*
|
|
16539
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
16540
|
+
*
|
|
16541
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
16542
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
16543
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
16544
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
16545
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
16546
|
+
* path. Neither combination fires twice for one subject.
|
|
16547
|
+
*
|
|
16548
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16549
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
16550
|
+
* field existed.
|
|
16551
|
+
*/
|
|
16552
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
16129
16553
|
});
|
|
16130
16554
|
/**
|
|
16131
16555
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -16232,6 +16656,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
16232
16656
|
"occupancy",
|
|
16233
16657
|
"audio",
|
|
16234
16658
|
"deviceState",
|
|
16659
|
+
"scene",
|
|
16235
16660
|
"systemEvent"
|
|
16236
16661
|
]),
|
|
16237
16662
|
operator: _enum([
|
|
@@ -16637,7 +17062,87 @@ var MethodAccessSchema = _enum([
|
|
|
16637
17062
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
16638
17063
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
16639
17064
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
16640
|
-
|
|
17065
|
+
/**
|
|
17066
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
17067
|
+
*
|
|
17068
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
17069
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
17070
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
17071
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
17072
|
+
*
|
|
17073
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
17074
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
17075
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
17076
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
17077
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
17078
|
+
* is NOT covered until the grant is edited.
|
|
17079
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
17080
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
17081
|
+
* re-resolves on the next request.
|
|
17082
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
17083
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
17084
|
+
* null/unset location matches NO `locations` selector.
|
|
17085
|
+
*/
|
|
17086
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
17087
|
+
object({ kind: literal("all") }),
|
|
17088
|
+
object({
|
|
17089
|
+
kind: literal("ids"),
|
|
17090
|
+
ids: array(number().int()).min(1)
|
|
17091
|
+
}),
|
|
17092
|
+
object({
|
|
17093
|
+
kind: literal("types"),
|
|
17094
|
+
types: array(_enum(DeviceType)).min(1)
|
|
17095
|
+
}),
|
|
17096
|
+
object({
|
|
17097
|
+
kind: literal("locations"),
|
|
17098
|
+
locations: array(string().min(1)).min(1)
|
|
17099
|
+
})
|
|
17100
|
+
]);
|
|
17101
|
+
var DeviceTokenScopeSchema = object({
|
|
17102
|
+
type: literal("device"),
|
|
17103
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
17104
|
+
selector: DeviceSelectorSchema,
|
|
17105
|
+
access: array(MethodAccessSchema).min(1),
|
|
17106
|
+
/**
|
|
17107
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
17108
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
17109
|
+
* Direction is parent → children ONLY.
|
|
17110
|
+
*
|
|
17111
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
17112
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
17113
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
17114
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
17115
|
+
* explicitly to override that default per grant.
|
|
17116
|
+
*/
|
|
17117
|
+
includeLinked: boolean().optional()
|
|
17118
|
+
});
|
|
17119
|
+
/**
|
|
17120
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
17121
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
17122
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
17123
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
17124
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
17125
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
17126
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
17127
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
17128
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
17129
|
+
*/
|
|
17130
|
+
function migrateLegacyTokenScope(raw) {
|
|
17131
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
17132
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
17133
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
17134
|
+
const targets = Reflect.get(raw, "targets");
|
|
17135
|
+
if (!Array.isArray(targets)) return raw;
|
|
17136
|
+
return {
|
|
17137
|
+
type: "device",
|
|
17138
|
+
selector: {
|
|
17139
|
+
kind: "ids",
|
|
17140
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
17141
|
+
},
|
|
17142
|
+
access: Reflect.get(raw, "access")
|
|
17143
|
+
};
|
|
17144
|
+
}
|
|
17145
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
16641
17146
|
object({
|
|
16642
17147
|
type: literal("category"),
|
|
16643
17148
|
target: CapScopeSchema,
|
|
@@ -16653,18 +17158,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
16653
17158
|
target: string(),
|
|
16654
17159
|
access: array(MethodAccessSchema).min(1)
|
|
16655
17160
|
}),
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
/**
|
|
16659
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
16660
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
16661
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
16662
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
16663
|
-
*/
|
|
16664
|
-
targets: array(string()).min(1),
|
|
16665
|
-
access: array(MethodAccessSchema).min(1)
|
|
16666
|
-
})
|
|
16667
|
-
]);
|
|
17161
|
+
DeviceTokenScopeSchema
|
|
17162
|
+
]));
|
|
16668
17163
|
object({
|
|
16669
17164
|
id: string(),
|
|
16670
17165
|
username: string(),
|
|
@@ -16981,7 +17476,7 @@ var TrackEnvelopeSchema = object({
|
|
|
16981
17476
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
16982
17477
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
16983
17478
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
16984
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
17479
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
16985
17480
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
16986
17481
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
16987
17482
|
* (`getObjectEvents` et al.).
|
|
@@ -17117,7 +17612,21 @@ union([literal(1), literal(2)]);
|
|
|
17117
17612
|
var LabelAttributionSchema = object({
|
|
17118
17613
|
stepId: string(),
|
|
17119
17614
|
modelId: string().optional(),
|
|
17120
|
-
decidedAt: number()
|
|
17615
|
+
decidedAt: number(),
|
|
17616
|
+
/**
|
|
17617
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
17618
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
17619
|
+
*
|
|
17620
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
17621
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
17622
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
17623
|
+
* the thing that does not move, so it is what a rule matches on
|
|
17624
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
17625
|
+
*
|
|
17626
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
17627
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
17628
|
+
*/
|
|
17629
|
+
identityId: string().optional()
|
|
17121
17630
|
});
|
|
17122
17631
|
/**
|
|
17123
17632
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -17254,6 +17763,28 @@ var TrackSchema = object({
|
|
|
17254
17763
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
17255
17764
|
*/
|
|
17256
17765
|
hasFace: boolean().optional(),
|
|
17766
|
+
/**
|
|
17767
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
17768
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
17769
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
17770
|
+
*
|
|
17771
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
17772
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
17773
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
17774
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
17775
|
+
* stop. This is the composition note that makes the row true.
|
|
17776
|
+
*
|
|
17777
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
17778
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
17779
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
17780
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
17781
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
17782
|
+
*
|
|
17783
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
17784
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
17785
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
17786
|
+
*/
|
|
17787
|
+
hasRider: boolean().optional(),
|
|
17257
17788
|
...TrackFlagFields,
|
|
17258
17789
|
...TrackRetrainFields
|
|
17259
17790
|
});
|
|
@@ -17603,7 +18134,10 @@ var RecentTracksQueryInput = object({
|
|
|
17603
18134
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
17604
18135
|
cursor: string().optional(),
|
|
17605
18136
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
17606
|
-
projection: TrackProjectionSchema.optional()
|
|
18137
|
+
projection: TrackProjectionSchema.optional(),
|
|
18138
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18139
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
18140
|
+
includeStationary: boolean().optional()
|
|
17607
18141
|
});
|
|
17608
18142
|
var RecentTracksPageSchema = object({
|
|
17609
18143
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -17821,7 +18355,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17821
18355
|
zone: TrackZoneFilterSchema.optional(),
|
|
17822
18356
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
17823
18357
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
17824
|
-
projection: TrackProjectionSchema.optional()
|
|
18358
|
+
projection: TrackProjectionSchema.optional(),
|
|
18359
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
18360
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
18361
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
18362
|
+
includeStationary: boolean().optional()
|
|
17825
18363
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
17826
18364
|
kind: "mutation",
|
|
17827
18365
|
auth: "admin"
|
|
@@ -17985,11 +18523,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17985
18523
|
auth: "admin"
|
|
17986
18524
|
}), method(object({
|
|
17987
18525
|
eventId: string(),
|
|
17988
|
-
kind: MediaFileKindEnum.optional()
|
|
18526
|
+
kind: MediaFileKindEnum.optional(),
|
|
18527
|
+
deviceId: number()
|
|
18528
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
18529
|
+
trackId: string(),
|
|
18530
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
18531
|
+
deviceId: number()
|
|
17989
18532
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
17990
18533
|
trackId: string(),
|
|
17991
|
-
|
|
17992
|
-
}), array(
|
|
18534
|
+
deviceId: number()
|
|
18535
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
17993
18536
|
kind: "mutation",
|
|
17994
18537
|
auth: "admin"
|
|
17995
18538
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -18689,6 +19232,17 @@ var maxSessionHoldMsField = {
|
|
|
18689
19232
|
default: 12e4,
|
|
18690
19233
|
step: 5e3
|
|
18691
19234
|
};
|
|
19235
|
+
/**
|
|
19236
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
19237
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
19238
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
19239
|
+
*/
|
|
19240
|
+
var audioMotionWindowMsField = {
|
|
19241
|
+
min: 5e3,
|
|
19242
|
+
max: 6e5,
|
|
19243
|
+
default: 9e4,
|
|
19244
|
+
step: 5e3
|
|
19245
|
+
};
|
|
18692
19246
|
var motionFpsField = {
|
|
18693
19247
|
min: 1,
|
|
18694
19248
|
max: 30,
|
|
@@ -18720,7 +19274,7 @@ var detectionFpsField = {
|
|
|
18720
19274
|
var occupancyRecheckSecField = {
|
|
18721
19275
|
min: 0,
|
|
18722
19276
|
max: 300,
|
|
18723
|
-
default:
|
|
19277
|
+
default: 300,
|
|
18724
19278
|
step: 5
|
|
18725
19279
|
};
|
|
18726
19280
|
var occupancyRecheckFramesField = {
|
|
@@ -18865,6 +19419,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
18865
19419
|
* resolved `CameraDetectionConfig`.
|
|
18866
19420
|
*/
|
|
18867
19421
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
19422
|
+
/**
|
|
19423
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
19424
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
19425
|
+
*
|
|
19426
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
19427
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
19428
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
19429
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
19430
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
19431
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
19432
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
19433
|
+
*
|
|
19434
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
19435
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
19436
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
19437
|
+
*
|
|
19438
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
19439
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
19440
|
+
* `maxSessionHoldMs`.
|
|
19441
|
+
*/
|
|
19442
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
18868
19443
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
18869
19444
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
18870
19445
|
motionStreamId: string(),
|
|
@@ -18960,7 +19535,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
18960
19535
|
*/
|
|
18961
19536
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
18962
19537
|
});
|
|
18963
|
-
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;
|
|
19538
|
+
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;
|
|
18964
19539
|
/**
|
|
18965
19540
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
18966
19541
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -19946,7 +20521,31 @@ DeviceType.Camera, method(object({
|
|
|
19946
20521
|
lastCapturedAt: number().nullable(),
|
|
19947
20522
|
cacheAgeMs: number().nullable(),
|
|
19948
20523
|
etag: string().nullable()
|
|
19949
|
-
}))), systemMethod(object({
|
|
20524
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
20525
|
+
/** The battery slice as read, or null when the device has none. */
|
|
20526
|
+
battery: object({
|
|
20527
|
+
sleeping: boolean(),
|
|
20528
|
+
lastUpdated: number(),
|
|
20529
|
+
lastContactAt: number().optional()
|
|
20530
|
+
}).nullable(),
|
|
20531
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
20532
|
+
state: object({
|
|
20533
|
+
isBattery: boolean(),
|
|
20534
|
+
reason: _enum([
|
|
20535
|
+
"disabled",
|
|
20536
|
+
"sleeping",
|
|
20537
|
+
"unreachable",
|
|
20538
|
+
"waking"
|
|
20539
|
+
]).nullable()
|
|
20540
|
+
}),
|
|
20541
|
+
/** The cached frame behind the next paint. */
|
|
20542
|
+
frame: object({
|
|
20543
|
+
capturedAt: number().nullable(),
|
|
20544
|
+
ageMs: number().nullable()
|
|
20545
|
+
}),
|
|
20546
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
20547
|
+
waking: boolean()
|
|
20548
|
+
})), systemMethod(object({
|
|
19950
20549
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19951
20550
|
* width) the caller will paint — the width is snapped to the server's
|
|
19952
20551
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19976,7 +20575,16 @@ targets: array(object({
|
|
|
19976
20575
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
19977
20576
|
* NOT refresh in the background. A surface should say so rather than
|
|
19978
20577
|
* present it as current. */
|
|
19979
|
-
sleeping: boolean()
|
|
20578
|
+
sleeping: boolean(),
|
|
20579
|
+
/** Current device state rendered over the cached frame. State images
|
|
20580
|
+
* remain authoritative even when their photographic background is
|
|
20581
|
+
* old; null means the link must carry a current camera frame. */
|
|
20582
|
+
stateReason: _enum([
|
|
20583
|
+
"disabled",
|
|
20584
|
+
"sleeping",
|
|
20585
|
+
"unreachable",
|
|
20586
|
+
"waking"
|
|
20587
|
+
]).nullable()
|
|
19980
20588
|
})));
|
|
19981
20589
|
/**
|
|
19982
20590
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -21630,6 +22238,25 @@ var BatteryStatusSchema = object({
|
|
|
21630
22238
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
21631
22239
|
lastUpdated: number(),
|
|
21632
22240
|
/**
|
|
22241
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
22242
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
22243
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
22244
|
+
*
|
|
22245
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
22246
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
22247
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
22248
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
22249
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
22250
|
+
*
|
|
22251
|
+
* It is deliberately NOT a clock in the
|
|
22252
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
22253
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
22254
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
22255
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
22256
|
+
* SQLite commit per round-trip.
|
|
22257
|
+
*/
|
|
22258
|
+
lastContactAt: number().optional(),
|
|
22259
|
+
/**
|
|
21633
22260
|
* True when the source is a BINARY low-battery indicator (HA
|
|
21634
22261
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
21635
22262
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23902,54 +24529,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
23902
24529
|
"g711ulaw",
|
|
23903
24530
|
"g711alaw"
|
|
23904
24531
|
]);
|
|
23905
|
-
|
|
23906
|
-
|
|
23907
|
-
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
|
|
23916
|
-
|
|
23917
|
-
|
|
23918
|
-
}),
|
|
23919
|
-
|
|
23920
|
-
|
|
23921
|
-
}),
|
|
23922
|
-
|
|
23923
|
-
|
|
23924
|
-
}),
|
|
23925
|
-
|
|
23926
|
-
|
|
23927
|
-
|
|
23928
|
-
|
|
23929
|
-
|
|
23930
|
-
|
|
23931
|
-
|
|
23932
|
-
|
|
23933
|
-
|
|
23934
|
-
|
|
23935
|
-
|
|
23936
|
-
|
|
23937
|
-
|
|
23938
|
-
|
|
23939
|
-
|
|
23940
|
-
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23944
|
-
|
|
23945
|
-
|
|
23946
|
-
|
|
23947
|
-
|
|
23948
|
-
|
|
23949
|
-
|
|
23950
|
-
|
|
23951
|
-
|
|
23952
|
-
|
|
24532
|
+
var intercomCapability = {
|
|
24533
|
+
name: "intercom",
|
|
24534
|
+
scope: "device",
|
|
24535
|
+
deviceNative: true,
|
|
24536
|
+
mode: "singleton",
|
|
24537
|
+
deviceTypes: [DeviceType.Camera],
|
|
24538
|
+
methods: {
|
|
24539
|
+
/**
|
|
24540
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
24541
|
+
* offer with a single sendonly audio m-line the client answers
|
|
24542
|
+
* (client → server direction). The server wakes battery cams
|
|
24543
|
+
* transparently before opening the upstream talk channel.
|
|
24544
|
+
*/
|
|
24545
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
24546
|
+
sessionId: string(),
|
|
24547
|
+
sdpOffer: string()
|
|
24548
|
+
}), {
|
|
24549
|
+
kind: "mutation",
|
|
24550
|
+
auth: "admin"
|
|
24551
|
+
}),
|
|
24552
|
+
handleAnswer: method(object({
|
|
24553
|
+
deviceId: number(),
|
|
24554
|
+
sessionId: string(),
|
|
24555
|
+
sdpAnswer: string()
|
|
24556
|
+
}), _void(), {
|
|
24557
|
+
kind: "mutation",
|
|
24558
|
+
auth: "admin"
|
|
24559
|
+
}),
|
|
24560
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
24561
|
+
stopSession: method(object({
|
|
24562
|
+
deviceId: number(),
|
|
24563
|
+
sessionId: string()
|
|
24564
|
+
}), _void(), {
|
|
24565
|
+
kind: "mutation",
|
|
24566
|
+
auth: "admin"
|
|
24567
|
+
}),
|
|
24568
|
+
/**
|
|
24569
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
24570
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
24571
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
24572
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
24573
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
24574
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
24575
|
+
* vice versa).
|
|
24576
|
+
*/
|
|
24577
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
24578
|
+
kind: "mutation",
|
|
24579
|
+
auth: "admin"
|
|
24580
|
+
}),
|
|
24581
|
+
/**
|
|
24582
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
24583
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
24584
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
24585
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
24586
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
24587
|
+
*
|
|
24588
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
24589
|
+
* rate — that information lives entirely inside the provider.
|
|
24590
|
+
*
|
|
24591
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
24592
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
24593
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
24594
|
+
* predictor would corrupt with re-ordering).
|
|
24595
|
+
*/
|
|
24596
|
+
pushTalkAudio: method(object({
|
|
24597
|
+
deviceId: number(),
|
|
24598
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
24599
|
+
* survives tRPC JSON serialization. */
|
|
24600
|
+
audioBase64: string(),
|
|
24601
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
24602
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
24603
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
24604
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
24605
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
24606
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
24607
|
+
sampleRate: number().int().positive().optional(),
|
|
24608
|
+
/** Channel count. Default 1. */
|
|
24609
|
+
channels: number().int().positive().optional(),
|
|
24610
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
24611
|
+
sequenceNumber: number().int()
|
|
24612
|
+
}), object({ accepted: boolean() }), {
|
|
24613
|
+
kind: "mutation",
|
|
24614
|
+
auth: "admin"
|
|
24615
|
+
}),
|
|
24616
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
24617
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
24618
|
+
kind: "mutation",
|
|
24619
|
+
auth: "admin"
|
|
24620
|
+
})
|
|
24621
|
+
},
|
|
24622
|
+
events: { onStatusChanged: { data: object({
|
|
24623
|
+
deviceId: number(),
|
|
24624
|
+
status: IntercomStatusSchema
|
|
24625
|
+
}) } },
|
|
24626
|
+
status: {
|
|
24627
|
+
schema: IntercomStatusSchema,
|
|
24628
|
+
kind: "command-driven"
|
|
24629
|
+
},
|
|
24630
|
+
/**
|
|
24631
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
24632
|
+
*
|
|
24633
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
24634
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
24635
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
24636
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
24637
|
+
* have been published and never received a value, which is the defect the
|
|
24638
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
24639
|
+
* `intercom` was excluded rather than exported.
|
|
24640
|
+
*
|
|
24641
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
24642
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
24643
|
+
* come to disagree. Providers write it through
|
|
24644
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
24645
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
24646
|
+
* the first session rather than after it.
|
|
24647
|
+
*
|
|
24648
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
24649
|
+
* session handle, so a session torn down by a transport death that never
|
|
24650
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
24651
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
24652
|
+
* `restored` — a restart must never restore "talking".
|
|
24653
|
+
*/
|
|
24654
|
+
runtimeState: IntercomStatusSchema,
|
|
24655
|
+
/**
|
|
24656
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
24657
|
+
* session, which by definition does not survive the process that held it.
|
|
24658
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
24659
|
+
*
|
|
24660
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
24661
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
24662
|
+
*/
|
|
24663
|
+
durability: "session"
|
|
24664
|
+
};
|
|
23953
24665
|
/**
|
|
23954
24666
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
23955
24667
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -26646,7 +27358,7 @@ method(object({
|
|
|
26646
27358
|
toMs: number()
|
|
26647
27359
|
}), RecordingAvailabilitySchema, {
|
|
26648
27360
|
kind: "query",
|
|
26649
|
-
auth: "
|
|
27361
|
+
auth: "protected"
|
|
26650
27362
|
}), method(object({
|
|
26651
27363
|
deviceId: number(),
|
|
26652
27364
|
fromMs: number(),
|
|
@@ -26654,14 +27366,14 @@ method(object({
|
|
|
26654
27366
|
tzOffsetMinutes: number()
|
|
26655
27367
|
}), RecordingDaysSchema, {
|
|
26656
27368
|
kind: "query",
|
|
26657
|
-
auth: "
|
|
27369
|
+
auth: "protected"
|
|
26658
27370
|
}), method(object({
|
|
26659
27371
|
deviceId: number(),
|
|
26660
27372
|
fromMs: number(),
|
|
26661
27373
|
toMs: number()
|
|
26662
27374
|
}), RecordingManifestSchema, {
|
|
26663
27375
|
kind: "query",
|
|
26664
|
-
auth: "
|
|
27376
|
+
auth: "protected"
|
|
26665
27377
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
26666
27378
|
kind: "query",
|
|
26667
27379
|
auth: "admin"
|
|
@@ -26951,14 +27663,77 @@ method(object({
|
|
|
26951
27663
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
26952
27664
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
26953
27665
|
*
|
|
26954
|
-
*
|
|
26955
|
-
*
|
|
26956
|
-
*
|
|
26957
|
-
*
|
|
26958
|
-
|
|
26959
|
-
|
|
26960
|
-
*
|
|
27666
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
27667
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
27668
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
27669
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
27670
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
27671
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
27672
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
27673
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
27674
|
+
*
|
|
27675
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
27676
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
27677
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
27678
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
27679
|
+
*
|
|
27680
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
27681
|
+
* availability change; consumers never poll.
|
|
27682
|
+
*/
|
|
27683
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
27684
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
27685
|
+
* Open by design so more can be added without a wire break.
|
|
27686
|
+
*
|
|
27687
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
27688
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
27689
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
27690
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
26961
27691
|
var SceneConditionSchema = string();
|
|
27692
|
+
/**
|
|
27693
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
27694
|
+
*
|
|
27695
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
27696
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
27697
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
27698
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
27699
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
27700
|
+
* working without it rather than degrading into a permanent complaint.
|
|
27701
|
+
*
|
|
27702
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
27703
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
27704
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
27705
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
27706
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
27707
|
+
* configuration choice instead of a nightly fault.
|
|
27708
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
27709
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
27710
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
27711
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
27712
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
27713
|
+
*
|
|
27714
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
27715
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
27716
|
+
* there would hide a scene the operator never finished setting up.
|
|
27717
|
+
*/
|
|
27718
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
27719
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
27720
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
27721
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
27722
|
+
* and never counts toward hysteresis in either direction. */
|
|
27723
|
+
var SceneVerdictSchema = _enum([
|
|
27724
|
+
"matched",
|
|
27725
|
+
"diverged",
|
|
27726
|
+
"unknown"
|
|
27727
|
+
]);
|
|
27728
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
27729
|
+
* silence that reads as "nothing has happened". */
|
|
27730
|
+
var SceneUnavailableSchema = _enum([
|
|
27731
|
+
"no-reference-for-condition",
|
|
27732
|
+
"view-shifted",
|
|
27733
|
+
"no-vision-profile",
|
|
27734
|
+
"encoder-model-changed",
|
|
27735
|
+
"no-snapshot"
|
|
27736
|
+
]);
|
|
26962
27737
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
26963
27738
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
26964
27739
|
var SceneReferenceSchema = object({
|
|
@@ -26966,7 +27741,14 @@ var SceneReferenceSchema = object({
|
|
|
26966
27741
|
modelId: string(),
|
|
26967
27742
|
condition: SceneConditionSchema,
|
|
26968
27743
|
capturedAt: number(),
|
|
26969
|
-
thumbnailMediaId: string().optional()
|
|
27744
|
+
thumbnailMediaId: string().optional(),
|
|
27745
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
27746
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
27747
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
27748
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
27749
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
27750
|
+
* transition, not per poll. */
|
|
27751
|
+
anchorEmbedding: array(number()).optional()
|
|
26970
27752
|
});
|
|
26971
27753
|
var SceneMonitorStateSchema = object({
|
|
26972
27754
|
id: string(),
|
|
@@ -26988,6 +27770,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
26988
27770
|
profileId: string().optional(),
|
|
26989
27771
|
hysteresisCount: number().int().positive()
|
|
26990
27772
|
})]);
|
|
27773
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
27774
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
27775
|
+
* out in silence rather than reporting a fault every night. */
|
|
27776
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
27777
|
+
/**
|
|
27778
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
27779
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
27780
|
+
*
|
|
27781
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
27782
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
27783
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
27784
|
+
* stateful claim that costs the operator a trip to reset.
|
|
27785
|
+
*/
|
|
27786
|
+
var SceneConfirmSchema = object({
|
|
27787
|
+
enabled: boolean().default(false),
|
|
27788
|
+
prompt: string().min(1).max(1e3),
|
|
27789
|
+
profileId: string().optional(),
|
|
27790
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
27791
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
27792
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
27793
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
27794
|
+
});
|
|
26991
27795
|
var SceneMonitorSchema = object({
|
|
26992
27796
|
id: string(),
|
|
26993
27797
|
label: string(),
|
|
@@ -27006,7 +27810,56 @@ var SceneMonitorSchema = object({
|
|
|
27006
27810
|
lastConfidence: number().nullable(),
|
|
27007
27811
|
currentCondition: SceneConditionSchema.nullable(),
|
|
27008
27812
|
availability: _enum(["ok", "unavailable"]),
|
|
27009
|
-
unavailableReason: string().nullable()
|
|
27813
|
+
unavailableReason: string().nullable(),
|
|
27814
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
27815
|
+
baselineStateId: string().nullable(),
|
|
27816
|
+
/** Which boolean drives notification rules and any export. */
|
|
27817
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
27818
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
27819
|
+
verdict: SceneVerdictSchema,
|
|
27820
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
27821
|
+
latched: boolean(),
|
|
27822
|
+
/** Last reset (or creation). */
|
|
27823
|
+
armedAt: number(),
|
|
27824
|
+
divergedAt: number().nullable(),
|
|
27825
|
+
restoredAt: number().nullable(),
|
|
27826
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
27827
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
27828
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
27829
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
27830
|
+
/** An observation only advances the pending count when it is at least this
|
|
27831
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
27832
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
27833
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
27834
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
27835
|
+
confirm: SceneConfirmSchema.optional(),
|
|
27836
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
27837
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
27838
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
27839
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
27840
|
+
* automation can react to the bin coming back without the operator's own
|
|
27841
|
+
* alarm silently clearing itself. */
|
|
27842
|
+
autoRestore: boolean().default(false),
|
|
27843
|
+
/** What to do when the current light has no reference of its own. See
|
|
27844
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
27845
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
27846
|
+
/**
|
|
27847
|
+
* The light whose checks are currently being SAT OUT under
|
|
27848
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
27849
|
+
*
|
|
27850
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
27851
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
27852
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
27853
|
+
* line, because the alternative is a scene that silently stops answering
|
|
27854
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
27855
|
+
* read as a broken one.
|
|
27856
|
+
*/
|
|
27857
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
27858
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
27859
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
27860
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
27861
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
27862
|
+
coveredConditions: array(SceneConditionSchema)
|
|
27010
27863
|
});
|
|
27011
27864
|
var SceneMonitorStatusSchema = object({
|
|
27012
27865
|
monitors: array(SceneMonitorSchema),
|
|
@@ -27019,12 +27872,6 @@ var sceneMonitorCapability = {
|
|
|
27019
27872
|
kind: "wrapper",
|
|
27020
27873
|
defaultActive: true,
|
|
27021
27874
|
deviceTypes: [DeviceType.Camera],
|
|
27022
|
-
deviceConfig: { ui: {
|
|
27023
|
-
kind: "widget",
|
|
27024
|
-
widgetId: "host/scene-monitor-editor",
|
|
27025
|
-
tab: "scenes",
|
|
27026
|
-
label: "Scenes"
|
|
27027
|
-
} },
|
|
27028
27875
|
methods: {
|
|
27029
27876
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
27030
27877
|
createScene: method(object({
|
|
@@ -27055,7 +27902,15 @@ var sceneMonitorCapability = {
|
|
|
27055
27902
|
"both"
|
|
27056
27903
|
]).optional(),
|
|
27057
27904
|
checkIntervalSec: number().optional(),
|
|
27058
|
-
check: SceneCheckSchema.optional()
|
|
27905
|
+
check: SceneCheckSchema.optional(),
|
|
27906
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
27907
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
27908
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
27909
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
27910
|
+
autoRestore: boolean().optional(),
|
|
27911
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
27912
|
+
/** `null` clears the vision-model adjudicator. */
|
|
27913
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
27059
27914
|
})
|
|
27060
27915
|
}), _void(), {
|
|
27061
27916
|
kind: "mutation",
|
|
@@ -27096,6 +27951,26 @@ var sceneMonitorCapability = {
|
|
|
27096
27951
|
}), _void(), {
|
|
27097
27952
|
kind: "mutation",
|
|
27098
27953
|
auth: "admin"
|
|
27954
|
+
}),
|
|
27955
|
+
/**
|
|
27956
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
27957
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
27958
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
27959
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
27960
|
+
* instead of failing silently weeks later.
|
|
27961
|
+
*
|
|
27962
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
27963
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
27964
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
27965
|
+
*/
|
|
27966
|
+
resetScene: method(object({
|
|
27967
|
+
deviceId: number(),
|
|
27968
|
+
monitorId: string(),
|
|
27969
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
27970
|
+
recapture: boolean().optional()
|
|
27971
|
+
}), _void(), {
|
|
27972
|
+
kind: "mutation",
|
|
27973
|
+
auth: "admin"
|
|
27099
27974
|
})
|
|
27100
27975
|
},
|
|
27101
27976
|
status: {
|
|
@@ -27332,7 +28207,70 @@ var CamStreamDescriptorSchema = object({
|
|
|
27332
28207
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
27333
28208
|
metadata: record(string(), unknown()).optional()
|
|
27334
28209
|
});
|
|
27335
|
-
|
|
28210
|
+
/**
|
|
28211
|
+
* `stream-catalog` — device-scoped, provider-implemented. The pull counterpart
|
|
28212
|
+
* of the removed `publishCameraStream` push: a camera provider returns the full
|
|
28213
|
+
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
28214
|
+
* broker can reconcile its registry against the authoritative provider state.
|
|
28215
|
+
*/
|
|
28216
|
+
/**
|
|
28217
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
28218
|
+
*
|
|
28219
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
28220
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
28221
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
28222
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
28223
|
+
* every later pull from a cache.
|
|
28224
|
+
*
|
|
28225
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
28226
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
28227
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
28228
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
28229
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
28230
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
28231
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
28232
|
+
*
|
|
28233
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
28234
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
28235
|
+
* the same reason: the last known value is the only value there is while the
|
|
28236
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
28237
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
28238
|
+
*/
|
|
28239
|
+
var StreamCatalogStateSchema = object({
|
|
28240
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
28241
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
28242
|
+
* one the camera itself once produced. */
|
|
28243
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
28244
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
28245
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
28246
|
+
* re-read. */
|
|
28247
|
+
lastFetchedAt: number()
|
|
28248
|
+
});
|
|
28249
|
+
var streamCatalogCapability = {
|
|
28250
|
+
name: "stream-catalog",
|
|
28251
|
+
scope: "device",
|
|
28252
|
+
deviceNative: true,
|
|
28253
|
+
mode: "singleton",
|
|
28254
|
+
deviceTypes: [DeviceType.Camera],
|
|
28255
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
28256
|
+
runtimeState: StreamCatalogStateSchema,
|
|
28257
|
+
/**
|
|
28258
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
28259
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
28260
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
28261
|
+
*
|
|
28262
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
28263
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
28264
|
+
* a day old and the camera is awake anyway).
|
|
28265
|
+
*
|
|
28266
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
28267
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
28268
|
+
*/
|
|
28269
|
+
durability: "restored",
|
|
28270
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
28271
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
28272
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
28273
|
+
};
|
|
27336
28274
|
/** One of the camera's stream profiles. */
|
|
27337
28275
|
var StreamProfileSchema = _enum([
|
|
27338
28276
|
"main",
|
|
@@ -27586,12 +28524,64 @@ var NetworkAddressSchema = object({
|
|
|
27586
28524
|
family: string(),
|
|
27587
28525
|
internal: boolean()
|
|
27588
28526
|
});
|
|
28527
|
+
/**
|
|
28528
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
28529
|
+
* numbers.
|
|
28530
|
+
*
|
|
28531
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
28532
|
+
* nothing overwrites it.
|
|
28533
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
28534
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
28535
|
+
* the sun-times consumers otherwise fall back to.
|
|
28536
|
+
*
|
|
28537
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
28538
|
+
* own input will eventually trust the guess.
|
|
28539
|
+
*/
|
|
28540
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
28541
|
+
/**
|
|
28542
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
28543
|
+
*
|
|
28544
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
28545
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
28546
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
28547
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
28548
|
+
* coordinates or presses detect.
|
|
28549
|
+
*/
|
|
28550
|
+
var SiteLocationStatusSchema = object({
|
|
28551
|
+
location: object({
|
|
28552
|
+
/** WGS84 decimal degrees. */
|
|
28553
|
+
latitude: number().min(-90).max(90),
|
|
28554
|
+
longitude: number().min(-180).max(180),
|
|
28555
|
+
source: SiteLocationSourceSchema,
|
|
28556
|
+
/** Epoch ms the value was last written. */
|
|
28557
|
+
updatedAt: number(),
|
|
28558
|
+
/**
|
|
28559
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
28560
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
28561
|
+
*/
|
|
28562
|
+
label: string().optional()
|
|
28563
|
+
}).nullable(),
|
|
28564
|
+
derivationAttemptedAt: number().nullable(),
|
|
28565
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
28566
|
+
derivationError: string().nullable()
|
|
28567
|
+
});
|
|
28568
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
28569
|
+
var SetSiteLocationInputSchema = object({
|
|
28570
|
+
latitude: number().min(-90).max(90),
|
|
28571
|
+
longitude: number().min(-180).max(180)
|
|
28572
|
+
}).nullable();
|
|
27589
28573
|
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(), {
|
|
27590
28574
|
kind: "mutation",
|
|
27591
28575
|
auth: "admin"
|
|
27592
28576
|
}), method(_void(), _void(), {
|
|
27593
28577
|
kind: "mutation",
|
|
27594
28578
|
auth: "admin"
|
|
28579
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
28580
|
+
kind: "mutation",
|
|
28581
|
+
auth: "admin"
|
|
28582
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
28583
|
+
kind: "mutation",
|
|
28584
|
+
auth: "admin"
|
|
27595
28585
|
});
|
|
27596
28586
|
/**
|
|
27597
28587
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -28911,6 +29901,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28911
29901
|
humiditySensor: humiditySensorCapability,
|
|
28912
29902
|
image: imageCapability,
|
|
28913
29903
|
imageSettings: imageSettingsCapability,
|
|
29904
|
+
intercom: intercomCapability,
|
|
28914
29905
|
lawnMowerControl: lawnMowerControlCapability,
|
|
28915
29906
|
lockControl: lockControlCapability,
|
|
28916
29907
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -28929,6 +29920,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28929
29920
|
sceneMonitor: sceneMonitorCapability,
|
|
28930
29921
|
scriptRunner: scriptRunnerCapability,
|
|
28931
29922
|
smoke: smokeCapability,
|
|
29923
|
+
streamCatalog: streamCatalogCapability,
|
|
28932
29924
|
streamParams: streamParamsCapability,
|
|
28933
29925
|
switch: switchCapability,
|
|
28934
29926
|
tamper: tamperCapability,
|
|
@@ -29582,6 +30574,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
29582
30574
|
labels: ["probe not implemented"]
|
|
29583
30575
|
};
|
|
29584
30576
|
}
|
|
30577
|
+
/**
|
|
30578
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
30579
|
+
*
|
|
30580
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
30581
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
30582
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
30583
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
30584
|
+
*/
|
|
30585
|
+
restoreConcurrency = 4;
|
|
29585
30586
|
async restoreDevices(savedDevices) {
|
|
29586
30587
|
await this.onRestoreDevices(savedDevices);
|
|
29587
30588
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -29613,15 +30614,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
29613
30614
|
*/
|
|
29614
30615
|
async onRestoreDevices(savedDevices) {
|
|
29615
30616
|
const restored = /* @__PURE__ */ new Set();
|
|
29616
|
-
|
|
29617
|
-
|
|
30617
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
30618
|
+
const restoreOne = async (saved) => {
|
|
29618
30619
|
const Class = this.deviceClasses[saved.type];
|
|
29619
30620
|
if (!Class) {
|
|
29620
30621
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
29621
30622
|
tags: { stableId: saved.stableId },
|
|
29622
30623
|
meta: { type: saved.type }
|
|
29623
30624
|
});
|
|
29624
|
-
|
|
30625
|
+
return;
|
|
29625
30626
|
}
|
|
29626
30627
|
try {
|
|
29627
30628
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -29635,7 +30636,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
29635
30636
|
}
|
|
29636
30637
|
});
|
|
29637
30638
|
}
|
|
29638
|
-
}
|
|
30639
|
+
};
|
|
30640
|
+
let nextTopLevel = 0;
|
|
30641
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
30642
|
+
for (;;) {
|
|
30643
|
+
const saved = topLevel[nextTopLevel++];
|
|
30644
|
+
if (saved === void 0) return;
|
|
30645
|
+
await restoreOne(saved);
|
|
30646
|
+
}
|
|
30647
|
+
}));
|
|
29639
30648
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
29640
30649
|
for (const saved of childRows) {
|
|
29641
30650
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -31726,6 +32735,12 @@ Object.freeze({
|
|
|
31726
32735
|
addonId: null,
|
|
31727
32736
|
access: "create"
|
|
31728
32737
|
},
|
|
32738
|
+
"llm.cancel": {
|
|
32739
|
+
capName: "llm",
|
|
32740
|
+
capScope: "system",
|
|
32741
|
+
addonId: null,
|
|
32742
|
+
access: "create"
|
|
32743
|
+
},
|
|
31729
32744
|
"llm.deleteModel": {
|
|
31730
32745
|
capName: "llm",
|
|
31731
32746
|
capScope: "system",
|
|
@@ -31810,6 +32825,12 @@ Object.freeze({
|
|
|
31810
32825
|
addonId: null,
|
|
31811
32826
|
access: "view"
|
|
31812
32827
|
},
|
|
32828
|
+
"llm.resolveModelRef": {
|
|
32829
|
+
capName: "llm",
|
|
32830
|
+
capScope: "system",
|
|
32831
|
+
addonId: null,
|
|
32832
|
+
access: "create"
|
|
32833
|
+
},
|
|
31813
32834
|
"llm.setDefault": {
|
|
31814
32835
|
capName: "llm",
|
|
31815
32836
|
capScope: "system",
|
|
@@ -33976,6 +34997,12 @@ Object.freeze({
|
|
|
33976
34997
|
addonId: null,
|
|
33977
34998
|
access: "create"
|
|
33978
34999
|
},
|
|
35000
|
+
"sceneMonitor.resetScene": {
|
|
35001
|
+
capName: "scene-monitor",
|
|
35002
|
+
capScope: "device",
|
|
35003
|
+
addonId: null,
|
|
35004
|
+
access: "delete"
|
|
35005
|
+
},
|
|
33979
35006
|
"sceneMonitor.updateScene": {
|
|
33980
35007
|
capName: "scene-monitor",
|
|
33981
35008
|
capScope: "device",
|
|
@@ -34114,6 +35141,12 @@ Object.freeze({
|
|
|
34114
35141
|
addonId: null,
|
|
34115
35142
|
access: "view"
|
|
34116
35143
|
},
|
|
35144
|
+
"snapshot.getDebugState": {
|
|
35145
|
+
capName: "snapshot",
|
|
35146
|
+
capScope: "device",
|
|
35147
|
+
addonId: null,
|
|
35148
|
+
access: "view"
|
|
35149
|
+
},
|
|
34117
35150
|
"snapshot.getSnapshot": {
|
|
34118
35151
|
capName: "snapshot",
|
|
34119
35152
|
capScope: "device",
|
|
@@ -34654,6 +35687,12 @@ Object.freeze({
|
|
|
34654
35687
|
addonId: null,
|
|
34655
35688
|
access: "create"
|
|
34656
35689
|
},
|
|
35690
|
+
"system.detectSiteLocation": {
|
|
35691
|
+
capName: "system",
|
|
35692
|
+
capScope: "system",
|
|
35693
|
+
addonId: null,
|
|
35694
|
+
access: "create"
|
|
35695
|
+
},
|
|
34657
35696
|
"system.featureFlags": {
|
|
34658
35697
|
capName: "system",
|
|
34659
35698
|
capScope: "system",
|
|
@@ -34672,6 +35711,12 @@ Object.freeze({
|
|
|
34672
35711
|
addonId: null,
|
|
34673
35712
|
access: "view"
|
|
34674
35713
|
},
|
|
35714
|
+
"system.getSiteLocation": {
|
|
35715
|
+
capName: "system",
|
|
35716
|
+
capScope: "system",
|
|
35717
|
+
addonId: null,
|
|
35718
|
+
access: "view"
|
|
35719
|
+
},
|
|
34675
35720
|
"system.health": {
|
|
34676
35721
|
capName: "system",
|
|
34677
35722
|
capScope: "system",
|
|
@@ -34696,6 +35741,12 @@ Object.freeze({
|
|
|
34696
35741
|
addonId: null,
|
|
34697
35742
|
access: "create"
|
|
34698
35743
|
},
|
|
35744
|
+
"system.setSiteLocation": {
|
|
35745
|
+
capName: "system",
|
|
35746
|
+
capScope: "system",
|
|
35747
|
+
addonId: null,
|
|
35748
|
+
access: "create"
|
|
35749
|
+
},
|
|
34699
35750
|
"terminalSession.adoptLegacyMonitor": {
|
|
34700
35751
|
capName: "terminal-session",
|
|
34701
35752
|
capScope: "system",
|
|
@@ -35267,6 +36318,1709 @@ Object.freeze({
|
|
|
35267
36318
|
access: "create"
|
|
35268
36319
|
}
|
|
35269
36320
|
});
|
|
36321
|
+
Object.freeze({
|
|
36322
|
+
"accessories.setChildHidden": [{
|
|
36323
|
+
name: "childDeviceId",
|
|
36324
|
+
form: "single",
|
|
36325
|
+
optional: false
|
|
36326
|
+
}, {
|
|
36327
|
+
name: "deviceId",
|
|
36328
|
+
form: "single",
|
|
36329
|
+
optional: false
|
|
36330
|
+
}],
|
|
36331
|
+
"addonSettings.getDeviceSettings": [{
|
|
36332
|
+
name: "deviceId",
|
|
36333
|
+
form: "single",
|
|
36334
|
+
optional: false
|
|
36335
|
+
}],
|
|
36336
|
+
"addonSettings.updateDeviceSettings": [{
|
|
36337
|
+
name: "deviceId",
|
|
36338
|
+
form: "single",
|
|
36339
|
+
optional: false
|
|
36340
|
+
}],
|
|
36341
|
+
"alarmPanel.arm": [{
|
|
36342
|
+
name: "deviceId",
|
|
36343
|
+
form: "single",
|
|
36344
|
+
optional: false
|
|
36345
|
+
}],
|
|
36346
|
+
"alarmPanel.disarm": [{
|
|
36347
|
+
name: "deviceId",
|
|
36348
|
+
form: "single",
|
|
36349
|
+
optional: false
|
|
36350
|
+
}],
|
|
36351
|
+
"alarmPanel.trigger": [{
|
|
36352
|
+
name: "deviceId",
|
|
36353
|
+
form: "single",
|
|
36354
|
+
optional: false
|
|
36355
|
+
}],
|
|
36356
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
36357
|
+
name: "deviceId",
|
|
36358
|
+
form: "single",
|
|
36359
|
+
optional: false
|
|
36360
|
+
}],
|
|
36361
|
+
"audioAnalyzer.classify": [{
|
|
36362
|
+
name: "deviceId",
|
|
36363
|
+
form: "single",
|
|
36364
|
+
optional: true
|
|
36365
|
+
}],
|
|
36366
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
36367
|
+
name: "deviceId",
|
|
36368
|
+
form: "single",
|
|
36369
|
+
optional: false
|
|
36370
|
+
}],
|
|
36371
|
+
"audioMetrics.getHistory": [{
|
|
36372
|
+
name: "deviceId",
|
|
36373
|
+
form: "single",
|
|
36374
|
+
optional: false
|
|
36375
|
+
}],
|
|
36376
|
+
"automationControl.disable": [{
|
|
36377
|
+
name: "deviceId",
|
|
36378
|
+
form: "single",
|
|
36379
|
+
optional: false
|
|
36380
|
+
}],
|
|
36381
|
+
"automationControl.enable": [{
|
|
36382
|
+
name: "deviceId",
|
|
36383
|
+
form: "single",
|
|
36384
|
+
optional: false
|
|
36385
|
+
}],
|
|
36386
|
+
"automationControl.trigger": [{
|
|
36387
|
+
name: "deviceId",
|
|
36388
|
+
form: "single",
|
|
36389
|
+
optional: false
|
|
36390
|
+
}],
|
|
36391
|
+
"battery.wakeForStream": [{
|
|
36392
|
+
name: "deviceId",
|
|
36393
|
+
form: "single",
|
|
36394
|
+
optional: false
|
|
36395
|
+
}],
|
|
36396
|
+
"brightness.setBrightness": [{
|
|
36397
|
+
name: "deviceId",
|
|
36398
|
+
form: "single",
|
|
36399
|
+
optional: false
|
|
36400
|
+
}],
|
|
36401
|
+
"button.press": [{
|
|
36402
|
+
name: "deviceId",
|
|
36403
|
+
form: "single",
|
|
36404
|
+
optional: false
|
|
36405
|
+
}],
|
|
36406
|
+
"cameraCredentials.getCredentials": [{
|
|
36407
|
+
name: "deviceId",
|
|
36408
|
+
form: "single",
|
|
36409
|
+
optional: false
|
|
36410
|
+
}],
|
|
36411
|
+
"cameraStreams.getBrokerStreams": [{
|
|
36412
|
+
name: "deviceId",
|
|
36413
|
+
form: "single",
|
|
36414
|
+
optional: false
|
|
36415
|
+
}],
|
|
36416
|
+
"cameraStreams.getCameraStreams": [{
|
|
36417
|
+
name: "deviceId",
|
|
36418
|
+
form: "single",
|
|
36419
|
+
optional: false
|
|
36420
|
+
}],
|
|
36421
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
36422
|
+
name: "deviceId",
|
|
36423
|
+
form: "single",
|
|
36424
|
+
optional: false
|
|
36425
|
+
}],
|
|
36426
|
+
"cameraStreams.getRtspEntries": [{
|
|
36427
|
+
name: "deviceId",
|
|
36428
|
+
form: "single",
|
|
36429
|
+
optional: false
|
|
36430
|
+
}],
|
|
36431
|
+
"cameraStreams.pickStream": [{
|
|
36432
|
+
name: "deviceId",
|
|
36433
|
+
form: "single",
|
|
36434
|
+
optional: false
|
|
36435
|
+
}],
|
|
36436
|
+
"climateControl.setFanMode": [{
|
|
36437
|
+
name: "deviceId",
|
|
36438
|
+
form: "single",
|
|
36439
|
+
optional: false
|
|
36440
|
+
}],
|
|
36441
|
+
"climateControl.setMode": [{
|
|
36442
|
+
name: "deviceId",
|
|
36443
|
+
form: "single",
|
|
36444
|
+
optional: false
|
|
36445
|
+
}],
|
|
36446
|
+
"climateControl.setPreset": [{
|
|
36447
|
+
name: "deviceId",
|
|
36448
|
+
form: "single",
|
|
36449
|
+
optional: false
|
|
36450
|
+
}],
|
|
36451
|
+
"climateControl.setSwingHorizontal": [{
|
|
36452
|
+
name: "deviceId",
|
|
36453
|
+
form: "single",
|
|
36454
|
+
optional: false
|
|
36455
|
+
}],
|
|
36456
|
+
"climateControl.setSwingVertical": [{
|
|
36457
|
+
name: "deviceId",
|
|
36458
|
+
form: "single",
|
|
36459
|
+
optional: false
|
|
36460
|
+
}],
|
|
36461
|
+
"climateControl.setTarget": [{
|
|
36462
|
+
name: "deviceId",
|
|
36463
|
+
form: "single",
|
|
36464
|
+
optional: false
|
|
36465
|
+
}],
|
|
36466
|
+
"climateControl.setTargetHumidity": [{
|
|
36467
|
+
name: "deviceId",
|
|
36468
|
+
form: "single",
|
|
36469
|
+
optional: false
|
|
36470
|
+
}],
|
|
36471
|
+
"climateControl.setTargetRange": [{
|
|
36472
|
+
name: "deviceId",
|
|
36473
|
+
form: "single",
|
|
36474
|
+
optional: false
|
|
36475
|
+
}],
|
|
36476
|
+
"color.setColor": [{
|
|
36477
|
+
name: "deviceId",
|
|
36478
|
+
form: "single",
|
|
36479
|
+
optional: false
|
|
36480
|
+
}],
|
|
36481
|
+
"consumables.reset": [{
|
|
36482
|
+
name: "deviceId",
|
|
36483
|
+
form: "single",
|
|
36484
|
+
optional: false
|
|
36485
|
+
}],
|
|
36486
|
+
"control.setValue": [{
|
|
36487
|
+
name: "deviceId",
|
|
36488
|
+
form: "single",
|
|
36489
|
+
optional: false
|
|
36490
|
+
}],
|
|
36491
|
+
"cover.close": [{
|
|
36492
|
+
name: "deviceId",
|
|
36493
|
+
form: "single",
|
|
36494
|
+
optional: false
|
|
36495
|
+
}],
|
|
36496
|
+
"cover.open": [{
|
|
36497
|
+
name: "deviceId",
|
|
36498
|
+
form: "single",
|
|
36499
|
+
optional: false
|
|
36500
|
+
}],
|
|
36501
|
+
"cover.setPosition": [{
|
|
36502
|
+
name: "deviceId",
|
|
36503
|
+
form: "single",
|
|
36504
|
+
optional: false
|
|
36505
|
+
}],
|
|
36506
|
+
"cover.setTiltPosition": [{
|
|
36507
|
+
name: "deviceId",
|
|
36508
|
+
form: "single",
|
|
36509
|
+
optional: false
|
|
36510
|
+
}],
|
|
36511
|
+
"cover.stop": [{
|
|
36512
|
+
name: "deviceId",
|
|
36513
|
+
form: "single",
|
|
36514
|
+
optional: false
|
|
36515
|
+
}],
|
|
36516
|
+
"dayNight.getOptions": [{
|
|
36517
|
+
name: "deviceId",
|
|
36518
|
+
form: "single",
|
|
36519
|
+
optional: false
|
|
36520
|
+
}],
|
|
36521
|
+
"dayNight.setSettings": [{
|
|
36522
|
+
name: "deviceId",
|
|
36523
|
+
form: "single",
|
|
36524
|
+
optional: false
|
|
36525
|
+
}],
|
|
36526
|
+
"decoder.createSession": [{
|
|
36527
|
+
name: "deviceId",
|
|
36528
|
+
form: "single",
|
|
36529
|
+
optional: true
|
|
36530
|
+
}],
|
|
36531
|
+
"deviceAdoption.release": [{
|
|
36532
|
+
name: "camDeviceId",
|
|
36533
|
+
form: "single",
|
|
36534
|
+
optional: false
|
|
36535
|
+
}],
|
|
36536
|
+
"deviceAdoption.resync": [{
|
|
36537
|
+
name: "camDeviceId",
|
|
36538
|
+
form: "single",
|
|
36539
|
+
optional: false
|
|
36540
|
+
}],
|
|
36541
|
+
"deviceDiscovery.adoptDevice": [{
|
|
36542
|
+
name: "deviceId",
|
|
36543
|
+
form: "single",
|
|
36544
|
+
optional: false
|
|
36545
|
+
}],
|
|
36546
|
+
"deviceDiscovery.listDiscovered": [{
|
|
36547
|
+
name: "deviceId",
|
|
36548
|
+
form: "single",
|
|
36549
|
+
optional: false
|
|
36550
|
+
}],
|
|
36551
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
36552
|
+
name: "deviceId",
|
|
36553
|
+
form: "single",
|
|
36554
|
+
optional: false
|
|
36555
|
+
}],
|
|
36556
|
+
"deviceDiscovery.releaseDevice": [{
|
|
36557
|
+
name: "childDeviceId",
|
|
36558
|
+
form: "single",
|
|
36559
|
+
optional: false
|
|
36560
|
+
}, {
|
|
36561
|
+
name: "deviceId",
|
|
36562
|
+
form: "single",
|
|
36563
|
+
optional: false
|
|
36564
|
+
}],
|
|
36565
|
+
"deviceManager.adoptionRelease": [{
|
|
36566
|
+
name: "camDeviceId",
|
|
36567
|
+
form: "single",
|
|
36568
|
+
optional: false
|
|
36569
|
+
}],
|
|
36570
|
+
"deviceManager.adoptionResync": [{
|
|
36571
|
+
name: "camDeviceId",
|
|
36572
|
+
form: "single",
|
|
36573
|
+
optional: false
|
|
36574
|
+
}],
|
|
36575
|
+
"deviceManager.applyInitialMeta": [{
|
|
36576
|
+
name: "deviceId",
|
|
36577
|
+
form: "single",
|
|
36578
|
+
optional: false
|
|
36579
|
+
}, {
|
|
36580
|
+
name: "linkDeviceId",
|
|
36581
|
+
form: "single",
|
|
36582
|
+
optional: true
|
|
36583
|
+
}],
|
|
36584
|
+
"deviceManager.disable": [{
|
|
36585
|
+
name: "deviceId",
|
|
36586
|
+
form: "single",
|
|
36587
|
+
optional: false
|
|
36588
|
+
}],
|
|
36589
|
+
"deviceManager.enable": [{
|
|
36590
|
+
name: "deviceId",
|
|
36591
|
+
form: "single",
|
|
36592
|
+
optional: false
|
|
36593
|
+
}],
|
|
36594
|
+
"deviceManager.getBindings": [{
|
|
36595
|
+
name: "deviceId",
|
|
36596
|
+
form: "single",
|
|
36597
|
+
optional: false
|
|
36598
|
+
}],
|
|
36599
|
+
"deviceManager.getChildren": [{
|
|
36600
|
+
name: "parentDeviceId",
|
|
36601
|
+
form: "single",
|
|
36602
|
+
optional: false
|
|
36603
|
+
}],
|
|
36604
|
+
"deviceManager.getConfigSchema": [{
|
|
36605
|
+
name: "deviceId",
|
|
36606
|
+
form: "single",
|
|
36607
|
+
optional: false
|
|
36608
|
+
}],
|
|
36609
|
+
"deviceManager.getDevice": [{
|
|
36610
|
+
name: "deviceId",
|
|
36611
|
+
form: "single",
|
|
36612
|
+
optional: false
|
|
36613
|
+
}],
|
|
36614
|
+
"deviceManager.getDeviceAggregate": [{
|
|
36615
|
+
name: "deviceId",
|
|
36616
|
+
form: "single",
|
|
36617
|
+
optional: false
|
|
36618
|
+
}],
|
|
36619
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
36620
|
+
name: "deviceId",
|
|
36621
|
+
form: "single",
|
|
36622
|
+
optional: false
|
|
36623
|
+
}],
|
|
36624
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
36625
|
+
name: "deviceId",
|
|
36626
|
+
form: "single",
|
|
36627
|
+
optional: false
|
|
36628
|
+
}],
|
|
36629
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
36630
|
+
name: "deviceId",
|
|
36631
|
+
form: "single",
|
|
36632
|
+
optional: false
|
|
36633
|
+
}],
|
|
36634
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
36635
|
+
name: "deviceIds",
|
|
36636
|
+
form: "array",
|
|
36637
|
+
optional: false
|
|
36638
|
+
}],
|
|
36639
|
+
"deviceManager.getLinkedDevices": [{
|
|
36640
|
+
name: "deviceId",
|
|
36641
|
+
form: "single",
|
|
36642
|
+
optional: false
|
|
36643
|
+
}],
|
|
36644
|
+
"deviceManager.getSettingsSchema": [{
|
|
36645
|
+
name: "deviceId",
|
|
36646
|
+
form: "single",
|
|
36647
|
+
optional: false
|
|
36648
|
+
}],
|
|
36649
|
+
"deviceManager.getStreamProfileMap": [{
|
|
36650
|
+
name: "deviceId",
|
|
36651
|
+
form: "single",
|
|
36652
|
+
optional: false
|
|
36653
|
+
}],
|
|
36654
|
+
"deviceManager.getStreamSources": [{
|
|
36655
|
+
name: "deviceId",
|
|
36656
|
+
form: "single",
|
|
36657
|
+
optional: false
|
|
36658
|
+
}],
|
|
36659
|
+
"deviceManager.getWireableFields": [{
|
|
36660
|
+
name: "deviceId",
|
|
36661
|
+
form: "single",
|
|
36662
|
+
optional: false
|
|
36663
|
+
}],
|
|
36664
|
+
"deviceManager.loadConfig": [{
|
|
36665
|
+
name: "deviceId",
|
|
36666
|
+
form: "single",
|
|
36667
|
+
optional: false
|
|
36668
|
+
}],
|
|
36669
|
+
"deviceManager.loadMeta": [{
|
|
36670
|
+
name: "deviceId",
|
|
36671
|
+
form: "single",
|
|
36672
|
+
optional: false
|
|
36673
|
+
}],
|
|
36674
|
+
"deviceManager.loadRuntimeState": [{
|
|
36675
|
+
name: "deviceId",
|
|
36676
|
+
form: "single",
|
|
36677
|
+
optional: false
|
|
36678
|
+
}],
|
|
36679
|
+
"deviceManager.persistConfig": [{
|
|
36680
|
+
name: "deviceId",
|
|
36681
|
+
form: "single",
|
|
36682
|
+
optional: false
|
|
36683
|
+
}],
|
|
36684
|
+
"deviceManager.probeStreams": [{
|
|
36685
|
+
name: "deviceId",
|
|
36686
|
+
form: "single",
|
|
36687
|
+
optional: false
|
|
36688
|
+
}],
|
|
36689
|
+
"deviceManager.registerDevice": [{
|
|
36690
|
+
name: "parentDeviceId",
|
|
36691
|
+
form: "single",
|
|
36692
|
+
optional: true
|
|
36693
|
+
}],
|
|
36694
|
+
"deviceManager.remove": [{
|
|
36695
|
+
name: "deviceId",
|
|
36696
|
+
form: "single",
|
|
36697
|
+
optional: false
|
|
36698
|
+
}],
|
|
36699
|
+
"deviceManager.removeDevice": [{
|
|
36700
|
+
name: "deviceId",
|
|
36701
|
+
form: "single",
|
|
36702
|
+
optional: false
|
|
36703
|
+
}],
|
|
36704
|
+
"deviceManager.runDeviceAction": [{
|
|
36705
|
+
name: "deviceId",
|
|
36706
|
+
form: "single",
|
|
36707
|
+
optional: false
|
|
36708
|
+
}],
|
|
36709
|
+
"deviceManager.setChildLayout": [{
|
|
36710
|
+
name: "deviceId",
|
|
36711
|
+
form: "single",
|
|
36712
|
+
optional: false
|
|
36713
|
+
}],
|
|
36714
|
+
"deviceManager.setDisabled": [{
|
|
36715
|
+
name: "deviceId",
|
|
36716
|
+
form: "single",
|
|
36717
|
+
optional: false
|
|
36718
|
+
}],
|
|
36719
|
+
"deviceManager.setDisplay": [{
|
|
36720
|
+
name: "deviceId",
|
|
36721
|
+
form: "single",
|
|
36722
|
+
optional: false
|
|
36723
|
+
}],
|
|
36724
|
+
"deviceManager.setIntegrationId": [{
|
|
36725
|
+
name: "deviceId",
|
|
36726
|
+
form: "single",
|
|
36727
|
+
optional: false
|
|
36728
|
+
}],
|
|
36729
|
+
"deviceManager.setLinkDeviceId": [{
|
|
36730
|
+
name: "deviceId",
|
|
36731
|
+
form: "single",
|
|
36732
|
+
optional: false
|
|
36733
|
+
}, {
|
|
36734
|
+
name: "linkDeviceId",
|
|
36735
|
+
form: "single",
|
|
36736
|
+
optional: true
|
|
36737
|
+
}],
|
|
36738
|
+
"deviceManager.setLocation": [{
|
|
36739
|
+
name: "deviceId",
|
|
36740
|
+
form: "single",
|
|
36741
|
+
optional: false
|
|
36742
|
+
}],
|
|
36743
|
+
"deviceManager.setMetadata": [{
|
|
36744
|
+
name: "deviceId",
|
|
36745
|
+
form: "single",
|
|
36746
|
+
optional: false
|
|
36747
|
+
}],
|
|
36748
|
+
"deviceManager.setName": [{
|
|
36749
|
+
name: "deviceId",
|
|
36750
|
+
form: "single",
|
|
36751
|
+
optional: false
|
|
36752
|
+
}],
|
|
36753
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
36754
|
+
name: "deviceId",
|
|
36755
|
+
form: "single",
|
|
36756
|
+
optional: false
|
|
36757
|
+
}],
|
|
36758
|
+
"deviceManager.setRole": [{
|
|
36759
|
+
name: "deviceId",
|
|
36760
|
+
form: "single",
|
|
36761
|
+
optional: false
|
|
36762
|
+
}],
|
|
36763
|
+
"deviceManager.setStreamProfileMap": [{
|
|
36764
|
+
name: "deviceId",
|
|
36765
|
+
form: "single",
|
|
36766
|
+
optional: false
|
|
36767
|
+
}],
|
|
36768
|
+
"deviceManager.setType": [{
|
|
36769
|
+
name: "deviceId",
|
|
36770
|
+
form: "single",
|
|
36771
|
+
optional: false
|
|
36772
|
+
}],
|
|
36773
|
+
"deviceManager.setWrapperActive": [{
|
|
36774
|
+
name: "deviceId",
|
|
36775
|
+
form: "single",
|
|
36776
|
+
optional: false
|
|
36777
|
+
}],
|
|
36778
|
+
"deviceManager.testField": [{
|
|
36779
|
+
name: "deviceId",
|
|
36780
|
+
form: "single",
|
|
36781
|
+
optional: false
|
|
36782
|
+
}],
|
|
36783
|
+
"deviceManager.updateConfig": [{
|
|
36784
|
+
name: "deviceId",
|
|
36785
|
+
form: "single",
|
|
36786
|
+
optional: false
|
|
36787
|
+
}],
|
|
36788
|
+
"deviceManager.updateDeviceField": [{
|
|
36789
|
+
name: "deviceId",
|
|
36790
|
+
form: "single",
|
|
36791
|
+
optional: false
|
|
36792
|
+
}],
|
|
36793
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
36794
|
+
name: "deviceId",
|
|
36795
|
+
form: "single",
|
|
36796
|
+
optional: false
|
|
36797
|
+
}],
|
|
36798
|
+
"deviceOps.getConfigEntries": [{
|
|
36799
|
+
name: "deviceId",
|
|
36800
|
+
form: "single",
|
|
36801
|
+
optional: false
|
|
36802
|
+
}],
|
|
36803
|
+
"deviceOps.getRawState": [{
|
|
36804
|
+
name: "deviceId",
|
|
36805
|
+
form: "single",
|
|
36806
|
+
optional: false
|
|
36807
|
+
}],
|
|
36808
|
+
"deviceOps.getSettingsSchema": [{
|
|
36809
|
+
name: "deviceId",
|
|
36810
|
+
form: "single",
|
|
36811
|
+
optional: false
|
|
36812
|
+
}],
|
|
36813
|
+
"deviceOps.getStreamSources": [{
|
|
36814
|
+
name: "deviceId",
|
|
36815
|
+
form: "single",
|
|
36816
|
+
optional: false
|
|
36817
|
+
}],
|
|
36818
|
+
"deviceOps.removeDevice": [{
|
|
36819
|
+
name: "deviceId",
|
|
36820
|
+
form: "single",
|
|
36821
|
+
optional: false
|
|
36822
|
+
}],
|
|
36823
|
+
"deviceOps.runAction": [{
|
|
36824
|
+
name: "deviceId",
|
|
36825
|
+
form: "single",
|
|
36826
|
+
optional: false
|
|
36827
|
+
}],
|
|
36828
|
+
"deviceOps.setConfig": [{
|
|
36829
|
+
name: "deviceId",
|
|
36830
|
+
form: "single",
|
|
36831
|
+
optional: false
|
|
36832
|
+
}],
|
|
36833
|
+
"deviceState.getCapSlice": [{
|
|
36834
|
+
name: "deviceId",
|
|
36835
|
+
form: "single",
|
|
36836
|
+
optional: false
|
|
36837
|
+
}],
|
|
36838
|
+
"deviceState.getSnapshot": [{
|
|
36839
|
+
name: "deviceId",
|
|
36840
|
+
form: "single",
|
|
36841
|
+
optional: false
|
|
36842
|
+
}],
|
|
36843
|
+
"deviceState.setCapSlice": [{
|
|
36844
|
+
name: "deviceId",
|
|
36845
|
+
form: "single",
|
|
36846
|
+
optional: false
|
|
36847
|
+
}],
|
|
36848
|
+
"events.getEventClipUrl": [{
|
|
36849
|
+
name: "deviceId",
|
|
36850
|
+
form: "single",
|
|
36851
|
+
optional: false
|
|
36852
|
+
}],
|
|
36853
|
+
"events.getEvents": [{
|
|
36854
|
+
name: "deviceId",
|
|
36855
|
+
form: "single",
|
|
36856
|
+
optional: false
|
|
36857
|
+
}],
|
|
36858
|
+
"events.getEventThumbnail": [{
|
|
36859
|
+
name: "deviceId",
|
|
36860
|
+
form: "single",
|
|
36861
|
+
optional: false
|
|
36862
|
+
}],
|
|
36863
|
+
"faceGallery.getFaceByTrack": [{
|
|
36864
|
+
name: "deviceId",
|
|
36865
|
+
form: "single",
|
|
36866
|
+
optional: false
|
|
36867
|
+
}],
|
|
36868
|
+
"faceGallery.listRecentFaces": [{
|
|
36869
|
+
name: "deviceId",
|
|
36870
|
+
form: "single",
|
|
36871
|
+
optional: true
|
|
36872
|
+
}],
|
|
36873
|
+
"fanControl.setDirection": [{
|
|
36874
|
+
name: "deviceId",
|
|
36875
|
+
form: "single",
|
|
36876
|
+
optional: false
|
|
36877
|
+
}],
|
|
36878
|
+
"fanControl.setOscillating": [{
|
|
36879
|
+
name: "deviceId",
|
|
36880
|
+
form: "single",
|
|
36881
|
+
optional: false
|
|
36882
|
+
}],
|
|
36883
|
+
"fanControl.setPercentage": [{
|
|
36884
|
+
name: "deviceId",
|
|
36885
|
+
form: "single",
|
|
36886
|
+
optional: false
|
|
36887
|
+
}],
|
|
36888
|
+
"fanControl.setPreset": [{
|
|
36889
|
+
name: "deviceId",
|
|
36890
|
+
form: "single",
|
|
36891
|
+
optional: false
|
|
36892
|
+
}],
|
|
36893
|
+
"humidifier.setMode": [{
|
|
36894
|
+
name: "deviceId",
|
|
36895
|
+
form: "single",
|
|
36896
|
+
optional: false
|
|
36897
|
+
}],
|
|
36898
|
+
"humidifier.setOn": [{
|
|
36899
|
+
name: "deviceId",
|
|
36900
|
+
form: "single",
|
|
36901
|
+
optional: false
|
|
36902
|
+
}],
|
|
36903
|
+
"humidifier.setTargetHumidity": [{
|
|
36904
|
+
name: "deviceId",
|
|
36905
|
+
form: "single",
|
|
36906
|
+
optional: false
|
|
36907
|
+
}],
|
|
36908
|
+
"imageSettings.getOptions": [{
|
|
36909
|
+
name: "deviceId",
|
|
36910
|
+
form: "single",
|
|
36911
|
+
optional: false
|
|
36912
|
+
}],
|
|
36913
|
+
"imageSettings.setSettings": [{
|
|
36914
|
+
name: "deviceId",
|
|
36915
|
+
form: "single",
|
|
36916
|
+
optional: false
|
|
36917
|
+
}],
|
|
36918
|
+
"intercom.endTalkSession": [{
|
|
36919
|
+
name: "deviceId",
|
|
36920
|
+
form: "single",
|
|
36921
|
+
optional: false
|
|
36922
|
+
}],
|
|
36923
|
+
"intercom.handleAnswer": [{
|
|
36924
|
+
name: "deviceId",
|
|
36925
|
+
form: "single",
|
|
36926
|
+
optional: false
|
|
36927
|
+
}],
|
|
36928
|
+
"intercom.pushTalkAudio": [{
|
|
36929
|
+
name: "deviceId",
|
|
36930
|
+
form: "single",
|
|
36931
|
+
optional: false
|
|
36932
|
+
}],
|
|
36933
|
+
"intercom.startSession": [{
|
|
36934
|
+
name: "deviceId",
|
|
36935
|
+
form: "single",
|
|
36936
|
+
optional: false
|
|
36937
|
+
}],
|
|
36938
|
+
"intercom.startTalkSession": [{
|
|
36939
|
+
name: "deviceId",
|
|
36940
|
+
form: "single",
|
|
36941
|
+
optional: false
|
|
36942
|
+
}],
|
|
36943
|
+
"intercom.stopSession": [{
|
|
36944
|
+
name: "deviceId",
|
|
36945
|
+
form: "single",
|
|
36946
|
+
optional: false
|
|
36947
|
+
}],
|
|
36948
|
+
"lawnMowerControl.dock": [{
|
|
36949
|
+
name: "deviceId",
|
|
36950
|
+
form: "single",
|
|
36951
|
+
optional: false
|
|
36952
|
+
}],
|
|
36953
|
+
"lawnMowerControl.pause": [{
|
|
36954
|
+
name: "deviceId",
|
|
36955
|
+
form: "single",
|
|
36956
|
+
optional: false
|
|
36957
|
+
}],
|
|
36958
|
+
"lawnMowerControl.startMowing": [{
|
|
36959
|
+
name: "deviceId",
|
|
36960
|
+
form: "single",
|
|
36961
|
+
optional: false
|
|
36962
|
+
}],
|
|
36963
|
+
"lockControl.lock": [{
|
|
36964
|
+
name: "deviceId",
|
|
36965
|
+
form: "single",
|
|
36966
|
+
optional: false
|
|
36967
|
+
}],
|
|
36968
|
+
"lockControl.open": [{
|
|
36969
|
+
name: "deviceId",
|
|
36970
|
+
form: "single",
|
|
36971
|
+
optional: false
|
|
36972
|
+
}],
|
|
36973
|
+
"lockControl.unlock": [{
|
|
36974
|
+
name: "deviceId",
|
|
36975
|
+
form: "single",
|
|
36976
|
+
optional: false
|
|
36977
|
+
}],
|
|
36978
|
+
"mediaPlayer.next": [{
|
|
36979
|
+
name: "deviceId",
|
|
36980
|
+
form: "single",
|
|
36981
|
+
optional: false
|
|
36982
|
+
}],
|
|
36983
|
+
"mediaPlayer.pause": [{
|
|
36984
|
+
name: "deviceId",
|
|
36985
|
+
form: "single",
|
|
36986
|
+
optional: false
|
|
36987
|
+
}],
|
|
36988
|
+
"mediaPlayer.play": [{
|
|
36989
|
+
name: "deviceId",
|
|
36990
|
+
form: "single",
|
|
36991
|
+
optional: false
|
|
36992
|
+
}],
|
|
36993
|
+
"mediaPlayer.playMedia": [{
|
|
36994
|
+
name: "deviceId",
|
|
36995
|
+
form: "single",
|
|
36996
|
+
optional: false
|
|
36997
|
+
}],
|
|
36998
|
+
"mediaPlayer.previous": [{
|
|
36999
|
+
name: "deviceId",
|
|
37000
|
+
form: "single",
|
|
37001
|
+
optional: false
|
|
37002
|
+
}],
|
|
37003
|
+
"mediaPlayer.seek": [{
|
|
37004
|
+
name: "deviceId",
|
|
37005
|
+
form: "single",
|
|
37006
|
+
optional: false
|
|
37007
|
+
}],
|
|
37008
|
+
"mediaPlayer.selectSource": [{
|
|
37009
|
+
name: "deviceId",
|
|
37010
|
+
form: "single",
|
|
37011
|
+
optional: false
|
|
37012
|
+
}],
|
|
37013
|
+
"mediaPlayer.setMute": [{
|
|
37014
|
+
name: "deviceId",
|
|
37015
|
+
form: "single",
|
|
37016
|
+
optional: false
|
|
37017
|
+
}],
|
|
37018
|
+
"mediaPlayer.setRepeat": [{
|
|
37019
|
+
name: "deviceId",
|
|
37020
|
+
form: "single",
|
|
37021
|
+
optional: false
|
|
37022
|
+
}],
|
|
37023
|
+
"mediaPlayer.setShuffle": [{
|
|
37024
|
+
name: "deviceId",
|
|
37025
|
+
form: "single",
|
|
37026
|
+
optional: false
|
|
37027
|
+
}],
|
|
37028
|
+
"mediaPlayer.setVolume": [{
|
|
37029
|
+
name: "deviceId",
|
|
37030
|
+
form: "single",
|
|
37031
|
+
optional: false
|
|
37032
|
+
}],
|
|
37033
|
+
"mediaPlayer.stop": [{
|
|
37034
|
+
name: "deviceId",
|
|
37035
|
+
form: "single",
|
|
37036
|
+
optional: false
|
|
37037
|
+
}],
|
|
37038
|
+
"motion.isDetected": [{
|
|
37039
|
+
name: "deviceId",
|
|
37040
|
+
form: "single",
|
|
37041
|
+
optional: false
|
|
37042
|
+
}],
|
|
37043
|
+
"motionDetection.analyze": [{
|
|
37044
|
+
name: "deviceId",
|
|
37045
|
+
form: "single",
|
|
37046
|
+
optional: false
|
|
37047
|
+
}],
|
|
37048
|
+
"motionDetection.removeCamera": [{
|
|
37049
|
+
name: "deviceId",
|
|
37050
|
+
form: "single",
|
|
37051
|
+
optional: false
|
|
37052
|
+
}],
|
|
37053
|
+
"motionTrigger.setMotionTrigger": [{
|
|
37054
|
+
name: "deviceId",
|
|
37055
|
+
form: "single",
|
|
37056
|
+
optional: false
|
|
37057
|
+
}],
|
|
37058
|
+
"motionZones.getOptions": [{
|
|
37059
|
+
name: "deviceId",
|
|
37060
|
+
form: "single",
|
|
37061
|
+
optional: false
|
|
37062
|
+
}],
|
|
37063
|
+
"motionZones.setZone": [{
|
|
37064
|
+
name: "deviceId",
|
|
37065
|
+
form: "single",
|
|
37066
|
+
optional: false
|
|
37067
|
+
}],
|
|
37068
|
+
"nativeObjectDetection.setEnabled": [{
|
|
37069
|
+
name: "deviceId",
|
|
37070
|
+
form: "single",
|
|
37071
|
+
optional: false
|
|
37072
|
+
}],
|
|
37073
|
+
"networkQuality.getDeviceStats": [{
|
|
37074
|
+
name: "deviceId",
|
|
37075
|
+
form: "single",
|
|
37076
|
+
optional: false
|
|
37077
|
+
}],
|
|
37078
|
+
"networkQuality.reportClientStats": [{
|
|
37079
|
+
name: "deviceId",
|
|
37080
|
+
form: "single",
|
|
37081
|
+
optional: false
|
|
37082
|
+
}],
|
|
37083
|
+
"notificationRules.setDeviceMuted": [{
|
|
37084
|
+
name: "deviceId",
|
|
37085
|
+
form: "single",
|
|
37086
|
+
optional: false
|
|
37087
|
+
}],
|
|
37088
|
+
"notifier.cancel": [{
|
|
37089
|
+
name: "deviceId",
|
|
37090
|
+
form: "single",
|
|
37091
|
+
optional: false
|
|
37092
|
+
}],
|
|
37093
|
+
"notifier.send": [{
|
|
37094
|
+
name: "deviceId",
|
|
37095
|
+
form: "single",
|
|
37096
|
+
optional: false
|
|
37097
|
+
}],
|
|
37098
|
+
"osd.setOverlay": [{
|
|
37099
|
+
name: "deviceId",
|
|
37100
|
+
form: "single",
|
|
37101
|
+
optional: false
|
|
37102
|
+
}],
|
|
37103
|
+
"osdManager.clearSlotBinding": [{
|
|
37104
|
+
name: "deviceId",
|
|
37105
|
+
form: "single",
|
|
37106
|
+
optional: false
|
|
37107
|
+
}],
|
|
37108
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
37109
|
+
name: "sourceDeviceId",
|
|
37110
|
+
form: "single",
|
|
37111
|
+
optional: false
|
|
37112
|
+
}, {
|
|
37113
|
+
name: "targetDeviceId",
|
|
37114
|
+
form: "single",
|
|
37115
|
+
optional: false
|
|
37116
|
+
}],
|
|
37117
|
+
"osdManager.getDeviceOsd": [{
|
|
37118
|
+
name: "deviceId",
|
|
37119
|
+
form: "single",
|
|
37120
|
+
optional: false
|
|
37121
|
+
}],
|
|
37122
|
+
"osdManager.getSourceCatalog": [{
|
|
37123
|
+
name: "deviceId",
|
|
37124
|
+
form: "single",
|
|
37125
|
+
optional: false
|
|
37126
|
+
}],
|
|
37127
|
+
"osdManager.previewSlot": [{
|
|
37128
|
+
name: "deviceId",
|
|
37129
|
+
form: "single",
|
|
37130
|
+
optional: false
|
|
37131
|
+
}],
|
|
37132
|
+
"osdManager.renderDevice": [{
|
|
37133
|
+
name: "deviceId",
|
|
37134
|
+
form: "single",
|
|
37135
|
+
optional: false
|
|
37136
|
+
}],
|
|
37137
|
+
"osdManager.setSlotBinding": [{
|
|
37138
|
+
name: "deviceId",
|
|
37139
|
+
form: "single",
|
|
37140
|
+
optional: false
|
|
37141
|
+
}],
|
|
37142
|
+
"petFeeder.callPet": [{
|
|
37143
|
+
name: "deviceId",
|
|
37144
|
+
form: "single",
|
|
37145
|
+
optional: false
|
|
37146
|
+
}],
|
|
37147
|
+
"petFeeder.cancelFeed": [{
|
|
37148
|
+
name: "deviceId",
|
|
37149
|
+
form: "single",
|
|
37150
|
+
optional: false
|
|
37151
|
+
}],
|
|
37152
|
+
"petFeeder.feed": [{
|
|
37153
|
+
name: "deviceId",
|
|
37154
|
+
form: "single",
|
|
37155
|
+
optional: false
|
|
37156
|
+
}],
|
|
37157
|
+
"petFeeder.markFoodReplenished": [{
|
|
37158
|
+
name: "deviceId",
|
|
37159
|
+
form: "single",
|
|
37160
|
+
optional: false
|
|
37161
|
+
}],
|
|
37162
|
+
"petFeeder.playSound": [{
|
|
37163
|
+
name: "deviceId",
|
|
37164
|
+
form: "single",
|
|
37165
|
+
optional: false
|
|
37166
|
+
}],
|
|
37167
|
+
"petFeeder.resetDesiccant": [{
|
|
37168
|
+
name: "deviceId",
|
|
37169
|
+
form: "single",
|
|
37170
|
+
optional: false
|
|
37171
|
+
}],
|
|
37172
|
+
"petFeeder.setChildLock": [{
|
|
37173
|
+
name: "deviceId",
|
|
37174
|
+
form: "single",
|
|
37175
|
+
optional: false
|
|
37176
|
+
}],
|
|
37177
|
+
"petFeeder.setFeedSound": [{
|
|
37178
|
+
name: "deviceId",
|
|
37179
|
+
form: "single",
|
|
37180
|
+
optional: false
|
|
37181
|
+
}],
|
|
37182
|
+
"petFeeder.setIndicatorLight": [{
|
|
37183
|
+
name: "deviceId",
|
|
37184
|
+
form: "single",
|
|
37185
|
+
optional: false
|
|
37186
|
+
}],
|
|
37187
|
+
"petFeeder.setVolume": [{
|
|
37188
|
+
name: "deviceId",
|
|
37189
|
+
form: "single",
|
|
37190
|
+
optional: false
|
|
37191
|
+
}],
|
|
37192
|
+
"pipelineAnalytics.clearTracks": [{
|
|
37193
|
+
name: "deviceId",
|
|
37194
|
+
form: "single",
|
|
37195
|
+
optional: false
|
|
37196
|
+
}],
|
|
37197
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
37198
|
+
name: "deviceId",
|
|
37199
|
+
form: "single",
|
|
37200
|
+
optional: false
|
|
37201
|
+
}],
|
|
37202
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
37203
|
+
name: "deviceId",
|
|
37204
|
+
form: "single",
|
|
37205
|
+
optional: false
|
|
37206
|
+
}],
|
|
37207
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
37208
|
+
name: "deviceId",
|
|
37209
|
+
form: "single",
|
|
37210
|
+
optional: false
|
|
37211
|
+
}],
|
|
37212
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
37213
|
+
name: "deviceId",
|
|
37214
|
+
form: "single",
|
|
37215
|
+
optional: false
|
|
37216
|
+
}],
|
|
37217
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
37218
|
+
name: "deviceId",
|
|
37219
|
+
form: "single",
|
|
37220
|
+
optional: false
|
|
37221
|
+
}],
|
|
37222
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
37223
|
+
name: "deviceId",
|
|
37224
|
+
form: "single",
|
|
37225
|
+
optional: false
|
|
37226
|
+
}],
|
|
37227
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
37228
|
+
name: "deviceId",
|
|
37229
|
+
form: "single",
|
|
37230
|
+
optional: false
|
|
37231
|
+
}],
|
|
37232
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
37233
|
+
name: "deviceId",
|
|
37234
|
+
form: "single",
|
|
37235
|
+
optional: false
|
|
37236
|
+
}],
|
|
37237
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
37238
|
+
name: "deviceId",
|
|
37239
|
+
form: "single",
|
|
37240
|
+
optional: false
|
|
37241
|
+
}],
|
|
37242
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
37243
|
+
name: "deviceId",
|
|
37244
|
+
form: "single",
|
|
37245
|
+
optional: false
|
|
37246
|
+
}],
|
|
37247
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
37248
|
+
name: "deviceId",
|
|
37249
|
+
form: "single",
|
|
37250
|
+
optional: false
|
|
37251
|
+
}],
|
|
37252
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
37253
|
+
name: "deviceIds",
|
|
37254
|
+
form: "array",
|
|
37255
|
+
optional: true
|
|
37256
|
+
}],
|
|
37257
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
37258
|
+
name: "deviceId",
|
|
37259
|
+
form: "single",
|
|
37260
|
+
optional: false
|
|
37261
|
+
}],
|
|
37262
|
+
"pipelineAnalytics.getTrack": [{
|
|
37263
|
+
name: "deviceId",
|
|
37264
|
+
form: "single",
|
|
37265
|
+
optional: false
|
|
37266
|
+
}],
|
|
37267
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
37268
|
+
name: "deviceId",
|
|
37269
|
+
form: "single",
|
|
37270
|
+
optional: false
|
|
37271
|
+
}],
|
|
37272
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
37273
|
+
name: "deviceIds",
|
|
37274
|
+
form: "array",
|
|
37275
|
+
optional: true
|
|
37276
|
+
}],
|
|
37277
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
37278
|
+
name: "deviceIds",
|
|
37279
|
+
form: "array",
|
|
37280
|
+
optional: true
|
|
37281
|
+
}],
|
|
37282
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
37283
|
+
name: "deviceId",
|
|
37284
|
+
form: "single",
|
|
37285
|
+
optional: false
|
|
37286
|
+
}],
|
|
37287
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
37288
|
+
name: "deviceIds",
|
|
37289
|
+
form: "array",
|
|
37290
|
+
optional: false
|
|
37291
|
+
}],
|
|
37292
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
37293
|
+
name: "deviceId",
|
|
37294
|
+
form: "single",
|
|
37295
|
+
optional: true
|
|
37296
|
+
}],
|
|
37297
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
37298
|
+
name: "deviceIds",
|
|
37299
|
+
form: "array",
|
|
37300
|
+
optional: false
|
|
37301
|
+
}],
|
|
37302
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
37303
|
+
name: "deviceIds",
|
|
37304
|
+
form: "array",
|
|
37305
|
+
optional: true
|
|
37306
|
+
}],
|
|
37307
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
37308
|
+
name: "deviceId",
|
|
37309
|
+
form: "single",
|
|
37310
|
+
optional: false
|
|
37311
|
+
}],
|
|
37312
|
+
"pipelineAnalytics.listTracks": [{
|
|
37313
|
+
name: "deviceId",
|
|
37314
|
+
form: "single",
|
|
37315
|
+
optional: false
|
|
37316
|
+
}],
|
|
37317
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
37318
|
+
name: "deviceId",
|
|
37319
|
+
form: "single",
|
|
37320
|
+
optional: false
|
|
37321
|
+
}],
|
|
37322
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
37323
|
+
name: "deviceId",
|
|
37324
|
+
form: "single",
|
|
37325
|
+
optional: false
|
|
37326
|
+
}],
|
|
37327
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
37328
|
+
name: "deviceId",
|
|
37329
|
+
form: "single",
|
|
37330
|
+
optional: false
|
|
37331
|
+
}],
|
|
37332
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
37333
|
+
name: "deviceId",
|
|
37334
|
+
form: "single",
|
|
37335
|
+
optional: true
|
|
37336
|
+
}],
|
|
37337
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
37338
|
+
name: "deviceId",
|
|
37339
|
+
form: "single",
|
|
37340
|
+
optional: false
|
|
37341
|
+
}],
|
|
37342
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
37343
|
+
name: "deviceId",
|
|
37344
|
+
form: "single",
|
|
37345
|
+
optional: false
|
|
37346
|
+
}],
|
|
37347
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
37348
|
+
name: "deviceId",
|
|
37349
|
+
form: "single",
|
|
37350
|
+
optional: true
|
|
37351
|
+
}],
|
|
37352
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
37353
|
+
name: "deviceId",
|
|
37354
|
+
form: "single",
|
|
37355
|
+
optional: false
|
|
37356
|
+
}],
|
|
37357
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
37358
|
+
name: "deviceId",
|
|
37359
|
+
form: "single",
|
|
37360
|
+
optional: false
|
|
37361
|
+
}],
|
|
37362
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
37363
|
+
name: "deviceId",
|
|
37364
|
+
form: "single",
|
|
37365
|
+
optional: false
|
|
37366
|
+
}],
|
|
37367
|
+
"pipelineExecutor.runPipeline": [{
|
|
37368
|
+
name: "deviceId",
|
|
37369
|
+
form: "single",
|
|
37370
|
+
optional: true
|
|
37371
|
+
}],
|
|
37372
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
37373
|
+
name: "deviceId",
|
|
37374
|
+
form: "single",
|
|
37375
|
+
optional: true
|
|
37376
|
+
}],
|
|
37377
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
37378
|
+
name: "deviceId",
|
|
37379
|
+
form: "single",
|
|
37380
|
+
optional: false
|
|
37381
|
+
}],
|
|
37382
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
37383
|
+
name: "deviceId",
|
|
37384
|
+
form: "single",
|
|
37385
|
+
optional: false
|
|
37386
|
+
}],
|
|
37387
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
37388
|
+
name: "deviceId",
|
|
37389
|
+
form: "single",
|
|
37390
|
+
optional: false
|
|
37391
|
+
}],
|
|
37392
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
37393
|
+
name: "deviceId",
|
|
37394
|
+
form: "single",
|
|
37395
|
+
optional: false
|
|
37396
|
+
}],
|
|
37397
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
37398
|
+
name: "deviceId",
|
|
37399
|
+
form: "single",
|
|
37400
|
+
optional: false
|
|
37401
|
+
}],
|
|
37402
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
37403
|
+
name: "deviceId",
|
|
37404
|
+
form: "single",
|
|
37405
|
+
optional: false
|
|
37406
|
+
}],
|
|
37407
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
37408
|
+
name: "deviceIds",
|
|
37409
|
+
form: "array",
|
|
37410
|
+
optional: true
|
|
37411
|
+
}],
|
|
37412
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
37413
|
+
name: "deviceId",
|
|
37414
|
+
form: "single",
|
|
37415
|
+
optional: false
|
|
37416
|
+
}],
|
|
37417
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
37418
|
+
name: "deviceId",
|
|
37419
|
+
form: "single",
|
|
37420
|
+
optional: false
|
|
37421
|
+
}],
|
|
37422
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
37423
|
+
name: "deviceId",
|
|
37424
|
+
form: "single",
|
|
37425
|
+
optional: false
|
|
37426
|
+
}],
|
|
37427
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
37428
|
+
name: "deviceId",
|
|
37429
|
+
form: "single",
|
|
37430
|
+
optional: false
|
|
37431
|
+
}],
|
|
37432
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
37433
|
+
name: "deviceId",
|
|
37434
|
+
form: "single",
|
|
37435
|
+
optional: false
|
|
37436
|
+
}],
|
|
37437
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
37438
|
+
name: "deviceId",
|
|
37439
|
+
form: "single",
|
|
37440
|
+
optional: false
|
|
37441
|
+
}],
|
|
37442
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
37443
|
+
name: "deviceId",
|
|
37444
|
+
form: "single",
|
|
37445
|
+
optional: false
|
|
37446
|
+
}],
|
|
37447
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
37448
|
+
name: "deviceId",
|
|
37449
|
+
form: "single",
|
|
37450
|
+
optional: false
|
|
37451
|
+
}],
|
|
37452
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
37453
|
+
name: "deviceId",
|
|
37454
|
+
form: "single",
|
|
37455
|
+
optional: false
|
|
37456
|
+
}],
|
|
37457
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
37458
|
+
name: "deviceId",
|
|
37459
|
+
form: "single",
|
|
37460
|
+
optional: false
|
|
37461
|
+
}],
|
|
37462
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
37463
|
+
name: "deviceId",
|
|
37464
|
+
form: "single",
|
|
37465
|
+
optional: false
|
|
37466
|
+
}],
|
|
37467
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
37468
|
+
name: "deviceId",
|
|
37469
|
+
form: "single",
|
|
37470
|
+
optional: false
|
|
37471
|
+
}],
|
|
37472
|
+
"pipelineRunner.attachCamera": [{
|
|
37473
|
+
name: "deviceId",
|
|
37474
|
+
form: "single",
|
|
37475
|
+
optional: false
|
|
37476
|
+
}],
|
|
37477
|
+
"pipelineRunner.detachCamera": [{
|
|
37478
|
+
name: "deviceId",
|
|
37479
|
+
form: "single",
|
|
37480
|
+
optional: false
|
|
37481
|
+
}],
|
|
37482
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
37483
|
+
name: "deviceId",
|
|
37484
|
+
form: "single",
|
|
37485
|
+
optional: false
|
|
37486
|
+
}],
|
|
37487
|
+
"pipelineRunner.reportMotion": [{
|
|
37488
|
+
name: "deviceId",
|
|
37489
|
+
form: "single",
|
|
37490
|
+
optional: false
|
|
37491
|
+
}],
|
|
37492
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
37493
|
+
name: "deviceId",
|
|
37494
|
+
form: "single",
|
|
37495
|
+
optional: false
|
|
37496
|
+
}],
|
|
37497
|
+
"pipelineRunner.runStatelessStep": [{
|
|
37498
|
+
name: "sourceDeviceId",
|
|
37499
|
+
form: "single",
|
|
37500
|
+
optional: false
|
|
37501
|
+
}],
|
|
37502
|
+
"plateGallery.getPlateByTrack": [{
|
|
37503
|
+
name: "deviceId",
|
|
37504
|
+
form: "single",
|
|
37505
|
+
optional: false
|
|
37506
|
+
}],
|
|
37507
|
+
"plateGallery.listPlates": [{
|
|
37508
|
+
name: "deviceId",
|
|
37509
|
+
form: "single",
|
|
37510
|
+
optional: true
|
|
37511
|
+
}],
|
|
37512
|
+
"privacyMask.getOptions": [{
|
|
37513
|
+
name: "deviceId",
|
|
37514
|
+
form: "single",
|
|
37515
|
+
optional: false
|
|
37516
|
+
}],
|
|
37517
|
+
"privacyMask.setAudioEnabled": [{
|
|
37518
|
+
name: "deviceId",
|
|
37519
|
+
form: "single",
|
|
37520
|
+
optional: false
|
|
37521
|
+
}],
|
|
37522
|
+
"privacyMask.setMask": [{
|
|
37523
|
+
name: "deviceId",
|
|
37524
|
+
form: "single",
|
|
37525
|
+
optional: false
|
|
37526
|
+
}],
|
|
37527
|
+
"ptz.continuousMove": [{
|
|
37528
|
+
name: "deviceId",
|
|
37529
|
+
form: "single",
|
|
37530
|
+
optional: false
|
|
37531
|
+
}],
|
|
37532
|
+
"ptz.deletePreset": [{
|
|
37533
|
+
name: "deviceId",
|
|
37534
|
+
form: "single",
|
|
37535
|
+
optional: false
|
|
37536
|
+
}],
|
|
37537
|
+
"ptz.getOptions": [{
|
|
37538
|
+
name: "deviceId",
|
|
37539
|
+
form: "single",
|
|
37540
|
+
optional: false
|
|
37541
|
+
}],
|
|
37542
|
+
"ptz.getPosition": [{
|
|
37543
|
+
name: "deviceId",
|
|
37544
|
+
form: "single",
|
|
37545
|
+
optional: false
|
|
37546
|
+
}],
|
|
37547
|
+
"ptz.getPresets": [{
|
|
37548
|
+
name: "deviceId",
|
|
37549
|
+
form: "single",
|
|
37550
|
+
optional: false
|
|
37551
|
+
}],
|
|
37552
|
+
"ptz.goHome": [{
|
|
37553
|
+
name: "deviceId",
|
|
37554
|
+
form: "single",
|
|
37555
|
+
optional: false
|
|
37556
|
+
}],
|
|
37557
|
+
"ptz.goToPreset": [{
|
|
37558
|
+
name: "deviceId",
|
|
37559
|
+
form: "single",
|
|
37560
|
+
optional: false
|
|
37561
|
+
}],
|
|
37562
|
+
"ptz.move": [{
|
|
37563
|
+
name: "deviceId",
|
|
37564
|
+
form: "single",
|
|
37565
|
+
optional: false
|
|
37566
|
+
}],
|
|
37567
|
+
"ptz.savePreset": [{
|
|
37568
|
+
name: "deviceId",
|
|
37569
|
+
form: "single",
|
|
37570
|
+
optional: false
|
|
37571
|
+
}],
|
|
37572
|
+
"ptz.setAutofocus": [{
|
|
37573
|
+
name: "deviceId",
|
|
37574
|
+
form: "single",
|
|
37575
|
+
optional: false
|
|
37576
|
+
}],
|
|
37577
|
+
"ptz.stop": [{
|
|
37578
|
+
name: "deviceId",
|
|
37579
|
+
form: "single",
|
|
37580
|
+
optional: false
|
|
37581
|
+
}],
|
|
37582
|
+
"ptzAutotrack.getSettings": [{
|
|
37583
|
+
name: "deviceId",
|
|
37584
|
+
form: "single",
|
|
37585
|
+
optional: false
|
|
37586
|
+
}],
|
|
37587
|
+
"ptzAutotrack.getStatus": [{
|
|
37588
|
+
name: "deviceId",
|
|
37589
|
+
form: "single",
|
|
37590
|
+
optional: false
|
|
37591
|
+
}],
|
|
37592
|
+
"ptzAutotrack.setEnabled": [{
|
|
37593
|
+
name: "deviceId",
|
|
37594
|
+
form: "single",
|
|
37595
|
+
optional: false
|
|
37596
|
+
}],
|
|
37597
|
+
"ptzAutotrack.setSettings": [{
|
|
37598
|
+
name: "deviceId",
|
|
37599
|
+
form: "single",
|
|
37600
|
+
optional: false
|
|
37601
|
+
}],
|
|
37602
|
+
"reboot.reboot": [{
|
|
37603
|
+
name: "deviceId",
|
|
37604
|
+
form: "single",
|
|
37605
|
+
optional: false
|
|
37606
|
+
}],
|
|
37607
|
+
"recording.deleteFootprint": [{
|
|
37608
|
+
name: "deviceId",
|
|
37609
|
+
form: "single",
|
|
37610
|
+
optional: false
|
|
37611
|
+
}],
|
|
37612
|
+
"recording.getAvailability": [{
|
|
37613
|
+
name: "deviceId",
|
|
37614
|
+
form: "single",
|
|
37615
|
+
optional: false
|
|
37616
|
+
}],
|
|
37617
|
+
"recording.getDaysWithRecordings": [{
|
|
37618
|
+
name: "deviceId",
|
|
37619
|
+
form: "single",
|
|
37620
|
+
optional: false
|
|
37621
|
+
}],
|
|
37622
|
+
"recording.getDeviceConfig": [{
|
|
37623
|
+
name: "deviceId",
|
|
37624
|
+
form: "single",
|
|
37625
|
+
optional: false
|
|
37626
|
+
}],
|
|
37627
|
+
"recording.getPlaybackManifest": [{
|
|
37628
|
+
name: "deviceId",
|
|
37629
|
+
form: "single",
|
|
37630
|
+
optional: false
|
|
37631
|
+
}],
|
|
37632
|
+
"recording.listOpsLog": [{
|
|
37633
|
+
name: "deviceId",
|
|
37634
|
+
form: "single",
|
|
37635
|
+
optional: true
|
|
37636
|
+
}],
|
|
37637
|
+
"recording.locateSegment": [{
|
|
37638
|
+
name: "deviceId",
|
|
37639
|
+
form: "single",
|
|
37640
|
+
optional: false
|
|
37641
|
+
}],
|
|
37642
|
+
"recording.pruneFootage": [{
|
|
37643
|
+
name: "deviceId",
|
|
37644
|
+
form: "single",
|
|
37645
|
+
optional: false
|
|
37646
|
+
}],
|
|
37647
|
+
"recording.readGopBytes": [{
|
|
37648
|
+
name: "deviceId",
|
|
37649
|
+
form: "single",
|
|
37650
|
+
optional: false
|
|
37651
|
+
}],
|
|
37652
|
+
"recording.readSegmentBytes": [{
|
|
37653
|
+
name: "deviceId",
|
|
37654
|
+
form: "single",
|
|
37655
|
+
optional: false
|
|
37656
|
+
}],
|
|
37657
|
+
"recording.relocateFootage": [{
|
|
37658
|
+
name: "deviceId",
|
|
37659
|
+
form: "single",
|
|
37660
|
+
optional: true
|
|
37661
|
+
}],
|
|
37662
|
+
"recording.renderClip": [{
|
|
37663
|
+
name: "deviceId",
|
|
37664
|
+
form: "single",
|
|
37665
|
+
optional: false
|
|
37666
|
+
}],
|
|
37667
|
+
"recording.renderGif": [{
|
|
37668
|
+
name: "deviceId",
|
|
37669
|
+
form: "single",
|
|
37670
|
+
optional: false
|
|
37671
|
+
}],
|
|
37672
|
+
"recording.rescanStorage": [{
|
|
37673
|
+
name: "deviceId",
|
|
37674
|
+
form: "single",
|
|
37675
|
+
optional: false
|
|
37676
|
+
}],
|
|
37677
|
+
"recording.setDeviceConfig": [{
|
|
37678
|
+
name: "deviceId",
|
|
37679
|
+
form: "single",
|
|
37680
|
+
optional: false
|
|
37681
|
+
}],
|
|
37682
|
+
"recording.startStorageMigrationMove": [{
|
|
37683
|
+
name: "deviceId",
|
|
37684
|
+
form: "single",
|
|
37685
|
+
optional: true
|
|
37686
|
+
}],
|
|
37687
|
+
"recordingExport.createExport": [{
|
|
37688
|
+
name: "deviceId",
|
|
37689
|
+
form: "single",
|
|
37690
|
+
optional: false
|
|
37691
|
+
}],
|
|
37692
|
+
"recordingExport.listExports": [{
|
|
37693
|
+
name: "deviceId",
|
|
37694
|
+
form: "single",
|
|
37695
|
+
optional: true
|
|
37696
|
+
}],
|
|
37697
|
+
"sceneMonitor.captureReference": [{
|
|
37698
|
+
name: "deviceId",
|
|
37699
|
+
form: "single",
|
|
37700
|
+
optional: false
|
|
37701
|
+
}],
|
|
37702
|
+
"sceneMonitor.createScene": [{
|
|
37703
|
+
name: "deviceId",
|
|
37704
|
+
form: "single",
|
|
37705
|
+
optional: false
|
|
37706
|
+
}],
|
|
37707
|
+
"sceneMonitor.deleteReference": [{
|
|
37708
|
+
name: "deviceId",
|
|
37709
|
+
form: "single",
|
|
37710
|
+
optional: false
|
|
37711
|
+
}],
|
|
37712
|
+
"sceneMonitor.deleteScene": [{
|
|
37713
|
+
name: "deviceId",
|
|
37714
|
+
form: "single",
|
|
37715
|
+
optional: false
|
|
37716
|
+
}],
|
|
37717
|
+
"sceneMonitor.listScenes": [{
|
|
37718
|
+
name: "deviceId",
|
|
37719
|
+
form: "single",
|
|
37720
|
+
optional: false
|
|
37721
|
+
}],
|
|
37722
|
+
"sceneMonitor.recheckNow": [{
|
|
37723
|
+
name: "deviceId",
|
|
37724
|
+
form: "single",
|
|
37725
|
+
optional: false
|
|
37726
|
+
}],
|
|
37727
|
+
"sceneMonitor.resetScene": [{
|
|
37728
|
+
name: "deviceId",
|
|
37729
|
+
form: "single",
|
|
37730
|
+
optional: false
|
|
37731
|
+
}],
|
|
37732
|
+
"sceneMonitor.updateScene": [{
|
|
37733
|
+
name: "deviceId",
|
|
37734
|
+
form: "single",
|
|
37735
|
+
optional: false
|
|
37736
|
+
}],
|
|
37737
|
+
"scriptRunner.run": [{
|
|
37738
|
+
name: "deviceId",
|
|
37739
|
+
form: "single",
|
|
37740
|
+
optional: false
|
|
37741
|
+
}],
|
|
37742
|
+
"scriptRunner.stop": [{
|
|
37743
|
+
name: "deviceId",
|
|
37744
|
+
form: "single",
|
|
37745
|
+
optional: false
|
|
37746
|
+
}],
|
|
37747
|
+
"snapshot.getDebugState": [{
|
|
37748
|
+
name: "deviceId",
|
|
37749
|
+
form: "single",
|
|
37750
|
+
optional: false
|
|
37751
|
+
}],
|
|
37752
|
+
"snapshot.getSnapshot": [{
|
|
37753
|
+
name: "deviceId",
|
|
37754
|
+
form: "single",
|
|
37755
|
+
optional: false
|
|
37756
|
+
}],
|
|
37757
|
+
"snapshot.getSnapshotLinks": [{
|
|
37758
|
+
name: "targets",
|
|
37759
|
+
form: "object-array",
|
|
37760
|
+
optional: false,
|
|
37761
|
+
itemField: "deviceId"
|
|
37762
|
+
}],
|
|
37763
|
+
"snapshot.getSnapshotOverview": [{
|
|
37764
|
+
name: "deviceIds",
|
|
37765
|
+
form: "array",
|
|
37766
|
+
optional: false
|
|
37767
|
+
}],
|
|
37768
|
+
"snapshot.invalidateCache": [{
|
|
37769
|
+
name: "deviceId",
|
|
37770
|
+
form: "single",
|
|
37771
|
+
optional: false
|
|
37772
|
+
}],
|
|
37773
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
37774
|
+
name: "deviceId",
|
|
37775
|
+
form: "single",
|
|
37776
|
+
optional: false
|
|
37777
|
+
}],
|
|
37778
|
+
"streamBroker.assignProfile": [{
|
|
37779
|
+
name: "deviceId",
|
|
37780
|
+
form: "single",
|
|
37781
|
+
optional: false
|
|
37782
|
+
}],
|
|
37783
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
37784
|
+
name: "deviceId",
|
|
37785
|
+
form: "single",
|
|
37786
|
+
optional: false
|
|
37787
|
+
}],
|
|
37788
|
+
"streamBroker.getStreamWithCodec": [{
|
|
37789
|
+
name: "deviceId",
|
|
37790
|
+
form: "single",
|
|
37791
|
+
optional: false
|
|
37792
|
+
}],
|
|
37793
|
+
"streamBroker.produceEventMedia": [{
|
|
37794
|
+
name: "deviceId",
|
|
37795
|
+
form: "single",
|
|
37796
|
+
optional: false
|
|
37797
|
+
}],
|
|
37798
|
+
"streamBroker.publishCameraStream": [{
|
|
37799
|
+
name: "deviceId",
|
|
37800
|
+
form: "single",
|
|
37801
|
+
optional: false
|
|
37802
|
+
}],
|
|
37803
|
+
"streamBroker.renderPreBufferClip": [{
|
|
37804
|
+
name: "deviceId",
|
|
37805
|
+
form: "single",
|
|
37806
|
+
optional: false
|
|
37807
|
+
}],
|
|
37808
|
+
"streamBroker.restartProfile": [{
|
|
37809
|
+
name: "deviceId",
|
|
37810
|
+
form: "single",
|
|
37811
|
+
optional: false
|
|
37812
|
+
}],
|
|
37813
|
+
"streamBroker.retractCameraStream": [{
|
|
37814
|
+
name: "deviceId",
|
|
37815
|
+
form: "single",
|
|
37816
|
+
optional: false
|
|
37817
|
+
}],
|
|
37818
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
37819
|
+
name: "deviceId",
|
|
37820
|
+
form: "single",
|
|
37821
|
+
optional: false
|
|
37822
|
+
}],
|
|
37823
|
+
"streamBroker.unassignProfile": [{
|
|
37824
|
+
name: "deviceId",
|
|
37825
|
+
form: "single",
|
|
37826
|
+
optional: false
|
|
37827
|
+
}],
|
|
37828
|
+
"streamCatalog.getCatalog": [{
|
|
37829
|
+
name: "deviceId",
|
|
37830
|
+
form: "single",
|
|
37831
|
+
optional: false
|
|
37832
|
+
}],
|
|
37833
|
+
"streamParams.getConfigSchema": [{
|
|
37834
|
+
name: "deviceId",
|
|
37835
|
+
form: "single",
|
|
37836
|
+
optional: false
|
|
37837
|
+
}],
|
|
37838
|
+
"streamParams.getOptions": [{
|
|
37839
|
+
name: "deviceId",
|
|
37840
|
+
form: "single",
|
|
37841
|
+
optional: false
|
|
37842
|
+
}],
|
|
37843
|
+
"streamParams.setProfile": [{
|
|
37844
|
+
name: "deviceId",
|
|
37845
|
+
form: "single",
|
|
37846
|
+
optional: false
|
|
37847
|
+
}],
|
|
37848
|
+
"switch.setState": [{
|
|
37849
|
+
name: "deviceId",
|
|
37850
|
+
form: "single",
|
|
37851
|
+
optional: false
|
|
37852
|
+
}],
|
|
37853
|
+
"vacuumControl.locate": [{
|
|
37854
|
+
name: "deviceId",
|
|
37855
|
+
form: "single",
|
|
37856
|
+
optional: false
|
|
37857
|
+
}],
|
|
37858
|
+
"vacuumControl.pause": [{
|
|
37859
|
+
name: "deviceId",
|
|
37860
|
+
form: "single",
|
|
37861
|
+
optional: false
|
|
37862
|
+
}],
|
|
37863
|
+
"vacuumControl.returnToBase": [{
|
|
37864
|
+
name: "deviceId",
|
|
37865
|
+
form: "single",
|
|
37866
|
+
optional: false
|
|
37867
|
+
}],
|
|
37868
|
+
"vacuumControl.setFanSpeed": [{
|
|
37869
|
+
name: "deviceId",
|
|
37870
|
+
form: "single",
|
|
37871
|
+
optional: false
|
|
37872
|
+
}],
|
|
37873
|
+
"vacuumControl.start": [{
|
|
37874
|
+
name: "deviceId",
|
|
37875
|
+
form: "single",
|
|
37876
|
+
optional: false
|
|
37877
|
+
}],
|
|
37878
|
+
"vacuumControl.stop": [{
|
|
37879
|
+
name: "deviceId",
|
|
37880
|
+
form: "single",
|
|
37881
|
+
optional: false
|
|
37882
|
+
}],
|
|
37883
|
+
"valve.close": [{
|
|
37884
|
+
name: "deviceId",
|
|
37885
|
+
form: "single",
|
|
37886
|
+
optional: false
|
|
37887
|
+
}],
|
|
37888
|
+
"valve.open": [{
|
|
37889
|
+
name: "deviceId",
|
|
37890
|
+
form: "single",
|
|
37891
|
+
optional: false
|
|
37892
|
+
}],
|
|
37893
|
+
"valve.setPosition": [{
|
|
37894
|
+
name: "deviceId",
|
|
37895
|
+
form: "single",
|
|
37896
|
+
optional: false
|
|
37897
|
+
}],
|
|
37898
|
+
"valve.stop": [{
|
|
37899
|
+
name: "deviceId",
|
|
37900
|
+
form: "single",
|
|
37901
|
+
optional: false
|
|
37902
|
+
}],
|
|
37903
|
+
"videoclips.getClipPlayback": [{
|
|
37904
|
+
name: "deviceId",
|
|
37905
|
+
form: "single",
|
|
37906
|
+
optional: false
|
|
37907
|
+
}],
|
|
37908
|
+
"videoclips.listClips": [{
|
|
37909
|
+
name: "deviceId",
|
|
37910
|
+
form: "single",
|
|
37911
|
+
optional: false
|
|
37912
|
+
}],
|
|
37913
|
+
"waterHeater.setAway": [{
|
|
37914
|
+
name: "deviceId",
|
|
37915
|
+
form: "single",
|
|
37916
|
+
optional: false
|
|
37917
|
+
}],
|
|
37918
|
+
"waterHeater.setOperationMode": [{
|
|
37919
|
+
name: "deviceId",
|
|
37920
|
+
form: "single",
|
|
37921
|
+
optional: false
|
|
37922
|
+
}],
|
|
37923
|
+
"waterHeater.setTargetTemp": [{
|
|
37924
|
+
name: "deviceId",
|
|
37925
|
+
form: "single",
|
|
37926
|
+
optional: false
|
|
37927
|
+
}],
|
|
37928
|
+
"webrtcSession.addIceCandidate": [{
|
|
37929
|
+
name: "deviceId",
|
|
37930
|
+
form: "single",
|
|
37931
|
+
optional: false
|
|
37932
|
+
}],
|
|
37933
|
+
"webrtcSession.closeSession": [{
|
|
37934
|
+
name: "deviceId",
|
|
37935
|
+
form: "single",
|
|
37936
|
+
optional: false
|
|
37937
|
+
}],
|
|
37938
|
+
"webrtcSession.createSession": [{
|
|
37939
|
+
name: "deviceId",
|
|
37940
|
+
form: "single",
|
|
37941
|
+
optional: false
|
|
37942
|
+
}],
|
|
37943
|
+
"webrtcSession.getIceCandidates": [{
|
|
37944
|
+
name: "deviceId",
|
|
37945
|
+
form: "single",
|
|
37946
|
+
optional: false
|
|
37947
|
+
}],
|
|
37948
|
+
"webrtcSession.getSessionState": [{
|
|
37949
|
+
name: "deviceId",
|
|
37950
|
+
form: "single",
|
|
37951
|
+
optional: false
|
|
37952
|
+
}],
|
|
37953
|
+
"webrtcSession.handleAnswer": [{
|
|
37954
|
+
name: "deviceId",
|
|
37955
|
+
form: "single",
|
|
37956
|
+
optional: false
|
|
37957
|
+
}],
|
|
37958
|
+
"webrtcSession.handleOffer": [{
|
|
37959
|
+
name: "deviceId",
|
|
37960
|
+
form: "single",
|
|
37961
|
+
optional: false
|
|
37962
|
+
}],
|
|
37963
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
37964
|
+
name: "deviceId",
|
|
37965
|
+
form: "single",
|
|
37966
|
+
optional: false
|
|
37967
|
+
}],
|
|
37968
|
+
"webrtcSession.listStreams": [{
|
|
37969
|
+
name: "deviceId",
|
|
37970
|
+
form: "single",
|
|
37971
|
+
optional: false
|
|
37972
|
+
}],
|
|
37973
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
37974
|
+
name: "deviceId",
|
|
37975
|
+
form: "single",
|
|
37976
|
+
optional: false
|
|
37977
|
+
}],
|
|
37978
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
37979
|
+
name: "deviceId",
|
|
37980
|
+
form: "single",
|
|
37981
|
+
optional: false
|
|
37982
|
+
}],
|
|
37983
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
37984
|
+
name: "deviceId",
|
|
37985
|
+
form: "single",
|
|
37986
|
+
optional: false
|
|
37987
|
+
}],
|
|
37988
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
37989
|
+
name: "deviceId",
|
|
37990
|
+
form: "single",
|
|
37991
|
+
optional: false
|
|
37992
|
+
}],
|
|
37993
|
+
"zoneRules.listRules": [{
|
|
37994
|
+
name: "deviceId",
|
|
37995
|
+
form: "single",
|
|
37996
|
+
optional: false
|
|
37997
|
+
}],
|
|
37998
|
+
"zoneRules.setRules": [{
|
|
37999
|
+
name: "deviceId",
|
|
38000
|
+
form: "single",
|
|
38001
|
+
optional: false
|
|
38002
|
+
}],
|
|
38003
|
+
"zones.addZone": [{
|
|
38004
|
+
name: "deviceId",
|
|
38005
|
+
form: "single",
|
|
38006
|
+
optional: false
|
|
38007
|
+
}],
|
|
38008
|
+
"zones.listZones": [{
|
|
38009
|
+
name: "deviceId",
|
|
38010
|
+
form: "single",
|
|
38011
|
+
optional: false
|
|
38012
|
+
}],
|
|
38013
|
+
"zones.removeZone": [{
|
|
38014
|
+
name: "deviceId",
|
|
38015
|
+
form: "single",
|
|
38016
|
+
optional: false
|
|
38017
|
+
}],
|
|
38018
|
+
"zones.updateZone": [{
|
|
38019
|
+
name: "deviceId",
|
|
38020
|
+
form: "single",
|
|
38021
|
+
optional: false
|
|
38022
|
+
}]
|
|
38023
|
+
});
|
|
35270
38024
|
Object.freeze({
|
|
35271
38025
|
"broker": "broker",
|
|
35272
38026
|
"device-export": "device-export",
|