@camstack/addon-model-studio 1.1.23 → 1.1.25
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/MotionZonesSettings-_-XEVHEZ.mjs +310 -0
- package/dist/PrivacyMaskSettings-DhUyAvCl.mjs +370 -0
- package/dist/SceneMonitorEditor-C4wYmwFS.mjs +828 -0
- package/dist/_stub.js +13501 -13523
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-XXOA8J9m.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CMBJM9nN.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BORoB5aU.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-CseXNRbK.mjs → hostInit-BRJspflx.mjs} +3 -3
- package/dist/model-studio.addon.js +2690 -85
- package/dist/model-studio.addon.mjs +2690 -85
- package/dist/player-overlays-BSAsJHSV.mjs +44 -0
- package/dist/remoteEntry.js +1 -1
- package/dist/responsive-C8Kdh2lc.mjs +122 -0
- package/dist/{trash-2-DaiOQLOq.mjs → square-oVzM4XlH.mjs} +3 -24
- package/dist/trash-2-CaY5pr7F.mjs +25 -0
- package/dist/use-device-snapshot-_XUfjX-Y.mjs +149 -0
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BTnEzc1p.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D9QY9xmK.mjs} +1 -1
- package/package.json +1 -1
- package/dist/MotionZonesSettings-c6Tai5_7.mjs +0 -309
- package/dist/PrivacyMaskSettings-HCXbD4Zp.mjs +0 -368
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B1Ze-txH.mjs +0 -26
- package/dist/player-overlays-DIEkIOSO.mjs +0 -163
|
@@ -90,7 +90,7 @@ async function downloadFile(url, destPath, onProgress) {
|
|
|
90
90
|
(0, node_util.promisify)(node_zlib.brotliCompress);
|
|
91
91
|
(0, node_util.promisify)(node_zlib.gzip);
|
|
92
92
|
//#endregion
|
|
93
|
-
//#region ../types/dist/event-category-
|
|
93
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
94
94
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
95
95
|
EventCategory["SystemBoot"] = "system.boot";
|
|
96
96
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -297,6 +297,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
297
297
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
298
298
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
299
299
|
/**
|
|
300
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
301
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
302
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
303
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
304
|
+
* from the placement candidate set for as long as it holds.
|
|
305
|
+
*
|
|
306
|
+
* This exists because the state was previously invisible: little-unraid
|
|
307
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
308
|
+
* and nothing in the system said so.
|
|
309
|
+
*
|
|
310
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
311
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
312
|
+
* serves it exactly as before.
|
|
313
|
+
*/
|
|
314
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
315
|
+
/**
|
|
316
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
317
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
318
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
319
|
+
* per camera.
|
|
320
|
+
*
|
|
321
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
322
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
323
|
+
* camera" produce byte-identical silence.
|
|
324
|
+
*/
|
|
325
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
326
|
+
/**
|
|
300
327
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
301
328
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
302
329
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3088,6 +3115,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3088
3115
|
fallback: left.fallback
|
|
3089
3116
|
}, ctx);
|
|
3090
3117
|
}
|
|
3118
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3119
|
+
$ZodPipe.init(inst, def);
|
|
3120
|
+
});
|
|
3091
3121
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3092
3122
|
$ZodType.init(inst, def);
|
|
3093
3123
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5273,6 +5303,10 @@ function pipe(in_, out) {
|
|
|
5273
5303
|
out
|
|
5274
5304
|
});
|
|
5275
5305
|
}
|
|
5306
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5307
|
+
ZodPipe.init(inst, def);
|
|
5308
|
+
$ZodPreprocess.init(inst, def);
|
|
5309
|
+
});
|
|
5276
5310
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5277
5311
|
$ZodReadonly.init(inst, def);
|
|
5278
5312
|
ZodType.init(inst, def);
|
|
@@ -5331,6 +5365,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5331
5365
|
};
|
|
5332
5366
|
return inst;
|
|
5333
5367
|
}
|
|
5368
|
+
function preprocess(fn, schema) {
|
|
5369
|
+
return new ZodPreprocess({
|
|
5370
|
+
type: "pipe",
|
|
5371
|
+
in: transform(fn),
|
|
5372
|
+
out: schema
|
|
5373
|
+
});
|
|
5374
|
+
}
|
|
5334
5375
|
//#endregion
|
|
5335
5376
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5336
5377
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10943,6 +10984,8 @@ var QueryFilterSchema = object({
|
|
|
10943
10984
|
where: record(string(), unknown()).optional(),
|
|
10944
10985
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10945
10986
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10987
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10988
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10946
10989
|
orderBy: object({
|
|
10947
10990
|
field: string(),
|
|
10948
10991
|
direction: _enum(["asc", "desc"])
|
|
@@ -10962,7 +11005,8 @@ var QueryFilterSchema = object({
|
|
|
10962
11005
|
var MutationFilterSchema = object({
|
|
10963
11006
|
where: record(string(), unknown()).optional(),
|
|
10964
11007
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10965
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
11008
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11009
|
+
whereNot: record(string(), unknown()).optional()
|
|
10966
11010
|
});
|
|
10967
11011
|
/** A single stored record: `{ id, data }`. */
|
|
10968
11012
|
var SettingsRecordSchema = object({
|
|
@@ -12319,6 +12363,17 @@ var LlmImageSchema = object({
|
|
|
12319
12363
|
bytes: _instanceof(Uint8Array),
|
|
12320
12364
|
mimeType: string()
|
|
12321
12365
|
});
|
|
12366
|
+
/**
|
|
12367
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12368
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12369
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12370
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12371
|
+
*/
|
|
12372
|
+
var LlmRetryPolicySchema = object({
|
|
12373
|
+
enabled: boolean().default(false),
|
|
12374
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12375
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12376
|
+
});
|
|
12322
12377
|
var LlmGenerateBaseInputSchema = object({
|
|
12323
12378
|
/** Collection routing (the notification-output posture). */
|
|
12324
12379
|
addonId: string().optional(),
|
|
@@ -12333,7 +12388,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12333
12388
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12334
12389
|
/** Per-call override of the profile default. */
|
|
12335
12390
|
maxTokens: number().int().positive().optional(),
|
|
12336
|
-
temperature: number().optional()
|
|
12391
|
+
temperature: number().optional(),
|
|
12392
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12393
|
+
topP: number().min(0).max(1).optional(),
|
|
12394
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12395
|
+
topK: number().int().positive().optional(),
|
|
12396
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12397
|
+
timeoutMs: number().int().positive().optional(),
|
|
12398
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12399
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12400
|
+
/**
|
|
12401
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12402
|
+
*
|
|
12403
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12404
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12405
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12406
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12407
|
+
* not generations, and the real load is unbounded.
|
|
12408
|
+
*
|
|
12409
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12410
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12411
|
+
*/
|
|
12412
|
+
requestId: string().optional()
|
|
12337
12413
|
});
|
|
12338
12414
|
/**
|
|
12339
12415
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12346,6 +12422,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12346
12422
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12347
12423
|
* watchdog — operator decision #3).
|
|
12348
12424
|
*/
|
|
12425
|
+
/**
|
|
12426
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12427
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12428
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12429
|
+
* the preview is exactly what the node downloads.
|
|
12430
|
+
*/
|
|
12431
|
+
var ManagedModelExtraFileSchema = object({
|
|
12432
|
+
url: string(),
|
|
12433
|
+
filename: string(),
|
|
12434
|
+
sizeBytes: number(),
|
|
12435
|
+
sha256: string().optional()
|
|
12436
|
+
});
|
|
12349
12437
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12350
12438
|
object({
|
|
12351
12439
|
kind: literal("catalog"),
|
|
@@ -12354,7 +12442,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12354
12442
|
object({
|
|
12355
12443
|
kind: literal("url"),
|
|
12356
12444
|
url: string(),
|
|
12357
|
-
sha256: string().optional()
|
|
12445
|
+
sha256: string().optional(),
|
|
12446
|
+
/** Picker/status label; the file basename when absent. */
|
|
12447
|
+
label: string().optional(),
|
|
12448
|
+
sizeBytes: number().optional(),
|
|
12449
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12358
12450
|
}),
|
|
12359
12451
|
object({
|
|
12360
12452
|
kind: literal("path"),
|
|
@@ -12372,13 +12464,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12372
12464
|
gpuLayers: number().int().default(0),
|
|
12373
12465
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12374
12466
|
threads: number().int().optional(),
|
|
12375
|
-
/** Concurrent slots. */
|
|
12467
|
+
/** Concurrent slots (`--parallel`). */
|
|
12376
12468
|
parallel: number().int().default(1),
|
|
12469
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12470
|
+
batchSize: number().int().positive().optional(),
|
|
12471
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12472
|
+
ubatchSize: number().int().positive().optional(),
|
|
12473
|
+
/**
|
|
12474
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12475
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12476
|
+
*/
|
|
12477
|
+
flashAttention: boolean().default(false),
|
|
12478
|
+
/**
|
|
12479
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12480
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12481
|
+
* what the RAM budget is counting.
|
|
12482
|
+
*/
|
|
12483
|
+
mlock: boolean().default(false),
|
|
12484
|
+
/**
|
|
12485
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12486
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12487
|
+
* store produces on every first token.
|
|
12488
|
+
*/
|
|
12489
|
+
noMmap: boolean().default(false),
|
|
12490
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12491
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12492
|
+
cacheTypeK: _enum([
|
|
12493
|
+
"f32",
|
|
12494
|
+
"f16",
|
|
12495
|
+
"q8_0",
|
|
12496
|
+
"q5_1",
|
|
12497
|
+
"q5_0",
|
|
12498
|
+
"q4_1",
|
|
12499
|
+
"q4_0"
|
|
12500
|
+
]).optional(),
|
|
12501
|
+
cacheTypeV: _enum([
|
|
12502
|
+
"f32",
|
|
12503
|
+
"f16",
|
|
12504
|
+
"q8_0",
|
|
12505
|
+
"q5_1",
|
|
12506
|
+
"q5_0",
|
|
12507
|
+
"q4_1",
|
|
12508
|
+
"q4_0"
|
|
12509
|
+
]).optional(),
|
|
12510
|
+
/**
|
|
12511
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12512
|
+
* (which most vision chat templates need and some language-only models
|
|
12513
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12514
|
+
*
|
|
12515
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12516
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12517
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12518
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12519
|
+
* twice (D62).
|
|
12520
|
+
*/
|
|
12521
|
+
extraArgs: array(string()).default([]),
|
|
12377
12522
|
/** Else lazy: first generate boots it. */
|
|
12378
12523
|
autoStart: boolean().default(false),
|
|
12379
12524
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12380
12525
|
idleStopMinutes: number().int().default(30)
|
|
12381
12526
|
});
|
|
12527
|
+
/**
|
|
12528
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12529
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12530
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12531
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12532
|
+
*/
|
|
12533
|
+
var LlmDownloadProgressSchema = object({
|
|
12534
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12535
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12536
|
+
file: string(),
|
|
12537
|
+
fileIndex: number().int(),
|
|
12538
|
+
fileCount: number().int(),
|
|
12539
|
+
/** Across the WHOLE install, not the current file. */
|
|
12540
|
+
downloadedBytes: number(),
|
|
12541
|
+
totalBytes: number().optional()
|
|
12542
|
+
});
|
|
12382
12543
|
var LlmRuntimeStatusSchema = object({
|
|
12383
12544
|
/** Status is ALWAYS node-qualified. */
|
|
12384
12545
|
nodeId: string(),
|
|
@@ -12395,6 +12556,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12395
12556
|
modelPath: string().optional(),
|
|
12396
12557
|
modelId: string().optional(),
|
|
12397
12558
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12559
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12560
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12398
12561
|
lastError: string().optional(),
|
|
12399
12562
|
crashesInWindow: number(),
|
|
12400
12563
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12405,7 +12568,14 @@ var LlmNodeModelSchema = object({
|
|
|
12405
12568
|
file: string(),
|
|
12406
12569
|
sizeBytes: number(),
|
|
12407
12570
|
catalogId: string().optional(),
|
|
12408
|
-
installedAt: number().optional()
|
|
12571
|
+
installedAt: number().optional(),
|
|
12572
|
+
/**
|
|
12573
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12574
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12575
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12576
|
+
* it the picker could list such a file and do nothing with it.
|
|
12577
|
+
*/
|
|
12578
|
+
path: string().optional()
|
|
12409
12579
|
});
|
|
12410
12580
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12411
12581
|
nodeId: string(),
|
|
@@ -12461,10 +12631,47 @@ var LlmProfileSchema = object({
|
|
|
12461
12631
|
baseUrl: string().optional(),
|
|
12462
12632
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12463
12633
|
apiKey: string().optional(),
|
|
12634
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12635
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12636
|
+
* question about a picture nobody sent. */
|
|
12464
12637
|
supportsVision: boolean(),
|
|
12465
12638
|
temperature: number().min(0).max(2).optional(),
|
|
12639
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12640
|
+
topP: number().min(0).max(1).optional(),
|
|
12641
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12642
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12643
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12644
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12645
|
+
topK: number().int().positive().optional(),
|
|
12466
12646
|
maxTokens: number().int().positive().optional(),
|
|
12647
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12648
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12649
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12650
|
+
contextLength: number().int().positive().optional(),
|
|
12651
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12652
|
+
* two system prompts fighting is worse than either alone). */
|
|
12653
|
+
systemPrompt: string().optional(),
|
|
12654
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12467
12655
|
timeoutMs: number().int().positive().default(6e4),
|
|
12656
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12657
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12658
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12659
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12660
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12661
|
+
* GPU load is exactly what happens before them. */
|
|
12662
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12663
|
+
/** Output started then stopped. */
|
|
12664
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12665
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12666
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12667
|
+
retry: LlmRetryPolicySchema.default({
|
|
12668
|
+
enabled: false,
|
|
12669
|
+
maxAttempts: 1
|
|
12670
|
+
}),
|
|
12671
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12672
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12673
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12674
|
+
toolsEnabled: boolean().default(false),
|
|
12468
12675
|
extraHeaders: record(string(), string()).optional(),
|
|
12469
12676
|
/** kind === 'managed-local' only (spec §4). */
|
|
12470
12677
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12514,6 +12721,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12514
12721
|
/** Vision models: companion projector file. */
|
|
12515
12722
|
mmprojUrl: string().optional()
|
|
12516
12723
|
});
|
|
12724
|
+
/**
|
|
12725
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12726
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12727
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12728
|
+
* exception.
|
|
12729
|
+
*
|
|
12730
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12731
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12732
|
+
*/
|
|
12733
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12734
|
+
ok: literal(true),
|
|
12735
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12736
|
+
model: ManagedModelRefSchema,
|
|
12737
|
+
label: string(),
|
|
12738
|
+
repo: string(),
|
|
12739
|
+
quantization: string(),
|
|
12740
|
+
purpose: _enum(["text", "vision"]),
|
|
12741
|
+
totalBytes: number(),
|
|
12742
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12743
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12744
|
+
extraFilenames: array(string())
|
|
12745
|
+
}), object({
|
|
12746
|
+
ok: literal(false),
|
|
12747
|
+
code: string(),
|
|
12748
|
+
message: string(),
|
|
12749
|
+
candidates: array(string()).optional(),
|
|
12750
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12751
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12752
|
+
requiredBytes: number().optional()
|
|
12753
|
+
})]);
|
|
12517
12754
|
var LlmRuntimeNodeSchema = object({
|
|
12518
12755
|
nodeId: string(),
|
|
12519
12756
|
reachable: boolean(),
|
|
@@ -12526,7 +12763,10 @@ var ProfileRefInputSchema = object({
|
|
|
12526
12763
|
addonId: string(),
|
|
12527
12764
|
profileId: string()
|
|
12528
12765
|
});
|
|
12529
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12766
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12767
|
+
addonId: string().optional(),
|
|
12768
|
+
requestId: string()
|
|
12769
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12530
12770
|
kind: "mutation",
|
|
12531
12771
|
auth: "admin"
|
|
12532
12772
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12547,6 +12787,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12547
12787
|
consumer: string().optional(),
|
|
12548
12788
|
profileId: string().optional()
|
|
12549
12789
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12790
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12791
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12792
|
+
ref: string(),
|
|
12793
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12794
|
+
maxBytes: number().positive().optional()
|
|
12795
|
+
}), HfModelResolutionSchema, {
|
|
12796
|
+
kind: "mutation",
|
|
12797
|
+
auth: "admin"
|
|
12798
|
+
}), method(object({
|
|
12550
12799
|
nodeId: string(),
|
|
12551
12800
|
model: ManagedModelRefSchema
|
|
12552
12801
|
}), _void(), {
|
|
@@ -14162,6 +14411,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14162
14411
|
"stream-offline",
|
|
14163
14412
|
"node-online",
|
|
14164
14413
|
"node-offline",
|
|
14414
|
+
"node-inference-unavailable",
|
|
14415
|
+
"detection-blind",
|
|
14165
14416
|
"addon-update-available",
|
|
14166
14417
|
"server-update-available",
|
|
14167
14418
|
"alarm-triggered",
|
|
@@ -14223,7 +14474,16 @@ var NcScheduleSchema = object({
|
|
|
14223
14474
|
});
|
|
14224
14475
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14225
14476
|
var NcPlateMatcherSchema = object({
|
|
14226
|
-
|
|
14477
|
+
/**
|
|
14478
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14479
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14480
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14481
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14482
|
+
*
|
|
14483
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14484
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14485
|
+
*/
|
|
14486
|
+
values: array(string().min(1)),
|
|
14227
14487
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14228
14488
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14229
14489
|
});
|
|
@@ -14257,28 +14517,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14257
14517
|
/**
|
|
14258
14518
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14259
14519
|
*
|
|
14260
|
-
*
|
|
14261
|
-
*
|
|
14262
|
-
*
|
|
14263
|
-
*
|
|
14264
|
-
*
|
|
14265
|
-
*
|
|
14266
|
-
*
|
|
14267
|
-
*
|
|
14268
|
-
*
|
|
14269
|
-
*
|
|
14270
|
-
*
|
|
14271
|
-
*
|
|
14272
|
-
*
|
|
14273
|
-
*
|
|
14274
|
-
*
|
|
14275
|
-
*
|
|
14276
|
-
*
|
|
14277
|
-
*
|
|
14278
|
-
*
|
|
14279
|
-
*
|
|
14280
|
-
*
|
|
14281
|
-
* `
|
|
14520
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14521
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14522
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14523
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14524
|
+
*
|
|
14525
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14526
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14527
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14528
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14529
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14530
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14531
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14532
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14533
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14534
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14535
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14536
|
+
* seconds is 100% of nothing.
|
|
14537
|
+
*
|
|
14538
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14539
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14540
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14541
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14542
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14543
|
+
* the wrong question to ask of a sparse classifier.
|
|
14544
|
+
*
|
|
14545
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14546
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14547
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14548
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14549
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14282
14550
|
*
|
|
14283
14551
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14284
14552
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14286,13 +14554,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14286
14554
|
* an operator who typed `dog` mean the same thing.
|
|
14287
14555
|
*/
|
|
14288
14556
|
var NcAudioConditionSchema = object({
|
|
14289
|
-
/**
|
|
14557
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14290
14558
|
labels: array(string().min(1)).min(1).optional(),
|
|
14291
|
-
/**
|
|
14559
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14292
14560
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14293
|
-
/**
|
|
14561
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14294
14562
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14295
|
-
/**
|
|
14563
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14296
14564
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14297
14565
|
});
|
|
14298
14566
|
/**
|
|
@@ -14430,13 +14698,81 @@ var NcRuleActionsSchema = object({
|
|
|
14430
14698
|
*/
|
|
14431
14699
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14432
14700
|
});
|
|
14701
|
+
/**
|
|
14702
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14703
|
+
*
|
|
14704
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14705
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14706
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14707
|
+
*
|
|
14708
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14709
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14710
|
+
*/
|
|
14711
|
+
var NcDeviceStateConditionSchema = object({
|
|
14712
|
+
deviceId: number().int(),
|
|
14713
|
+
/** Any of these matches. */
|
|
14714
|
+
states: array(string().min(1)).min(1)
|
|
14715
|
+
});
|
|
14716
|
+
/**
|
|
14717
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14718
|
+
*
|
|
14719
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14720
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14721
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14722
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14723
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14724
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14725
|
+
* kind exist for it — see D159.
|
|
14726
|
+
*
|
|
14727
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14728
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14729
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14730
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14731
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14732
|
+
*
|
|
14733
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14734
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14735
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14736
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14737
|
+
* override one rule against the scene's own default.
|
|
14738
|
+
*
|
|
14739
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14740
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14741
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14742
|
+
* evidence, in either direction.
|
|
14743
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14744
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14745
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14746
|
+
* reason the operator asked for a latch.
|
|
14747
|
+
*
|
|
14748
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14749
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14750
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14751
|
+
* said out loud in the log rather than dropped in silence.
|
|
14752
|
+
*/
|
|
14753
|
+
var NcSceneConditionSchema = object({
|
|
14754
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14755
|
+
sceneId: string().min(1),
|
|
14756
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14757
|
+
deviceId: number().int().optional(),
|
|
14758
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14759
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14760
|
+
/**
|
|
14761
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14762
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14763
|
+
*/
|
|
14764
|
+
latched: boolean().optional()
|
|
14765
|
+
});
|
|
14433
14766
|
var NcConditionsSchema = object({
|
|
14434
14767
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14435
|
-
deviceState:
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14768
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14769
|
+
/**
|
|
14770
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14771
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14772
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14773
|
+
* {@link NcSceneCondition} and D159.
|
|
14774
|
+
*/
|
|
14775
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14440
14776
|
/** Device scope — absent = all devices. */
|
|
14441
14777
|
devices: array(number()).optional(),
|
|
14442
14778
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14462,18 +14798,47 @@ var NcConditionsSchema = object({
|
|
|
14462
14798
|
*/
|
|
14463
14799
|
labelEquals: array(string().min(1)).optional(),
|
|
14464
14800
|
/**
|
|
14465
|
-
*
|
|
14466
|
-
*
|
|
14467
|
-
*
|
|
14801
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14802
|
+
* is about recognised people at all.
|
|
14803
|
+
*
|
|
14804
|
+
* Three states, and the empty one is the point:
|
|
14805
|
+
*
|
|
14806
|
+
* | value | meaning |
|
|
14807
|
+
* | --- | --- |
|
|
14808
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14809
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14810
|
+
* | a list | only these identities |
|
|
14811
|
+
*
|
|
14812
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14813
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14814
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14815
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14816
|
+
* with the list under it is worse than no switch (D62).
|
|
14817
|
+
*
|
|
14818
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14819
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14820
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14821
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14822
|
+
* `{{label}}` renders.
|
|
14823
|
+
*
|
|
14824
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14825
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14826
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14827
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14828
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14468
14829
|
*/
|
|
14469
14830
|
identities: array(string().min(1)).optional(),
|
|
14470
|
-
/**
|
|
14831
|
+
/**
|
|
14832
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14833
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14834
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14835
|
+
*/
|
|
14471
14836
|
plates: NcPlateMatcherSchema.optional(),
|
|
14472
14837
|
/**
|
|
14473
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14474
|
-
*
|
|
14475
|
-
* identity
|
|
14476
|
-
*
|
|
14838
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14839
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14840
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14841
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14477
14842
|
*/
|
|
14478
14843
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14479
14844
|
/**
|
|
@@ -14865,7 +15230,80 @@ var NcRuleInputSchema = object({
|
|
|
14865
15230
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14866
15231
|
* did, and absent is the only way to say that without a migration.
|
|
14867
15232
|
*/
|
|
14868
|
-
confirm: NcConfirmSchema.optional()
|
|
15233
|
+
confirm: NcConfirmSchema.optional(),
|
|
15234
|
+
/**
|
|
15235
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15236
|
+
*
|
|
15237
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15238
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15239
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15240
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15241
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15242
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15243
|
+
*
|
|
15244
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15245
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15246
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15247
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15248
|
+
*
|
|
15249
|
+
* | value | what happens |
|
|
15250
|
+
* | --- | --- |
|
|
15251
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15252
|
+
* | 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) |
|
|
15253
|
+
*
|
|
15254
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15255
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15256
|
+
* rule authored before this field meant.
|
|
15257
|
+
*
|
|
15258
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15259
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15260
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15261
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15262
|
+
*/
|
|
15263
|
+
waitForEnhancement: boolean().optional(),
|
|
15264
|
+
/**
|
|
15265
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15266
|
+
*
|
|
15267
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15268
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15269
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15270
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15271
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15272
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15273
|
+
*
|
|
15274
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15275
|
+
*
|
|
15276
|
+
* ### Why an idle cutoff and not a window
|
|
15277
|
+
*
|
|
15278
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15279
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15280
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15281
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15282
|
+
*
|
|
15283
|
+
* ### What it replaces
|
|
15284
|
+
*
|
|
15285
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15286
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15287
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15288
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15289
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15290
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15291
|
+
* throttled by the window its own first member spent.
|
|
15292
|
+
*
|
|
15293
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15294
|
+
*
|
|
15295
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15296
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15297
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15298
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15299
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15300
|
+
* path. Neither combination fires twice for one subject.
|
|
15301
|
+
*
|
|
15302
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15303
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15304
|
+
* field existed.
|
|
15305
|
+
*/
|
|
15306
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14869
15307
|
});
|
|
14870
15308
|
/**
|
|
14871
15309
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -14972,6 +15410,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
14972
15410
|
"occupancy",
|
|
14973
15411
|
"audio",
|
|
14974
15412
|
"deviceState",
|
|
15413
|
+
"scene",
|
|
14975
15414
|
"systemEvent"
|
|
14976
15415
|
]),
|
|
14977
15416
|
operator: _enum([
|
|
@@ -15377,7 +15816,87 @@ var MethodAccessSchema = _enum([
|
|
|
15377
15816
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15378
15817
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15379
15818
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15380
|
-
|
|
15819
|
+
/**
|
|
15820
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15821
|
+
*
|
|
15822
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15823
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15824
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15825
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15826
|
+
*
|
|
15827
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15828
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15829
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15830
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15831
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15832
|
+
* is NOT covered until the grant is edited.
|
|
15833
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15834
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15835
|
+
* re-resolves on the next request.
|
|
15836
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15837
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15838
|
+
* null/unset location matches NO `locations` selector.
|
|
15839
|
+
*/
|
|
15840
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15841
|
+
object({ kind: literal("all") }),
|
|
15842
|
+
object({
|
|
15843
|
+
kind: literal("ids"),
|
|
15844
|
+
ids: array(number().int()).min(1)
|
|
15845
|
+
}),
|
|
15846
|
+
object({
|
|
15847
|
+
kind: literal("types"),
|
|
15848
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15849
|
+
}),
|
|
15850
|
+
object({
|
|
15851
|
+
kind: literal("locations"),
|
|
15852
|
+
locations: array(string().min(1)).min(1)
|
|
15853
|
+
})
|
|
15854
|
+
]);
|
|
15855
|
+
var DeviceTokenScopeSchema = object({
|
|
15856
|
+
type: literal("device"),
|
|
15857
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15858
|
+
selector: DeviceSelectorSchema,
|
|
15859
|
+
access: array(MethodAccessSchema).min(1),
|
|
15860
|
+
/**
|
|
15861
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15862
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15863
|
+
* Direction is parent → children ONLY.
|
|
15864
|
+
*
|
|
15865
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15866
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15867
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15868
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15869
|
+
* explicitly to override that default per grant.
|
|
15870
|
+
*/
|
|
15871
|
+
includeLinked: boolean().optional()
|
|
15872
|
+
});
|
|
15873
|
+
/**
|
|
15874
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15875
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15876
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15877
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15878
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15879
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15880
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15881
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15882
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15883
|
+
*/
|
|
15884
|
+
function migrateLegacyTokenScope(raw) {
|
|
15885
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15886
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15887
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15888
|
+
const targets = Reflect.get(raw, "targets");
|
|
15889
|
+
if (!Array.isArray(targets)) return raw;
|
|
15890
|
+
return {
|
|
15891
|
+
type: "device",
|
|
15892
|
+
selector: {
|
|
15893
|
+
kind: "ids",
|
|
15894
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15895
|
+
},
|
|
15896
|
+
access: Reflect.get(raw, "access")
|
|
15897
|
+
};
|
|
15898
|
+
}
|
|
15899
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15381
15900
|
object({
|
|
15382
15901
|
type: literal("category"),
|
|
15383
15902
|
target: CapScopeSchema,
|
|
@@ -15393,18 +15912,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15393
15912
|
target: string(),
|
|
15394
15913
|
access: array(MethodAccessSchema).min(1)
|
|
15395
15914
|
}),
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
/**
|
|
15399
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15400
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15401
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15402
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15403
|
-
*/
|
|
15404
|
-
targets: array(string()).min(1),
|
|
15405
|
-
access: array(MethodAccessSchema).min(1)
|
|
15406
|
-
})
|
|
15407
|
-
]);
|
|
15915
|
+
DeviceTokenScopeSchema
|
|
15916
|
+
]));
|
|
15408
15917
|
object({
|
|
15409
15918
|
id: string(),
|
|
15410
15919
|
username: string(),
|
|
@@ -15721,7 +16230,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15721
16230
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15722
16231
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15723
16232
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15724
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16233
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15725
16234
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15726
16235
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15727
16236
|
* (`getObjectEvents` et al.).
|
|
@@ -15857,7 +16366,21 @@ union([literal(1), literal(2)]);
|
|
|
15857
16366
|
var LabelAttributionSchema = object({
|
|
15858
16367
|
stepId: string(),
|
|
15859
16368
|
modelId: string().optional(),
|
|
15860
|
-
decidedAt: number()
|
|
16369
|
+
decidedAt: number(),
|
|
16370
|
+
/**
|
|
16371
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16372
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16373
|
+
*
|
|
16374
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16375
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16376
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16377
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16378
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16379
|
+
*
|
|
16380
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16381
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16382
|
+
*/
|
|
16383
|
+
identityId: string().optional()
|
|
15861
16384
|
});
|
|
15862
16385
|
/**
|
|
15863
16386
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15994,6 +16517,28 @@ var TrackSchema = object({
|
|
|
15994
16517
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15995
16518
|
*/
|
|
15996
16519
|
hasFace: boolean().optional(),
|
|
16520
|
+
/**
|
|
16521
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16522
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16523
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16524
|
+
*
|
|
16525
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16526
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16527
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16528
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16529
|
+
* stop. This is the composition note that makes the row true.
|
|
16530
|
+
*
|
|
16531
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16532
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16533
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16534
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16535
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16536
|
+
*
|
|
16537
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16538
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16539
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16540
|
+
*/
|
|
16541
|
+
hasRider: boolean().optional(),
|
|
15997
16542
|
...TrackFlagFields,
|
|
15998
16543
|
...TrackRetrainFields
|
|
15999
16544
|
});
|
|
@@ -16343,7 +16888,10 @@ var RecentTracksQueryInput = object({
|
|
|
16343
16888
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16344
16889
|
cursor: string().optional(),
|
|
16345
16890
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16346
|
-
projection: TrackProjectionSchema.optional()
|
|
16891
|
+
projection: TrackProjectionSchema.optional(),
|
|
16892
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
16893
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
16894
|
+
includeStationary: boolean().optional()
|
|
16347
16895
|
});
|
|
16348
16896
|
var RecentTracksPageSchema = object({
|
|
16349
16897
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16561,7 +17109,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16561
17109
|
zone: TrackZoneFilterSchema.optional(),
|
|
16562
17110
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16563
17111
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16564
|
-
projection: TrackProjectionSchema.optional()
|
|
17112
|
+
projection: TrackProjectionSchema.optional(),
|
|
17113
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17114
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17115
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17116
|
+
includeStationary: boolean().optional()
|
|
16565
17117
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16566
17118
|
kind: "mutation",
|
|
16567
17119
|
auth: "admin"
|
|
@@ -16725,11 +17277,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16725
17277
|
auth: "admin"
|
|
16726
17278
|
}), method(object({
|
|
16727
17279
|
eventId: string(),
|
|
16728
|
-
kind: MediaFileKindEnum.optional()
|
|
17280
|
+
kind: MediaFileKindEnum.optional(),
|
|
17281
|
+
deviceId: number()
|
|
16729
17282
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16730
17283
|
trackId: string(),
|
|
16731
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16732
|
-
|
|
17284
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17285
|
+
deviceId: number()
|
|
17286
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17287
|
+
trackId: string(),
|
|
17288
|
+
deviceId: number()
|
|
17289
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16733
17290
|
kind: "mutation",
|
|
16734
17291
|
auth: "admin"
|
|
16735
17292
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17389,6 +17946,17 @@ var maxSessionHoldMsField = {
|
|
|
17389
17946
|
default: 12e4,
|
|
17390
17947
|
step: 5e3
|
|
17391
17948
|
};
|
|
17949
|
+
/**
|
|
17950
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
17951
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
17952
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
17953
|
+
*/
|
|
17954
|
+
var audioMotionWindowMsField = {
|
|
17955
|
+
min: 5e3,
|
|
17956
|
+
max: 6e5,
|
|
17957
|
+
default: 9e4,
|
|
17958
|
+
step: 5e3
|
|
17959
|
+
};
|
|
17392
17960
|
var motionFpsField = {
|
|
17393
17961
|
min: 1,
|
|
17394
17962
|
max: 30,
|
|
@@ -17420,7 +17988,7 @@ var detectionFpsField = {
|
|
|
17420
17988
|
var occupancyRecheckSecField = {
|
|
17421
17989
|
min: 0,
|
|
17422
17990
|
max: 300,
|
|
17423
|
-
default:
|
|
17991
|
+
default: 300,
|
|
17424
17992
|
step: 5
|
|
17425
17993
|
};
|
|
17426
17994
|
var occupancyRecheckFramesField = {
|
|
@@ -17565,6 +18133,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17565
18133
|
* resolved `CameraDetectionConfig`.
|
|
17566
18134
|
*/
|
|
17567
18135
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18136
|
+
/**
|
|
18137
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18138
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18139
|
+
*
|
|
18140
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18141
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18142
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18143
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18144
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18145
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18146
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18147
|
+
*
|
|
18148
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18149
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18150
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18151
|
+
*
|
|
18152
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18153
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18154
|
+
* `maxSessionHoldMs`.
|
|
18155
|
+
*/
|
|
18156
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17568
18157
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17569
18158
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17570
18159
|
motionStreamId: string(),
|
|
@@ -17660,7 +18249,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17660
18249
|
*/
|
|
17661
18250
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17662
18251
|
});
|
|
17663
|
-
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;
|
|
18252
|
+
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;
|
|
17664
18253
|
/**
|
|
17665
18254
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17666
18255
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18646,7 +19235,31 @@ DeviceType.Camera, method(object({
|
|
|
18646
19235
|
lastCapturedAt: number().nullable(),
|
|
18647
19236
|
cacheAgeMs: number().nullable(),
|
|
18648
19237
|
etag: string().nullable()
|
|
18649
|
-
}))), systemMethod(object({
|
|
19238
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19239
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19240
|
+
battery: object({
|
|
19241
|
+
sleeping: boolean(),
|
|
19242
|
+
lastUpdated: number(),
|
|
19243
|
+
lastContactAt: number().optional()
|
|
19244
|
+
}).nullable(),
|
|
19245
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19246
|
+
state: object({
|
|
19247
|
+
isBattery: boolean(),
|
|
19248
|
+
reason: _enum([
|
|
19249
|
+
"disabled",
|
|
19250
|
+
"sleeping",
|
|
19251
|
+
"unreachable",
|
|
19252
|
+
"waking"
|
|
19253
|
+
]).nullable()
|
|
19254
|
+
}),
|
|
19255
|
+
/** The cached frame behind the next paint. */
|
|
19256
|
+
frame: object({
|
|
19257
|
+
capturedAt: number().nullable(),
|
|
19258
|
+
ageMs: number().nullable()
|
|
19259
|
+
}),
|
|
19260
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19261
|
+
waking: boolean()
|
|
19262
|
+
})), systemMethod(object({
|
|
18650
19263
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
18651
19264
|
* width) the caller will paint — the width is snapped to the server's
|
|
18652
19265
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -18676,7 +19289,16 @@ targets: array(object({
|
|
|
18676
19289
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18677
19290
|
* NOT refresh in the background. A surface should say so rather than
|
|
18678
19291
|
* present it as current. */
|
|
18679
|
-
sleeping: boolean()
|
|
19292
|
+
sleeping: boolean(),
|
|
19293
|
+
/** Current device state rendered over the cached frame. State images
|
|
19294
|
+
* remain authoritative even when their photographic background is
|
|
19295
|
+
* old; null means the link must carry a current camera frame. */
|
|
19296
|
+
stateReason: _enum([
|
|
19297
|
+
"disabled",
|
|
19298
|
+
"sleeping",
|
|
19299
|
+
"unreachable",
|
|
19300
|
+
"waking"
|
|
19301
|
+
]).nullable()
|
|
18680
19302
|
})));
|
|
18681
19303
|
/**
|
|
18682
19304
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20198,6 +20820,25 @@ var BatteryStatusSchema = object({
|
|
|
20198
20820
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20199
20821
|
lastUpdated: number(),
|
|
20200
20822
|
/**
|
|
20823
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
20824
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
20825
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
20826
|
+
*
|
|
20827
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
20828
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
20829
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
20830
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
20831
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
20832
|
+
*
|
|
20833
|
+
* It is deliberately NOT a clock in the
|
|
20834
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
20835
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
20836
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
20837
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
20838
|
+
* SQLite commit per round-trip.
|
|
20839
|
+
*/
|
|
20840
|
+
lastContactAt: number().optional(),
|
|
20841
|
+
/**
|
|
20201
20842
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20202
20843
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20203
20844
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -23735,7 +24376,7 @@ method(object({
|
|
|
23735
24376
|
toMs: number()
|
|
23736
24377
|
}), RecordingAvailabilitySchema, {
|
|
23737
24378
|
kind: "query",
|
|
23738
|
-
auth: "
|
|
24379
|
+
auth: "protected"
|
|
23739
24380
|
}), method(object({
|
|
23740
24381
|
deviceId: number(),
|
|
23741
24382
|
fromMs: number(),
|
|
@@ -23743,14 +24384,14 @@ method(object({
|
|
|
23743
24384
|
tzOffsetMinutes: number()
|
|
23744
24385
|
}), RecordingDaysSchema, {
|
|
23745
24386
|
kind: "query",
|
|
23746
|
-
auth: "
|
|
24387
|
+
auth: "protected"
|
|
23747
24388
|
}), method(object({
|
|
23748
24389
|
deviceId: number(),
|
|
23749
24390
|
fromMs: number(),
|
|
23750
24391
|
toMs: number()
|
|
23751
24392
|
}), RecordingManifestSchema, {
|
|
23752
24393
|
kind: "query",
|
|
23753
|
-
auth: "
|
|
24394
|
+
auth: "protected"
|
|
23754
24395
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23755
24396
|
kind: "query",
|
|
23756
24397
|
auth: "admin"
|
|
@@ -24040,14 +24681,77 @@ method(object({
|
|
|
24040
24681
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
24041
24682
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
24042
24683
|
*
|
|
24043
|
-
*
|
|
24044
|
-
*
|
|
24045
|
-
*
|
|
24046
|
-
*
|
|
24047
|
-
|
|
24048
|
-
|
|
24049
|
-
*
|
|
24684
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24685
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24686
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24687
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24688
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24689
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24690
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24691
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24692
|
+
*
|
|
24693
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24694
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24695
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24696
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24697
|
+
*
|
|
24698
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24699
|
+
* availability change; consumers never poll.
|
|
24700
|
+
*/
|
|
24701
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24702
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24703
|
+
* Open by design so more can be added without a wire break.
|
|
24704
|
+
*
|
|
24705
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24706
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24707
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24708
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
24050
24709
|
var SceneConditionSchema = string();
|
|
24710
|
+
/**
|
|
24711
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
24712
|
+
*
|
|
24713
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
24714
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
24715
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
24716
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
24717
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
24718
|
+
* working without it rather than degrading into a permanent complaint.
|
|
24719
|
+
*
|
|
24720
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
24721
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
24722
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
24723
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
24724
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
24725
|
+
* configuration choice instead of a nightly fault.
|
|
24726
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
24727
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
24728
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
24729
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
24730
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
24731
|
+
*
|
|
24732
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
24733
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
24734
|
+
* there would hide a scene the operator never finished setting up.
|
|
24735
|
+
*/
|
|
24736
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
24737
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24738
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24739
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24740
|
+
* and never counts toward hysteresis in either direction. */
|
|
24741
|
+
var SceneVerdictSchema = _enum([
|
|
24742
|
+
"matched",
|
|
24743
|
+
"diverged",
|
|
24744
|
+
"unknown"
|
|
24745
|
+
]);
|
|
24746
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24747
|
+
* silence that reads as "nothing has happened". */
|
|
24748
|
+
var SceneUnavailableSchema = _enum([
|
|
24749
|
+
"no-reference-for-condition",
|
|
24750
|
+
"view-shifted",
|
|
24751
|
+
"no-vision-profile",
|
|
24752
|
+
"encoder-model-changed",
|
|
24753
|
+
"no-snapshot"
|
|
24754
|
+
]);
|
|
24051
24755
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
24052
24756
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
24053
24757
|
var SceneReferenceSchema = object({
|
|
@@ -24055,7 +24759,14 @@ var SceneReferenceSchema = object({
|
|
|
24055
24759
|
modelId: string(),
|
|
24056
24760
|
condition: SceneConditionSchema,
|
|
24057
24761
|
capturedAt: number(),
|
|
24058
|
-
thumbnailMediaId: string().optional()
|
|
24762
|
+
thumbnailMediaId: string().optional(),
|
|
24763
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24764
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24765
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24766
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24767
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24768
|
+
* transition, not per poll. */
|
|
24769
|
+
anchorEmbedding: array(number()).optional()
|
|
24059
24770
|
});
|
|
24060
24771
|
var SceneMonitorStateSchema = object({
|
|
24061
24772
|
id: string(),
|
|
@@ -24077,6 +24788,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
24077
24788
|
profileId: string().optional(),
|
|
24078
24789
|
hysteresisCount: number().int().positive()
|
|
24079
24790
|
})]);
|
|
24791
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24792
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
24793
|
+
* out in silence rather than reporting a fault every night. */
|
|
24794
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
24795
|
+
/**
|
|
24796
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24797
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24798
|
+
*
|
|
24799
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24800
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24801
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24802
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24803
|
+
*/
|
|
24804
|
+
var SceneConfirmSchema = object({
|
|
24805
|
+
enabled: boolean().default(false),
|
|
24806
|
+
prompt: string().min(1).max(1e3),
|
|
24807
|
+
profileId: string().optional(),
|
|
24808
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24809
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24810
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24811
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24812
|
+
});
|
|
24080
24813
|
var SceneMonitorSchema = object({
|
|
24081
24814
|
id: string(),
|
|
24082
24815
|
label: string(),
|
|
@@ -24095,7 +24828,56 @@ var SceneMonitorSchema = object({
|
|
|
24095
24828
|
lastConfidence: number().nullable(),
|
|
24096
24829
|
currentCondition: SceneConditionSchema.nullable(),
|
|
24097
24830
|
availability: _enum(["ok", "unavailable"]),
|
|
24098
|
-
unavailableReason: string().nullable()
|
|
24831
|
+
unavailableReason: string().nullable(),
|
|
24832
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24833
|
+
baselineStateId: string().nullable(),
|
|
24834
|
+
/** Which boolean drives notification rules and any export. */
|
|
24835
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24836
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24837
|
+
verdict: SceneVerdictSchema,
|
|
24838
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24839
|
+
latched: boolean(),
|
|
24840
|
+
/** Last reset (or creation). */
|
|
24841
|
+
armedAt: number(),
|
|
24842
|
+
divergedAt: number().nullable(),
|
|
24843
|
+
restoredAt: number().nullable(),
|
|
24844
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24845
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24846
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24847
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24848
|
+
/** An observation only advances the pending count when it is at least this
|
|
24849
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24850
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24851
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24852
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24853
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24854
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24855
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24856
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24857
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24858
|
+
* automation can react to the bin coming back without the operator's own
|
|
24859
|
+
* alarm silently clearing itself. */
|
|
24860
|
+
autoRestore: boolean().default(false),
|
|
24861
|
+
/** What to do when the current light has no reference of its own. See
|
|
24862
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
24863
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
24864
|
+
/**
|
|
24865
|
+
* The light whose checks are currently being SAT OUT under
|
|
24866
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
24867
|
+
*
|
|
24868
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
24869
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
24870
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
24871
|
+
* line, because the alternative is a scene that silently stops answering
|
|
24872
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
24873
|
+
* read as a broken one.
|
|
24874
|
+
*/
|
|
24875
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
24876
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24877
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24878
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24879
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24880
|
+
coveredConditions: array(SceneConditionSchema)
|
|
24099
24881
|
});
|
|
24100
24882
|
var SceneMonitorStatusSchema = object({
|
|
24101
24883
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24128,7 +24910,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24128
24910
|
"both"
|
|
24129
24911
|
]).optional(),
|
|
24130
24912
|
checkIntervalSec: number().optional(),
|
|
24131
|
-
check: SceneCheckSchema.optional()
|
|
24913
|
+
check: SceneCheckSchema.optional(),
|
|
24914
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24915
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24916
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24917
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24918
|
+
autoRestore: boolean().optional(),
|
|
24919
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
24920
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24921
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24132
24922
|
})
|
|
24133
24923
|
}), _void(), {
|
|
24134
24924
|
kind: "mutation",
|
|
@@ -24165,6 +24955,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24165
24955
|
}), _void(), {
|
|
24166
24956
|
kind: "mutation",
|
|
24167
24957
|
auth: "admin"
|
|
24958
|
+
}), method(object({
|
|
24959
|
+
deviceId: number(),
|
|
24960
|
+
monitorId: string(),
|
|
24961
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24962
|
+
recapture: boolean().optional()
|
|
24963
|
+
}), _void(), {
|
|
24964
|
+
kind: "mutation",
|
|
24965
|
+
auth: "admin"
|
|
24168
24966
|
});
|
|
24169
24967
|
/**
|
|
24170
24968
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24318,6 +25116,16 @@ var CamStreamDescriptorSchema = object({
|
|
|
24318
25116
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
24319
25117
|
metadata: record(string(), unknown()).optional()
|
|
24320
25118
|
});
|
|
25119
|
+
object({
|
|
25120
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
25121
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
25122
|
+
* one the camera itself once produced. */
|
|
25123
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
25124
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
25125
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
25126
|
+
* re-read. */
|
|
25127
|
+
lastFetchedAt: number()
|
|
25128
|
+
});
|
|
24321
25129
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly());
|
|
24322
25130
|
/** One of the camera's stream profiles. */
|
|
24323
25131
|
var StreamProfileSchema = _enum([
|
|
@@ -24473,12 +25281,64 @@ var NetworkAddressSchema = object({
|
|
|
24473
25281
|
family: string(),
|
|
24474
25282
|
internal: boolean()
|
|
24475
25283
|
});
|
|
25284
|
+
/**
|
|
25285
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
25286
|
+
* numbers.
|
|
25287
|
+
*
|
|
25288
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
25289
|
+
* nothing overwrites it.
|
|
25290
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
25291
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
25292
|
+
* the sun-times consumers otherwise fall back to.
|
|
25293
|
+
*
|
|
25294
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
25295
|
+
* own input will eventually trust the guess.
|
|
25296
|
+
*/
|
|
25297
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
25298
|
+
/**
|
|
25299
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
25300
|
+
*
|
|
25301
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
25302
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
25303
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
25304
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
25305
|
+
* coordinates or presses detect.
|
|
25306
|
+
*/
|
|
25307
|
+
var SiteLocationStatusSchema = object({
|
|
25308
|
+
location: object({
|
|
25309
|
+
/** WGS84 decimal degrees. */
|
|
25310
|
+
latitude: number().min(-90).max(90),
|
|
25311
|
+
longitude: number().min(-180).max(180),
|
|
25312
|
+
source: SiteLocationSourceSchema,
|
|
25313
|
+
/** Epoch ms the value was last written. */
|
|
25314
|
+
updatedAt: number(),
|
|
25315
|
+
/**
|
|
25316
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25317
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25318
|
+
*/
|
|
25319
|
+
label: string().optional()
|
|
25320
|
+
}).nullable(),
|
|
25321
|
+
derivationAttemptedAt: number().nullable(),
|
|
25322
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25323
|
+
derivationError: string().nullable()
|
|
25324
|
+
});
|
|
25325
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25326
|
+
var SetSiteLocationInputSchema = object({
|
|
25327
|
+
latitude: number().min(-90).max(90),
|
|
25328
|
+
longitude: number().min(-180).max(180)
|
|
25329
|
+
}).nullable();
|
|
24476
25330
|
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(), {
|
|
24477
25331
|
kind: "mutation",
|
|
24478
25332
|
auth: "admin"
|
|
24479
25333
|
}), method(_void(), _void(), {
|
|
24480
25334
|
kind: "mutation",
|
|
24481
25335
|
auth: "admin"
|
|
25336
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25337
|
+
kind: "mutation",
|
|
25338
|
+
auth: "admin"
|
|
25339
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25340
|
+
kind: "mutation",
|
|
25341
|
+
auth: "admin"
|
|
24482
25342
|
});
|
|
24483
25343
|
object({
|
|
24484
25344
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27208,6 +28068,12 @@ Object.freeze({
|
|
|
27208
28068
|
addonId: null,
|
|
27209
28069
|
access: "create"
|
|
27210
28070
|
},
|
|
28071
|
+
"llm.cancel": {
|
|
28072
|
+
capName: "llm",
|
|
28073
|
+
capScope: "system",
|
|
28074
|
+
addonId: null,
|
|
28075
|
+
access: "create"
|
|
28076
|
+
},
|
|
27211
28077
|
"llm.deleteModel": {
|
|
27212
28078
|
capName: "llm",
|
|
27213
28079
|
capScope: "system",
|
|
@@ -27292,6 +28158,12 @@ Object.freeze({
|
|
|
27292
28158
|
addonId: null,
|
|
27293
28159
|
access: "view"
|
|
27294
28160
|
},
|
|
28161
|
+
"llm.resolveModelRef": {
|
|
28162
|
+
capName: "llm",
|
|
28163
|
+
capScope: "system",
|
|
28164
|
+
addonId: null,
|
|
28165
|
+
access: "create"
|
|
28166
|
+
},
|
|
27295
28167
|
"llm.setDefault": {
|
|
27296
28168
|
capName: "llm",
|
|
27297
28169
|
capScope: "system",
|
|
@@ -29458,6 +30330,12 @@ Object.freeze({
|
|
|
29458
30330
|
addonId: null,
|
|
29459
30331
|
access: "create"
|
|
29460
30332
|
},
|
|
30333
|
+
"sceneMonitor.resetScene": {
|
|
30334
|
+
capName: "scene-monitor",
|
|
30335
|
+
capScope: "device",
|
|
30336
|
+
addonId: null,
|
|
30337
|
+
access: "delete"
|
|
30338
|
+
},
|
|
29461
30339
|
"sceneMonitor.updateScene": {
|
|
29462
30340
|
capName: "scene-monitor",
|
|
29463
30341
|
capScope: "device",
|
|
@@ -29596,6 +30474,12 @@ Object.freeze({
|
|
|
29596
30474
|
addonId: null,
|
|
29597
30475
|
access: "view"
|
|
29598
30476
|
},
|
|
30477
|
+
"snapshot.getDebugState": {
|
|
30478
|
+
capName: "snapshot",
|
|
30479
|
+
capScope: "device",
|
|
30480
|
+
addonId: null,
|
|
30481
|
+
access: "view"
|
|
30482
|
+
},
|
|
29599
30483
|
"snapshot.getSnapshot": {
|
|
29600
30484
|
capName: "snapshot",
|
|
29601
30485
|
capScope: "device",
|
|
@@ -30136,6 +31020,12 @@ Object.freeze({
|
|
|
30136
31020
|
addonId: null,
|
|
30137
31021
|
access: "create"
|
|
30138
31022
|
},
|
|
31023
|
+
"system.detectSiteLocation": {
|
|
31024
|
+
capName: "system",
|
|
31025
|
+
capScope: "system",
|
|
31026
|
+
addonId: null,
|
|
31027
|
+
access: "create"
|
|
31028
|
+
},
|
|
30139
31029
|
"system.featureFlags": {
|
|
30140
31030
|
capName: "system",
|
|
30141
31031
|
capScope: "system",
|
|
@@ -30154,6 +31044,12 @@ Object.freeze({
|
|
|
30154
31044
|
addonId: null,
|
|
30155
31045
|
access: "view"
|
|
30156
31046
|
},
|
|
31047
|
+
"system.getSiteLocation": {
|
|
31048
|
+
capName: "system",
|
|
31049
|
+
capScope: "system",
|
|
31050
|
+
addonId: null,
|
|
31051
|
+
access: "view"
|
|
31052
|
+
},
|
|
30157
31053
|
"system.health": {
|
|
30158
31054
|
capName: "system",
|
|
30159
31055
|
capScope: "system",
|
|
@@ -30178,6 +31074,12 @@ Object.freeze({
|
|
|
30178
31074
|
addonId: null,
|
|
30179
31075
|
access: "create"
|
|
30180
31076
|
},
|
|
31077
|
+
"system.setSiteLocation": {
|
|
31078
|
+
capName: "system",
|
|
31079
|
+
capScope: "system",
|
|
31080
|
+
addonId: null,
|
|
31081
|
+
access: "create"
|
|
31082
|
+
},
|
|
30181
31083
|
"terminalSession.adoptLegacyMonitor": {
|
|
30182
31084
|
capName: "terminal-session",
|
|
30183
31085
|
capScope: "system",
|
|
@@ -30749,6 +31651,1709 @@ Object.freeze({
|
|
|
30749
31651
|
access: "create"
|
|
30750
31652
|
}
|
|
30751
31653
|
});
|
|
31654
|
+
Object.freeze({
|
|
31655
|
+
"accessories.setChildHidden": [{
|
|
31656
|
+
name: "childDeviceId",
|
|
31657
|
+
form: "single",
|
|
31658
|
+
optional: false
|
|
31659
|
+
}, {
|
|
31660
|
+
name: "deviceId",
|
|
31661
|
+
form: "single",
|
|
31662
|
+
optional: false
|
|
31663
|
+
}],
|
|
31664
|
+
"addonSettings.getDeviceSettings": [{
|
|
31665
|
+
name: "deviceId",
|
|
31666
|
+
form: "single",
|
|
31667
|
+
optional: false
|
|
31668
|
+
}],
|
|
31669
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31670
|
+
name: "deviceId",
|
|
31671
|
+
form: "single",
|
|
31672
|
+
optional: false
|
|
31673
|
+
}],
|
|
31674
|
+
"alarmPanel.arm": [{
|
|
31675
|
+
name: "deviceId",
|
|
31676
|
+
form: "single",
|
|
31677
|
+
optional: false
|
|
31678
|
+
}],
|
|
31679
|
+
"alarmPanel.disarm": [{
|
|
31680
|
+
name: "deviceId",
|
|
31681
|
+
form: "single",
|
|
31682
|
+
optional: false
|
|
31683
|
+
}],
|
|
31684
|
+
"alarmPanel.trigger": [{
|
|
31685
|
+
name: "deviceId",
|
|
31686
|
+
form: "single",
|
|
31687
|
+
optional: false
|
|
31688
|
+
}],
|
|
31689
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31690
|
+
name: "deviceId",
|
|
31691
|
+
form: "single",
|
|
31692
|
+
optional: false
|
|
31693
|
+
}],
|
|
31694
|
+
"audioAnalyzer.classify": [{
|
|
31695
|
+
name: "deviceId",
|
|
31696
|
+
form: "single",
|
|
31697
|
+
optional: true
|
|
31698
|
+
}],
|
|
31699
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31700
|
+
name: "deviceId",
|
|
31701
|
+
form: "single",
|
|
31702
|
+
optional: false
|
|
31703
|
+
}],
|
|
31704
|
+
"audioMetrics.getHistory": [{
|
|
31705
|
+
name: "deviceId",
|
|
31706
|
+
form: "single",
|
|
31707
|
+
optional: false
|
|
31708
|
+
}],
|
|
31709
|
+
"automationControl.disable": [{
|
|
31710
|
+
name: "deviceId",
|
|
31711
|
+
form: "single",
|
|
31712
|
+
optional: false
|
|
31713
|
+
}],
|
|
31714
|
+
"automationControl.enable": [{
|
|
31715
|
+
name: "deviceId",
|
|
31716
|
+
form: "single",
|
|
31717
|
+
optional: false
|
|
31718
|
+
}],
|
|
31719
|
+
"automationControl.trigger": [{
|
|
31720
|
+
name: "deviceId",
|
|
31721
|
+
form: "single",
|
|
31722
|
+
optional: false
|
|
31723
|
+
}],
|
|
31724
|
+
"battery.wakeForStream": [{
|
|
31725
|
+
name: "deviceId",
|
|
31726
|
+
form: "single",
|
|
31727
|
+
optional: false
|
|
31728
|
+
}],
|
|
31729
|
+
"brightness.setBrightness": [{
|
|
31730
|
+
name: "deviceId",
|
|
31731
|
+
form: "single",
|
|
31732
|
+
optional: false
|
|
31733
|
+
}],
|
|
31734
|
+
"button.press": [{
|
|
31735
|
+
name: "deviceId",
|
|
31736
|
+
form: "single",
|
|
31737
|
+
optional: false
|
|
31738
|
+
}],
|
|
31739
|
+
"cameraCredentials.getCredentials": [{
|
|
31740
|
+
name: "deviceId",
|
|
31741
|
+
form: "single",
|
|
31742
|
+
optional: false
|
|
31743
|
+
}],
|
|
31744
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31745
|
+
name: "deviceId",
|
|
31746
|
+
form: "single",
|
|
31747
|
+
optional: false
|
|
31748
|
+
}],
|
|
31749
|
+
"cameraStreams.getCameraStreams": [{
|
|
31750
|
+
name: "deviceId",
|
|
31751
|
+
form: "single",
|
|
31752
|
+
optional: false
|
|
31753
|
+
}],
|
|
31754
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31755
|
+
name: "deviceId",
|
|
31756
|
+
form: "single",
|
|
31757
|
+
optional: false
|
|
31758
|
+
}],
|
|
31759
|
+
"cameraStreams.getRtspEntries": [{
|
|
31760
|
+
name: "deviceId",
|
|
31761
|
+
form: "single",
|
|
31762
|
+
optional: false
|
|
31763
|
+
}],
|
|
31764
|
+
"cameraStreams.pickStream": [{
|
|
31765
|
+
name: "deviceId",
|
|
31766
|
+
form: "single",
|
|
31767
|
+
optional: false
|
|
31768
|
+
}],
|
|
31769
|
+
"climateControl.setFanMode": [{
|
|
31770
|
+
name: "deviceId",
|
|
31771
|
+
form: "single",
|
|
31772
|
+
optional: false
|
|
31773
|
+
}],
|
|
31774
|
+
"climateControl.setMode": [{
|
|
31775
|
+
name: "deviceId",
|
|
31776
|
+
form: "single",
|
|
31777
|
+
optional: false
|
|
31778
|
+
}],
|
|
31779
|
+
"climateControl.setPreset": [{
|
|
31780
|
+
name: "deviceId",
|
|
31781
|
+
form: "single",
|
|
31782
|
+
optional: false
|
|
31783
|
+
}],
|
|
31784
|
+
"climateControl.setSwingHorizontal": [{
|
|
31785
|
+
name: "deviceId",
|
|
31786
|
+
form: "single",
|
|
31787
|
+
optional: false
|
|
31788
|
+
}],
|
|
31789
|
+
"climateControl.setSwingVertical": [{
|
|
31790
|
+
name: "deviceId",
|
|
31791
|
+
form: "single",
|
|
31792
|
+
optional: false
|
|
31793
|
+
}],
|
|
31794
|
+
"climateControl.setTarget": [{
|
|
31795
|
+
name: "deviceId",
|
|
31796
|
+
form: "single",
|
|
31797
|
+
optional: false
|
|
31798
|
+
}],
|
|
31799
|
+
"climateControl.setTargetHumidity": [{
|
|
31800
|
+
name: "deviceId",
|
|
31801
|
+
form: "single",
|
|
31802
|
+
optional: false
|
|
31803
|
+
}],
|
|
31804
|
+
"climateControl.setTargetRange": [{
|
|
31805
|
+
name: "deviceId",
|
|
31806
|
+
form: "single",
|
|
31807
|
+
optional: false
|
|
31808
|
+
}],
|
|
31809
|
+
"color.setColor": [{
|
|
31810
|
+
name: "deviceId",
|
|
31811
|
+
form: "single",
|
|
31812
|
+
optional: false
|
|
31813
|
+
}],
|
|
31814
|
+
"consumables.reset": [{
|
|
31815
|
+
name: "deviceId",
|
|
31816
|
+
form: "single",
|
|
31817
|
+
optional: false
|
|
31818
|
+
}],
|
|
31819
|
+
"control.setValue": [{
|
|
31820
|
+
name: "deviceId",
|
|
31821
|
+
form: "single",
|
|
31822
|
+
optional: false
|
|
31823
|
+
}],
|
|
31824
|
+
"cover.close": [{
|
|
31825
|
+
name: "deviceId",
|
|
31826
|
+
form: "single",
|
|
31827
|
+
optional: false
|
|
31828
|
+
}],
|
|
31829
|
+
"cover.open": [{
|
|
31830
|
+
name: "deviceId",
|
|
31831
|
+
form: "single",
|
|
31832
|
+
optional: false
|
|
31833
|
+
}],
|
|
31834
|
+
"cover.setPosition": [{
|
|
31835
|
+
name: "deviceId",
|
|
31836
|
+
form: "single",
|
|
31837
|
+
optional: false
|
|
31838
|
+
}],
|
|
31839
|
+
"cover.setTiltPosition": [{
|
|
31840
|
+
name: "deviceId",
|
|
31841
|
+
form: "single",
|
|
31842
|
+
optional: false
|
|
31843
|
+
}],
|
|
31844
|
+
"cover.stop": [{
|
|
31845
|
+
name: "deviceId",
|
|
31846
|
+
form: "single",
|
|
31847
|
+
optional: false
|
|
31848
|
+
}],
|
|
31849
|
+
"dayNight.getOptions": [{
|
|
31850
|
+
name: "deviceId",
|
|
31851
|
+
form: "single",
|
|
31852
|
+
optional: false
|
|
31853
|
+
}],
|
|
31854
|
+
"dayNight.setSettings": [{
|
|
31855
|
+
name: "deviceId",
|
|
31856
|
+
form: "single",
|
|
31857
|
+
optional: false
|
|
31858
|
+
}],
|
|
31859
|
+
"decoder.createSession": [{
|
|
31860
|
+
name: "deviceId",
|
|
31861
|
+
form: "single",
|
|
31862
|
+
optional: true
|
|
31863
|
+
}],
|
|
31864
|
+
"deviceAdoption.release": [{
|
|
31865
|
+
name: "camDeviceId",
|
|
31866
|
+
form: "single",
|
|
31867
|
+
optional: false
|
|
31868
|
+
}],
|
|
31869
|
+
"deviceAdoption.resync": [{
|
|
31870
|
+
name: "camDeviceId",
|
|
31871
|
+
form: "single",
|
|
31872
|
+
optional: false
|
|
31873
|
+
}],
|
|
31874
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31875
|
+
name: "deviceId",
|
|
31876
|
+
form: "single",
|
|
31877
|
+
optional: false
|
|
31878
|
+
}],
|
|
31879
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31880
|
+
name: "deviceId",
|
|
31881
|
+
form: "single",
|
|
31882
|
+
optional: false
|
|
31883
|
+
}],
|
|
31884
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31885
|
+
name: "deviceId",
|
|
31886
|
+
form: "single",
|
|
31887
|
+
optional: false
|
|
31888
|
+
}],
|
|
31889
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31890
|
+
name: "childDeviceId",
|
|
31891
|
+
form: "single",
|
|
31892
|
+
optional: false
|
|
31893
|
+
}, {
|
|
31894
|
+
name: "deviceId",
|
|
31895
|
+
form: "single",
|
|
31896
|
+
optional: false
|
|
31897
|
+
}],
|
|
31898
|
+
"deviceManager.adoptionRelease": [{
|
|
31899
|
+
name: "camDeviceId",
|
|
31900
|
+
form: "single",
|
|
31901
|
+
optional: false
|
|
31902
|
+
}],
|
|
31903
|
+
"deviceManager.adoptionResync": [{
|
|
31904
|
+
name: "camDeviceId",
|
|
31905
|
+
form: "single",
|
|
31906
|
+
optional: false
|
|
31907
|
+
}],
|
|
31908
|
+
"deviceManager.applyInitialMeta": [{
|
|
31909
|
+
name: "deviceId",
|
|
31910
|
+
form: "single",
|
|
31911
|
+
optional: false
|
|
31912
|
+
}, {
|
|
31913
|
+
name: "linkDeviceId",
|
|
31914
|
+
form: "single",
|
|
31915
|
+
optional: true
|
|
31916
|
+
}],
|
|
31917
|
+
"deviceManager.disable": [{
|
|
31918
|
+
name: "deviceId",
|
|
31919
|
+
form: "single",
|
|
31920
|
+
optional: false
|
|
31921
|
+
}],
|
|
31922
|
+
"deviceManager.enable": [{
|
|
31923
|
+
name: "deviceId",
|
|
31924
|
+
form: "single",
|
|
31925
|
+
optional: false
|
|
31926
|
+
}],
|
|
31927
|
+
"deviceManager.getBindings": [{
|
|
31928
|
+
name: "deviceId",
|
|
31929
|
+
form: "single",
|
|
31930
|
+
optional: false
|
|
31931
|
+
}],
|
|
31932
|
+
"deviceManager.getChildren": [{
|
|
31933
|
+
name: "parentDeviceId",
|
|
31934
|
+
form: "single",
|
|
31935
|
+
optional: false
|
|
31936
|
+
}],
|
|
31937
|
+
"deviceManager.getConfigSchema": [{
|
|
31938
|
+
name: "deviceId",
|
|
31939
|
+
form: "single",
|
|
31940
|
+
optional: false
|
|
31941
|
+
}],
|
|
31942
|
+
"deviceManager.getDevice": [{
|
|
31943
|
+
name: "deviceId",
|
|
31944
|
+
form: "single",
|
|
31945
|
+
optional: false
|
|
31946
|
+
}],
|
|
31947
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31948
|
+
name: "deviceId",
|
|
31949
|
+
form: "single",
|
|
31950
|
+
optional: false
|
|
31951
|
+
}],
|
|
31952
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31953
|
+
name: "deviceId",
|
|
31954
|
+
form: "single",
|
|
31955
|
+
optional: false
|
|
31956
|
+
}],
|
|
31957
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31958
|
+
name: "deviceId",
|
|
31959
|
+
form: "single",
|
|
31960
|
+
optional: false
|
|
31961
|
+
}],
|
|
31962
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31963
|
+
name: "deviceId",
|
|
31964
|
+
form: "single",
|
|
31965
|
+
optional: false
|
|
31966
|
+
}],
|
|
31967
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31968
|
+
name: "deviceIds",
|
|
31969
|
+
form: "array",
|
|
31970
|
+
optional: false
|
|
31971
|
+
}],
|
|
31972
|
+
"deviceManager.getLinkedDevices": [{
|
|
31973
|
+
name: "deviceId",
|
|
31974
|
+
form: "single",
|
|
31975
|
+
optional: false
|
|
31976
|
+
}],
|
|
31977
|
+
"deviceManager.getSettingsSchema": [{
|
|
31978
|
+
name: "deviceId",
|
|
31979
|
+
form: "single",
|
|
31980
|
+
optional: false
|
|
31981
|
+
}],
|
|
31982
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31983
|
+
name: "deviceId",
|
|
31984
|
+
form: "single",
|
|
31985
|
+
optional: false
|
|
31986
|
+
}],
|
|
31987
|
+
"deviceManager.getStreamSources": [{
|
|
31988
|
+
name: "deviceId",
|
|
31989
|
+
form: "single",
|
|
31990
|
+
optional: false
|
|
31991
|
+
}],
|
|
31992
|
+
"deviceManager.getWireableFields": [{
|
|
31993
|
+
name: "deviceId",
|
|
31994
|
+
form: "single",
|
|
31995
|
+
optional: false
|
|
31996
|
+
}],
|
|
31997
|
+
"deviceManager.loadConfig": [{
|
|
31998
|
+
name: "deviceId",
|
|
31999
|
+
form: "single",
|
|
32000
|
+
optional: false
|
|
32001
|
+
}],
|
|
32002
|
+
"deviceManager.loadMeta": [{
|
|
32003
|
+
name: "deviceId",
|
|
32004
|
+
form: "single",
|
|
32005
|
+
optional: false
|
|
32006
|
+
}],
|
|
32007
|
+
"deviceManager.loadRuntimeState": [{
|
|
32008
|
+
name: "deviceId",
|
|
32009
|
+
form: "single",
|
|
32010
|
+
optional: false
|
|
32011
|
+
}],
|
|
32012
|
+
"deviceManager.persistConfig": [{
|
|
32013
|
+
name: "deviceId",
|
|
32014
|
+
form: "single",
|
|
32015
|
+
optional: false
|
|
32016
|
+
}],
|
|
32017
|
+
"deviceManager.probeStreams": [{
|
|
32018
|
+
name: "deviceId",
|
|
32019
|
+
form: "single",
|
|
32020
|
+
optional: false
|
|
32021
|
+
}],
|
|
32022
|
+
"deviceManager.registerDevice": [{
|
|
32023
|
+
name: "parentDeviceId",
|
|
32024
|
+
form: "single",
|
|
32025
|
+
optional: true
|
|
32026
|
+
}],
|
|
32027
|
+
"deviceManager.remove": [{
|
|
32028
|
+
name: "deviceId",
|
|
32029
|
+
form: "single",
|
|
32030
|
+
optional: false
|
|
32031
|
+
}],
|
|
32032
|
+
"deviceManager.removeDevice": [{
|
|
32033
|
+
name: "deviceId",
|
|
32034
|
+
form: "single",
|
|
32035
|
+
optional: false
|
|
32036
|
+
}],
|
|
32037
|
+
"deviceManager.runDeviceAction": [{
|
|
32038
|
+
name: "deviceId",
|
|
32039
|
+
form: "single",
|
|
32040
|
+
optional: false
|
|
32041
|
+
}],
|
|
32042
|
+
"deviceManager.setChildLayout": [{
|
|
32043
|
+
name: "deviceId",
|
|
32044
|
+
form: "single",
|
|
32045
|
+
optional: false
|
|
32046
|
+
}],
|
|
32047
|
+
"deviceManager.setDisabled": [{
|
|
32048
|
+
name: "deviceId",
|
|
32049
|
+
form: "single",
|
|
32050
|
+
optional: false
|
|
32051
|
+
}],
|
|
32052
|
+
"deviceManager.setDisplay": [{
|
|
32053
|
+
name: "deviceId",
|
|
32054
|
+
form: "single",
|
|
32055
|
+
optional: false
|
|
32056
|
+
}],
|
|
32057
|
+
"deviceManager.setIntegrationId": [{
|
|
32058
|
+
name: "deviceId",
|
|
32059
|
+
form: "single",
|
|
32060
|
+
optional: false
|
|
32061
|
+
}],
|
|
32062
|
+
"deviceManager.setLinkDeviceId": [{
|
|
32063
|
+
name: "deviceId",
|
|
32064
|
+
form: "single",
|
|
32065
|
+
optional: false
|
|
32066
|
+
}, {
|
|
32067
|
+
name: "linkDeviceId",
|
|
32068
|
+
form: "single",
|
|
32069
|
+
optional: true
|
|
32070
|
+
}],
|
|
32071
|
+
"deviceManager.setLocation": [{
|
|
32072
|
+
name: "deviceId",
|
|
32073
|
+
form: "single",
|
|
32074
|
+
optional: false
|
|
32075
|
+
}],
|
|
32076
|
+
"deviceManager.setMetadata": [{
|
|
32077
|
+
name: "deviceId",
|
|
32078
|
+
form: "single",
|
|
32079
|
+
optional: false
|
|
32080
|
+
}],
|
|
32081
|
+
"deviceManager.setName": [{
|
|
32082
|
+
name: "deviceId",
|
|
32083
|
+
form: "single",
|
|
32084
|
+
optional: false
|
|
32085
|
+
}],
|
|
32086
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
32087
|
+
name: "deviceId",
|
|
32088
|
+
form: "single",
|
|
32089
|
+
optional: false
|
|
32090
|
+
}],
|
|
32091
|
+
"deviceManager.setRole": [{
|
|
32092
|
+
name: "deviceId",
|
|
32093
|
+
form: "single",
|
|
32094
|
+
optional: false
|
|
32095
|
+
}],
|
|
32096
|
+
"deviceManager.setStreamProfileMap": [{
|
|
32097
|
+
name: "deviceId",
|
|
32098
|
+
form: "single",
|
|
32099
|
+
optional: false
|
|
32100
|
+
}],
|
|
32101
|
+
"deviceManager.setType": [{
|
|
32102
|
+
name: "deviceId",
|
|
32103
|
+
form: "single",
|
|
32104
|
+
optional: false
|
|
32105
|
+
}],
|
|
32106
|
+
"deviceManager.setWrapperActive": [{
|
|
32107
|
+
name: "deviceId",
|
|
32108
|
+
form: "single",
|
|
32109
|
+
optional: false
|
|
32110
|
+
}],
|
|
32111
|
+
"deviceManager.testField": [{
|
|
32112
|
+
name: "deviceId",
|
|
32113
|
+
form: "single",
|
|
32114
|
+
optional: false
|
|
32115
|
+
}],
|
|
32116
|
+
"deviceManager.updateConfig": [{
|
|
32117
|
+
name: "deviceId",
|
|
32118
|
+
form: "single",
|
|
32119
|
+
optional: false
|
|
32120
|
+
}],
|
|
32121
|
+
"deviceManager.updateDeviceField": [{
|
|
32122
|
+
name: "deviceId",
|
|
32123
|
+
form: "single",
|
|
32124
|
+
optional: false
|
|
32125
|
+
}],
|
|
32126
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
32127
|
+
name: "deviceId",
|
|
32128
|
+
form: "single",
|
|
32129
|
+
optional: false
|
|
32130
|
+
}],
|
|
32131
|
+
"deviceOps.getConfigEntries": [{
|
|
32132
|
+
name: "deviceId",
|
|
32133
|
+
form: "single",
|
|
32134
|
+
optional: false
|
|
32135
|
+
}],
|
|
32136
|
+
"deviceOps.getRawState": [{
|
|
32137
|
+
name: "deviceId",
|
|
32138
|
+
form: "single",
|
|
32139
|
+
optional: false
|
|
32140
|
+
}],
|
|
32141
|
+
"deviceOps.getSettingsSchema": [{
|
|
32142
|
+
name: "deviceId",
|
|
32143
|
+
form: "single",
|
|
32144
|
+
optional: false
|
|
32145
|
+
}],
|
|
32146
|
+
"deviceOps.getStreamSources": [{
|
|
32147
|
+
name: "deviceId",
|
|
32148
|
+
form: "single",
|
|
32149
|
+
optional: false
|
|
32150
|
+
}],
|
|
32151
|
+
"deviceOps.removeDevice": [{
|
|
32152
|
+
name: "deviceId",
|
|
32153
|
+
form: "single",
|
|
32154
|
+
optional: false
|
|
32155
|
+
}],
|
|
32156
|
+
"deviceOps.runAction": [{
|
|
32157
|
+
name: "deviceId",
|
|
32158
|
+
form: "single",
|
|
32159
|
+
optional: false
|
|
32160
|
+
}],
|
|
32161
|
+
"deviceOps.setConfig": [{
|
|
32162
|
+
name: "deviceId",
|
|
32163
|
+
form: "single",
|
|
32164
|
+
optional: false
|
|
32165
|
+
}],
|
|
32166
|
+
"deviceState.getCapSlice": [{
|
|
32167
|
+
name: "deviceId",
|
|
32168
|
+
form: "single",
|
|
32169
|
+
optional: false
|
|
32170
|
+
}],
|
|
32171
|
+
"deviceState.getSnapshot": [{
|
|
32172
|
+
name: "deviceId",
|
|
32173
|
+
form: "single",
|
|
32174
|
+
optional: false
|
|
32175
|
+
}],
|
|
32176
|
+
"deviceState.setCapSlice": [{
|
|
32177
|
+
name: "deviceId",
|
|
32178
|
+
form: "single",
|
|
32179
|
+
optional: false
|
|
32180
|
+
}],
|
|
32181
|
+
"events.getEventClipUrl": [{
|
|
32182
|
+
name: "deviceId",
|
|
32183
|
+
form: "single",
|
|
32184
|
+
optional: false
|
|
32185
|
+
}],
|
|
32186
|
+
"events.getEvents": [{
|
|
32187
|
+
name: "deviceId",
|
|
32188
|
+
form: "single",
|
|
32189
|
+
optional: false
|
|
32190
|
+
}],
|
|
32191
|
+
"events.getEventThumbnail": [{
|
|
32192
|
+
name: "deviceId",
|
|
32193
|
+
form: "single",
|
|
32194
|
+
optional: false
|
|
32195
|
+
}],
|
|
32196
|
+
"faceGallery.getFaceByTrack": [{
|
|
32197
|
+
name: "deviceId",
|
|
32198
|
+
form: "single",
|
|
32199
|
+
optional: false
|
|
32200
|
+
}],
|
|
32201
|
+
"faceGallery.listRecentFaces": [{
|
|
32202
|
+
name: "deviceId",
|
|
32203
|
+
form: "single",
|
|
32204
|
+
optional: true
|
|
32205
|
+
}],
|
|
32206
|
+
"fanControl.setDirection": [{
|
|
32207
|
+
name: "deviceId",
|
|
32208
|
+
form: "single",
|
|
32209
|
+
optional: false
|
|
32210
|
+
}],
|
|
32211
|
+
"fanControl.setOscillating": [{
|
|
32212
|
+
name: "deviceId",
|
|
32213
|
+
form: "single",
|
|
32214
|
+
optional: false
|
|
32215
|
+
}],
|
|
32216
|
+
"fanControl.setPercentage": [{
|
|
32217
|
+
name: "deviceId",
|
|
32218
|
+
form: "single",
|
|
32219
|
+
optional: false
|
|
32220
|
+
}],
|
|
32221
|
+
"fanControl.setPreset": [{
|
|
32222
|
+
name: "deviceId",
|
|
32223
|
+
form: "single",
|
|
32224
|
+
optional: false
|
|
32225
|
+
}],
|
|
32226
|
+
"humidifier.setMode": [{
|
|
32227
|
+
name: "deviceId",
|
|
32228
|
+
form: "single",
|
|
32229
|
+
optional: false
|
|
32230
|
+
}],
|
|
32231
|
+
"humidifier.setOn": [{
|
|
32232
|
+
name: "deviceId",
|
|
32233
|
+
form: "single",
|
|
32234
|
+
optional: false
|
|
32235
|
+
}],
|
|
32236
|
+
"humidifier.setTargetHumidity": [{
|
|
32237
|
+
name: "deviceId",
|
|
32238
|
+
form: "single",
|
|
32239
|
+
optional: false
|
|
32240
|
+
}],
|
|
32241
|
+
"imageSettings.getOptions": [{
|
|
32242
|
+
name: "deviceId",
|
|
32243
|
+
form: "single",
|
|
32244
|
+
optional: false
|
|
32245
|
+
}],
|
|
32246
|
+
"imageSettings.setSettings": [{
|
|
32247
|
+
name: "deviceId",
|
|
32248
|
+
form: "single",
|
|
32249
|
+
optional: false
|
|
32250
|
+
}],
|
|
32251
|
+
"intercom.endTalkSession": [{
|
|
32252
|
+
name: "deviceId",
|
|
32253
|
+
form: "single",
|
|
32254
|
+
optional: false
|
|
32255
|
+
}],
|
|
32256
|
+
"intercom.handleAnswer": [{
|
|
32257
|
+
name: "deviceId",
|
|
32258
|
+
form: "single",
|
|
32259
|
+
optional: false
|
|
32260
|
+
}],
|
|
32261
|
+
"intercom.pushTalkAudio": [{
|
|
32262
|
+
name: "deviceId",
|
|
32263
|
+
form: "single",
|
|
32264
|
+
optional: false
|
|
32265
|
+
}],
|
|
32266
|
+
"intercom.startSession": [{
|
|
32267
|
+
name: "deviceId",
|
|
32268
|
+
form: "single",
|
|
32269
|
+
optional: false
|
|
32270
|
+
}],
|
|
32271
|
+
"intercom.startTalkSession": [{
|
|
32272
|
+
name: "deviceId",
|
|
32273
|
+
form: "single",
|
|
32274
|
+
optional: false
|
|
32275
|
+
}],
|
|
32276
|
+
"intercom.stopSession": [{
|
|
32277
|
+
name: "deviceId",
|
|
32278
|
+
form: "single",
|
|
32279
|
+
optional: false
|
|
32280
|
+
}],
|
|
32281
|
+
"lawnMowerControl.dock": [{
|
|
32282
|
+
name: "deviceId",
|
|
32283
|
+
form: "single",
|
|
32284
|
+
optional: false
|
|
32285
|
+
}],
|
|
32286
|
+
"lawnMowerControl.pause": [{
|
|
32287
|
+
name: "deviceId",
|
|
32288
|
+
form: "single",
|
|
32289
|
+
optional: false
|
|
32290
|
+
}],
|
|
32291
|
+
"lawnMowerControl.startMowing": [{
|
|
32292
|
+
name: "deviceId",
|
|
32293
|
+
form: "single",
|
|
32294
|
+
optional: false
|
|
32295
|
+
}],
|
|
32296
|
+
"lockControl.lock": [{
|
|
32297
|
+
name: "deviceId",
|
|
32298
|
+
form: "single",
|
|
32299
|
+
optional: false
|
|
32300
|
+
}],
|
|
32301
|
+
"lockControl.open": [{
|
|
32302
|
+
name: "deviceId",
|
|
32303
|
+
form: "single",
|
|
32304
|
+
optional: false
|
|
32305
|
+
}],
|
|
32306
|
+
"lockControl.unlock": [{
|
|
32307
|
+
name: "deviceId",
|
|
32308
|
+
form: "single",
|
|
32309
|
+
optional: false
|
|
32310
|
+
}],
|
|
32311
|
+
"mediaPlayer.next": [{
|
|
32312
|
+
name: "deviceId",
|
|
32313
|
+
form: "single",
|
|
32314
|
+
optional: false
|
|
32315
|
+
}],
|
|
32316
|
+
"mediaPlayer.pause": [{
|
|
32317
|
+
name: "deviceId",
|
|
32318
|
+
form: "single",
|
|
32319
|
+
optional: false
|
|
32320
|
+
}],
|
|
32321
|
+
"mediaPlayer.play": [{
|
|
32322
|
+
name: "deviceId",
|
|
32323
|
+
form: "single",
|
|
32324
|
+
optional: false
|
|
32325
|
+
}],
|
|
32326
|
+
"mediaPlayer.playMedia": [{
|
|
32327
|
+
name: "deviceId",
|
|
32328
|
+
form: "single",
|
|
32329
|
+
optional: false
|
|
32330
|
+
}],
|
|
32331
|
+
"mediaPlayer.previous": [{
|
|
32332
|
+
name: "deviceId",
|
|
32333
|
+
form: "single",
|
|
32334
|
+
optional: false
|
|
32335
|
+
}],
|
|
32336
|
+
"mediaPlayer.seek": [{
|
|
32337
|
+
name: "deviceId",
|
|
32338
|
+
form: "single",
|
|
32339
|
+
optional: false
|
|
32340
|
+
}],
|
|
32341
|
+
"mediaPlayer.selectSource": [{
|
|
32342
|
+
name: "deviceId",
|
|
32343
|
+
form: "single",
|
|
32344
|
+
optional: false
|
|
32345
|
+
}],
|
|
32346
|
+
"mediaPlayer.setMute": [{
|
|
32347
|
+
name: "deviceId",
|
|
32348
|
+
form: "single",
|
|
32349
|
+
optional: false
|
|
32350
|
+
}],
|
|
32351
|
+
"mediaPlayer.setRepeat": [{
|
|
32352
|
+
name: "deviceId",
|
|
32353
|
+
form: "single",
|
|
32354
|
+
optional: false
|
|
32355
|
+
}],
|
|
32356
|
+
"mediaPlayer.setShuffle": [{
|
|
32357
|
+
name: "deviceId",
|
|
32358
|
+
form: "single",
|
|
32359
|
+
optional: false
|
|
32360
|
+
}],
|
|
32361
|
+
"mediaPlayer.setVolume": [{
|
|
32362
|
+
name: "deviceId",
|
|
32363
|
+
form: "single",
|
|
32364
|
+
optional: false
|
|
32365
|
+
}],
|
|
32366
|
+
"mediaPlayer.stop": [{
|
|
32367
|
+
name: "deviceId",
|
|
32368
|
+
form: "single",
|
|
32369
|
+
optional: false
|
|
32370
|
+
}],
|
|
32371
|
+
"motion.isDetected": [{
|
|
32372
|
+
name: "deviceId",
|
|
32373
|
+
form: "single",
|
|
32374
|
+
optional: false
|
|
32375
|
+
}],
|
|
32376
|
+
"motionDetection.analyze": [{
|
|
32377
|
+
name: "deviceId",
|
|
32378
|
+
form: "single",
|
|
32379
|
+
optional: false
|
|
32380
|
+
}],
|
|
32381
|
+
"motionDetection.removeCamera": [{
|
|
32382
|
+
name: "deviceId",
|
|
32383
|
+
form: "single",
|
|
32384
|
+
optional: false
|
|
32385
|
+
}],
|
|
32386
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32387
|
+
name: "deviceId",
|
|
32388
|
+
form: "single",
|
|
32389
|
+
optional: false
|
|
32390
|
+
}],
|
|
32391
|
+
"motionZones.getOptions": [{
|
|
32392
|
+
name: "deviceId",
|
|
32393
|
+
form: "single",
|
|
32394
|
+
optional: false
|
|
32395
|
+
}],
|
|
32396
|
+
"motionZones.setZone": [{
|
|
32397
|
+
name: "deviceId",
|
|
32398
|
+
form: "single",
|
|
32399
|
+
optional: false
|
|
32400
|
+
}],
|
|
32401
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32402
|
+
name: "deviceId",
|
|
32403
|
+
form: "single",
|
|
32404
|
+
optional: false
|
|
32405
|
+
}],
|
|
32406
|
+
"networkQuality.getDeviceStats": [{
|
|
32407
|
+
name: "deviceId",
|
|
32408
|
+
form: "single",
|
|
32409
|
+
optional: false
|
|
32410
|
+
}],
|
|
32411
|
+
"networkQuality.reportClientStats": [{
|
|
32412
|
+
name: "deviceId",
|
|
32413
|
+
form: "single",
|
|
32414
|
+
optional: false
|
|
32415
|
+
}],
|
|
32416
|
+
"notificationRules.setDeviceMuted": [{
|
|
32417
|
+
name: "deviceId",
|
|
32418
|
+
form: "single",
|
|
32419
|
+
optional: false
|
|
32420
|
+
}],
|
|
32421
|
+
"notifier.cancel": [{
|
|
32422
|
+
name: "deviceId",
|
|
32423
|
+
form: "single",
|
|
32424
|
+
optional: false
|
|
32425
|
+
}],
|
|
32426
|
+
"notifier.send": [{
|
|
32427
|
+
name: "deviceId",
|
|
32428
|
+
form: "single",
|
|
32429
|
+
optional: false
|
|
32430
|
+
}],
|
|
32431
|
+
"osd.setOverlay": [{
|
|
32432
|
+
name: "deviceId",
|
|
32433
|
+
form: "single",
|
|
32434
|
+
optional: false
|
|
32435
|
+
}],
|
|
32436
|
+
"osdManager.clearSlotBinding": [{
|
|
32437
|
+
name: "deviceId",
|
|
32438
|
+
form: "single",
|
|
32439
|
+
optional: false
|
|
32440
|
+
}],
|
|
32441
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32442
|
+
name: "sourceDeviceId",
|
|
32443
|
+
form: "single",
|
|
32444
|
+
optional: false
|
|
32445
|
+
}, {
|
|
32446
|
+
name: "targetDeviceId",
|
|
32447
|
+
form: "single",
|
|
32448
|
+
optional: false
|
|
32449
|
+
}],
|
|
32450
|
+
"osdManager.getDeviceOsd": [{
|
|
32451
|
+
name: "deviceId",
|
|
32452
|
+
form: "single",
|
|
32453
|
+
optional: false
|
|
32454
|
+
}],
|
|
32455
|
+
"osdManager.getSourceCatalog": [{
|
|
32456
|
+
name: "deviceId",
|
|
32457
|
+
form: "single",
|
|
32458
|
+
optional: false
|
|
32459
|
+
}],
|
|
32460
|
+
"osdManager.previewSlot": [{
|
|
32461
|
+
name: "deviceId",
|
|
32462
|
+
form: "single",
|
|
32463
|
+
optional: false
|
|
32464
|
+
}],
|
|
32465
|
+
"osdManager.renderDevice": [{
|
|
32466
|
+
name: "deviceId",
|
|
32467
|
+
form: "single",
|
|
32468
|
+
optional: false
|
|
32469
|
+
}],
|
|
32470
|
+
"osdManager.setSlotBinding": [{
|
|
32471
|
+
name: "deviceId",
|
|
32472
|
+
form: "single",
|
|
32473
|
+
optional: false
|
|
32474
|
+
}],
|
|
32475
|
+
"petFeeder.callPet": [{
|
|
32476
|
+
name: "deviceId",
|
|
32477
|
+
form: "single",
|
|
32478
|
+
optional: false
|
|
32479
|
+
}],
|
|
32480
|
+
"petFeeder.cancelFeed": [{
|
|
32481
|
+
name: "deviceId",
|
|
32482
|
+
form: "single",
|
|
32483
|
+
optional: false
|
|
32484
|
+
}],
|
|
32485
|
+
"petFeeder.feed": [{
|
|
32486
|
+
name: "deviceId",
|
|
32487
|
+
form: "single",
|
|
32488
|
+
optional: false
|
|
32489
|
+
}],
|
|
32490
|
+
"petFeeder.markFoodReplenished": [{
|
|
32491
|
+
name: "deviceId",
|
|
32492
|
+
form: "single",
|
|
32493
|
+
optional: false
|
|
32494
|
+
}],
|
|
32495
|
+
"petFeeder.playSound": [{
|
|
32496
|
+
name: "deviceId",
|
|
32497
|
+
form: "single",
|
|
32498
|
+
optional: false
|
|
32499
|
+
}],
|
|
32500
|
+
"petFeeder.resetDesiccant": [{
|
|
32501
|
+
name: "deviceId",
|
|
32502
|
+
form: "single",
|
|
32503
|
+
optional: false
|
|
32504
|
+
}],
|
|
32505
|
+
"petFeeder.setChildLock": [{
|
|
32506
|
+
name: "deviceId",
|
|
32507
|
+
form: "single",
|
|
32508
|
+
optional: false
|
|
32509
|
+
}],
|
|
32510
|
+
"petFeeder.setFeedSound": [{
|
|
32511
|
+
name: "deviceId",
|
|
32512
|
+
form: "single",
|
|
32513
|
+
optional: false
|
|
32514
|
+
}],
|
|
32515
|
+
"petFeeder.setIndicatorLight": [{
|
|
32516
|
+
name: "deviceId",
|
|
32517
|
+
form: "single",
|
|
32518
|
+
optional: false
|
|
32519
|
+
}],
|
|
32520
|
+
"petFeeder.setVolume": [{
|
|
32521
|
+
name: "deviceId",
|
|
32522
|
+
form: "single",
|
|
32523
|
+
optional: false
|
|
32524
|
+
}],
|
|
32525
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32526
|
+
name: "deviceId",
|
|
32527
|
+
form: "single",
|
|
32528
|
+
optional: false
|
|
32529
|
+
}],
|
|
32530
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32531
|
+
name: "deviceId",
|
|
32532
|
+
form: "single",
|
|
32533
|
+
optional: false
|
|
32534
|
+
}],
|
|
32535
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32536
|
+
name: "deviceId",
|
|
32537
|
+
form: "single",
|
|
32538
|
+
optional: false
|
|
32539
|
+
}],
|
|
32540
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32541
|
+
name: "deviceId",
|
|
32542
|
+
form: "single",
|
|
32543
|
+
optional: false
|
|
32544
|
+
}],
|
|
32545
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32546
|
+
name: "deviceId",
|
|
32547
|
+
form: "single",
|
|
32548
|
+
optional: false
|
|
32549
|
+
}],
|
|
32550
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32551
|
+
name: "deviceId",
|
|
32552
|
+
form: "single",
|
|
32553
|
+
optional: false
|
|
32554
|
+
}],
|
|
32555
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32556
|
+
name: "deviceId",
|
|
32557
|
+
form: "single",
|
|
32558
|
+
optional: false
|
|
32559
|
+
}],
|
|
32560
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32561
|
+
name: "deviceId",
|
|
32562
|
+
form: "single",
|
|
32563
|
+
optional: false
|
|
32564
|
+
}],
|
|
32565
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
32566
|
+
name: "deviceId",
|
|
32567
|
+
form: "single",
|
|
32568
|
+
optional: false
|
|
32569
|
+
}],
|
|
32570
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32571
|
+
name: "deviceId",
|
|
32572
|
+
form: "single",
|
|
32573
|
+
optional: false
|
|
32574
|
+
}],
|
|
32575
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32576
|
+
name: "deviceId",
|
|
32577
|
+
form: "single",
|
|
32578
|
+
optional: false
|
|
32579
|
+
}],
|
|
32580
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32581
|
+
name: "deviceId",
|
|
32582
|
+
form: "single",
|
|
32583
|
+
optional: false
|
|
32584
|
+
}],
|
|
32585
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32586
|
+
name: "deviceIds",
|
|
32587
|
+
form: "array",
|
|
32588
|
+
optional: true
|
|
32589
|
+
}],
|
|
32590
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32591
|
+
name: "deviceId",
|
|
32592
|
+
form: "single",
|
|
32593
|
+
optional: false
|
|
32594
|
+
}],
|
|
32595
|
+
"pipelineAnalytics.getTrack": [{
|
|
32596
|
+
name: "deviceId",
|
|
32597
|
+
form: "single",
|
|
32598
|
+
optional: false
|
|
32599
|
+
}],
|
|
32600
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
32601
|
+
name: "deviceId",
|
|
32602
|
+
form: "single",
|
|
32603
|
+
optional: false
|
|
32604
|
+
}],
|
|
32605
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32606
|
+
name: "deviceIds",
|
|
32607
|
+
form: "array",
|
|
32608
|
+
optional: true
|
|
32609
|
+
}],
|
|
32610
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32611
|
+
name: "deviceIds",
|
|
32612
|
+
form: "array",
|
|
32613
|
+
optional: true
|
|
32614
|
+
}],
|
|
32615
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32616
|
+
name: "deviceId",
|
|
32617
|
+
form: "single",
|
|
32618
|
+
optional: false
|
|
32619
|
+
}],
|
|
32620
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32621
|
+
name: "deviceIds",
|
|
32622
|
+
form: "array",
|
|
32623
|
+
optional: false
|
|
32624
|
+
}],
|
|
32625
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32626
|
+
name: "deviceId",
|
|
32627
|
+
form: "single",
|
|
32628
|
+
optional: true
|
|
32629
|
+
}],
|
|
32630
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32631
|
+
name: "deviceIds",
|
|
32632
|
+
form: "array",
|
|
32633
|
+
optional: false
|
|
32634
|
+
}],
|
|
32635
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32636
|
+
name: "deviceIds",
|
|
32637
|
+
form: "array",
|
|
32638
|
+
optional: true
|
|
32639
|
+
}],
|
|
32640
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
32641
|
+
name: "deviceId",
|
|
32642
|
+
form: "single",
|
|
32643
|
+
optional: false
|
|
32644
|
+
}],
|
|
32645
|
+
"pipelineAnalytics.listTracks": [{
|
|
32646
|
+
name: "deviceId",
|
|
32647
|
+
form: "single",
|
|
32648
|
+
optional: false
|
|
32649
|
+
}],
|
|
32650
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32651
|
+
name: "deviceId",
|
|
32652
|
+
form: "single",
|
|
32653
|
+
optional: false
|
|
32654
|
+
}],
|
|
32655
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32656
|
+
name: "deviceId",
|
|
32657
|
+
form: "single",
|
|
32658
|
+
optional: false
|
|
32659
|
+
}],
|
|
32660
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32661
|
+
name: "deviceId",
|
|
32662
|
+
form: "single",
|
|
32663
|
+
optional: false
|
|
32664
|
+
}],
|
|
32665
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32666
|
+
name: "deviceId",
|
|
32667
|
+
form: "single",
|
|
32668
|
+
optional: true
|
|
32669
|
+
}],
|
|
32670
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32671
|
+
name: "deviceId",
|
|
32672
|
+
form: "single",
|
|
32673
|
+
optional: false
|
|
32674
|
+
}],
|
|
32675
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32676
|
+
name: "deviceId",
|
|
32677
|
+
form: "single",
|
|
32678
|
+
optional: false
|
|
32679
|
+
}],
|
|
32680
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32681
|
+
name: "deviceId",
|
|
32682
|
+
form: "single",
|
|
32683
|
+
optional: true
|
|
32684
|
+
}],
|
|
32685
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32686
|
+
name: "deviceId",
|
|
32687
|
+
form: "single",
|
|
32688
|
+
optional: false
|
|
32689
|
+
}],
|
|
32690
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32691
|
+
name: "deviceId",
|
|
32692
|
+
form: "single",
|
|
32693
|
+
optional: false
|
|
32694
|
+
}],
|
|
32695
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32696
|
+
name: "deviceId",
|
|
32697
|
+
form: "single",
|
|
32698
|
+
optional: false
|
|
32699
|
+
}],
|
|
32700
|
+
"pipelineExecutor.runPipeline": [{
|
|
32701
|
+
name: "deviceId",
|
|
32702
|
+
form: "single",
|
|
32703
|
+
optional: true
|
|
32704
|
+
}],
|
|
32705
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32706
|
+
name: "deviceId",
|
|
32707
|
+
form: "single",
|
|
32708
|
+
optional: true
|
|
32709
|
+
}],
|
|
32710
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32711
|
+
name: "deviceId",
|
|
32712
|
+
form: "single",
|
|
32713
|
+
optional: false
|
|
32714
|
+
}],
|
|
32715
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32716
|
+
name: "deviceId",
|
|
32717
|
+
form: "single",
|
|
32718
|
+
optional: false
|
|
32719
|
+
}],
|
|
32720
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32721
|
+
name: "deviceId",
|
|
32722
|
+
form: "single",
|
|
32723
|
+
optional: false
|
|
32724
|
+
}],
|
|
32725
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32726
|
+
name: "deviceId",
|
|
32727
|
+
form: "single",
|
|
32728
|
+
optional: false
|
|
32729
|
+
}],
|
|
32730
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32731
|
+
name: "deviceId",
|
|
32732
|
+
form: "single",
|
|
32733
|
+
optional: false
|
|
32734
|
+
}],
|
|
32735
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32736
|
+
name: "deviceId",
|
|
32737
|
+
form: "single",
|
|
32738
|
+
optional: false
|
|
32739
|
+
}],
|
|
32740
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32741
|
+
name: "deviceIds",
|
|
32742
|
+
form: "array",
|
|
32743
|
+
optional: true
|
|
32744
|
+
}],
|
|
32745
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32746
|
+
name: "deviceId",
|
|
32747
|
+
form: "single",
|
|
32748
|
+
optional: false
|
|
32749
|
+
}],
|
|
32750
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32751
|
+
name: "deviceId",
|
|
32752
|
+
form: "single",
|
|
32753
|
+
optional: false
|
|
32754
|
+
}],
|
|
32755
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32756
|
+
name: "deviceId",
|
|
32757
|
+
form: "single",
|
|
32758
|
+
optional: false
|
|
32759
|
+
}],
|
|
32760
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32761
|
+
name: "deviceId",
|
|
32762
|
+
form: "single",
|
|
32763
|
+
optional: false
|
|
32764
|
+
}],
|
|
32765
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32766
|
+
name: "deviceId",
|
|
32767
|
+
form: "single",
|
|
32768
|
+
optional: false
|
|
32769
|
+
}],
|
|
32770
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32771
|
+
name: "deviceId",
|
|
32772
|
+
form: "single",
|
|
32773
|
+
optional: false
|
|
32774
|
+
}],
|
|
32775
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32776
|
+
name: "deviceId",
|
|
32777
|
+
form: "single",
|
|
32778
|
+
optional: false
|
|
32779
|
+
}],
|
|
32780
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32781
|
+
name: "deviceId",
|
|
32782
|
+
form: "single",
|
|
32783
|
+
optional: false
|
|
32784
|
+
}],
|
|
32785
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32786
|
+
name: "deviceId",
|
|
32787
|
+
form: "single",
|
|
32788
|
+
optional: false
|
|
32789
|
+
}],
|
|
32790
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32791
|
+
name: "deviceId",
|
|
32792
|
+
form: "single",
|
|
32793
|
+
optional: false
|
|
32794
|
+
}],
|
|
32795
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32796
|
+
name: "deviceId",
|
|
32797
|
+
form: "single",
|
|
32798
|
+
optional: false
|
|
32799
|
+
}],
|
|
32800
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32801
|
+
name: "deviceId",
|
|
32802
|
+
form: "single",
|
|
32803
|
+
optional: false
|
|
32804
|
+
}],
|
|
32805
|
+
"pipelineRunner.attachCamera": [{
|
|
32806
|
+
name: "deviceId",
|
|
32807
|
+
form: "single",
|
|
32808
|
+
optional: false
|
|
32809
|
+
}],
|
|
32810
|
+
"pipelineRunner.detachCamera": [{
|
|
32811
|
+
name: "deviceId",
|
|
32812
|
+
form: "single",
|
|
32813
|
+
optional: false
|
|
32814
|
+
}],
|
|
32815
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32816
|
+
name: "deviceId",
|
|
32817
|
+
form: "single",
|
|
32818
|
+
optional: false
|
|
32819
|
+
}],
|
|
32820
|
+
"pipelineRunner.reportMotion": [{
|
|
32821
|
+
name: "deviceId",
|
|
32822
|
+
form: "single",
|
|
32823
|
+
optional: false
|
|
32824
|
+
}],
|
|
32825
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32826
|
+
name: "deviceId",
|
|
32827
|
+
form: "single",
|
|
32828
|
+
optional: false
|
|
32829
|
+
}],
|
|
32830
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32831
|
+
name: "sourceDeviceId",
|
|
32832
|
+
form: "single",
|
|
32833
|
+
optional: false
|
|
32834
|
+
}],
|
|
32835
|
+
"plateGallery.getPlateByTrack": [{
|
|
32836
|
+
name: "deviceId",
|
|
32837
|
+
form: "single",
|
|
32838
|
+
optional: false
|
|
32839
|
+
}],
|
|
32840
|
+
"plateGallery.listPlates": [{
|
|
32841
|
+
name: "deviceId",
|
|
32842
|
+
form: "single",
|
|
32843
|
+
optional: true
|
|
32844
|
+
}],
|
|
32845
|
+
"privacyMask.getOptions": [{
|
|
32846
|
+
name: "deviceId",
|
|
32847
|
+
form: "single",
|
|
32848
|
+
optional: false
|
|
32849
|
+
}],
|
|
32850
|
+
"privacyMask.setAudioEnabled": [{
|
|
32851
|
+
name: "deviceId",
|
|
32852
|
+
form: "single",
|
|
32853
|
+
optional: false
|
|
32854
|
+
}],
|
|
32855
|
+
"privacyMask.setMask": [{
|
|
32856
|
+
name: "deviceId",
|
|
32857
|
+
form: "single",
|
|
32858
|
+
optional: false
|
|
32859
|
+
}],
|
|
32860
|
+
"ptz.continuousMove": [{
|
|
32861
|
+
name: "deviceId",
|
|
32862
|
+
form: "single",
|
|
32863
|
+
optional: false
|
|
32864
|
+
}],
|
|
32865
|
+
"ptz.deletePreset": [{
|
|
32866
|
+
name: "deviceId",
|
|
32867
|
+
form: "single",
|
|
32868
|
+
optional: false
|
|
32869
|
+
}],
|
|
32870
|
+
"ptz.getOptions": [{
|
|
32871
|
+
name: "deviceId",
|
|
32872
|
+
form: "single",
|
|
32873
|
+
optional: false
|
|
32874
|
+
}],
|
|
32875
|
+
"ptz.getPosition": [{
|
|
32876
|
+
name: "deviceId",
|
|
32877
|
+
form: "single",
|
|
32878
|
+
optional: false
|
|
32879
|
+
}],
|
|
32880
|
+
"ptz.getPresets": [{
|
|
32881
|
+
name: "deviceId",
|
|
32882
|
+
form: "single",
|
|
32883
|
+
optional: false
|
|
32884
|
+
}],
|
|
32885
|
+
"ptz.goHome": [{
|
|
32886
|
+
name: "deviceId",
|
|
32887
|
+
form: "single",
|
|
32888
|
+
optional: false
|
|
32889
|
+
}],
|
|
32890
|
+
"ptz.goToPreset": [{
|
|
32891
|
+
name: "deviceId",
|
|
32892
|
+
form: "single",
|
|
32893
|
+
optional: false
|
|
32894
|
+
}],
|
|
32895
|
+
"ptz.move": [{
|
|
32896
|
+
name: "deviceId",
|
|
32897
|
+
form: "single",
|
|
32898
|
+
optional: false
|
|
32899
|
+
}],
|
|
32900
|
+
"ptz.savePreset": [{
|
|
32901
|
+
name: "deviceId",
|
|
32902
|
+
form: "single",
|
|
32903
|
+
optional: false
|
|
32904
|
+
}],
|
|
32905
|
+
"ptz.setAutofocus": [{
|
|
32906
|
+
name: "deviceId",
|
|
32907
|
+
form: "single",
|
|
32908
|
+
optional: false
|
|
32909
|
+
}],
|
|
32910
|
+
"ptz.stop": [{
|
|
32911
|
+
name: "deviceId",
|
|
32912
|
+
form: "single",
|
|
32913
|
+
optional: false
|
|
32914
|
+
}],
|
|
32915
|
+
"ptzAutotrack.getSettings": [{
|
|
32916
|
+
name: "deviceId",
|
|
32917
|
+
form: "single",
|
|
32918
|
+
optional: false
|
|
32919
|
+
}],
|
|
32920
|
+
"ptzAutotrack.getStatus": [{
|
|
32921
|
+
name: "deviceId",
|
|
32922
|
+
form: "single",
|
|
32923
|
+
optional: false
|
|
32924
|
+
}],
|
|
32925
|
+
"ptzAutotrack.setEnabled": [{
|
|
32926
|
+
name: "deviceId",
|
|
32927
|
+
form: "single",
|
|
32928
|
+
optional: false
|
|
32929
|
+
}],
|
|
32930
|
+
"ptzAutotrack.setSettings": [{
|
|
32931
|
+
name: "deviceId",
|
|
32932
|
+
form: "single",
|
|
32933
|
+
optional: false
|
|
32934
|
+
}],
|
|
32935
|
+
"reboot.reboot": [{
|
|
32936
|
+
name: "deviceId",
|
|
32937
|
+
form: "single",
|
|
32938
|
+
optional: false
|
|
32939
|
+
}],
|
|
32940
|
+
"recording.deleteFootprint": [{
|
|
32941
|
+
name: "deviceId",
|
|
32942
|
+
form: "single",
|
|
32943
|
+
optional: false
|
|
32944
|
+
}],
|
|
32945
|
+
"recording.getAvailability": [{
|
|
32946
|
+
name: "deviceId",
|
|
32947
|
+
form: "single",
|
|
32948
|
+
optional: false
|
|
32949
|
+
}],
|
|
32950
|
+
"recording.getDaysWithRecordings": [{
|
|
32951
|
+
name: "deviceId",
|
|
32952
|
+
form: "single",
|
|
32953
|
+
optional: false
|
|
32954
|
+
}],
|
|
32955
|
+
"recording.getDeviceConfig": [{
|
|
32956
|
+
name: "deviceId",
|
|
32957
|
+
form: "single",
|
|
32958
|
+
optional: false
|
|
32959
|
+
}],
|
|
32960
|
+
"recording.getPlaybackManifest": [{
|
|
32961
|
+
name: "deviceId",
|
|
32962
|
+
form: "single",
|
|
32963
|
+
optional: false
|
|
32964
|
+
}],
|
|
32965
|
+
"recording.listOpsLog": [{
|
|
32966
|
+
name: "deviceId",
|
|
32967
|
+
form: "single",
|
|
32968
|
+
optional: true
|
|
32969
|
+
}],
|
|
32970
|
+
"recording.locateSegment": [{
|
|
32971
|
+
name: "deviceId",
|
|
32972
|
+
form: "single",
|
|
32973
|
+
optional: false
|
|
32974
|
+
}],
|
|
32975
|
+
"recording.pruneFootage": [{
|
|
32976
|
+
name: "deviceId",
|
|
32977
|
+
form: "single",
|
|
32978
|
+
optional: false
|
|
32979
|
+
}],
|
|
32980
|
+
"recording.readGopBytes": [{
|
|
32981
|
+
name: "deviceId",
|
|
32982
|
+
form: "single",
|
|
32983
|
+
optional: false
|
|
32984
|
+
}],
|
|
32985
|
+
"recording.readSegmentBytes": [{
|
|
32986
|
+
name: "deviceId",
|
|
32987
|
+
form: "single",
|
|
32988
|
+
optional: false
|
|
32989
|
+
}],
|
|
32990
|
+
"recording.relocateFootage": [{
|
|
32991
|
+
name: "deviceId",
|
|
32992
|
+
form: "single",
|
|
32993
|
+
optional: true
|
|
32994
|
+
}],
|
|
32995
|
+
"recording.renderClip": [{
|
|
32996
|
+
name: "deviceId",
|
|
32997
|
+
form: "single",
|
|
32998
|
+
optional: false
|
|
32999
|
+
}],
|
|
33000
|
+
"recording.renderGif": [{
|
|
33001
|
+
name: "deviceId",
|
|
33002
|
+
form: "single",
|
|
33003
|
+
optional: false
|
|
33004
|
+
}],
|
|
33005
|
+
"recording.rescanStorage": [{
|
|
33006
|
+
name: "deviceId",
|
|
33007
|
+
form: "single",
|
|
33008
|
+
optional: false
|
|
33009
|
+
}],
|
|
33010
|
+
"recording.setDeviceConfig": [{
|
|
33011
|
+
name: "deviceId",
|
|
33012
|
+
form: "single",
|
|
33013
|
+
optional: false
|
|
33014
|
+
}],
|
|
33015
|
+
"recording.startStorageMigrationMove": [{
|
|
33016
|
+
name: "deviceId",
|
|
33017
|
+
form: "single",
|
|
33018
|
+
optional: true
|
|
33019
|
+
}],
|
|
33020
|
+
"recordingExport.createExport": [{
|
|
33021
|
+
name: "deviceId",
|
|
33022
|
+
form: "single",
|
|
33023
|
+
optional: false
|
|
33024
|
+
}],
|
|
33025
|
+
"recordingExport.listExports": [{
|
|
33026
|
+
name: "deviceId",
|
|
33027
|
+
form: "single",
|
|
33028
|
+
optional: true
|
|
33029
|
+
}],
|
|
33030
|
+
"sceneMonitor.captureReference": [{
|
|
33031
|
+
name: "deviceId",
|
|
33032
|
+
form: "single",
|
|
33033
|
+
optional: false
|
|
33034
|
+
}],
|
|
33035
|
+
"sceneMonitor.createScene": [{
|
|
33036
|
+
name: "deviceId",
|
|
33037
|
+
form: "single",
|
|
33038
|
+
optional: false
|
|
33039
|
+
}],
|
|
33040
|
+
"sceneMonitor.deleteReference": [{
|
|
33041
|
+
name: "deviceId",
|
|
33042
|
+
form: "single",
|
|
33043
|
+
optional: false
|
|
33044
|
+
}],
|
|
33045
|
+
"sceneMonitor.deleteScene": [{
|
|
33046
|
+
name: "deviceId",
|
|
33047
|
+
form: "single",
|
|
33048
|
+
optional: false
|
|
33049
|
+
}],
|
|
33050
|
+
"sceneMonitor.listScenes": [{
|
|
33051
|
+
name: "deviceId",
|
|
33052
|
+
form: "single",
|
|
33053
|
+
optional: false
|
|
33054
|
+
}],
|
|
33055
|
+
"sceneMonitor.recheckNow": [{
|
|
33056
|
+
name: "deviceId",
|
|
33057
|
+
form: "single",
|
|
33058
|
+
optional: false
|
|
33059
|
+
}],
|
|
33060
|
+
"sceneMonitor.resetScene": [{
|
|
33061
|
+
name: "deviceId",
|
|
33062
|
+
form: "single",
|
|
33063
|
+
optional: false
|
|
33064
|
+
}],
|
|
33065
|
+
"sceneMonitor.updateScene": [{
|
|
33066
|
+
name: "deviceId",
|
|
33067
|
+
form: "single",
|
|
33068
|
+
optional: false
|
|
33069
|
+
}],
|
|
33070
|
+
"scriptRunner.run": [{
|
|
33071
|
+
name: "deviceId",
|
|
33072
|
+
form: "single",
|
|
33073
|
+
optional: false
|
|
33074
|
+
}],
|
|
33075
|
+
"scriptRunner.stop": [{
|
|
33076
|
+
name: "deviceId",
|
|
33077
|
+
form: "single",
|
|
33078
|
+
optional: false
|
|
33079
|
+
}],
|
|
33080
|
+
"snapshot.getDebugState": [{
|
|
33081
|
+
name: "deviceId",
|
|
33082
|
+
form: "single",
|
|
33083
|
+
optional: false
|
|
33084
|
+
}],
|
|
33085
|
+
"snapshot.getSnapshot": [{
|
|
33086
|
+
name: "deviceId",
|
|
33087
|
+
form: "single",
|
|
33088
|
+
optional: false
|
|
33089
|
+
}],
|
|
33090
|
+
"snapshot.getSnapshotLinks": [{
|
|
33091
|
+
name: "targets",
|
|
33092
|
+
form: "object-array",
|
|
33093
|
+
optional: false,
|
|
33094
|
+
itemField: "deviceId"
|
|
33095
|
+
}],
|
|
33096
|
+
"snapshot.getSnapshotOverview": [{
|
|
33097
|
+
name: "deviceIds",
|
|
33098
|
+
form: "array",
|
|
33099
|
+
optional: false
|
|
33100
|
+
}],
|
|
33101
|
+
"snapshot.invalidateCache": [{
|
|
33102
|
+
name: "deviceId",
|
|
33103
|
+
form: "single",
|
|
33104
|
+
optional: false
|
|
33105
|
+
}],
|
|
33106
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
33107
|
+
name: "deviceId",
|
|
33108
|
+
form: "single",
|
|
33109
|
+
optional: false
|
|
33110
|
+
}],
|
|
33111
|
+
"streamBroker.assignProfile": [{
|
|
33112
|
+
name: "deviceId",
|
|
33113
|
+
form: "single",
|
|
33114
|
+
optional: false
|
|
33115
|
+
}],
|
|
33116
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
33117
|
+
name: "deviceId",
|
|
33118
|
+
form: "single",
|
|
33119
|
+
optional: false
|
|
33120
|
+
}],
|
|
33121
|
+
"streamBroker.getStreamWithCodec": [{
|
|
33122
|
+
name: "deviceId",
|
|
33123
|
+
form: "single",
|
|
33124
|
+
optional: false
|
|
33125
|
+
}],
|
|
33126
|
+
"streamBroker.produceEventMedia": [{
|
|
33127
|
+
name: "deviceId",
|
|
33128
|
+
form: "single",
|
|
33129
|
+
optional: false
|
|
33130
|
+
}],
|
|
33131
|
+
"streamBroker.publishCameraStream": [{
|
|
33132
|
+
name: "deviceId",
|
|
33133
|
+
form: "single",
|
|
33134
|
+
optional: false
|
|
33135
|
+
}],
|
|
33136
|
+
"streamBroker.renderPreBufferClip": [{
|
|
33137
|
+
name: "deviceId",
|
|
33138
|
+
form: "single",
|
|
33139
|
+
optional: false
|
|
33140
|
+
}],
|
|
33141
|
+
"streamBroker.restartProfile": [{
|
|
33142
|
+
name: "deviceId",
|
|
33143
|
+
form: "single",
|
|
33144
|
+
optional: false
|
|
33145
|
+
}],
|
|
33146
|
+
"streamBroker.retractCameraStream": [{
|
|
33147
|
+
name: "deviceId",
|
|
33148
|
+
form: "single",
|
|
33149
|
+
optional: false
|
|
33150
|
+
}],
|
|
33151
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
33152
|
+
name: "deviceId",
|
|
33153
|
+
form: "single",
|
|
33154
|
+
optional: false
|
|
33155
|
+
}],
|
|
33156
|
+
"streamBroker.unassignProfile": [{
|
|
33157
|
+
name: "deviceId",
|
|
33158
|
+
form: "single",
|
|
33159
|
+
optional: false
|
|
33160
|
+
}],
|
|
33161
|
+
"streamCatalog.getCatalog": [{
|
|
33162
|
+
name: "deviceId",
|
|
33163
|
+
form: "single",
|
|
33164
|
+
optional: false
|
|
33165
|
+
}],
|
|
33166
|
+
"streamParams.getConfigSchema": [{
|
|
33167
|
+
name: "deviceId",
|
|
33168
|
+
form: "single",
|
|
33169
|
+
optional: false
|
|
33170
|
+
}],
|
|
33171
|
+
"streamParams.getOptions": [{
|
|
33172
|
+
name: "deviceId",
|
|
33173
|
+
form: "single",
|
|
33174
|
+
optional: false
|
|
33175
|
+
}],
|
|
33176
|
+
"streamParams.setProfile": [{
|
|
33177
|
+
name: "deviceId",
|
|
33178
|
+
form: "single",
|
|
33179
|
+
optional: false
|
|
33180
|
+
}],
|
|
33181
|
+
"switch.setState": [{
|
|
33182
|
+
name: "deviceId",
|
|
33183
|
+
form: "single",
|
|
33184
|
+
optional: false
|
|
33185
|
+
}],
|
|
33186
|
+
"vacuumControl.locate": [{
|
|
33187
|
+
name: "deviceId",
|
|
33188
|
+
form: "single",
|
|
33189
|
+
optional: false
|
|
33190
|
+
}],
|
|
33191
|
+
"vacuumControl.pause": [{
|
|
33192
|
+
name: "deviceId",
|
|
33193
|
+
form: "single",
|
|
33194
|
+
optional: false
|
|
33195
|
+
}],
|
|
33196
|
+
"vacuumControl.returnToBase": [{
|
|
33197
|
+
name: "deviceId",
|
|
33198
|
+
form: "single",
|
|
33199
|
+
optional: false
|
|
33200
|
+
}],
|
|
33201
|
+
"vacuumControl.setFanSpeed": [{
|
|
33202
|
+
name: "deviceId",
|
|
33203
|
+
form: "single",
|
|
33204
|
+
optional: false
|
|
33205
|
+
}],
|
|
33206
|
+
"vacuumControl.start": [{
|
|
33207
|
+
name: "deviceId",
|
|
33208
|
+
form: "single",
|
|
33209
|
+
optional: false
|
|
33210
|
+
}],
|
|
33211
|
+
"vacuumControl.stop": [{
|
|
33212
|
+
name: "deviceId",
|
|
33213
|
+
form: "single",
|
|
33214
|
+
optional: false
|
|
33215
|
+
}],
|
|
33216
|
+
"valve.close": [{
|
|
33217
|
+
name: "deviceId",
|
|
33218
|
+
form: "single",
|
|
33219
|
+
optional: false
|
|
33220
|
+
}],
|
|
33221
|
+
"valve.open": [{
|
|
33222
|
+
name: "deviceId",
|
|
33223
|
+
form: "single",
|
|
33224
|
+
optional: false
|
|
33225
|
+
}],
|
|
33226
|
+
"valve.setPosition": [{
|
|
33227
|
+
name: "deviceId",
|
|
33228
|
+
form: "single",
|
|
33229
|
+
optional: false
|
|
33230
|
+
}],
|
|
33231
|
+
"valve.stop": [{
|
|
33232
|
+
name: "deviceId",
|
|
33233
|
+
form: "single",
|
|
33234
|
+
optional: false
|
|
33235
|
+
}],
|
|
33236
|
+
"videoclips.getClipPlayback": [{
|
|
33237
|
+
name: "deviceId",
|
|
33238
|
+
form: "single",
|
|
33239
|
+
optional: false
|
|
33240
|
+
}],
|
|
33241
|
+
"videoclips.listClips": [{
|
|
33242
|
+
name: "deviceId",
|
|
33243
|
+
form: "single",
|
|
33244
|
+
optional: false
|
|
33245
|
+
}],
|
|
33246
|
+
"waterHeater.setAway": [{
|
|
33247
|
+
name: "deviceId",
|
|
33248
|
+
form: "single",
|
|
33249
|
+
optional: false
|
|
33250
|
+
}],
|
|
33251
|
+
"waterHeater.setOperationMode": [{
|
|
33252
|
+
name: "deviceId",
|
|
33253
|
+
form: "single",
|
|
33254
|
+
optional: false
|
|
33255
|
+
}],
|
|
33256
|
+
"waterHeater.setTargetTemp": [{
|
|
33257
|
+
name: "deviceId",
|
|
33258
|
+
form: "single",
|
|
33259
|
+
optional: false
|
|
33260
|
+
}],
|
|
33261
|
+
"webrtcSession.addIceCandidate": [{
|
|
33262
|
+
name: "deviceId",
|
|
33263
|
+
form: "single",
|
|
33264
|
+
optional: false
|
|
33265
|
+
}],
|
|
33266
|
+
"webrtcSession.closeSession": [{
|
|
33267
|
+
name: "deviceId",
|
|
33268
|
+
form: "single",
|
|
33269
|
+
optional: false
|
|
33270
|
+
}],
|
|
33271
|
+
"webrtcSession.createSession": [{
|
|
33272
|
+
name: "deviceId",
|
|
33273
|
+
form: "single",
|
|
33274
|
+
optional: false
|
|
33275
|
+
}],
|
|
33276
|
+
"webrtcSession.getIceCandidates": [{
|
|
33277
|
+
name: "deviceId",
|
|
33278
|
+
form: "single",
|
|
33279
|
+
optional: false
|
|
33280
|
+
}],
|
|
33281
|
+
"webrtcSession.getSessionState": [{
|
|
33282
|
+
name: "deviceId",
|
|
33283
|
+
form: "single",
|
|
33284
|
+
optional: false
|
|
33285
|
+
}],
|
|
33286
|
+
"webrtcSession.handleAnswer": [{
|
|
33287
|
+
name: "deviceId",
|
|
33288
|
+
form: "single",
|
|
33289
|
+
optional: false
|
|
33290
|
+
}],
|
|
33291
|
+
"webrtcSession.handleOffer": [{
|
|
33292
|
+
name: "deviceId",
|
|
33293
|
+
form: "single",
|
|
33294
|
+
optional: false
|
|
33295
|
+
}],
|
|
33296
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
33297
|
+
name: "deviceId",
|
|
33298
|
+
form: "single",
|
|
33299
|
+
optional: false
|
|
33300
|
+
}],
|
|
33301
|
+
"webrtcSession.listStreams": [{
|
|
33302
|
+
name: "deviceId",
|
|
33303
|
+
form: "single",
|
|
33304
|
+
optional: false
|
|
33305
|
+
}],
|
|
33306
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
33307
|
+
name: "deviceId",
|
|
33308
|
+
form: "single",
|
|
33309
|
+
optional: false
|
|
33310
|
+
}],
|
|
33311
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
33312
|
+
name: "deviceId",
|
|
33313
|
+
form: "single",
|
|
33314
|
+
optional: false
|
|
33315
|
+
}],
|
|
33316
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
33317
|
+
name: "deviceId",
|
|
33318
|
+
form: "single",
|
|
33319
|
+
optional: false
|
|
33320
|
+
}],
|
|
33321
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
33322
|
+
name: "deviceId",
|
|
33323
|
+
form: "single",
|
|
33324
|
+
optional: false
|
|
33325
|
+
}],
|
|
33326
|
+
"zoneRules.listRules": [{
|
|
33327
|
+
name: "deviceId",
|
|
33328
|
+
form: "single",
|
|
33329
|
+
optional: false
|
|
33330
|
+
}],
|
|
33331
|
+
"zoneRules.setRules": [{
|
|
33332
|
+
name: "deviceId",
|
|
33333
|
+
form: "single",
|
|
33334
|
+
optional: false
|
|
33335
|
+
}],
|
|
33336
|
+
"zones.addZone": [{
|
|
33337
|
+
name: "deviceId",
|
|
33338
|
+
form: "single",
|
|
33339
|
+
optional: false
|
|
33340
|
+
}],
|
|
33341
|
+
"zones.listZones": [{
|
|
33342
|
+
name: "deviceId",
|
|
33343
|
+
form: "single",
|
|
33344
|
+
optional: false
|
|
33345
|
+
}],
|
|
33346
|
+
"zones.removeZone": [{
|
|
33347
|
+
name: "deviceId",
|
|
33348
|
+
form: "single",
|
|
33349
|
+
optional: false
|
|
33350
|
+
}],
|
|
33351
|
+
"zones.updateZone": [{
|
|
33352
|
+
name: "deviceId",
|
|
33353
|
+
form: "single",
|
|
33354
|
+
optional: false
|
|
33355
|
+
}]
|
|
33356
|
+
});
|
|
30752
33357
|
Object.freeze({
|
|
30753
33358
|
"broker": "broker",
|
|
30754
33359
|
"device-export": "device-export",
|