@camstack/addon-auth 1.2.18 → 1.2.20
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/{dist-Tng9asvg.js → dist-DMouzlMU.js} +2654 -84
- package/dist/{dist-RQZEyLZg.mjs → dist-c2S490eb.mjs} +2654 -84
- package/dist/magic-link/auth-magic-link.addon.js +1 -1
- package/dist/magic-link/auth-magic-link.addon.mjs +1 -1
- package/dist/oidc/auth-oidc.addon.js +1 -1
- package/dist/oidc/auth-oidc.addon.mjs +1 -1
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DicoXrsH.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DUa7aCzI.mjs} +3 -3
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-k1jCpzO3.mjs +26 -0
- package/dist/webauthn/auth-webauthn.addon.js +17 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +17 -1
- package/dist/webauthn/{hostInit-C4qZ1Ak_.mjs → hostInit-BNemCGRJ.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-kwtqk0yt.mjs +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2996,6 +3023,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2996
3023
|
fallback: left.fallback
|
|
2997
3024
|
}, ctx);
|
|
2998
3025
|
}
|
|
3026
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3027
|
+
$ZodPipe.init(inst, def);
|
|
3028
|
+
});
|
|
2999
3029
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3000
3030
|
$ZodType.init(inst, def);
|
|
3001
3031
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5181,6 +5211,10 @@ function pipe(in_, out) {
|
|
|
5181
5211
|
out
|
|
5182
5212
|
});
|
|
5183
5213
|
}
|
|
5214
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5215
|
+
ZodPipe.init(inst, def);
|
|
5216
|
+
$ZodPreprocess.init(inst, def);
|
|
5217
|
+
});
|
|
5184
5218
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5185
5219
|
$ZodReadonly.init(inst, def);
|
|
5186
5220
|
ZodType.init(inst, def);
|
|
@@ -5239,6 +5273,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5239
5273
|
};
|
|
5240
5274
|
return inst;
|
|
5241
5275
|
}
|
|
5276
|
+
function preprocess(fn, schema) {
|
|
5277
|
+
return new ZodPreprocess({
|
|
5278
|
+
type: "pipe",
|
|
5279
|
+
in: transform(fn),
|
|
5280
|
+
out: schema
|
|
5281
|
+
});
|
|
5282
|
+
}
|
|
5242
5283
|
//#endregion
|
|
5243
5284
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5244
5285
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10926,6 +10967,8 @@ var QueryFilterSchema = object({
|
|
|
10926
10967
|
where: record(string(), unknown()).optional(),
|
|
10927
10968
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10928
10969
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10970
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10971
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10929
10972
|
orderBy: object({
|
|
10930
10973
|
field: string(),
|
|
10931
10974
|
direction: _enum(["asc", "desc"])
|
|
@@ -10945,7 +10988,8 @@ var QueryFilterSchema = object({
|
|
|
10945
10988
|
var MutationFilterSchema = object({
|
|
10946
10989
|
where: record(string(), unknown()).optional(),
|
|
10947
10990
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10948
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10991
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10992
|
+
whereNot: record(string(), unknown()).optional()
|
|
10949
10993
|
});
|
|
10950
10994
|
/** A single stored record: `{ id, data }`. */
|
|
10951
10995
|
var SettingsRecordSchema = object({
|
|
@@ -12302,6 +12346,17 @@ var LlmImageSchema = object({
|
|
|
12302
12346
|
bytes: _instanceof(Uint8Array),
|
|
12303
12347
|
mimeType: string()
|
|
12304
12348
|
});
|
|
12349
|
+
/**
|
|
12350
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12351
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12352
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12353
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12354
|
+
*/
|
|
12355
|
+
var LlmRetryPolicySchema = object({
|
|
12356
|
+
enabled: boolean().default(false),
|
|
12357
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12358
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12359
|
+
});
|
|
12305
12360
|
var LlmGenerateBaseInputSchema = object({
|
|
12306
12361
|
/** Collection routing (the notification-output posture). */
|
|
12307
12362
|
addonId: string().optional(),
|
|
@@ -12316,7 +12371,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12316
12371
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12317
12372
|
/** Per-call override of the profile default. */
|
|
12318
12373
|
maxTokens: number().int().positive().optional(),
|
|
12319
|
-
temperature: number().optional()
|
|
12374
|
+
temperature: number().optional(),
|
|
12375
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12376
|
+
topP: number().min(0).max(1).optional(),
|
|
12377
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12378
|
+
topK: number().int().positive().optional(),
|
|
12379
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12380
|
+
timeoutMs: number().int().positive().optional(),
|
|
12381
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12382
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12383
|
+
/**
|
|
12384
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12385
|
+
*
|
|
12386
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12387
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12388
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12389
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12390
|
+
* not generations, and the real load is unbounded.
|
|
12391
|
+
*
|
|
12392
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12393
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12394
|
+
*/
|
|
12395
|
+
requestId: string().optional()
|
|
12320
12396
|
});
|
|
12321
12397
|
/**
|
|
12322
12398
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12329,6 +12405,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12329
12405
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12330
12406
|
* watchdog — operator decision #3).
|
|
12331
12407
|
*/
|
|
12408
|
+
/**
|
|
12409
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12410
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12411
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12412
|
+
* the preview is exactly what the node downloads.
|
|
12413
|
+
*/
|
|
12414
|
+
var ManagedModelExtraFileSchema = object({
|
|
12415
|
+
url: string(),
|
|
12416
|
+
filename: string(),
|
|
12417
|
+
sizeBytes: number(),
|
|
12418
|
+
sha256: string().optional()
|
|
12419
|
+
});
|
|
12332
12420
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12333
12421
|
object({
|
|
12334
12422
|
kind: literal("catalog"),
|
|
@@ -12337,7 +12425,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12337
12425
|
object({
|
|
12338
12426
|
kind: literal("url"),
|
|
12339
12427
|
url: string(),
|
|
12340
|
-
sha256: string().optional()
|
|
12428
|
+
sha256: string().optional(),
|
|
12429
|
+
/** Picker/status label; the file basename when absent. */
|
|
12430
|
+
label: string().optional(),
|
|
12431
|
+
sizeBytes: number().optional(),
|
|
12432
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12341
12433
|
}),
|
|
12342
12434
|
object({
|
|
12343
12435
|
kind: literal("path"),
|
|
@@ -12355,13 +12447,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12355
12447
|
gpuLayers: number().int().default(0),
|
|
12356
12448
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12357
12449
|
threads: number().int().optional(),
|
|
12358
|
-
/** Concurrent slots. */
|
|
12450
|
+
/** Concurrent slots (`--parallel`). */
|
|
12359
12451
|
parallel: number().int().default(1),
|
|
12452
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12453
|
+
batchSize: number().int().positive().optional(),
|
|
12454
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12455
|
+
ubatchSize: number().int().positive().optional(),
|
|
12456
|
+
/**
|
|
12457
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12458
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12459
|
+
*/
|
|
12460
|
+
flashAttention: boolean().default(false),
|
|
12461
|
+
/**
|
|
12462
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12463
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12464
|
+
* what the RAM budget is counting.
|
|
12465
|
+
*/
|
|
12466
|
+
mlock: boolean().default(false),
|
|
12467
|
+
/**
|
|
12468
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12469
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12470
|
+
* store produces on every first token.
|
|
12471
|
+
*/
|
|
12472
|
+
noMmap: boolean().default(false),
|
|
12473
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12474
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12475
|
+
cacheTypeK: _enum([
|
|
12476
|
+
"f32",
|
|
12477
|
+
"f16",
|
|
12478
|
+
"q8_0",
|
|
12479
|
+
"q5_1",
|
|
12480
|
+
"q5_0",
|
|
12481
|
+
"q4_1",
|
|
12482
|
+
"q4_0"
|
|
12483
|
+
]).optional(),
|
|
12484
|
+
cacheTypeV: _enum([
|
|
12485
|
+
"f32",
|
|
12486
|
+
"f16",
|
|
12487
|
+
"q8_0",
|
|
12488
|
+
"q5_1",
|
|
12489
|
+
"q5_0",
|
|
12490
|
+
"q4_1",
|
|
12491
|
+
"q4_0"
|
|
12492
|
+
]).optional(),
|
|
12493
|
+
/**
|
|
12494
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12495
|
+
* (which most vision chat templates need and some language-only models
|
|
12496
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12497
|
+
*
|
|
12498
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12499
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12500
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12501
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12502
|
+
* twice (D62).
|
|
12503
|
+
*/
|
|
12504
|
+
extraArgs: array(string()).default([]),
|
|
12360
12505
|
/** Else lazy: first generate boots it. */
|
|
12361
12506
|
autoStart: boolean().default(false),
|
|
12362
12507
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12363
12508
|
idleStopMinutes: number().int().default(30)
|
|
12364
12509
|
});
|
|
12510
|
+
/**
|
|
12511
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12512
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12513
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12514
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12515
|
+
*/
|
|
12516
|
+
var LlmDownloadProgressSchema = object({
|
|
12517
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12518
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12519
|
+
file: string(),
|
|
12520
|
+
fileIndex: number().int(),
|
|
12521
|
+
fileCount: number().int(),
|
|
12522
|
+
/** Across the WHOLE install, not the current file. */
|
|
12523
|
+
downloadedBytes: number(),
|
|
12524
|
+
totalBytes: number().optional()
|
|
12525
|
+
});
|
|
12365
12526
|
var LlmRuntimeStatusSchema = object({
|
|
12366
12527
|
/** Status is ALWAYS node-qualified. */
|
|
12367
12528
|
nodeId: string(),
|
|
@@ -12378,6 +12539,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12378
12539
|
modelPath: string().optional(),
|
|
12379
12540
|
modelId: string().optional(),
|
|
12380
12541
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12542
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12543
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12381
12544
|
lastError: string().optional(),
|
|
12382
12545
|
crashesInWindow: number(),
|
|
12383
12546
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12388,7 +12551,14 @@ var LlmNodeModelSchema = object({
|
|
|
12388
12551
|
file: string(),
|
|
12389
12552
|
sizeBytes: number(),
|
|
12390
12553
|
catalogId: string().optional(),
|
|
12391
|
-
installedAt: number().optional()
|
|
12554
|
+
installedAt: number().optional(),
|
|
12555
|
+
/**
|
|
12556
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12557
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12558
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12559
|
+
* it the picker could list such a file and do nothing with it.
|
|
12560
|
+
*/
|
|
12561
|
+
path: string().optional()
|
|
12392
12562
|
});
|
|
12393
12563
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12394
12564
|
nodeId: string(),
|
|
@@ -12444,10 +12614,47 @@ var LlmProfileSchema = object({
|
|
|
12444
12614
|
baseUrl: string().optional(),
|
|
12445
12615
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12446
12616
|
apiKey: string().optional(),
|
|
12617
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12618
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12619
|
+
* question about a picture nobody sent. */
|
|
12447
12620
|
supportsVision: boolean(),
|
|
12448
12621
|
temperature: number().min(0).max(2).optional(),
|
|
12622
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12623
|
+
topP: number().min(0).max(1).optional(),
|
|
12624
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12625
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12626
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12627
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12628
|
+
topK: number().int().positive().optional(),
|
|
12449
12629
|
maxTokens: number().int().positive().optional(),
|
|
12630
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12631
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12632
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12633
|
+
contextLength: number().int().positive().optional(),
|
|
12634
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12635
|
+
* two system prompts fighting is worse than either alone). */
|
|
12636
|
+
systemPrompt: string().optional(),
|
|
12637
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12450
12638
|
timeoutMs: number().int().positive().default(6e4),
|
|
12639
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12640
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12641
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12642
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12643
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12644
|
+
* GPU load is exactly what happens before them. */
|
|
12645
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12646
|
+
/** Output started then stopped. */
|
|
12647
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12648
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12649
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12650
|
+
retry: LlmRetryPolicySchema.default({
|
|
12651
|
+
enabled: false,
|
|
12652
|
+
maxAttempts: 1
|
|
12653
|
+
}),
|
|
12654
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12655
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12656
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12657
|
+
toolsEnabled: boolean().default(false),
|
|
12451
12658
|
extraHeaders: record(string(), string()).optional(),
|
|
12452
12659
|
/** kind === 'managed-local' only (spec §4). */
|
|
12453
12660
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12497,6 +12704,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12497
12704
|
/** Vision models: companion projector file. */
|
|
12498
12705
|
mmprojUrl: string().optional()
|
|
12499
12706
|
});
|
|
12707
|
+
/**
|
|
12708
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12709
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12710
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12711
|
+
* exception.
|
|
12712
|
+
*
|
|
12713
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12714
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12715
|
+
*/
|
|
12716
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12717
|
+
ok: literal(true),
|
|
12718
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12719
|
+
model: ManagedModelRefSchema,
|
|
12720
|
+
label: string(),
|
|
12721
|
+
repo: string(),
|
|
12722
|
+
quantization: string(),
|
|
12723
|
+
purpose: _enum(["text", "vision"]),
|
|
12724
|
+
totalBytes: number(),
|
|
12725
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12726
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12727
|
+
extraFilenames: array(string())
|
|
12728
|
+
}), object({
|
|
12729
|
+
ok: literal(false),
|
|
12730
|
+
code: string(),
|
|
12731
|
+
message: string(),
|
|
12732
|
+
candidates: array(string()).optional(),
|
|
12733
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12734
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12735
|
+
requiredBytes: number().optional()
|
|
12736
|
+
})]);
|
|
12500
12737
|
var LlmRuntimeNodeSchema = object({
|
|
12501
12738
|
nodeId: string(),
|
|
12502
12739
|
reachable: boolean(),
|
|
@@ -12509,7 +12746,10 @@ var ProfileRefInputSchema = object({
|
|
|
12509
12746
|
addonId: string(),
|
|
12510
12747
|
profileId: string()
|
|
12511
12748
|
});
|
|
12512
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12749
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12750
|
+
addonId: string().optional(),
|
|
12751
|
+
requestId: string()
|
|
12752
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12513
12753
|
kind: "mutation",
|
|
12514
12754
|
auth: "admin"
|
|
12515
12755
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12530,6 +12770,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12530
12770
|
consumer: string().optional(),
|
|
12531
12771
|
profileId: string().optional()
|
|
12532
12772
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12773
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12774
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12775
|
+
ref: string(),
|
|
12776
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12777
|
+
maxBytes: number().positive().optional()
|
|
12778
|
+
}), HfModelResolutionSchema, {
|
|
12779
|
+
kind: "mutation",
|
|
12780
|
+
auth: "admin"
|
|
12781
|
+
}), method(object({
|
|
12533
12782
|
nodeId: string(),
|
|
12534
12783
|
model: ManagedModelRefSchema
|
|
12535
12784
|
}), _void(), {
|
|
@@ -14147,6 +14396,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14147
14396
|
"stream-offline",
|
|
14148
14397
|
"node-online",
|
|
14149
14398
|
"node-offline",
|
|
14399
|
+
"node-inference-unavailable",
|
|
14400
|
+
"detection-blind",
|
|
14150
14401
|
"addon-update-available",
|
|
14151
14402
|
"server-update-available",
|
|
14152
14403
|
"alarm-triggered",
|
|
@@ -14208,7 +14459,16 @@ var NcScheduleSchema = object({
|
|
|
14208
14459
|
});
|
|
14209
14460
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14210
14461
|
var NcPlateMatcherSchema = object({
|
|
14211
|
-
|
|
14462
|
+
/**
|
|
14463
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14464
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14465
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14466
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14467
|
+
*
|
|
14468
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14469
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14470
|
+
*/
|
|
14471
|
+
values: array(string().min(1)),
|
|
14212
14472
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14213
14473
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14214
14474
|
});
|
|
@@ -14242,28 +14502,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14242
14502
|
/**
|
|
14243
14503
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14244
14504
|
*
|
|
14245
|
-
*
|
|
14246
|
-
*
|
|
14247
|
-
*
|
|
14248
|
-
*
|
|
14249
|
-
*
|
|
14250
|
-
*
|
|
14251
|
-
*
|
|
14252
|
-
*
|
|
14253
|
-
*
|
|
14254
|
-
*
|
|
14255
|
-
*
|
|
14256
|
-
*
|
|
14257
|
-
*
|
|
14258
|
-
*
|
|
14259
|
-
*
|
|
14260
|
-
*
|
|
14261
|
-
*
|
|
14262
|
-
*
|
|
14263
|
-
*
|
|
14264
|
-
*
|
|
14265
|
-
*
|
|
14266
|
-
* `
|
|
14505
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14506
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14507
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14508
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14509
|
+
*
|
|
14510
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14511
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14512
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14513
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14514
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14515
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14516
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14517
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14518
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14519
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14520
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14521
|
+
* seconds is 100% of nothing.
|
|
14522
|
+
*
|
|
14523
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14524
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14525
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14526
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14527
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14528
|
+
* the wrong question to ask of a sparse classifier.
|
|
14529
|
+
*
|
|
14530
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14531
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14532
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14533
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14534
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14267
14535
|
*
|
|
14268
14536
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14269
14537
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14271,13 +14539,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14271
14539
|
* an operator who typed `dog` mean the same thing.
|
|
14272
14540
|
*/
|
|
14273
14541
|
var NcAudioConditionSchema = object({
|
|
14274
|
-
/**
|
|
14542
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14275
14543
|
labels: array(string().min(1)).min(1).optional(),
|
|
14276
|
-
/**
|
|
14544
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14277
14545
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14278
|
-
/**
|
|
14546
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14279
14547
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14280
|
-
/**
|
|
14548
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14281
14549
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14282
14550
|
});
|
|
14283
14551
|
/**
|
|
@@ -14415,13 +14683,81 @@ var NcRuleActionsSchema = object({
|
|
|
14415
14683
|
*/
|
|
14416
14684
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14417
14685
|
});
|
|
14686
|
+
/**
|
|
14687
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14688
|
+
*
|
|
14689
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14690
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14691
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14692
|
+
*
|
|
14693
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14694
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14695
|
+
*/
|
|
14696
|
+
var NcDeviceStateConditionSchema = object({
|
|
14697
|
+
deviceId: number().int(),
|
|
14698
|
+
/** Any of these matches. */
|
|
14699
|
+
states: array(string().min(1)).min(1)
|
|
14700
|
+
});
|
|
14701
|
+
/**
|
|
14702
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14703
|
+
*
|
|
14704
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14705
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14706
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14707
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14708
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14709
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14710
|
+
* kind exist for it — see D159.
|
|
14711
|
+
*
|
|
14712
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14713
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14714
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14715
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14716
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14717
|
+
*
|
|
14718
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14719
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14720
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14721
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14722
|
+
* override one rule against the scene's own default.
|
|
14723
|
+
*
|
|
14724
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14725
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14726
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14727
|
+
* evidence, in either direction.
|
|
14728
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14729
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14730
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14731
|
+
* reason the operator asked for a latch.
|
|
14732
|
+
*
|
|
14733
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14734
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14735
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14736
|
+
* said out loud in the log rather than dropped in silence.
|
|
14737
|
+
*/
|
|
14738
|
+
var NcSceneConditionSchema = object({
|
|
14739
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14740
|
+
sceneId: string().min(1),
|
|
14741
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14742
|
+
deviceId: number().int().optional(),
|
|
14743
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14744
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14745
|
+
/**
|
|
14746
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14747
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14748
|
+
*/
|
|
14749
|
+
latched: boolean().optional()
|
|
14750
|
+
});
|
|
14418
14751
|
var NcConditionsSchema = object({
|
|
14419
14752
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14420
|
-
deviceState:
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14753
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14754
|
+
/**
|
|
14755
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14756
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14757
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14758
|
+
* {@link NcSceneCondition} and D159.
|
|
14759
|
+
*/
|
|
14760
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14425
14761
|
/** Device scope — absent = all devices. */
|
|
14426
14762
|
devices: array(number()).optional(),
|
|
14427
14763
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14447,18 +14783,47 @@ var NcConditionsSchema = object({
|
|
|
14447
14783
|
*/
|
|
14448
14784
|
labelEquals: array(string().min(1)).optional(),
|
|
14449
14785
|
/**
|
|
14450
|
-
*
|
|
14451
|
-
*
|
|
14452
|
-
*
|
|
14786
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14787
|
+
* is about recognised people at all.
|
|
14788
|
+
*
|
|
14789
|
+
* Three states, and the empty one is the point:
|
|
14790
|
+
*
|
|
14791
|
+
* | value | meaning |
|
|
14792
|
+
* | --- | --- |
|
|
14793
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14794
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14795
|
+
* | a list | only these identities |
|
|
14796
|
+
*
|
|
14797
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14798
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14799
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14800
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14801
|
+
* with the list under it is worse than no switch (D62).
|
|
14802
|
+
*
|
|
14803
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14804
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14805
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14806
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14807
|
+
* `{{label}}` renders.
|
|
14808
|
+
*
|
|
14809
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14810
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14811
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14812
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14813
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14453
14814
|
*/
|
|
14454
14815
|
identities: array(string().min(1)).optional(),
|
|
14455
|
-
/**
|
|
14816
|
+
/**
|
|
14817
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14818
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14819
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14820
|
+
*/
|
|
14456
14821
|
plates: NcPlateMatcherSchema.optional(),
|
|
14457
14822
|
/**
|
|
14458
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14459
|
-
*
|
|
14460
|
-
* identity
|
|
14461
|
-
*
|
|
14823
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14824
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14825
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14826
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14462
14827
|
*/
|
|
14463
14828
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14464
14829
|
/**
|
|
@@ -14850,7 +15215,80 @@ var NcRuleInputSchema = object({
|
|
|
14850
15215
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14851
15216
|
* did, and absent is the only way to say that without a migration.
|
|
14852
15217
|
*/
|
|
14853
|
-
confirm: NcConfirmSchema.optional()
|
|
15218
|
+
confirm: NcConfirmSchema.optional(),
|
|
15219
|
+
/**
|
|
15220
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15221
|
+
*
|
|
15222
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15223
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15224
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15225
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15226
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15227
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15228
|
+
*
|
|
15229
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15230
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15231
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15232
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15233
|
+
*
|
|
15234
|
+
* | value | what happens |
|
|
15235
|
+
* | --- | --- |
|
|
15236
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15237
|
+
* | 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) |
|
|
15238
|
+
*
|
|
15239
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15240
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15241
|
+
* rule authored before this field meant.
|
|
15242
|
+
*
|
|
15243
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15244
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15245
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15246
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15247
|
+
*/
|
|
15248
|
+
waitForEnhancement: boolean().optional(),
|
|
15249
|
+
/**
|
|
15250
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15251
|
+
*
|
|
15252
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15253
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15254
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15255
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15256
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15257
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15258
|
+
*
|
|
15259
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15260
|
+
*
|
|
15261
|
+
* ### Why an idle cutoff and not a window
|
|
15262
|
+
*
|
|
15263
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15264
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15265
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15266
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15267
|
+
*
|
|
15268
|
+
* ### What it replaces
|
|
15269
|
+
*
|
|
15270
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15271
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15272
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15273
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15274
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15275
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15276
|
+
* throttled by the window its own first member spent.
|
|
15277
|
+
*
|
|
15278
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15279
|
+
*
|
|
15280
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15281
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15282
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15283
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15284
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15285
|
+
* path. Neither combination fires twice for one subject.
|
|
15286
|
+
*
|
|
15287
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15288
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15289
|
+
* field existed.
|
|
15290
|
+
*/
|
|
15291
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14854
15292
|
});
|
|
14855
15293
|
/**
|
|
14856
15294
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14957,6 +15395,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14957
15395
|
"occupancy",
|
|
14958
15396
|
"audio",
|
|
14959
15397
|
"deviceState",
|
|
15398
|
+
"scene",
|
|
14960
15399
|
"systemEvent"
|
|
14961
15400
|
]),
|
|
14962
15401
|
operator: _enum([
|
|
@@ -15362,7 +15801,87 @@ var MethodAccessSchema = _enum([
|
|
|
15362
15801
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15363
15802
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15364
15803
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15365
|
-
|
|
15804
|
+
/**
|
|
15805
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15806
|
+
*
|
|
15807
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15808
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15809
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15810
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15811
|
+
*
|
|
15812
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15813
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15814
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15815
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15816
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15817
|
+
* is NOT covered until the grant is edited.
|
|
15818
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15819
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15820
|
+
* re-resolves on the next request.
|
|
15821
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15822
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15823
|
+
* null/unset location matches NO `locations` selector.
|
|
15824
|
+
*/
|
|
15825
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15826
|
+
object({ kind: literal("all") }),
|
|
15827
|
+
object({
|
|
15828
|
+
kind: literal("ids"),
|
|
15829
|
+
ids: array(number().int()).min(1)
|
|
15830
|
+
}),
|
|
15831
|
+
object({
|
|
15832
|
+
kind: literal("types"),
|
|
15833
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15834
|
+
}),
|
|
15835
|
+
object({
|
|
15836
|
+
kind: literal("locations"),
|
|
15837
|
+
locations: array(string().min(1)).min(1)
|
|
15838
|
+
})
|
|
15839
|
+
]);
|
|
15840
|
+
var DeviceTokenScopeSchema = object({
|
|
15841
|
+
type: literal("device"),
|
|
15842
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15843
|
+
selector: DeviceSelectorSchema,
|
|
15844
|
+
access: array(MethodAccessSchema).min(1),
|
|
15845
|
+
/**
|
|
15846
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15847
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15848
|
+
* Direction is parent → children ONLY.
|
|
15849
|
+
*
|
|
15850
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15851
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15852
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15853
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15854
|
+
* explicitly to override that default per grant.
|
|
15855
|
+
*/
|
|
15856
|
+
includeLinked: boolean().optional()
|
|
15857
|
+
});
|
|
15858
|
+
/**
|
|
15859
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15860
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15861
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15862
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15863
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15864
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15865
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15866
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15867
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15868
|
+
*/
|
|
15869
|
+
function migrateLegacyTokenScope(raw) {
|
|
15870
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15871
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15872
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15873
|
+
const targets = Reflect.get(raw, "targets");
|
|
15874
|
+
if (!Array.isArray(targets)) return raw;
|
|
15875
|
+
return {
|
|
15876
|
+
type: "device",
|
|
15877
|
+
selector: {
|
|
15878
|
+
kind: "ids",
|
|
15879
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15880
|
+
},
|
|
15881
|
+
access: Reflect.get(raw, "access")
|
|
15882
|
+
};
|
|
15883
|
+
}
|
|
15884
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15366
15885
|
object({
|
|
15367
15886
|
type: literal("category"),
|
|
15368
15887
|
target: CapScopeSchema,
|
|
@@ -15378,18 +15897,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15378
15897
|
target: string(),
|
|
15379
15898
|
access: array(MethodAccessSchema).min(1)
|
|
15380
15899
|
}),
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
/**
|
|
15384
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15385
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15386
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15387
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15388
|
-
*/
|
|
15389
|
-
targets: array(string()).min(1),
|
|
15390
|
-
access: array(MethodAccessSchema).min(1)
|
|
15391
|
-
})
|
|
15392
|
-
]);
|
|
15900
|
+
DeviceTokenScopeSchema
|
|
15901
|
+
]));
|
|
15393
15902
|
object({
|
|
15394
15903
|
id: string(),
|
|
15395
15904
|
username: string(),
|
|
@@ -15706,7 +16215,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15706
16215
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15707
16216
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15708
16217
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15709
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16218
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15710
16219
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15711
16220
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15712
16221
|
* (`getObjectEvents` et al.).
|
|
@@ -15842,7 +16351,21 @@ union([literal(1), literal(2)]);
|
|
|
15842
16351
|
var LabelAttributionSchema = object({
|
|
15843
16352
|
stepId: string(),
|
|
15844
16353
|
modelId: string().optional(),
|
|
15845
|
-
decidedAt: number()
|
|
16354
|
+
decidedAt: number(),
|
|
16355
|
+
/**
|
|
16356
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16357
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16358
|
+
*
|
|
16359
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16360
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16361
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16362
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16363
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16364
|
+
*
|
|
16365
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16366
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16367
|
+
*/
|
|
16368
|
+
identityId: string().optional()
|
|
15846
16369
|
});
|
|
15847
16370
|
/**
|
|
15848
16371
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15979,6 +16502,28 @@ var TrackSchema = object({
|
|
|
15979
16502
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15980
16503
|
*/
|
|
15981
16504
|
hasFace: boolean().optional(),
|
|
16505
|
+
/**
|
|
16506
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16507
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16508
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16509
|
+
*
|
|
16510
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16511
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16512
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16513
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16514
|
+
* stop. This is the composition note that makes the row true.
|
|
16515
|
+
*
|
|
16516
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16517
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16518
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16519
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16520
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16521
|
+
*
|
|
16522
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16523
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16524
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16525
|
+
*/
|
|
16526
|
+
hasRider: boolean().optional(),
|
|
15982
16527
|
...TrackFlagFields,
|
|
15983
16528
|
...TrackRetrainFields
|
|
15984
16529
|
});
|
|
@@ -16328,7 +16873,10 @@ var RecentTracksQueryInput = object({
|
|
|
16328
16873
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16329
16874
|
cursor: string().optional(),
|
|
16330
16875
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16331
|
-
projection: TrackProjectionSchema.optional()
|
|
16876
|
+
projection: TrackProjectionSchema.optional(),
|
|
16877
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16878
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16879
|
+
includeStationary: boolean().optional()
|
|
16332
16880
|
});
|
|
16333
16881
|
var RecentTracksPageSchema = object({
|
|
16334
16882
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16546,7 +17094,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16546
17094
|
zone: TrackZoneFilterSchema.optional(),
|
|
16547
17095
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16548
17096
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16549
|
-
projection: TrackProjectionSchema.optional()
|
|
17097
|
+
projection: TrackProjectionSchema.optional(),
|
|
17098
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17099
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17100
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17101
|
+
includeStationary: boolean().optional()
|
|
16550
17102
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16551
17103
|
kind: "mutation",
|
|
16552
17104
|
auth: "admin"
|
|
@@ -16710,11 +17262,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16710
17262
|
auth: "admin"
|
|
16711
17263
|
}), method(object({
|
|
16712
17264
|
eventId: string(),
|
|
16713
|
-
kind: MediaFileKindEnum.optional()
|
|
17265
|
+
kind: MediaFileKindEnum.optional(),
|
|
17266
|
+
deviceId: number()
|
|
17267
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17268
|
+
trackId: string(),
|
|
17269
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17270
|
+
deviceId: number()
|
|
16714
17271
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16715
17272
|
trackId: string(),
|
|
16716
|
-
|
|
16717
|
-
}), array(
|
|
17273
|
+
deviceId: number()
|
|
17274
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16718
17275
|
kind: "mutation",
|
|
16719
17276
|
auth: "admin"
|
|
16720
17277
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17374,6 +17931,17 @@ var maxSessionHoldMsField = {
|
|
|
17374
17931
|
default: 12e4,
|
|
17375
17932
|
step: 5e3
|
|
17376
17933
|
};
|
|
17934
|
+
/**
|
|
17935
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17936
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17937
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17938
|
+
*/
|
|
17939
|
+
var audioMotionWindowMsField = {
|
|
17940
|
+
min: 5e3,
|
|
17941
|
+
max: 6e5,
|
|
17942
|
+
default: 9e4,
|
|
17943
|
+
step: 5e3
|
|
17944
|
+
};
|
|
17377
17945
|
var motionFpsField = {
|
|
17378
17946
|
min: 1,
|
|
17379
17947
|
max: 30,
|
|
@@ -17405,7 +17973,7 @@ var detectionFpsField = {
|
|
|
17405
17973
|
var occupancyRecheckSecField = {
|
|
17406
17974
|
min: 0,
|
|
17407
17975
|
max: 300,
|
|
17408
|
-
default:
|
|
17976
|
+
default: 300,
|
|
17409
17977
|
step: 5
|
|
17410
17978
|
};
|
|
17411
17979
|
var occupancyRecheckFramesField = {
|
|
@@ -17550,6 +18118,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17550
18118
|
* resolved `CameraDetectionConfig`.
|
|
17551
18119
|
*/
|
|
17552
18120
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18121
|
+
/**
|
|
18122
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18123
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18124
|
+
*
|
|
18125
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18126
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18127
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18128
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18129
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18130
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18131
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18132
|
+
*
|
|
18133
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18134
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18135
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18136
|
+
*
|
|
18137
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18138
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18139
|
+
* `maxSessionHoldMs`.
|
|
18140
|
+
*/
|
|
18141
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17553
18142
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17554
18143
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17555
18144
|
motionStreamId: string(),
|
|
@@ -17645,7 +18234,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17645
18234
|
*/
|
|
17646
18235
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17647
18236
|
});
|
|
17648
|
-
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;
|
|
18237
|
+
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;
|
|
17649
18238
|
/**
|
|
17650
18239
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17651
18240
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18661,7 +19250,16 @@ targets: array(object({
|
|
|
18661
19250
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18662
19251
|
* NOT refresh in the background. A surface should say so rather than
|
|
18663
19252
|
* present it as current. */
|
|
18664
|
-
sleeping: boolean()
|
|
19253
|
+
sleeping: boolean(),
|
|
19254
|
+
/** Current device state rendered over the cached frame. State images
|
|
19255
|
+
* remain authoritative even when their photographic background is
|
|
19256
|
+
* old; null means the link must carry a current camera frame. */
|
|
19257
|
+
stateReason: _enum([
|
|
19258
|
+
"disabled",
|
|
19259
|
+
"sleeping",
|
|
19260
|
+
"unreachable",
|
|
19261
|
+
"waking"
|
|
19262
|
+
]).nullable()
|
|
18665
19263
|
})));
|
|
18666
19264
|
/**
|
|
18667
19265
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20200,6 +20798,25 @@ var BatteryStatusSchema = object({
|
|
|
20200
20798
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20201
20799
|
lastUpdated: number(),
|
|
20202
20800
|
/**
|
|
20801
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20802
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20803
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20804
|
+
*
|
|
20805
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20806
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20807
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20808
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20809
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20810
|
+
*
|
|
20811
|
+
* It is deliberately NOT a clock in the
|
|
20812
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20813
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20814
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20815
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20816
|
+
* SQLite commit per round-trip.
|
|
20817
|
+
*/
|
|
20818
|
+
lastContactAt: number().optional(),
|
|
20819
|
+
/**
|
|
20203
20820
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20204
20821
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20205
20822
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23737,7 +24354,7 @@ method(object({
|
|
|
23737
24354
|
toMs: number()
|
|
23738
24355
|
}), RecordingAvailabilitySchema, {
|
|
23739
24356
|
kind: "query",
|
|
23740
|
-
auth: "
|
|
24357
|
+
auth: "protected"
|
|
23741
24358
|
}), method(object({
|
|
23742
24359
|
deviceId: number(),
|
|
23743
24360
|
fromMs: number(),
|
|
@@ -23745,14 +24362,14 @@ method(object({
|
|
|
23745
24362
|
tzOffsetMinutes: number()
|
|
23746
24363
|
}), RecordingDaysSchema, {
|
|
23747
24364
|
kind: "query",
|
|
23748
|
-
auth: "
|
|
24365
|
+
auth: "protected"
|
|
23749
24366
|
}), method(object({
|
|
23750
24367
|
deviceId: number(),
|
|
23751
24368
|
fromMs: number(),
|
|
23752
24369
|
toMs: number()
|
|
23753
24370
|
}), RecordingManifestSchema, {
|
|
23754
24371
|
kind: "query",
|
|
23755
|
-
auth: "
|
|
24372
|
+
auth: "protected"
|
|
23756
24373
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23757
24374
|
kind: "query",
|
|
23758
24375
|
auth: "admin"
|
|
@@ -24042,14 +24659,77 @@ method(object({
|
|
|
24042
24659
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
24043
24660
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
24044
24661
|
*
|
|
24045
|
-
*
|
|
24046
|
-
*
|
|
24047
|
-
*
|
|
24048
|
-
*
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
*
|
|
24662
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24663
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24664
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24665
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24666
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24667
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24668
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24669
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24670
|
+
*
|
|
24671
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24672
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24673
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24674
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24675
|
+
*
|
|
24676
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24677
|
+
* availability change; consumers never poll.
|
|
24678
|
+
*/
|
|
24679
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24680
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24681
|
+
* Open by design so more can be added without a wire break.
|
|
24682
|
+
*
|
|
24683
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24684
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24685
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24686
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
24052
24687
|
var SceneConditionSchema = string();
|
|
24688
|
+
/**
|
|
24689
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24690
|
+
*
|
|
24691
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24692
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24693
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24694
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24695
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24696
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24697
|
+
*
|
|
24698
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24699
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24700
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24701
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24702
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24703
|
+
* configuration choice instead of a nightly fault.
|
|
24704
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24705
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24706
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24707
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24708
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24709
|
+
*
|
|
24710
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24711
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24712
|
+
* there would hide a scene the operator never finished setting up.
|
|
24713
|
+
*/
|
|
24714
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24715
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24716
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24717
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24718
|
+
* and never counts toward hysteresis in either direction. */
|
|
24719
|
+
var SceneVerdictSchema = _enum([
|
|
24720
|
+
"matched",
|
|
24721
|
+
"diverged",
|
|
24722
|
+
"unknown"
|
|
24723
|
+
]);
|
|
24724
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24725
|
+
* silence that reads as "nothing has happened". */
|
|
24726
|
+
var SceneUnavailableSchema = _enum([
|
|
24727
|
+
"no-reference-for-condition",
|
|
24728
|
+
"view-shifted",
|
|
24729
|
+
"no-vision-profile",
|
|
24730
|
+
"encoder-model-changed",
|
|
24731
|
+
"no-snapshot"
|
|
24732
|
+
]);
|
|
24053
24733
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
24054
24734
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
24055
24735
|
var SceneReferenceSchema = object({
|
|
@@ -24057,7 +24737,14 @@ var SceneReferenceSchema = object({
|
|
|
24057
24737
|
modelId: string(),
|
|
24058
24738
|
condition: SceneConditionSchema,
|
|
24059
24739
|
capturedAt: number(),
|
|
24060
|
-
thumbnailMediaId: string().optional()
|
|
24740
|
+
thumbnailMediaId: string().optional(),
|
|
24741
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24742
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24743
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24744
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24745
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24746
|
+
* transition, not per poll. */
|
|
24747
|
+
anchorEmbedding: array(number()).optional()
|
|
24061
24748
|
});
|
|
24062
24749
|
var SceneMonitorStateSchema = object({
|
|
24063
24750
|
id: string(),
|
|
@@ -24079,6 +24766,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
24079
24766
|
profileId: string().optional(),
|
|
24080
24767
|
hysteresisCount: number().int().positive()
|
|
24081
24768
|
})]);
|
|
24769
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24770
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24771
|
+
* out in silence rather than reporting a fault every night. */
|
|
24772
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24773
|
+
/**
|
|
24774
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24775
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24776
|
+
*
|
|
24777
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24778
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24779
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24780
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24781
|
+
*/
|
|
24782
|
+
var SceneConfirmSchema = object({
|
|
24783
|
+
enabled: boolean().default(false),
|
|
24784
|
+
prompt: string().min(1).max(1e3),
|
|
24785
|
+
profileId: string().optional(),
|
|
24786
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24787
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24788
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24789
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24790
|
+
});
|
|
24082
24791
|
var SceneMonitorSchema = object({
|
|
24083
24792
|
id: string(),
|
|
24084
24793
|
label: string(),
|
|
@@ -24097,7 +24806,56 @@ var SceneMonitorSchema = object({
|
|
|
24097
24806
|
lastConfidence: number().nullable(),
|
|
24098
24807
|
currentCondition: SceneConditionSchema.nullable(),
|
|
24099
24808
|
availability: _enum(["ok", "unavailable"]),
|
|
24100
|
-
unavailableReason: string().nullable()
|
|
24809
|
+
unavailableReason: string().nullable(),
|
|
24810
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24811
|
+
baselineStateId: string().nullable(),
|
|
24812
|
+
/** Which boolean drives notification rules and any export. */
|
|
24813
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24814
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24815
|
+
verdict: SceneVerdictSchema,
|
|
24816
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24817
|
+
latched: boolean(),
|
|
24818
|
+
/** Last reset (or creation). */
|
|
24819
|
+
armedAt: number(),
|
|
24820
|
+
divergedAt: number().nullable(),
|
|
24821
|
+
restoredAt: number().nullable(),
|
|
24822
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24823
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24824
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24825
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24826
|
+
/** An observation only advances the pending count when it is at least this
|
|
24827
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24828
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24829
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24830
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24831
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24832
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24833
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24834
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24835
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24836
|
+
* automation can react to the bin coming back without the operator's own
|
|
24837
|
+
* alarm silently clearing itself. */
|
|
24838
|
+
autoRestore: boolean().default(false),
|
|
24839
|
+
/** What to do when the current light has no reference of its own. See
|
|
24840
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24841
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24842
|
+
/**
|
|
24843
|
+
* The light whose checks are currently being SAT OUT under
|
|
24844
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24845
|
+
*
|
|
24846
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24847
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24848
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24849
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24850
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24851
|
+
* read as a broken one.
|
|
24852
|
+
*/
|
|
24853
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24854
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24855
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24856
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24857
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24858
|
+
coveredConditions: array(SceneConditionSchema)
|
|
24101
24859
|
});
|
|
24102
24860
|
var SceneMonitorStatusSchema = object({
|
|
24103
24861
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24130,7 +24888,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24130
24888
|
"both"
|
|
24131
24889
|
]).optional(),
|
|
24132
24890
|
checkIntervalSec: number().optional(),
|
|
24133
|
-
check: SceneCheckSchema.optional()
|
|
24891
|
+
check: SceneCheckSchema.optional(),
|
|
24892
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24893
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24894
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24895
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24896
|
+
autoRestore: boolean().optional(),
|
|
24897
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24898
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24899
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24134
24900
|
})
|
|
24135
24901
|
}), _void(), {
|
|
24136
24902
|
kind: "mutation",
|
|
@@ -24167,6 +24933,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24167
24933
|
}), _void(), {
|
|
24168
24934
|
kind: "mutation",
|
|
24169
24935
|
auth: "admin"
|
|
24936
|
+
}), method(object({
|
|
24937
|
+
deviceId: number(),
|
|
24938
|
+
monitorId: string(),
|
|
24939
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24940
|
+
recapture: boolean().optional()
|
|
24941
|
+
}), _void(), {
|
|
24942
|
+
kind: "mutation",
|
|
24943
|
+
auth: "admin"
|
|
24170
24944
|
});
|
|
24171
24945
|
/**
|
|
24172
24946
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24320,6 +25094,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24320
25094
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24321
25095
|
metadata: record(string(), unknown()).optional()
|
|
24322
25096
|
});
|
|
25097
|
+
object({
|
|
25098
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
25099
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25100
|
+
* one the camera itself once produced. */
|
|
25101
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25102
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25103
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25104
|
+
* re-read. */
|
|
25105
|
+
lastFetchedAt: number()
|
|
25106
|
+
});
|
|
24323
25107
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24324
25108
|
/** One of the camera's stream profiles. */
|
|
24325
25109
|
var StreamProfileSchema = _enum([
|
|
@@ -24475,12 +25259,64 @@ var NetworkAddressSchema = object({
|
|
|
24475
25259
|
family: string(),
|
|
24476
25260
|
internal: boolean()
|
|
24477
25261
|
});
|
|
25262
|
+
/**
|
|
25263
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25264
|
+
* numbers.
|
|
25265
|
+
*
|
|
25266
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25267
|
+
* nothing overwrites it.
|
|
25268
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25269
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25270
|
+
* the sun-times consumers otherwise fall back to.
|
|
25271
|
+
*
|
|
25272
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25273
|
+
* own input will eventually trust the guess.
|
|
25274
|
+
*/
|
|
25275
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25276
|
+
/**
|
|
25277
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25278
|
+
*
|
|
25279
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25280
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25281
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25282
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25283
|
+
* coordinates or presses detect.
|
|
25284
|
+
*/
|
|
25285
|
+
var SiteLocationStatusSchema = object({
|
|
25286
|
+
location: object({
|
|
25287
|
+
/** WGS84 decimal degrees. */
|
|
25288
|
+
latitude: number().min(-90).max(90),
|
|
25289
|
+
longitude: number().min(-180).max(180),
|
|
25290
|
+
source: SiteLocationSourceSchema,
|
|
25291
|
+
/** Epoch ms the value was last written. */
|
|
25292
|
+
updatedAt: number(),
|
|
25293
|
+
/**
|
|
25294
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25295
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25296
|
+
*/
|
|
25297
|
+
label: string().optional()
|
|
25298
|
+
}).nullable(),
|
|
25299
|
+
derivationAttemptedAt: number().nullable(),
|
|
25300
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25301
|
+
derivationError: string().nullable()
|
|
25302
|
+
});
|
|
25303
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25304
|
+
var SetSiteLocationInputSchema = object({
|
|
25305
|
+
latitude: number().min(-90).max(90),
|
|
25306
|
+
longitude: number().min(-180).max(180)
|
|
25307
|
+
}).nullable();
|
|
24478
25308
|
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(), {
|
|
24479
25309
|
kind: "mutation",
|
|
24480
25310
|
auth: "admin"
|
|
24481
25311
|
}), method(_void(), _void(), {
|
|
24482
25312
|
kind: "mutation",
|
|
24483
25313
|
auth: "admin"
|
|
25314
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25315
|
+
kind: "mutation",
|
|
25316
|
+
auth: "admin"
|
|
25317
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25318
|
+
kind: "mutation",
|
|
25319
|
+
auth: "admin"
|
|
24484
25320
|
});
|
|
24485
25321
|
object({
|
|
24486
25322
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27210,6 +28046,12 @@ Object.freeze({
|
|
|
27210
28046
|
addonId: null,
|
|
27211
28047
|
access: "create"
|
|
27212
28048
|
},
|
|
28049
|
+
"llm.cancel": {
|
|
28050
|
+
capName: "llm",
|
|
28051
|
+
capScope: "system",
|
|
28052
|
+
addonId: null,
|
|
28053
|
+
access: "create"
|
|
28054
|
+
},
|
|
27213
28055
|
"llm.deleteModel": {
|
|
27214
28056
|
capName: "llm",
|
|
27215
28057
|
capScope: "system",
|
|
@@ -27294,6 +28136,12 @@ Object.freeze({
|
|
|
27294
28136
|
addonId: null,
|
|
27295
28137
|
access: "view"
|
|
27296
28138
|
},
|
|
28139
|
+
"llm.resolveModelRef": {
|
|
28140
|
+
capName: "llm",
|
|
28141
|
+
capScope: "system",
|
|
28142
|
+
addonId: null,
|
|
28143
|
+
access: "create"
|
|
28144
|
+
},
|
|
27297
28145
|
"llm.setDefault": {
|
|
27298
28146
|
capName: "llm",
|
|
27299
28147
|
capScope: "system",
|
|
@@ -29460,6 +30308,12 @@ Object.freeze({
|
|
|
29460
30308
|
addonId: null,
|
|
29461
30309
|
access: "create"
|
|
29462
30310
|
},
|
|
30311
|
+
"sceneMonitor.resetScene": {
|
|
30312
|
+
capName: "scene-monitor",
|
|
30313
|
+
capScope: "device",
|
|
30314
|
+
addonId: null,
|
|
30315
|
+
access: "delete"
|
|
30316
|
+
},
|
|
29463
30317
|
"sceneMonitor.updateScene": {
|
|
29464
30318
|
capName: "scene-monitor",
|
|
29465
30319
|
capScope: "device",
|
|
@@ -30138,6 +30992,12 @@ Object.freeze({
|
|
|
30138
30992
|
addonId: null,
|
|
30139
30993
|
access: "create"
|
|
30140
30994
|
},
|
|
30995
|
+
"system.detectSiteLocation": {
|
|
30996
|
+
capName: "system",
|
|
30997
|
+
capScope: "system",
|
|
30998
|
+
addonId: null,
|
|
30999
|
+
access: "create"
|
|
31000
|
+
},
|
|
30141
31001
|
"system.featureFlags": {
|
|
30142
31002
|
capName: "system",
|
|
30143
31003
|
capScope: "system",
|
|
@@ -30156,6 +31016,12 @@ Object.freeze({
|
|
|
30156
31016
|
addonId: null,
|
|
30157
31017
|
access: "view"
|
|
30158
31018
|
},
|
|
31019
|
+
"system.getSiteLocation": {
|
|
31020
|
+
capName: "system",
|
|
31021
|
+
capScope: "system",
|
|
31022
|
+
addonId: null,
|
|
31023
|
+
access: "view"
|
|
31024
|
+
},
|
|
30159
31025
|
"system.health": {
|
|
30160
31026
|
capName: "system",
|
|
30161
31027
|
capScope: "system",
|
|
@@ -30180,6 +31046,12 @@ Object.freeze({
|
|
|
30180
31046
|
addonId: null,
|
|
30181
31047
|
access: "create"
|
|
30182
31048
|
},
|
|
31049
|
+
"system.setSiteLocation": {
|
|
31050
|
+
capName: "system",
|
|
31051
|
+
capScope: "system",
|
|
31052
|
+
addonId: null,
|
|
31053
|
+
access: "create"
|
|
31054
|
+
},
|
|
30183
31055
|
"terminalSession.adoptLegacyMonitor": {
|
|
30184
31056
|
capName: "terminal-session",
|
|
30185
31057
|
capScope: "system",
|
|
@@ -30751,6 +31623,1704 @@ Object.freeze({
|
|
|
30751
31623
|
access: "create"
|
|
30752
31624
|
}
|
|
30753
31625
|
});
|
|
31626
|
+
Object.freeze({
|
|
31627
|
+
"accessories.setChildHidden": [{
|
|
31628
|
+
name: "childDeviceId",
|
|
31629
|
+
form: "single",
|
|
31630
|
+
optional: false
|
|
31631
|
+
}, {
|
|
31632
|
+
name: "deviceId",
|
|
31633
|
+
form: "single",
|
|
31634
|
+
optional: false
|
|
31635
|
+
}],
|
|
31636
|
+
"addonSettings.getDeviceSettings": [{
|
|
31637
|
+
name: "deviceId",
|
|
31638
|
+
form: "single",
|
|
31639
|
+
optional: false
|
|
31640
|
+
}],
|
|
31641
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31642
|
+
name: "deviceId",
|
|
31643
|
+
form: "single",
|
|
31644
|
+
optional: false
|
|
31645
|
+
}],
|
|
31646
|
+
"alarmPanel.arm": [{
|
|
31647
|
+
name: "deviceId",
|
|
31648
|
+
form: "single",
|
|
31649
|
+
optional: false
|
|
31650
|
+
}],
|
|
31651
|
+
"alarmPanel.disarm": [{
|
|
31652
|
+
name: "deviceId",
|
|
31653
|
+
form: "single",
|
|
31654
|
+
optional: false
|
|
31655
|
+
}],
|
|
31656
|
+
"alarmPanel.trigger": [{
|
|
31657
|
+
name: "deviceId",
|
|
31658
|
+
form: "single",
|
|
31659
|
+
optional: false
|
|
31660
|
+
}],
|
|
31661
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31662
|
+
name: "deviceId",
|
|
31663
|
+
form: "single",
|
|
31664
|
+
optional: false
|
|
31665
|
+
}],
|
|
31666
|
+
"audioAnalyzer.classify": [{
|
|
31667
|
+
name: "deviceId",
|
|
31668
|
+
form: "single",
|
|
31669
|
+
optional: true
|
|
31670
|
+
}],
|
|
31671
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31672
|
+
name: "deviceId",
|
|
31673
|
+
form: "single",
|
|
31674
|
+
optional: false
|
|
31675
|
+
}],
|
|
31676
|
+
"audioMetrics.getHistory": [{
|
|
31677
|
+
name: "deviceId",
|
|
31678
|
+
form: "single",
|
|
31679
|
+
optional: false
|
|
31680
|
+
}],
|
|
31681
|
+
"automationControl.disable": [{
|
|
31682
|
+
name: "deviceId",
|
|
31683
|
+
form: "single",
|
|
31684
|
+
optional: false
|
|
31685
|
+
}],
|
|
31686
|
+
"automationControl.enable": [{
|
|
31687
|
+
name: "deviceId",
|
|
31688
|
+
form: "single",
|
|
31689
|
+
optional: false
|
|
31690
|
+
}],
|
|
31691
|
+
"automationControl.trigger": [{
|
|
31692
|
+
name: "deviceId",
|
|
31693
|
+
form: "single",
|
|
31694
|
+
optional: false
|
|
31695
|
+
}],
|
|
31696
|
+
"battery.wakeForStream": [{
|
|
31697
|
+
name: "deviceId",
|
|
31698
|
+
form: "single",
|
|
31699
|
+
optional: false
|
|
31700
|
+
}],
|
|
31701
|
+
"brightness.setBrightness": [{
|
|
31702
|
+
name: "deviceId",
|
|
31703
|
+
form: "single",
|
|
31704
|
+
optional: false
|
|
31705
|
+
}],
|
|
31706
|
+
"button.press": [{
|
|
31707
|
+
name: "deviceId",
|
|
31708
|
+
form: "single",
|
|
31709
|
+
optional: false
|
|
31710
|
+
}],
|
|
31711
|
+
"cameraCredentials.getCredentials": [{
|
|
31712
|
+
name: "deviceId",
|
|
31713
|
+
form: "single",
|
|
31714
|
+
optional: false
|
|
31715
|
+
}],
|
|
31716
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31717
|
+
name: "deviceId",
|
|
31718
|
+
form: "single",
|
|
31719
|
+
optional: false
|
|
31720
|
+
}],
|
|
31721
|
+
"cameraStreams.getCameraStreams": [{
|
|
31722
|
+
name: "deviceId",
|
|
31723
|
+
form: "single",
|
|
31724
|
+
optional: false
|
|
31725
|
+
}],
|
|
31726
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31727
|
+
name: "deviceId",
|
|
31728
|
+
form: "single",
|
|
31729
|
+
optional: false
|
|
31730
|
+
}],
|
|
31731
|
+
"cameraStreams.getRtspEntries": [{
|
|
31732
|
+
name: "deviceId",
|
|
31733
|
+
form: "single",
|
|
31734
|
+
optional: false
|
|
31735
|
+
}],
|
|
31736
|
+
"cameraStreams.pickStream": [{
|
|
31737
|
+
name: "deviceId",
|
|
31738
|
+
form: "single",
|
|
31739
|
+
optional: false
|
|
31740
|
+
}],
|
|
31741
|
+
"climateControl.setFanMode": [{
|
|
31742
|
+
name: "deviceId",
|
|
31743
|
+
form: "single",
|
|
31744
|
+
optional: false
|
|
31745
|
+
}],
|
|
31746
|
+
"climateControl.setMode": [{
|
|
31747
|
+
name: "deviceId",
|
|
31748
|
+
form: "single",
|
|
31749
|
+
optional: false
|
|
31750
|
+
}],
|
|
31751
|
+
"climateControl.setPreset": [{
|
|
31752
|
+
name: "deviceId",
|
|
31753
|
+
form: "single",
|
|
31754
|
+
optional: false
|
|
31755
|
+
}],
|
|
31756
|
+
"climateControl.setSwingHorizontal": [{
|
|
31757
|
+
name: "deviceId",
|
|
31758
|
+
form: "single",
|
|
31759
|
+
optional: false
|
|
31760
|
+
}],
|
|
31761
|
+
"climateControl.setSwingVertical": [{
|
|
31762
|
+
name: "deviceId",
|
|
31763
|
+
form: "single",
|
|
31764
|
+
optional: false
|
|
31765
|
+
}],
|
|
31766
|
+
"climateControl.setTarget": [{
|
|
31767
|
+
name: "deviceId",
|
|
31768
|
+
form: "single",
|
|
31769
|
+
optional: false
|
|
31770
|
+
}],
|
|
31771
|
+
"climateControl.setTargetHumidity": [{
|
|
31772
|
+
name: "deviceId",
|
|
31773
|
+
form: "single",
|
|
31774
|
+
optional: false
|
|
31775
|
+
}],
|
|
31776
|
+
"climateControl.setTargetRange": [{
|
|
31777
|
+
name: "deviceId",
|
|
31778
|
+
form: "single",
|
|
31779
|
+
optional: false
|
|
31780
|
+
}],
|
|
31781
|
+
"color.setColor": [{
|
|
31782
|
+
name: "deviceId",
|
|
31783
|
+
form: "single",
|
|
31784
|
+
optional: false
|
|
31785
|
+
}],
|
|
31786
|
+
"consumables.reset": [{
|
|
31787
|
+
name: "deviceId",
|
|
31788
|
+
form: "single",
|
|
31789
|
+
optional: false
|
|
31790
|
+
}],
|
|
31791
|
+
"control.setValue": [{
|
|
31792
|
+
name: "deviceId",
|
|
31793
|
+
form: "single",
|
|
31794
|
+
optional: false
|
|
31795
|
+
}],
|
|
31796
|
+
"cover.close": [{
|
|
31797
|
+
name: "deviceId",
|
|
31798
|
+
form: "single",
|
|
31799
|
+
optional: false
|
|
31800
|
+
}],
|
|
31801
|
+
"cover.open": [{
|
|
31802
|
+
name: "deviceId",
|
|
31803
|
+
form: "single",
|
|
31804
|
+
optional: false
|
|
31805
|
+
}],
|
|
31806
|
+
"cover.setPosition": [{
|
|
31807
|
+
name: "deviceId",
|
|
31808
|
+
form: "single",
|
|
31809
|
+
optional: false
|
|
31810
|
+
}],
|
|
31811
|
+
"cover.setTiltPosition": [{
|
|
31812
|
+
name: "deviceId",
|
|
31813
|
+
form: "single",
|
|
31814
|
+
optional: false
|
|
31815
|
+
}],
|
|
31816
|
+
"cover.stop": [{
|
|
31817
|
+
name: "deviceId",
|
|
31818
|
+
form: "single",
|
|
31819
|
+
optional: false
|
|
31820
|
+
}],
|
|
31821
|
+
"dayNight.getOptions": [{
|
|
31822
|
+
name: "deviceId",
|
|
31823
|
+
form: "single",
|
|
31824
|
+
optional: false
|
|
31825
|
+
}],
|
|
31826
|
+
"dayNight.setSettings": [{
|
|
31827
|
+
name: "deviceId",
|
|
31828
|
+
form: "single",
|
|
31829
|
+
optional: false
|
|
31830
|
+
}],
|
|
31831
|
+
"decoder.createSession": [{
|
|
31832
|
+
name: "deviceId",
|
|
31833
|
+
form: "single",
|
|
31834
|
+
optional: true
|
|
31835
|
+
}],
|
|
31836
|
+
"deviceAdoption.release": [{
|
|
31837
|
+
name: "camDeviceId",
|
|
31838
|
+
form: "single",
|
|
31839
|
+
optional: false
|
|
31840
|
+
}],
|
|
31841
|
+
"deviceAdoption.resync": [{
|
|
31842
|
+
name: "camDeviceId",
|
|
31843
|
+
form: "single",
|
|
31844
|
+
optional: false
|
|
31845
|
+
}],
|
|
31846
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31847
|
+
name: "deviceId",
|
|
31848
|
+
form: "single",
|
|
31849
|
+
optional: false
|
|
31850
|
+
}],
|
|
31851
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31852
|
+
name: "deviceId",
|
|
31853
|
+
form: "single",
|
|
31854
|
+
optional: false
|
|
31855
|
+
}],
|
|
31856
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31857
|
+
name: "deviceId",
|
|
31858
|
+
form: "single",
|
|
31859
|
+
optional: false
|
|
31860
|
+
}],
|
|
31861
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31862
|
+
name: "childDeviceId",
|
|
31863
|
+
form: "single",
|
|
31864
|
+
optional: false
|
|
31865
|
+
}, {
|
|
31866
|
+
name: "deviceId",
|
|
31867
|
+
form: "single",
|
|
31868
|
+
optional: false
|
|
31869
|
+
}],
|
|
31870
|
+
"deviceManager.adoptionRelease": [{
|
|
31871
|
+
name: "camDeviceId",
|
|
31872
|
+
form: "single",
|
|
31873
|
+
optional: false
|
|
31874
|
+
}],
|
|
31875
|
+
"deviceManager.adoptionResync": [{
|
|
31876
|
+
name: "camDeviceId",
|
|
31877
|
+
form: "single",
|
|
31878
|
+
optional: false
|
|
31879
|
+
}],
|
|
31880
|
+
"deviceManager.applyInitialMeta": [{
|
|
31881
|
+
name: "deviceId",
|
|
31882
|
+
form: "single",
|
|
31883
|
+
optional: false
|
|
31884
|
+
}, {
|
|
31885
|
+
name: "linkDeviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: true
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceManager.disable": [{
|
|
31890
|
+
name: "deviceId",
|
|
31891
|
+
form: "single",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}],
|
|
31894
|
+
"deviceManager.enable": [{
|
|
31895
|
+
name: "deviceId",
|
|
31896
|
+
form: "single",
|
|
31897
|
+
optional: false
|
|
31898
|
+
}],
|
|
31899
|
+
"deviceManager.getBindings": [{
|
|
31900
|
+
name: "deviceId",
|
|
31901
|
+
form: "single",
|
|
31902
|
+
optional: false
|
|
31903
|
+
}],
|
|
31904
|
+
"deviceManager.getChildren": [{
|
|
31905
|
+
name: "parentDeviceId",
|
|
31906
|
+
form: "single",
|
|
31907
|
+
optional: false
|
|
31908
|
+
}],
|
|
31909
|
+
"deviceManager.getConfigSchema": [{
|
|
31910
|
+
name: "deviceId",
|
|
31911
|
+
form: "single",
|
|
31912
|
+
optional: false
|
|
31913
|
+
}],
|
|
31914
|
+
"deviceManager.getDevice": [{
|
|
31915
|
+
name: "deviceId",
|
|
31916
|
+
form: "single",
|
|
31917
|
+
optional: false
|
|
31918
|
+
}],
|
|
31919
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31920
|
+
name: "deviceId",
|
|
31921
|
+
form: "single",
|
|
31922
|
+
optional: false
|
|
31923
|
+
}],
|
|
31924
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31925
|
+
name: "deviceId",
|
|
31926
|
+
form: "single",
|
|
31927
|
+
optional: false
|
|
31928
|
+
}],
|
|
31929
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31930
|
+
name: "deviceId",
|
|
31931
|
+
form: "single",
|
|
31932
|
+
optional: false
|
|
31933
|
+
}],
|
|
31934
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31935
|
+
name: "deviceId",
|
|
31936
|
+
form: "single",
|
|
31937
|
+
optional: false
|
|
31938
|
+
}],
|
|
31939
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31940
|
+
name: "deviceIds",
|
|
31941
|
+
form: "array",
|
|
31942
|
+
optional: false
|
|
31943
|
+
}],
|
|
31944
|
+
"deviceManager.getLinkedDevices": [{
|
|
31945
|
+
name: "deviceId",
|
|
31946
|
+
form: "single",
|
|
31947
|
+
optional: false
|
|
31948
|
+
}],
|
|
31949
|
+
"deviceManager.getSettingsSchema": [{
|
|
31950
|
+
name: "deviceId",
|
|
31951
|
+
form: "single",
|
|
31952
|
+
optional: false
|
|
31953
|
+
}],
|
|
31954
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31955
|
+
name: "deviceId",
|
|
31956
|
+
form: "single",
|
|
31957
|
+
optional: false
|
|
31958
|
+
}],
|
|
31959
|
+
"deviceManager.getStreamSources": [{
|
|
31960
|
+
name: "deviceId",
|
|
31961
|
+
form: "single",
|
|
31962
|
+
optional: false
|
|
31963
|
+
}],
|
|
31964
|
+
"deviceManager.getWireableFields": [{
|
|
31965
|
+
name: "deviceId",
|
|
31966
|
+
form: "single",
|
|
31967
|
+
optional: false
|
|
31968
|
+
}],
|
|
31969
|
+
"deviceManager.loadConfig": [{
|
|
31970
|
+
name: "deviceId",
|
|
31971
|
+
form: "single",
|
|
31972
|
+
optional: false
|
|
31973
|
+
}],
|
|
31974
|
+
"deviceManager.loadMeta": [{
|
|
31975
|
+
name: "deviceId",
|
|
31976
|
+
form: "single",
|
|
31977
|
+
optional: false
|
|
31978
|
+
}],
|
|
31979
|
+
"deviceManager.loadRuntimeState": [{
|
|
31980
|
+
name: "deviceId",
|
|
31981
|
+
form: "single",
|
|
31982
|
+
optional: false
|
|
31983
|
+
}],
|
|
31984
|
+
"deviceManager.persistConfig": [{
|
|
31985
|
+
name: "deviceId",
|
|
31986
|
+
form: "single",
|
|
31987
|
+
optional: false
|
|
31988
|
+
}],
|
|
31989
|
+
"deviceManager.probeStreams": [{
|
|
31990
|
+
name: "deviceId",
|
|
31991
|
+
form: "single",
|
|
31992
|
+
optional: false
|
|
31993
|
+
}],
|
|
31994
|
+
"deviceManager.registerDevice": [{
|
|
31995
|
+
name: "parentDeviceId",
|
|
31996
|
+
form: "single",
|
|
31997
|
+
optional: true
|
|
31998
|
+
}],
|
|
31999
|
+
"deviceManager.remove": [{
|
|
32000
|
+
name: "deviceId",
|
|
32001
|
+
form: "single",
|
|
32002
|
+
optional: false
|
|
32003
|
+
}],
|
|
32004
|
+
"deviceManager.removeDevice": [{
|
|
32005
|
+
name: "deviceId",
|
|
32006
|
+
form: "single",
|
|
32007
|
+
optional: false
|
|
32008
|
+
}],
|
|
32009
|
+
"deviceManager.runDeviceAction": [{
|
|
32010
|
+
name: "deviceId",
|
|
32011
|
+
form: "single",
|
|
32012
|
+
optional: false
|
|
32013
|
+
}],
|
|
32014
|
+
"deviceManager.setChildLayout": [{
|
|
32015
|
+
name: "deviceId",
|
|
32016
|
+
form: "single",
|
|
32017
|
+
optional: false
|
|
32018
|
+
}],
|
|
32019
|
+
"deviceManager.setDisabled": [{
|
|
32020
|
+
name: "deviceId",
|
|
32021
|
+
form: "single",
|
|
32022
|
+
optional: false
|
|
32023
|
+
}],
|
|
32024
|
+
"deviceManager.setDisplay": [{
|
|
32025
|
+
name: "deviceId",
|
|
32026
|
+
form: "single",
|
|
32027
|
+
optional: false
|
|
32028
|
+
}],
|
|
32029
|
+
"deviceManager.setIntegrationId": [{
|
|
32030
|
+
name: "deviceId",
|
|
32031
|
+
form: "single",
|
|
32032
|
+
optional: false
|
|
32033
|
+
}],
|
|
32034
|
+
"deviceManager.setLinkDeviceId": [{
|
|
32035
|
+
name: "deviceId",
|
|
32036
|
+
form: "single",
|
|
32037
|
+
optional: false
|
|
32038
|
+
}, {
|
|
32039
|
+
name: "linkDeviceId",
|
|
32040
|
+
form: "single",
|
|
32041
|
+
optional: true
|
|
32042
|
+
}],
|
|
32043
|
+
"deviceManager.setLocation": [{
|
|
32044
|
+
name: "deviceId",
|
|
32045
|
+
form: "single",
|
|
32046
|
+
optional: false
|
|
32047
|
+
}],
|
|
32048
|
+
"deviceManager.setMetadata": [{
|
|
32049
|
+
name: "deviceId",
|
|
32050
|
+
form: "single",
|
|
32051
|
+
optional: false
|
|
32052
|
+
}],
|
|
32053
|
+
"deviceManager.setName": [{
|
|
32054
|
+
name: "deviceId",
|
|
32055
|
+
form: "single",
|
|
32056
|
+
optional: false
|
|
32057
|
+
}],
|
|
32058
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
32059
|
+
name: "deviceId",
|
|
32060
|
+
form: "single",
|
|
32061
|
+
optional: false
|
|
32062
|
+
}],
|
|
32063
|
+
"deviceManager.setRole": [{
|
|
32064
|
+
name: "deviceId",
|
|
32065
|
+
form: "single",
|
|
32066
|
+
optional: false
|
|
32067
|
+
}],
|
|
32068
|
+
"deviceManager.setStreamProfileMap": [{
|
|
32069
|
+
name: "deviceId",
|
|
32070
|
+
form: "single",
|
|
32071
|
+
optional: false
|
|
32072
|
+
}],
|
|
32073
|
+
"deviceManager.setType": [{
|
|
32074
|
+
name: "deviceId",
|
|
32075
|
+
form: "single",
|
|
32076
|
+
optional: false
|
|
32077
|
+
}],
|
|
32078
|
+
"deviceManager.setWrapperActive": [{
|
|
32079
|
+
name: "deviceId",
|
|
32080
|
+
form: "single",
|
|
32081
|
+
optional: false
|
|
32082
|
+
}],
|
|
32083
|
+
"deviceManager.testField": [{
|
|
32084
|
+
name: "deviceId",
|
|
32085
|
+
form: "single",
|
|
32086
|
+
optional: false
|
|
32087
|
+
}],
|
|
32088
|
+
"deviceManager.updateConfig": [{
|
|
32089
|
+
name: "deviceId",
|
|
32090
|
+
form: "single",
|
|
32091
|
+
optional: false
|
|
32092
|
+
}],
|
|
32093
|
+
"deviceManager.updateDeviceField": [{
|
|
32094
|
+
name: "deviceId",
|
|
32095
|
+
form: "single",
|
|
32096
|
+
optional: false
|
|
32097
|
+
}],
|
|
32098
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32099
|
+
name: "deviceId",
|
|
32100
|
+
form: "single",
|
|
32101
|
+
optional: false
|
|
32102
|
+
}],
|
|
32103
|
+
"deviceOps.getConfigEntries": [{
|
|
32104
|
+
name: "deviceId",
|
|
32105
|
+
form: "single",
|
|
32106
|
+
optional: false
|
|
32107
|
+
}],
|
|
32108
|
+
"deviceOps.getRawState": [{
|
|
32109
|
+
name: "deviceId",
|
|
32110
|
+
form: "single",
|
|
32111
|
+
optional: false
|
|
32112
|
+
}],
|
|
32113
|
+
"deviceOps.getSettingsSchema": [{
|
|
32114
|
+
name: "deviceId",
|
|
32115
|
+
form: "single",
|
|
32116
|
+
optional: false
|
|
32117
|
+
}],
|
|
32118
|
+
"deviceOps.getStreamSources": [{
|
|
32119
|
+
name: "deviceId",
|
|
32120
|
+
form: "single",
|
|
32121
|
+
optional: false
|
|
32122
|
+
}],
|
|
32123
|
+
"deviceOps.removeDevice": [{
|
|
32124
|
+
name: "deviceId",
|
|
32125
|
+
form: "single",
|
|
32126
|
+
optional: false
|
|
32127
|
+
}],
|
|
32128
|
+
"deviceOps.runAction": [{
|
|
32129
|
+
name: "deviceId",
|
|
32130
|
+
form: "single",
|
|
32131
|
+
optional: false
|
|
32132
|
+
}],
|
|
32133
|
+
"deviceOps.setConfig": [{
|
|
32134
|
+
name: "deviceId",
|
|
32135
|
+
form: "single",
|
|
32136
|
+
optional: false
|
|
32137
|
+
}],
|
|
32138
|
+
"deviceState.getCapSlice": [{
|
|
32139
|
+
name: "deviceId",
|
|
32140
|
+
form: "single",
|
|
32141
|
+
optional: false
|
|
32142
|
+
}],
|
|
32143
|
+
"deviceState.getSnapshot": [{
|
|
32144
|
+
name: "deviceId",
|
|
32145
|
+
form: "single",
|
|
32146
|
+
optional: false
|
|
32147
|
+
}],
|
|
32148
|
+
"deviceState.setCapSlice": [{
|
|
32149
|
+
name: "deviceId",
|
|
32150
|
+
form: "single",
|
|
32151
|
+
optional: false
|
|
32152
|
+
}],
|
|
32153
|
+
"events.getEventClipUrl": [{
|
|
32154
|
+
name: "deviceId",
|
|
32155
|
+
form: "single",
|
|
32156
|
+
optional: false
|
|
32157
|
+
}],
|
|
32158
|
+
"events.getEvents": [{
|
|
32159
|
+
name: "deviceId",
|
|
32160
|
+
form: "single",
|
|
32161
|
+
optional: false
|
|
32162
|
+
}],
|
|
32163
|
+
"events.getEventThumbnail": [{
|
|
32164
|
+
name: "deviceId",
|
|
32165
|
+
form: "single",
|
|
32166
|
+
optional: false
|
|
32167
|
+
}],
|
|
32168
|
+
"faceGallery.getFaceByTrack": [{
|
|
32169
|
+
name: "deviceId",
|
|
32170
|
+
form: "single",
|
|
32171
|
+
optional: false
|
|
32172
|
+
}],
|
|
32173
|
+
"faceGallery.listRecentFaces": [{
|
|
32174
|
+
name: "deviceId",
|
|
32175
|
+
form: "single",
|
|
32176
|
+
optional: true
|
|
32177
|
+
}],
|
|
32178
|
+
"fanControl.setDirection": [{
|
|
32179
|
+
name: "deviceId",
|
|
32180
|
+
form: "single",
|
|
32181
|
+
optional: false
|
|
32182
|
+
}],
|
|
32183
|
+
"fanControl.setOscillating": [{
|
|
32184
|
+
name: "deviceId",
|
|
32185
|
+
form: "single",
|
|
32186
|
+
optional: false
|
|
32187
|
+
}],
|
|
32188
|
+
"fanControl.setPercentage": [{
|
|
32189
|
+
name: "deviceId",
|
|
32190
|
+
form: "single",
|
|
32191
|
+
optional: false
|
|
32192
|
+
}],
|
|
32193
|
+
"fanControl.setPreset": [{
|
|
32194
|
+
name: "deviceId",
|
|
32195
|
+
form: "single",
|
|
32196
|
+
optional: false
|
|
32197
|
+
}],
|
|
32198
|
+
"humidifier.setMode": [{
|
|
32199
|
+
name: "deviceId",
|
|
32200
|
+
form: "single",
|
|
32201
|
+
optional: false
|
|
32202
|
+
}],
|
|
32203
|
+
"humidifier.setOn": [{
|
|
32204
|
+
name: "deviceId",
|
|
32205
|
+
form: "single",
|
|
32206
|
+
optional: false
|
|
32207
|
+
}],
|
|
32208
|
+
"humidifier.setTargetHumidity": [{
|
|
32209
|
+
name: "deviceId",
|
|
32210
|
+
form: "single",
|
|
32211
|
+
optional: false
|
|
32212
|
+
}],
|
|
32213
|
+
"imageSettings.getOptions": [{
|
|
32214
|
+
name: "deviceId",
|
|
32215
|
+
form: "single",
|
|
32216
|
+
optional: false
|
|
32217
|
+
}],
|
|
32218
|
+
"imageSettings.setSettings": [{
|
|
32219
|
+
name: "deviceId",
|
|
32220
|
+
form: "single",
|
|
32221
|
+
optional: false
|
|
32222
|
+
}],
|
|
32223
|
+
"intercom.endTalkSession": [{
|
|
32224
|
+
name: "deviceId",
|
|
32225
|
+
form: "single",
|
|
32226
|
+
optional: false
|
|
32227
|
+
}],
|
|
32228
|
+
"intercom.handleAnswer": [{
|
|
32229
|
+
name: "deviceId",
|
|
32230
|
+
form: "single",
|
|
32231
|
+
optional: false
|
|
32232
|
+
}],
|
|
32233
|
+
"intercom.pushTalkAudio": [{
|
|
32234
|
+
name: "deviceId",
|
|
32235
|
+
form: "single",
|
|
32236
|
+
optional: false
|
|
32237
|
+
}],
|
|
32238
|
+
"intercom.startSession": [{
|
|
32239
|
+
name: "deviceId",
|
|
32240
|
+
form: "single",
|
|
32241
|
+
optional: false
|
|
32242
|
+
}],
|
|
32243
|
+
"intercom.startTalkSession": [{
|
|
32244
|
+
name: "deviceId",
|
|
32245
|
+
form: "single",
|
|
32246
|
+
optional: false
|
|
32247
|
+
}],
|
|
32248
|
+
"intercom.stopSession": [{
|
|
32249
|
+
name: "deviceId",
|
|
32250
|
+
form: "single",
|
|
32251
|
+
optional: false
|
|
32252
|
+
}],
|
|
32253
|
+
"lawnMowerControl.dock": [{
|
|
32254
|
+
name: "deviceId",
|
|
32255
|
+
form: "single",
|
|
32256
|
+
optional: false
|
|
32257
|
+
}],
|
|
32258
|
+
"lawnMowerControl.pause": [{
|
|
32259
|
+
name: "deviceId",
|
|
32260
|
+
form: "single",
|
|
32261
|
+
optional: false
|
|
32262
|
+
}],
|
|
32263
|
+
"lawnMowerControl.startMowing": [{
|
|
32264
|
+
name: "deviceId",
|
|
32265
|
+
form: "single",
|
|
32266
|
+
optional: false
|
|
32267
|
+
}],
|
|
32268
|
+
"lockControl.lock": [{
|
|
32269
|
+
name: "deviceId",
|
|
32270
|
+
form: "single",
|
|
32271
|
+
optional: false
|
|
32272
|
+
}],
|
|
32273
|
+
"lockControl.open": [{
|
|
32274
|
+
name: "deviceId",
|
|
32275
|
+
form: "single",
|
|
32276
|
+
optional: false
|
|
32277
|
+
}],
|
|
32278
|
+
"lockControl.unlock": [{
|
|
32279
|
+
name: "deviceId",
|
|
32280
|
+
form: "single",
|
|
32281
|
+
optional: false
|
|
32282
|
+
}],
|
|
32283
|
+
"mediaPlayer.next": [{
|
|
32284
|
+
name: "deviceId",
|
|
32285
|
+
form: "single",
|
|
32286
|
+
optional: false
|
|
32287
|
+
}],
|
|
32288
|
+
"mediaPlayer.pause": [{
|
|
32289
|
+
name: "deviceId",
|
|
32290
|
+
form: "single",
|
|
32291
|
+
optional: false
|
|
32292
|
+
}],
|
|
32293
|
+
"mediaPlayer.play": [{
|
|
32294
|
+
name: "deviceId",
|
|
32295
|
+
form: "single",
|
|
32296
|
+
optional: false
|
|
32297
|
+
}],
|
|
32298
|
+
"mediaPlayer.playMedia": [{
|
|
32299
|
+
name: "deviceId",
|
|
32300
|
+
form: "single",
|
|
32301
|
+
optional: false
|
|
32302
|
+
}],
|
|
32303
|
+
"mediaPlayer.previous": [{
|
|
32304
|
+
name: "deviceId",
|
|
32305
|
+
form: "single",
|
|
32306
|
+
optional: false
|
|
32307
|
+
}],
|
|
32308
|
+
"mediaPlayer.seek": [{
|
|
32309
|
+
name: "deviceId",
|
|
32310
|
+
form: "single",
|
|
32311
|
+
optional: false
|
|
32312
|
+
}],
|
|
32313
|
+
"mediaPlayer.selectSource": [{
|
|
32314
|
+
name: "deviceId",
|
|
32315
|
+
form: "single",
|
|
32316
|
+
optional: false
|
|
32317
|
+
}],
|
|
32318
|
+
"mediaPlayer.setMute": [{
|
|
32319
|
+
name: "deviceId",
|
|
32320
|
+
form: "single",
|
|
32321
|
+
optional: false
|
|
32322
|
+
}],
|
|
32323
|
+
"mediaPlayer.setRepeat": [{
|
|
32324
|
+
name: "deviceId",
|
|
32325
|
+
form: "single",
|
|
32326
|
+
optional: false
|
|
32327
|
+
}],
|
|
32328
|
+
"mediaPlayer.setShuffle": [{
|
|
32329
|
+
name: "deviceId",
|
|
32330
|
+
form: "single",
|
|
32331
|
+
optional: false
|
|
32332
|
+
}],
|
|
32333
|
+
"mediaPlayer.setVolume": [{
|
|
32334
|
+
name: "deviceId",
|
|
32335
|
+
form: "single",
|
|
32336
|
+
optional: false
|
|
32337
|
+
}],
|
|
32338
|
+
"mediaPlayer.stop": [{
|
|
32339
|
+
name: "deviceId",
|
|
32340
|
+
form: "single",
|
|
32341
|
+
optional: false
|
|
32342
|
+
}],
|
|
32343
|
+
"motion.isDetected": [{
|
|
32344
|
+
name: "deviceId",
|
|
32345
|
+
form: "single",
|
|
32346
|
+
optional: false
|
|
32347
|
+
}],
|
|
32348
|
+
"motionDetection.analyze": [{
|
|
32349
|
+
name: "deviceId",
|
|
32350
|
+
form: "single",
|
|
32351
|
+
optional: false
|
|
32352
|
+
}],
|
|
32353
|
+
"motionDetection.removeCamera": [{
|
|
32354
|
+
name: "deviceId",
|
|
32355
|
+
form: "single",
|
|
32356
|
+
optional: false
|
|
32357
|
+
}],
|
|
32358
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32359
|
+
name: "deviceId",
|
|
32360
|
+
form: "single",
|
|
32361
|
+
optional: false
|
|
32362
|
+
}],
|
|
32363
|
+
"motionZones.getOptions": [{
|
|
32364
|
+
name: "deviceId",
|
|
32365
|
+
form: "single",
|
|
32366
|
+
optional: false
|
|
32367
|
+
}],
|
|
32368
|
+
"motionZones.setZone": [{
|
|
32369
|
+
name: "deviceId",
|
|
32370
|
+
form: "single",
|
|
32371
|
+
optional: false
|
|
32372
|
+
}],
|
|
32373
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32374
|
+
name: "deviceId",
|
|
32375
|
+
form: "single",
|
|
32376
|
+
optional: false
|
|
32377
|
+
}],
|
|
32378
|
+
"networkQuality.getDeviceStats": [{
|
|
32379
|
+
name: "deviceId",
|
|
32380
|
+
form: "single",
|
|
32381
|
+
optional: false
|
|
32382
|
+
}],
|
|
32383
|
+
"networkQuality.reportClientStats": [{
|
|
32384
|
+
name: "deviceId",
|
|
32385
|
+
form: "single",
|
|
32386
|
+
optional: false
|
|
32387
|
+
}],
|
|
32388
|
+
"notificationRules.setDeviceMuted": [{
|
|
32389
|
+
name: "deviceId",
|
|
32390
|
+
form: "single",
|
|
32391
|
+
optional: false
|
|
32392
|
+
}],
|
|
32393
|
+
"notifier.cancel": [{
|
|
32394
|
+
name: "deviceId",
|
|
32395
|
+
form: "single",
|
|
32396
|
+
optional: false
|
|
32397
|
+
}],
|
|
32398
|
+
"notifier.send": [{
|
|
32399
|
+
name: "deviceId",
|
|
32400
|
+
form: "single",
|
|
32401
|
+
optional: false
|
|
32402
|
+
}],
|
|
32403
|
+
"osd.setOverlay": [{
|
|
32404
|
+
name: "deviceId",
|
|
32405
|
+
form: "single",
|
|
32406
|
+
optional: false
|
|
32407
|
+
}],
|
|
32408
|
+
"osdManager.clearSlotBinding": [{
|
|
32409
|
+
name: "deviceId",
|
|
32410
|
+
form: "single",
|
|
32411
|
+
optional: false
|
|
32412
|
+
}],
|
|
32413
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32414
|
+
name: "sourceDeviceId",
|
|
32415
|
+
form: "single",
|
|
32416
|
+
optional: false
|
|
32417
|
+
}, {
|
|
32418
|
+
name: "targetDeviceId",
|
|
32419
|
+
form: "single",
|
|
32420
|
+
optional: false
|
|
32421
|
+
}],
|
|
32422
|
+
"osdManager.getDeviceOsd": [{
|
|
32423
|
+
name: "deviceId",
|
|
32424
|
+
form: "single",
|
|
32425
|
+
optional: false
|
|
32426
|
+
}],
|
|
32427
|
+
"osdManager.getSourceCatalog": [{
|
|
32428
|
+
name: "deviceId",
|
|
32429
|
+
form: "single",
|
|
32430
|
+
optional: false
|
|
32431
|
+
}],
|
|
32432
|
+
"osdManager.previewSlot": [{
|
|
32433
|
+
name: "deviceId",
|
|
32434
|
+
form: "single",
|
|
32435
|
+
optional: false
|
|
32436
|
+
}],
|
|
32437
|
+
"osdManager.renderDevice": [{
|
|
32438
|
+
name: "deviceId",
|
|
32439
|
+
form: "single",
|
|
32440
|
+
optional: false
|
|
32441
|
+
}],
|
|
32442
|
+
"osdManager.setSlotBinding": [{
|
|
32443
|
+
name: "deviceId",
|
|
32444
|
+
form: "single",
|
|
32445
|
+
optional: false
|
|
32446
|
+
}],
|
|
32447
|
+
"petFeeder.callPet": [{
|
|
32448
|
+
name: "deviceId",
|
|
32449
|
+
form: "single",
|
|
32450
|
+
optional: false
|
|
32451
|
+
}],
|
|
32452
|
+
"petFeeder.cancelFeed": [{
|
|
32453
|
+
name: "deviceId",
|
|
32454
|
+
form: "single",
|
|
32455
|
+
optional: false
|
|
32456
|
+
}],
|
|
32457
|
+
"petFeeder.feed": [{
|
|
32458
|
+
name: "deviceId",
|
|
32459
|
+
form: "single",
|
|
32460
|
+
optional: false
|
|
32461
|
+
}],
|
|
32462
|
+
"petFeeder.markFoodReplenished": [{
|
|
32463
|
+
name: "deviceId",
|
|
32464
|
+
form: "single",
|
|
32465
|
+
optional: false
|
|
32466
|
+
}],
|
|
32467
|
+
"petFeeder.playSound": [{
|
|
32468
|
+
name: "deviceId",
|
|
32469
|
+
form: "single",
|
|
32470
|
+
optional: false
|
|
32471
|
+
}],
|
|
32472
|
+
"petFeeder.resetDesiccant": [{
|
|
32473
|
+
name: "deviceId",
|
|
32474
|
+
form: "single",
|
|
32475
|
+
optional: false
|
|
32476
|
+
}],
|
|
32477
|
+
"petFeeder.setChildLock": [{
|
|
32478
|
+
name: "deviceId",
|
|
32479
|
+
form: "single",
|
|
32480
|
+
optional: false
|
|
32481
|
+
}],
|
|
32482
|
+
"petFeeder.setFeedSound": [{
|
|
32483
|
+
name: "deviceId",
|
|
32484
|
+
form: "single",
|
|
32485
|
+
optional: false
|
|
32486
|
+
}],
|
|
32487
|
+
"petFeeder.setIndicatorLight": [{
|
|
32488
|
+
name: "deviceId",
|
|
32489
|
+
form: "single",
|
|
32490
|
+
optional: false
|
|
32491
|
+
}],
|
|
32492
|
+
"petFeeder.setVolume": [{
|
|
32493
|
+
name: "deviceId",
|
|
32494
|
+
form: "single",
|
|
32495
|
+
optional: false
|
|
32496
|
+
}],
|
|
32497
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32498
|
+
name: "deviceId",
|
|
32499
|
+
form: "single",
|
|
32500
|
+
optional: false
|
|
32501
|
+
}],
|
|
32502
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32503
|
+
name: "deviceId",
|
|
32504
|
+
form: "single",
|
|
32505
|
+
optional: false
|
|
32506
|
+
}],
|
|
32507
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32508
|
+
name: "deviceId",
|
|
32509
|
+
form: "single",
|
|
32510
|
+
optional: false
|
|
32511
|
+
}],
|
|
32512
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32513
|
+
name: "deviceId",
|
|
32514
|
+
form: "single",
|
|
32515
|
+
optional: false
|
|
32516
|
+
}],
|
|
32517
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32518
|
+
name: "deviceId",
|
|
32519
|
+
form: "single",
|
|
32520
|
+
optional: false
|
|
32521
|
+
}],
|
|
32522
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32523
|
+
name: "deviceId",
|
|
32524
|
+
form: "single",
|
|
32525
|
+
optional: false
|
|
32526
|
+
}],
|
|
32527
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32528
|
+
name: "deviceId",
|
|
32529
|
+
form: "single",
|
|
32530
|
+
optional: false
|
|
32531
|
+
}],
|
|
32532
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32533
|
+
name: "deviceId",
|
|
32534
|
+
form: "single",
|
|
32535
|
+
optional: false
|
|
32536
|
+
}],
|
|
32537
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32538
|
+
name: "deviceId",
|
|
32539
|
+
form: "single",
|
|
32540
|
+
optional: false
|
|
32541
|
+
}],
|
|
32542
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32543
|
+
name: "deviceId",
|
|
32544
|
+
form: "single",
|
|
32545
|
+
optional: false
|
|
32546
|
+
}],
|
|
32547
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32548
|
+
name: "deviceId",
|
|
32549
|
+
form: "single",
|
|
32550
|
+
optional: false
|
|
32551
|
+
}],
|
|
32552
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32553
|
+
name: "deviceId",
|
|
32554
|
+
form: "single",
|
|
32555
|
+
optional: false
|
|
32556
|
+
}],
|
|
32557
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32558
|
+
name: "deviceIds",
|
|
32559
|
+
form: "array",
|
|
32560
|
+
optional: true
|
|
32561
|
+
}],
|
|
32562
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32563
|
+
name: "deviceId",
|
|
32564
|
+
form: "single",
|
|
32565
|
+
optional: false
|
|
32566
|
+
}],
|
|
32567
|
+
"pipelineAnalytics.getTrack": [{
|
|
32568
|
+
name: "deviceId",
|
|
32569
|
+
form: "single",
|
|
32570
|
+
optional: false
|
|
32571
|
+
}],
|
|
32572
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32573
|
+
name: "deviceId",
|
|
32574
|
+
form: "single",
|
|
32575
|
+
optional: false
|
|
32576
|
+
}],
|
|
32577
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32578
|
+
name: "deviceIds",
|
|
32579
|
+
form: "array",
|
|
32580
|
+
optional: true
|
|
32581
|
+
}],
|
|
32582
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32583
|
+
name: "deviceIds",
|
|
32584
|
+
form: "array",
|
|
32585
|
+
optional: true
|
|
32586
|
+
}],
|
|
32587
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32588
|
+
name: "deviceId",
|
|
32589
|
+
form: "single",
|
|
32590
|
+
optional: false
|
|
32591
|
+
}],
|
|
32592
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32593
|
+
name: "deviceIds",
|
|
32594
|
+
form: "array",
|
|
32595
|
+
optional: false
|
|
32596
|
+
}],
|
|
32597
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32598
|
+
name: "deviceId",
|
|
32599
|
+
form: "single",
|
|
32600
|
+
optional: true
|
|
32601
|
+
}],
|
|
32602
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32603
|
+
name: "deviceIds",
|
|
32604
|
+
form: "array",
|
|
32605
|
+
optional: false
|
|
32606
|
+
}],
|
|
32607
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32608
|
+
name: "deviceIds",
|
|
32609
|
+
form: "array",
|
|
32610
|
+
optional: true
|
|
32611
|
+
}],
|
|
32612
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32613
|
+
name: "deviceId",
|
|
32614
|
+
form: "single",
|
|
32615
|
+
optional: false
|
|
32616
|
+
}],
|
|
32617
|
+
"pipelineAnalytics.listTracks": [{
|
|
32618
|
+
name: "deviceId",
|
|
32619
|
+
form: "single",
|
|
32620
|
+
optional: false
|
|
32621
|
+
}],
|
|
32622
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32623
|
+
name: "deviceId",
|
|
32624
|
+
form: "single",
|
|
32625
|
+
optional: false
|
|
32626
|
+
}],
|
|
32627
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32628
|
+
name: "deviceId",
|
|
32629
|
+
form: "single",
|
|
32630
|
+
optional: false
|
|
32631
|
+
}],
|
|
32632
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32633
|
+
name: "deviceId",
|
|
32634
|
+
form: "single",
|
|
32635
|
+
optional: false
|
|
32636
|
+
}],
|
|
32637
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32638
|
+
name: "deviceId",
|
|
32639
|
+
form: "single",
|
|
32640
|
+
optional: true
|
|
32641
|
+
}],
|
|
32642
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32643
|
+
name: "deviceId",
|
|
32644
|
+
form: "single",
|
|
32645
|
+
optional: false
|
|
32646
|
+
}],
|
|
32647
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32648
|
+
name: "deviceId",
|
|
32649
|
+
form: "single",
|
|
32650
|
+
optional: false
|
|
32651
|
+
}],
|
|
32652
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32653
|
+
name: "deviceId",
|
|
32654
|
+
form: "single",
|
|
32655
|
+
optional: true
|
|
32656
|
+
}],
|
|
32657
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32658
|
+
name: "deviceId",
|
|
32659
|
+
form: "single",
|
|
32660
|
+
optional: false
|
|
32661
|
+
}],
|
|
32662
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32663
|
+
name: "deviceId",
|
|
32664
|
+
form: "single",
|
|
32665
|
+
optional: false
|
|
32666
|
+
}],
|
|
32667
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32668
|
+
name: "deviceId",
|
|
32669
|
+
form: "single",
|
|
32670
|
+
optional: false
|
|
32671
|
+
}],
|
|
32672
|
+
"pipelineExecutor.runPipeline": [{
|
|
32673
|
+
name: "deviceId",
|
|
32674
|
+
form: "single",
|
|
32675
|
+
optional: true
|
|
32676
|
+
}],
|
|
32677
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32678
|
+
name: "deviceId",
|
|
32679
|
+
form: "single",
|
|
32680
|
+
optional: true
|
|
32681
|
+
}],
|
|
32682
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32683
|
+
name: "deviceId",
|
|
32684
|
+
form: "single",
|
|
32685
|
+
optional: false
|
|
32686
|
+
}],
|
|
32687
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32688
|
+
name: "deviceId",
|
|
32689
|
+
form: "single",
|
|
32690
|
+
optional: false
|
|
32691
|
+
}],
|
|
32692
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32693
|
+
name: "deviceId",
|
|
32694
|
+
form: "single",
|
|
32695
|
+
optional: false
|
|
32696
|
+
}],
|
|
32697
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32698
|
+
name: "deviceId",
|
|
32699
|
+
form: "single",
|
|
32700
|
+
optional: false
|
|
32701
|
+
}],
|
|
32702
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32703
|
+
name: "deviceId",
|
|
32704
|
+
form: "single",
|
|
32705
|
+
optional: false
|
|
32706
|
+
}],
|
|
32707
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32708
|
+
name: "deviceId",
|
|
32709
|
+
form: "single",
|
|
32710
|
+
optional: false
|
|
32711
|
+
}],
|
|
32712
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32713
|
+
name: "deviceIds",
|
|
32714
|
+
form: "array",
|
|
32715
|
+
optional: true
|
|
32716
|
+
}],
|
|
32717
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32718
|
+
name: "deviceId",
|
|
32719
|
+
form: "single",
|
|
32720
|
+
optional: false
|
|
32721
|
+
}],
|
|
32722
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32723
|
+
name: "deviceId",
|
|
32724
|
+
form: "single",
|
|
32725
|
+
optional: false
|
|
32726
|
+
}],
|
|
32727
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32728
|
+
name: "deviceId",
|
|
32729
|
+
form: "single",
|
|
32730
|
+
optional: false
|
|
32731
|
+
}],
|
|
32732
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32733
|
+
name: "deviceId",
|
|
32734
|
+
form: "single",
|
|
32735
|
+
optional: false
|
|
32736
|
+
}],
|
|
32737
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32738
|
+
name: "deviceId",
|
|
32739
|
+
form: "single",
|
|
32740
|
+
optional: false
|
|
32741
|
+
}],
|
|
32742
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32743
|
+
name: "deviceId",
|
|
32744
|
+
form: "single",
|
|
32745
|
+
optional: false
|
|
32746
|
+
}],
|
|
32747
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32748
|
+
name: "deviceId",
|
|
32749
|
+
form: "single",
|
|
32750
|
+
optional: false
|
|
32751
|
+
}],
|
|
32752
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32753
|
+
name: "deviceId",
|
|
32754
|
+
form: "single",
|
|
32755
|
+
optional: false
|
|
32756
|
+
}],
|
|
32757
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32758
|
+
name: "deviceId",
|
|
32759
|
+
form: "single",
|
|
32760
|
+
optional: false
|
|
32761
|
+
}],
|
|
32762
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32763
|
+
name: "deviceId",
|
|
32764
|
+
form: "single",
|
|
32765
|
+
optional: false
|
|
32766
|
+
}],
|
|
32767
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32768
|
+
name: "deviceId",
|
|
32769
|
+
form: "single",
|
|
32770
|
+
optional: false
|
|
32771
|
+
}],
|
|
32772
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32773
|
+
name: "deviceId",
|
|
32774
|
+
form: "single",
|
|
32775
|
+
optional: false
|
|
32776
|
+
}],
|
|
32777
|
+
"pipelineRunner.attachCamera": [{
|
|
32778
|
+
name: "deviceId",
|
|
32779
|
+
form: "single",
|
|
32780
|
+
optional: false
|
|
32781
|
+
}],
|
|
32782
|
+
"pipelineRunner.detachCamera": [{
|
|
32783
|
+
name: "deviceId",
|
|
32784
|
+
form: "single",
|
|
32785
|
+
optional: false
|
|
32786
|
+
}],
|
|
32787
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32788
|
+
name: "deviceId",
|
|
32789
|
+
form: "single",
|
|
32790
|
+
optional: false
|
|
32791
|
+
}],
|
|
32792
|
+
"pipelineRunner.reportMotion": [{
|
|
32793
|
+
name: "deviceId",
|
|
32794
|
+
form: "single",
|
|
32795
|
+
optional: false
|
|
32796
|
+
}],
|
|
32797
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32798
|
+
name: "deviceId",
|
|
32799
|
+
form: "single",
|
|
32800
|
+
optional: false
|
|
32801
|
+
}],
|
|
32802
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32803
|
+
name: "sourceDeviceId",
|
|
32804
|
+
form: "single",
|
|
32805
|
+
optional: false
|
|
32806
|
+
}],
|
|
32807
|
+
"plateGallery.getPlateByTrack": [{
|
|
32808
|
+
name: "deviceId",
|
|
32809
|
+
form: "single",
|
|
32810
|
+
optional: false
|
|
32811
|
+
}],
|
|
32812
|
+
"plateGallery.listPlates": [{
|
|
32813
|
+
name: "deviceId",
|
|
32814
|
+
form: "single",
|
|
32815
|
+
optional: true
|
|
32816
|
+
}],
|
|
32817
|
+
"privacyMask.getOptions": [{
|
|
32818
|
+
name: "deviceId",
|
|
32819
|
+
form: "single",
|
|
32820
|
+
optional: false
|
|
32821
|
+
}],
|
|
32822
|
+
"privacyMask.setAudioEnabled": [{
|
|
32823
|
+
name: "deviceId",
|
|
32824
|
+
form: "single",
|
|
32825
|
+
optional: false
|
|
32826
|
+
}],
|
|
32827
|
+
"privacyMask.setMask": [{
|
|
32828
|
+
name: "deviceId",
|
|
32829
|
+
form: "single",
|
|
32830
|
+
optional: false
|
|
32831
|
+
}],
|
|
32832
|
+
"ptz.continuousMove": [{
|
|
32833
|
+
name: "deviceId",
|
|
32834
|
+
form: "single",
|
|
32835
|
+
optional: false
|
|
32836
|
+
}],
|
|
32837
|
+
"ptz.deletePreset": [{
|
|
32838
|
+
name: "deviceId",
|
|
32839
|
+
form: "single",
|
|
32840
|
+
optional: false
|
|
32841
|
+
}],
|
|
32842
|
+
"ptz.getOptions": [{
|
|
32843
|
+
name: "deviceId",
|
|
32844
|
+
form: "single",
|
|
32845
|
+
optional: false
|
|
32846
|
+
}],
|
|
32847
|
+
"ptz.getPosition": [{
|
|
32848
|
+
name: "deviceId",
|
|
32849
|
+
form: "single",
|
|
32850
|
+
optional: false
|
|
32851
|
+
}],
|
|
32852
|
+
"ptz.getPresets": [{
|
|
32853
|
+
name: "deviceId",
|
|
32854
|
+
form: "single",
|
|
32855
|
+
optional: false
|
|
32856
|
+
}],
|
|
32857
|
+
"ptz.goHome": [{
|
|
32858
|
+
name: "deviceId",
|
|
32859
|
+
form: "single",
|
|
32860
|
+
optional: false
|
|
32861
|
+
}],
|
|
32862
|
+
"ptz.goToPreset": [{
|
|
32863
|
+
name: "deviceId",
|
|
32864
|
+
form: "single",
|
|
32865
|
+
optional: false
|
|
32866
|
+
}],
|
|
32867
|
+
"ptz.move": [{
|
|
32868
|
+
name: "deviceId",
|
|
32869
|
+
form: "single",
|
|
32870
|
+
optional: false
|
|
32871
|
+
}],
|
|
32872
|
+
"ptz.savePreset": [{
|
|
32873
|
+
name: "deviceId",
|
|
32874
|
+
form: "single",
|
|
32875
|
+
optional: false
|
|
32876
|
+
}],
|
|
32877
|
+
"ptz.setAutofocus": [{
|
|
32878
|
+
name: "deviceId",
|
|
32879
|
+
form: "single",
|
|
32880
|
+
optional: false
|
|
32881
|
+
}],
|
|
32882
|
+
"ptz.stop": [{
|
|
32883
|
+
name: "deviceId",
|
|
32884
|
+
form: "single",
|
|
32885
|
+
optional: false
|
|
32886
|
+
}],
|
|
32887
|
+
"ptzAutotrack.getSettings": [{
|
|
32888
|
+
name: "deviceId",
|
|
32889
|
+
form: "single",
|
|
32890
|
+
optional: false
|
|
32891
|
+
}],
|
|
32892
|
+
"ptzAutotrack.getStatus": [{
|
|
32893
|
+
name: "deviceId",
|
|
32894
|
+
form: "single",
|
|
32895
|
+
optional: false
|
|
32896
|
+
}],
|
|
32897
|
+
"ptzAutotrack.setEnabled": [{
|
|
32898
|
+
name: "deviceId",
|
|
32899
|
+
form: "single",
|
|
32900
|
+
optional: false
|
|
32901
|
+
}],
|
|
32902
|
+
"ptzAutotrack.setSettings": [{
|
|
32903
|
+
name: "deviceId",
|
|
32904
|
+
form: "single",
|
|
32905
|
+
optional: false
|
|
32906
|
+
}],
|
|
32907
|
+
"reboot.reboot": [{
|
|
32908
|
+
name: "deviceId",
|
|
32909
|
+
form: "single",
|
|
32910
|
+
optional: false
|
|
32911
|
+
}],
|
|
32912
|
+
"recording.deleteFootprint": [{
|
|
32913
|
+
name: "deviceId",
|
|
32914
|
+
form: "single",
|
|
32915
|
+
optional: false
|
|
32916
|
+
}],
|
|
32917
|
+
"recording.getAvailability": [{
|
|
32918
|
+
name: "deviceId",
|
|
32919
|
+
form: "single",
|
|
32920
|
+
optional: false
|
|
32921
|
+
}],
|
|
32922
|
+
"recording.getDaysWithRecordings": [{
|
|
32923
|
+
name: "deviceId",
|
|
32924
|
+
form: "single",
|
|
32925
|
+
optional: false
|
|
32926
|
+
}],
|
|
32927
|
+
"recording.getDeviceConfig": [{
|
|
32928
|
+
name: "deviceId",
|
|
32929
|
+
form: "single",
|
|
32930
|
+
optional: false
|
|
32931
|
+
}],
|
|
32932
|
+
"recording.getPlaybackManifest": [{
|
|
32933
|
+
name: "deviceId",
|
|
32934
|
+
form: "single",
|
|
32935
|
+
optional: false
|
|
32936
|
+
}],
|
|
32937
|
+
"recording.listOpsLog": [{
|
|
32938
|
+
name: "deviceId",
|
|
32939
|
+
form: "single",
|
|
32940
|
+
optional: true
|
|
32941
|
+
}],
|
|
32942
|
+
"recording.locateSegment": [{
|
|
32943
|
+
name: "deviceId",
|
|
32944
|
+
form: "single",
|
|
32945
|
+
optional: false
|
|
32946
|
+
}],
|
|
32947
|
+
"recording.pruneFootage": [{
|
|
32948
|
+
name: "deviceId",
|
|
32949
|
+
form: "single",
|
|
32950
|
+
optional: false
|
|
32951
|
+
}],
|
|
32952
|
+
"recording.readGopBytes": [{
|
|
32953
|
+
name: "deviceId",
|
|
32954
|
+
form: "single",
|
|
32955
|
+
optional: false
|
|
32956
|
+
}],
|
|
32957
|
+
"recording.readSegmentBytes": [{
|
|
32958
|
+
name: "deviceId",
|
|
32959
|
+
form: "single",
|
|
32960
|
+
optional: false
|
|
32961
|
+
}],
|
|
32962
|
+
"recording.relocateFootage": [{
|
|
32963
|
+
name: "deviceId",
|
|
32964
|
+
form: "single",
|
|
32965
|
+
optional: true
|
|
32966
|
+
}],
|
|
32967
|
+
"recording.renderClip": [{
|
|
32968
|
+
name: "deviceId",
|
|
32969
|
+
form: "single",
|
|
32970
|
+
optional: false
|
|
32971
|
+
}],
|
|
32972
|
+
"recording.renderGif": [{
|
|
32973
|
+
name: "deviceId",
|
|
32974
|
+
form: "single",
|
|
32975
|
+
optional: false
|
|
32976
|
+
}],
|
|
32977
|
+
"recording.rescanStorage": [{
|
|
32978
|
+
name: "deviceId",
|
|
32979
|
+
form: "single",
|
|
32980
|
+
optional: false
|
|
32981
|
+
}],
|
|
32982
|
+
"recording.setDeviceConfig": [{
|
|
32983
|
+
name: "deviceId",
|
|
32984
|
+
form: "single",
|
|
32985
|
+
optional: false
|
|
32986
|
+
}],
|
|
32987
|
+
"recording.startStorageMigrationMove": [{
|
|
32988
|
+
name: "deviceId",
|
|
32989
|
+
form: "single",
|
|
32990
|
+
optional: true
|
|
32991
|
+
}],
|
|
32992
|
+
"recordingExport.createExport": [{
|
|
32993
|
+
name: "deviceId",
|
|
32994
|
+
form: "single",
|
|
32995
|
+
optional: false
|
|
32996
|
+
}],
|
|
32997
|
+
"recordingExport.listExports": [{
|
|
32998
|
+
name: "deviceId",
|
|
32999
|
+
form: "single",
|
|
33000
|
+
optional: true
|
|
33001
|
+
}],
|
|
33002
|
+
"sceneMonitor.captureReference": [{
|
|
33003
|
+
name: "deviceId",
|
|
33004
|
+
form: "single",
|
|
33005
|
+
optional: false
|
|
33006
|
+
}],
|
|
33007
|
+
"sceneMonitor.createScene": [{
|
|
33008
|
+
name: "deviceId",
|
|
33009
|
+
form: "single",
|
|
33010
|
+
optional: false
|
|
33011
|
+
}],
|
|
33012
|
+
"sceneMonitor.deleteReference": [{
|
|
33013
|
+
name: "deviceId",
|
|
33014
|
+
form: "single",
|
|
33015
|
+
optional: false
|
|
33016
|
+
}],
|
|
33017
|
+
"sceneMonitor.deleteScene": [{
|
|
33018
|
+
name: "deviceId",
|
|
33019
|
+
form: "single",
|
|
33020
|
+
optional: false
|
|
33021
|
+
}],
|
|
33022
|
+
"sceneMonitor.listScenes": [{
|
|
33023
|
+
name: "deviceId",
|
|
33024
|
+
form: "single",
|
|
33025
|
+
optional: false
|
|
33026
|
+
}],
|
|
33027
|
+
"sceneMonitor.recheckNow": [{
|
|
33028
|
+
name: "deviceId",
|
|
33029
|
+
form: "single",
|
|
33030
|
+
optional: false
|
|
33031
|
+
}],
|
|
33032
|
+
"sceneMonitor.resetScene": [{
|
|
33033
|
+
name: "deviceId",
|
|
33034
|
+
form: "single",
|
|
33035
|
+
optional: false
|
|
33036
|
+
}],
|
|
33037
|
+
"sceneMonitor.updateScene": [{
|
|
33038
|
+
name: "deviceId",
|
|
33039
|
+
form: "single",
|
|
33040
|
+
optional: false
|
|
33041
|
+
}],
|
|
33042
|
+
"scriptRunner.run": [{
|
|
33043
|
+
name: "deviceId",
|
|
33044
|
+
form: "single",
|
|
33045
|
+
optional: false
|
|
33046
|
+
}],
|
|
33047
|
+
"scriptRunner.stop": [{
|
|
33048
|
+
name: "deviceId",
|
|
33049
|
+
form: "single",
|
|
33050
|
+
optional: false
|
|
33051
|
+
}],
|
|
33052
|
+
"snapshot.getSnapshot": [{
|
|
33053
|
+
name: "deviceId",
|
|
33054
|
+
form: "single",
|
|
33055
|
+
optional: false
|
|
33056
|
+
}],
|
|
33057
|
+
"snapshot.getSnapshotLinks": [{
|
|
33058
|
+
name: "targets",
|
|
33059
|
+
form: "object-array",
|
|
33060
|
+
optional: false,
|
|
33061
|
+
itemField: "deviceId"
|
|
33062
|
+
}],
|
|
33063
|
+
"snapshot.getSnapshotOverview": [{
|
|
33064
|
+
name: "deviceIds",
|
|
33065
|
+
form: "array",
|
|
33066
|
+
optional: false
|
|
33067
|
+
}],
|
|
33068
|
+
"snapshot.invalidateCache": [{
|
|
33069
|
+
name: "deviceId",
|
|
33070
|
+
form: "single",
|
|
33071
|
+
optional: false
|
|
33072
|
+
}],
|
|
33073
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
33074
|
+
name: "deviceId",
|
|
33075
|
+
form: "single",
|
|
33076
|
+
optional: false
|
|
33077
|
+
}],
|
|
33078
|
+
"streamBroker.assignProfile": [{
|
|
33079
|
+
name: "deviceId",
|
|
33080
|
+
form: "single",
|
|
33081
|
+
optional: false
|
|
33082
|
+
}],
|
|
33083
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
33084
|
+
name: "deviceId",
|
|
33085
|
+
form: "single",
|
|
33086
|
+
optional: false
|
|
33087
|
+
}],
|
|
33088
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33089
|
+
name: "deviceId",
|
|
33090
|
+
form: "single",
|
|
33091
|
+
optional: false
|
|
33092
|
+
}],
|
|
33093
|
+
"streamBroker.produceEventMedia": [{
|
|
33094
|
+
name: "deviceId",
|
|
33095
|
+
form: "single",
|
|
33096
|
+
optional: false
|
|
33097
|
+
}],
|
|
33098
|
+
"streamBroker.publishCameraStream": [{
|
|
33099
|
+
name: "deviceId",
|
|
33100
|
+
form: "single",
|
|
33101
|
+
optional: false
|
|
33102
|
+
}],
|
|
33103
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33104
|
+
name: "deviceId",
|
|
33105
|
+
form: "single",
|
|
33106
|
+
optional: false
|
|
33107
|
+
}],
|
|
33108
|
+
"streamBroker.restartProfile": [{
|
|
33109
|
+
name: "deviceId",
|
|
33110
|
+
form: "single",
|
|
33111
|
+
optional: false
|
|
33112
|
+
}],
|
|
33113
|
+
"streamBroker.retractCameraStream": [{
|
|
33114
|
+
name: "deviceId",
|
|
33115
|
+
form: "single",
|
|
33116
|
+
optional: false
|
|
33117
|
+
}],
|
|
33118
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33119
|
+
name: "deviceId",
|
|
33120
|
+
form: "single",
|
|
33121
|
+
optional: false
|
|
33122
|
+
}],
|
|
33123
|
+
"streamBroker.unassignProfile": [{
|
|
33124
|
+
name: "deviceId",
|
|
33125
|
+
form: "single",
|
|
33126
|
+
optional: false
|
|
33127
|
+
}],
|
|
33128
|
+
"streamCatalog.getCatalog": [{
|
|
33129
|
+
name: "deviceId",
|
|
33130
|
+
form: "single",
|
|
33131
|
+
optional: false
|
|
33132
|
+
}],
|
|
33133
|
+
"streamParams.getConfigSchema": [{
|
|
33134
|
+
name: "deviceId",
|
|
33135
|
+
form: "single",
|
|
33136
|
+
optional: false
|
|
33137
|
+
}],
|
|
33138
|
+
"streamParams.getOptions": [{
|
|
33139
|
+
name: "deviceId",
|
|
33140
|
+
form: "single",
|
|
33141
|
+
optional: false
|
|
33142
|
+
}],
|
|
33143
|
+
"streamParams.setProfile": [{
|
|
33144
|
+
name: "deviceId",
|
|
33145
|
+
form: "single",
|
|
33146
|
+
optional: false
|
|
33147
|
+
}],
|
|
33148
|
+
"switch.setState": [{
|
|
33149
|
+
name: "deviceId",
|
|
33150
|
+
form: "single",
|
|
33151
|
+
optional: false
|
|
33152
|
+
}],
|
|
33153
|
+
"vacuumControl.locate": [{
|
|
33154
|
+
name: "deviceId",
|
|
33155
|
+
form: "single",
|
|
33156
|
+
optional: false
|
|
33157
|
+
}],
|
|
33158
|
+
"vacuumControl.pause": [{
|
|
33159
|
+
name: "deviceId",
|
|
33160
|
+
form: "single",
|
|
33161
|
+
optional: false
|
|
33162
|
+
}],
|
|
33163
|
+
"vacuumControl.returnToBase": [{
|
|
33164
|
+
name: "deviceId",
|
|
33165
|
+
form: "single",
|
|
33166
|
+
optional: false
|
|
33167
|
+
}],
|
|
33168
|
+
"vacuumControl.setFanSpeed": [{
|
|
33169
|
+
name: "deviceId",
|
|
33170
|
+
form: "single",
|
|
33171
|
+
optional: false
|
|
33172
|
+
}],
|
|
33173
|
+
"vacuumControl.start": [{
|
|
33174
|
+
name: "deviceId",
|
|
33175
|
+
form: "single",
|
|
33176
|
+
optional: false
|
|
33177
|
+
}],
|
|
33178
|
+
"vacuumControl.stop": [{
|
|
33179
|
+
name: "deviceId",
|
|
33180
|
+
form: "single",
|
|
33181
|
+
optional: false
|
|
33182
|
+
}],
|
|
33183
|
+
"valve.close": [{
|
|
33184
|
+
name: "deviceId",
|
|
33185
|
+
form: "single",
|
|
33186
|
+
optional: false
|
|
33187
|
+
}],
|
|
33188
|
+
"valve.open": [{
|
|
33189
|
+
name: "deviceId",
|
|
33190
|
+
form: "single",
|
|
33191
|
+
optional: false
|
|
33192
|
+
}],
|
|
33193
|
+
"valve.setPosition": [{
|
|
33194
|
+
name: "deviceId",
|
|
33195
|
+
form: "single",
|
|
33196
|
+
optional: false
|
|
33197
|
+
}],
|
|
33198
|
+
"valve.stop": [{
|
|
33199
|
+
name: "deviceId",
|
|
33200
|
+
form: "single",
|
|
33201
|
+
optional: false
|
|
33202
|
+
}],
|
|
33203
|
+
"videoclips.getClipPlayback": [{
|
|
33204
|
+
name: "deviceId",
|
|
33205
|
+
form: "single",
|
|
33206
|
+
optional: false
|
|
33207
|
+
}],
|
|
33208
|
+
"videoclips.listClips": [{
|
|
33209
|
+
name: "deviceId",
|
|
33210
|
+
form: "single",
|
|
33211
|
+
optional: false
|
|
33212
|
+
}],
|
|
33213
|
+
"waterHeater.setAway": [{
|
|
33214
|
+
name: "deviceId",
|
|
33215
|
+
form: "single",
|
|
33216
|
+
optional: false
|
|
33217
|
+
}],
|
|
33218
|
+
"waterHeater.setOperationMode": [{
|
|
33219
|
+
name: "deviceId",
|
|
33220
|
+
form: "single",
|
|
33221
|
+
optional: false
|
|
33222
|
+
}],
|
|
33223
|
+
"waterHeater.setTargetTemp": [{
|
|
33224
|
+
name: "deviceId",
|
|
33225
|
+
form: "single",
|
|
33226
|
+
optional: false
|
|
33227
|
+
}],
|
|
33228
|
+
"webrtcSession.addIceCandidate": [{
|
|
33229
|
+
name: "deviceId",
|
|
33230
|
+
form: "single",
|
|
33231
|
+
optional: false
|
|
33232
|
+
}],
|
|
33233
|
+
"webrtcSession.closeSession": [{
|
|
33234
|
+
name: "deviceId",
|
|
33235
|
+
form: "single",
|
|
33236
|
+
optional: false
|
|
33237
|
+
}],
|
|
33238
|
+
"webrtcSession.createSession": [{
|
|
33239
|
+
name: "deviceId",
|
|
33240
|
+
form: "single",
|
|
33241
|
+
optional: false
|
|
33242
|
+
}],
|
|
33243
|
+
"webrtcSession.getIceCandidates": [{
|
|
33244
|
+
name: "deviceId",
|
|
33245
|
+
form: "single",
|
|
33246
|
+
optional: false
|
|
33247
|
+
}],
|
|
33248
|
+
"webrtcSession.getSessionState": [{
|
|
33249
|
+
name: "deviceId",
|
|
33250
|
+
form: "single",
|
|
33251
|
+
optional: false
|
|
33252
|
+
}],
|
|
33253
|
+
"webrtcSession.handleAnswer": [{
|
|
33254
|
+
name: "deviceId",
|
|
33255
|
+
form: "single",
|
|
33256
|
+
optional: false
|
|
33257
|
+
}],
|
|
33258
|
+
"webrtcSession.handleOffer": [{
|
|
33259
|
+
name: "deviceId",
|
|
33260
|
+
form: "single",
|
|
33261
|
+
optional: false
|
|
33262
|
+
}],
|
|
33263
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33264
|
+
name: "deviceId",
|
|
33265
|
+
form: "single",
|
|
33266
|
+
optional: false
|
|
33267
|
+
}],
|
|
33268
|
+
"webrtcSession.listStreams": [{
|
|
33269
|
+
name: "deviceId",
|
|
33270
|
+
form: "single",
|
|
33271
|
+
optional: false
|
|
33272
|
+
}],
|
|
33273
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33274
|
+
name: "deviceId",
|
|
33275
|
+
form: "single",
|
|
33276
|
+
optional: false
|
|
33277
|
+
}],
|
|
33278
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33279
|
+
name: "deviceId",
|
|
33280
|
+
form: "single",
|
|
33281
|
+
optional: false
|
|
33282
|
+
}],
|
|
33283
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33284
|
+
name: "deviceId",
|
|
33285
|
+
form: "single",
|
|
33286
|
+
optional: false
|
|
33287
|
+
}],
|
|
33288
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33289
|
+
name: "deviceId",
|
|
33290
|
+
form: "single",
|
|
33291
|
+
optional: false
|
|
33292
|
+
}],
|
|
33293
|
+
"zoneRules.listRules": [{
|
|
33294
|
+
name: "deviceId",
|
|
33295
|
+
form: "single",
|
|
33296
|
+
optional: false
|
|
33297
|
+
}],
|
|
33298
|
+
"zoneRules.setRules": [{
|
|
33299
|
+
name: "deviceId",
|
|
33300
|
+
form: "single",
|
|
33301
|
+
optional: false
|
|
33302
|
+
}],
|
|
33303
|
+
"zones.addZone": [{
|
|
33304
|
+
name: "deviceId",
|
|
33305
|
+
form: "single",
|
|
33306
|
+
optional: false
|
|
33307
|
+
}],
|
|
33308
|
+
"zones.listZones": [{
|
|
33309
|
+
name: "deviceId",
|
|
33310
|
+
form: "single",
|
|
33311
|
+
optional: false
|
|
33312
|
+
}],
|
|
33313
|
+
"zones.removeZone": [{
|
|
33314
|
+
name: "deviceId",
|
|
33315
|
+
form: "single",
|
|
33316
|
+
optional: false
|
|
33317
|
+
}],
|
|
33318
|
+
"zones.updateZone": [{
|
|
33319
|
+
name: "deviceId",
|
|
33320
|
+
form: "single",
|
|
33321
|
+
optional: false
|
|
33322
|
+
}]
|
|
33323
|
+
});
|
|
30754
33324
|
Object.freeze({
|
|
30755
33325
|
"broker": "broker",
|
|
30756
33326
|
"device-export": "device-export",
|