@camstack/addon-auth 1.2.18 → 1.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dist-RQZEyLZg.mjs → dist-BPw7MIhF.mjs} +2317 -69
- package/dist/{dist-Tng9asvg.js → dist-CIER3syF.js} +2317 -69
- package/dist/magic-link/auth-magic-link.addon.js +1 -1
- package/dist/magic-link/auth-magic-link.addon.mjs +1 -1
- package/dist/oidc/auth-oidc.addon.js +1 -1
- package/dist/oidc/auth-oidc.addon.mjs +1 -1
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DicoXrsH.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-CymdFQqK.mjs} +3 -3
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-ALMi5go0.mjs +26 -0
- package/dist/webauthn/auth-webauthn.addon.js +17 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +17 -1
- package/dist/webauthn/{hostInit-C4qZ1Ak_.mjs → hostInit-Bnobf4vt.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-kwtqk0yt.mjs +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2996,6 +3023,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2996
3023
|
fallback: left.fallback
|
|
2997
3024
|
}, ctx);
|
|
2998
3025
|
}
|
|
3026
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3027
|
+
$ZodPipe.init(inst, def);
|
|
3028
|
+
});
|
|
2999
3029
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3000
3030
|
$ZodType.init(inst, def);
|
|
3001
3031
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5181,6 +5211,10 @@ function pipe(in_, out) {
|
|
|
5181
5211
|
out
|
|
5182
5212
|
});
|
|
5183
5213
|
}
|
|
5214
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5215
|
+
ZodPipe.init(inst, def);
|
|
5216
|
+
$ZodPreprocess.init(inst, def);
|
|
5217
|
+
});
|
|
5184
5218
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5185
5219
|
$ZodReadonly.init(inst, def);
|
|
5186
5220
|
ZodType.init(inst, def);
|
|
@@ -5239,6 +5273,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5239
5273
|
};
|
|
5240
5274
|
return inst;
|
|
5241
5275
|
}
|
|
5276
|
+
function preprocess(fn, schema) {
|
|
5277
|
+
return new ZodPreprocess({
|
|
5278
|
+
type: "pipe",
|
|
5279
|
+
in: transform(fn),
|
|
5280
|
+
out: schema
|
|
5281
|
+
});
|
|
5282
|
+
}
|
|
5242
5283
|
//#endregion
|
|
5243
5284
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5244
5285
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -12302,6 +12343,17 @@ var LlmImageSchema = object({
|
|
|
12302
12343
|
bytes: _instanceof(Uint8Array),
|
|
12303
12344
|
mimeType: string()
|
|
12304
12345
|
});
|
|
12346
|
+
/**
|
|
12347
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12348
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12349
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12350
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12351
|
+
*/
|
|
12352
|
+
var LlmRetryPolicySchema = object({
|
|
12353
|
+
enabled: boolean().default(false),
|
|
12354
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12355
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12356
|
+
});
|
|
12305
12357
|
var LlmGenerateBaseInputSchema = object({
|
|
12306
12358
|
/** Collection routing (the notification-output posture). */
|
|
12307
12359
|
addonId: string().optional(),
|
|
@@ -12316,7 +12368,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12316
12368
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12317
12369
|
/** Per-call override of the profile default. */
|
|
12318
12370
|
maxTokens: number().int().positive().optional(),
|
|
12319
|
-
temperature: number().optional()
|
|
12371
|
+
temperature: number().optional(),
|
|
12372
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12373
|
+
topP: number().min(0).max(1).optional(),
|
|
12374
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12375
|
+
topK: number().int().positive().optional(),
|
|
12376
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12377
|
+
timeoutMs: number().int().positive().optional(),
|
|
12378
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12379
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12380
|
+
/**
|
|
12381
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12382
|
+
*
|
|
12383
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12384
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12385
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12386
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12387
|
+
* not generations, and the real load is unbounded.
|
|
12388
|
+
*
|
|
12389
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12390
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12391
|
+
*/
|
|
12392
|
+
requestId: string().optional()
|
|
12320
12393
|
});
|
|
12321
12394
|
/**
|
|
12322
12395
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12355,8 +12428,49 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12355
12428
|
gpuLayers: number().int().default(0),
|
|
12356
12429
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12357
12430
|
threads: number().int().optional(),
|
|
12358
|
-
/** Concurrent slots. */
|
|
12431
|
+
/** Concurrent slots (`--parallel`). */
|
|
12359
12432
|
parallel: number().int().default(1),
|
|
12433
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12434
|
+
batchSize: number().int().positive().optional(),
|
|
12435
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12436
|
+
ubatchSize: number().int().positive().optional(),
|
|
12437
|
+
/**
|
|
12438
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12439
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12440
|
+
*/
|
|
12441
|
+
flashAttention: boolean().default(false),
|
|
12442
|
+
/**
|
|
12443
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12444
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12445
|
+
* what the RAM budget is counting.
|
|
12446
|
+
*/
|
|
12447
|
+
mlock: boolean().default(false),
|
|
12448
|
+
/**
|
|
12449
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12450
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12451
|
+
* store produces on every first token.
|
|
12452
|
+
*/
|
|
12453
|
+
noMmap: boolean().default(false),
|
|
12454
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12455
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12456
|
+
cacheTypeK: _enum([
|
|
12457
|
+
"f32",
|
|
12458
|
+
"f16",
|
|
12459
|
+
"q8_0",
|
|
12460
|
+
"q5_1",
|
|
12461
|
+
"q5_0",
|
|
12462
|
+
"q4_1",
|
|
12463
|
+
"q4_0"
|
|
12464
|
+
]).optional(),
|
|
12465
|
+
cacheTypeV: _enum([
|
|
12466
|
+
"f32",
|
|
12467
|
+
"f16",
|
|
12468
|
+
"q8_0",
|
|
12469
|
+
"q5_1",
|
|
12470
|
+
"q5_0",
|
|
12471
|
+
"q4_1",
|
|
12472
|
+
"q4_0"
|
|
12473
|
+
]).optional(),
|
|
12360
12474
|
/** Else lazy: first generate boots it. */
|
|
12361
12475
|
autoStart: boolean().default(false),
|
|
12362
12476
|
/** 0 = never; frees RAM after quiet periods. */
|
|
@@ -12444,10 +12558,44 @@ var LlmProfileSchema = object({
|
|
|
12444
12558
|
baseUrl: string().optional(),
|
|
12445
12559
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12446
12560
|
apiKey: string().optional(),
|
|
12561
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12562
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12563
|
+
* question about a picture nobody sent. */
|
|
12447
12564
|
supportsVision: boolean(),
|
|
12448
12565
|
temperature: number().min(0).max(2).optional(),
|
|
12566
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12567
|
+
topP: number().min(0).max(1).optional(),
|
|
12568
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12569
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12570
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12571
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12572
|
+
topK: number().int().positive().optional(),
|
|
12449
12573
|
maxTokens: number().int().positive().optional(),
|
|
12574
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12575
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12576
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12577
|
+
contextLength: number().int().positive().optional(),
|
|
12578
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12579
|
+
* two system prompts fighting is worse than either alone). */
|
|
12580
|
+
systemPrompt: string().optional(),
|
|
12581
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12450
12582
|
timeoutMs: number().int().positive().default(6e4),
|
|
12583
|
+
/** Wait for response headers only. */
|
|
12584
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12585
|
+
/** Accepted, but no output yet — a cold GPU load lives here. */
|
|
12586
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12587
|
+
/** Output started then stopped. */
|
|
12588
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12589
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12590
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12591
|
+
retry: LlmRetryPolicySchema.default({
|
|
12592
|
+
enabled: false,
|
|
12593
|
+
maxAttempts: 1
|
|
12594
|
+
}),
|
|
12595
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12596
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12597
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12598
|
+
toolsEnabled: boolean().default(false),
|
|
12451
12599
|
extraHeaders: record(string(), string()).optional(),
|
|
12452
12600
|
/** kind === 'managed-local' only (spec §4). */
|
|
12453
12601
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12509,7 +12657,10 @@ var ProfileRefInputSchema = object({
|
|
|
12509
12657
|
addonId: string(),
|
|
12510
12658
|
profileId: string()
|
|
12511
12659
|
});
|
|
12512
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12660
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12661
|
+
addonId: string().optional(),
|
|
12662
|
+
requestId: string()
|
|
12663
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12513
12664
|
kind: "mutation",
|
|
12514
12665
|
auth: "admin"
|
|
12515
12666
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -14147,6 +14298,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14147
14298
|
"stream-offline",
|
|
14148
14299
|
"node-online",
|
|
14149
14300
|
"node-offline",
|
|
14301
|
+
"node-inference-unavailable",
|
|
14302
|
+
"detection-blind",
|
|
14150
14303
|
"addon-update-available",
|
|
14151
14304
|
"server-update-available",
|
|
14152
14305
|
"alarm-triggered",
|
|
@@ -14208,7 +14361,16 @@ var NcScheduleSchema = object({
|
|
|
14208
14361
|
});
|
|
14209
14362
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14210
14363
|
var NcPlateMatcherSchema = object({
|
|
14211
|
-
|
|
14364
|
+
/**
|
|
14365
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14366
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14367
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14368
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14369
|
+
*
|
|
14370
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14371
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14372
|
+
*/
|
|
14373
|
+
values: array(string().min(1)),
|
|
14212
14374
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14213
14375
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14214
14376
|
});
|
|
@@ -14242,28 +14404,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14242
14404
|
/**
|
|
14243
14405
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14244
14406
|
*
|
|
14245
|
-
*
|
|
14246
|
-
*
|
|
14247
|
-
*
|
|
14248
|
-
*
|
|
14249
|
-
*
|
|
14250
|
-
*
|
|
14251
|
-
*
|
|
14252
|
-
*
|
|
14253
|
-
*
|
|
14254
|
-
*
|
|
14255
|
-
*
|
|
14256
|
-
*
|
|
14257
|
-
*
|
|
14258
|
-
*
|
|
14259
|
-
*
|
|
14260
|
-
*
|
|
14261
|
-
*
|
|
14262
|
-
*
|
|
14263
|
-
*
|
|
14264
|
-
*
|
|
14265
|
-
*
|
|
14266
|
-
* `
|
|
14407
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14408
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14409
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14410
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14411
|
+
*
|
|
14412
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14413
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14414
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14415
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14416
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14417
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14418
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14419
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14420
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14421
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14422
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14423
|
+
* seconds is 100% of nothing.
|
|
14424
|
+
*
|
|
14425
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14426
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14427
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14428
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14429
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14430
|
+
* the wrong question to ask of a sparse classifier.
|
|
14431
|
+
*
|
|
14432
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14433
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14434
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14435
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14436
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14267
14437
|
*
|
|
14268
14438
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14269
14439
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14271,13 +14441,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14271
14441
|
* an operator who typed `dog` mean the same thing.
|
|
14272
14442
|
*/
|
|
14273
14443
|
var NcAudioConditionSchema = object({
|
|
14274
|
-
/**
|
|
14444
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14275
14445
|
labels: array(string().min(1)).min(1).optional(),
|
|
14276
|
-
/**
|
|
14446
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14277
14447
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14278
|
-
/**
|
|
14448
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14279
14449
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14280
|
-
/**
|
|
14450
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14281
14451
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14282
14452
|
});
|
|
14283
14453
|
/**
|
|
@@ -14447,18 +14617,47 @@ var NcConditionsSchema = object({
|
|
|
14447
14617
|
*/
|
|
14448
14618
|
labelEquals: array(string().min(1)).optional(),
|
|
14449
14619
|
/**
|
|
14450
|
-
*
|
|
14451
|
-
*
|
|
14452
|
-
*
|
|
14620
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14621
|
+
* is about recognised people at all.
|
|
14622
|
+
*
|
|
14623
|
+
* Three states, and the empty one is the point:
|
|
14624
|
+
*
|
|
14625
|
+
* | value | meaning |
|
|
14626
|
+
* | --- | --- |
|
|
14627
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14628
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14629
|
+
* | a list | only these identities |
|
|
14630
|
+
*
|
|
14631
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14632
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14633
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14634
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14635
|
+
* with the list under it is worse than no switch (D62).
|
|
14636
|
+
*
|
|
14637
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14638
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14639
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14640
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14641
|
+
* `{{label}}` renders.
|
|
14642
|
+
*
|
|
14643
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14644
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14645
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14646
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14647
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14453
14648
|
*/
|
|
14454
14649
|
identities: array(string().min(1)).optional(),
|
|
14455
|
-
/**
|
|
14650
|
+
/**
|
|
14651
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14652
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14653
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14654
|
+
*/
|
|
14456
14655
|
plates: NcPlateMatcherSchema.optional(),
|
|
14457
14656
|
/**
|
|
14458
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14459
|
-
*
|
|
14460
|
-
* identity
|
|
14461
|
-
*
|
|
14657
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14658
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14659
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14660
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14462
14661
|
*/
|
|
14463
14662
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14464
14663
|
/**
|
|
@@ -14850,7 +15049,80 @@ var NcRuleInputSchema = object({
|
|
|
14850
15049
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14851
15050
|
* did, and absent is the only way to say that without a migration.
|
|
14852
15051
|
*/
|
|
14853
|
-
confirm: NcConfirmSchema.optional()
|
|
15052
|
+
confirm: NcConfirmSchema.optional(),
|
|
15053
|
+
/**
|
|
15054
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15055
|
+
*
|
|
15056
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15057
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15058
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15059
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15060
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15061
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15062
|
+
*
|
|
15063
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15064
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15065
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15066
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15067
|
+
*
|
|
15068
|
+
* | value | what happens |
|
|
15069
|
+
* | --- | --- |
|
|
15070
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15071
|
+
* | 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) |
|
|
15072
|
+
*
|
|
15073
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15074
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15075
|
+
* rule authored before this field meant.
|
|
15076
|
+
*
|
|
15077
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15078
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15079
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15080
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15081
|
+
*/
|
|
15082
|
+
waitForEnhancement: boolean().optional(),
|
|
15083
|
+
/**
|
|
15084
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15085
|
+
*
|
|
15086
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15087
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15088
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15089
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15090
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15091
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15092
|
+
*
|
|
15093
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15094
|
+
*
|
|
15095
|
+
* ### Why an idle cutoff and not a window
|
|
15096
|
+
*
|
|
15097
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15098
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15099
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15100
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15101
|
+
*
|
|
15102
|
+
* ### What it replaces
|
|
15103
|
+
*
|
|
15104
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15105
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15106
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15107
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15108
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15109
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15110
|
+
* throttled by the window its own first member spent.
|
|
15111
|
+
*
|
|
15112
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15113
|
+
*
|
|
15114
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15115
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15116
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15117
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15118
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15119
|
+
* path. Neither combination fires twice for one subject.
|
|
15120
|
+
*
|
|
15121
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15122
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15123
|
+
* field existed.
|
|
15124
|
+
*/
|
|
15125
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14854
15126
|
});
|
|
14855
15127
|
/**
|
|
14856
15128
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15362,7 +15634,87 @@ var MethodAccessSchema = _enum([
|
|
|
15362
15634
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15363
15635
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15364
15636
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15365
|
-
|
|
15637
|
+
/**
|
|
15638
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15639
|
+
*
|
|
15640
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15641
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15642
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15643
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15644
|
+
*
|
|
15645
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15646
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15647
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15648
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15649
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15650
|
+
* is NOT covered until the grant is edited.
|
|
15651
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15652
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15653
|
+
* re-resolves on the next request.
|
|
15654
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15655
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15656
|
+
* null/unset location matches NO `locations` selector.
|
|
15657
|
+
*/
|
|
15658
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15659
|
+
object({ kind: literal("all") }),
|
|
15660
|
+
object({
|
|
15661
|
+
kind: literal("ids"),
|
|
15662
|
+
ids: array(number().int()).min(1)
|
|
15663
|
+
}),
|
|
15664
|
+
object({
|
|
15665
|
+
kind: literal("types"),
|
|
15666
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15667
|
+
}),
|
|
15668
|
+
object({
|
|
15669
|
+
kind: literal("locations"),
|
|
15670
|
+
locations: array(string().min(1)).min(1)
|
|
15671
|
+
})
|
|
15672
|
+
]);
|
|
15673
|
+
var DeviceTokenScopeSchema = object({
|
|
15674
|
+
type: literal("device"),
|
|
15675
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15676
|
+
selector: DeviceSelectorSchema,
|
|
15677
|
+
access: array(MethodAccessSchema).min(1),
|
|
15678
|
+
/**
|
|
15679
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15680
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15681
|
+
* Direction is parent → children ONLY.
|
|
15682
|
+
*
|
|
15683
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15684
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15685
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15686
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15687
|
+
* explicitly to override that default per grant.
|
|
15688
|
+
*/
|
|
15689
|
+
includeLinked: boolean().optional()
|
|
15690
|
+
});
|
|
15691
|
+
/**
|
|
15692
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15693
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15694
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15695
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15696
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15697
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
15698
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
15699
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
15700
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
15701
|
+
*/
|
|
15702
|
+
function migrateLegacyTokenScope(raw) {
|
|
15703
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
15704
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
15705
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
15706
|
+
const targets = Reflect.get(raw, "targets");
|
|
15707
|
+
if (!Array.isArray(targets)) return raw;
|
|
15708
|
+
return {
|
|
15709
|
+
type: "device",
|
|
15710
|
+
selector: {
|
|
15711
|
+
kind: "ids",
|
|
15712
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
15713
|
+
},
|
|
15714
|
+
access: Reflect.get(raw, "access")
|
|
15715
|
+
};
|
|
15716
|
+
}
|
|
15717
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15366
15718
|
object({
|
|
15367
15719
|
type: literal("category"),
|
|
15368
15720
|
target: CapScopeSchema,
|
|
@@ -15378,18 +15730,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15378
15730
|
target: string(),
|
|
15379
15731
|
access: array(MethodAccessSchema).min(1)
|
|
15380
15732
|
}),
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
/**
|
|
15384
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15385
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15386
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15387
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15388
|
-
*/
|
|
15389
|
-
targets: array(string()).min(1),
|
|
15390
|
-
access: array(MethodAccessSchema).min(1)
|
|
15391
|
-
})
|
|
15392
|
-
]);
|
|
15733
|
+
DeviceTokenScopeSchema
|
|
15734
|
+
]));
|
|
15393
15735
|
object({
|
|
15394
15736
|
id: string(),
|
|
15395
15737
|
username: string(),
|
|
@@ -15706,7 +16048,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15706
16048
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15707
16049
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15708
16050
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15709
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16051
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15710
16052
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15711
16053
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15712
16054
|
* (`getObjectEvents` et al.).
|
|
@@ -15842,7 +16184,21 @@ union([literal(1), literal(2)]);
|
|
|
15842
16184
|
var LabelAttributionSchema = object({
|
|
15843
16185
|
stepId: string(),
|
|
15844
16186
|
modelId: string().optional(),
|
|
15845
|
-
decidedAt: number()
|
|
16187
|
+
decidedAt: number(),
|
|
16188
|
+
/**
|
|
16189
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16190
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16191
|
+
*
|
|
16192
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16193
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16194
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16195
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16196
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16197
|
+
*
|
|
16198
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16199
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16200
|
+
*/
|
|
16201
|
+
identityId: string().optional()
|
|
15846
16202
|
});
|
|
15847
16203
|
/**
|
|
15848
16204
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15979,6 +16335,28 @@ var TrackSchema = object({
|
|
|
15979
16335
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15980
16336
|
*/
|
|
15981
16337
|
hasFace: boolean().optional(),
|
|
16338
|
+
/**
|
|
16339
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16340
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16341
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16342
|
+
*
|
|
16343
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16344
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16345
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16346
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16347
|
+
* stop. This is the composition note that makes the row true.
|
|
16348
|
+
*
|
|
16349
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16350
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16351
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16352
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16353
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16354
|
+
*
|
|
16355
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16356
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16357
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16358
|
+
*/
|
|
16359
|
+
hasRider: boolean().optional(),
|
|
15982
16360
|
...TrackFlagFields,
|
|
15983
16361
|
...TrackRetrainFields
|
|
15984
16362
|
});
|
|
@@ -17405,7 +17783,7 @@ var detectionFpsField = {
|
|
|
17405
17783
|
var occupancyRecheckSecField = {
|
|
17406
17784
|
min: 0,
|
|
17407
17785
|
max: 300,
|
|
17408
|
-
default:
|
|
17786
|
+
default: 300,
|
|
17409
17787
|
step: 5
|
|
17410
17788
|
};
|
|
17411
17789
|
var occupancyRecheckFramesField = {
|
|
@@ -23737,7 +24115,7 @@ method(object({
|
|
|
23737
24115
|
toMs: number()
|
|
23738
24116
|
}), RecordingAvailabilitySchema, {
|
|
23739
24117
|
kind: "query",
|
|
23740
|
-
auth: "
|
|
24118
|
+
auth: "protected"
|
|
23741
24119
|
}), method(object({
|
|
23742
24120
|
deviceId: number(),
|
|
23743
24121
|
fromMs: number(),
|
|
@@ -23745,14 +24123,14 @@ method(object({
|
|
|
23745
24123
|
tzOffsetMinutes: number()
|
|
23746
24124
|
}), RecordingDaysSchema, {
|
|
23747
24125
|
kind: "query",
|
|
23748
|
-
auth: "
|
|
24126
|
+
auth: "protected"
|
|
23749
24127
|
}), method(object({
|
|
23750
24128
|
deviceId: number(),
|
|
23751
24129
|
fromMs: number(),
|
|
23752
24130
|
toMs: number()
|
|
23753
24131
|
}), RecordingManifestSchema, {
|
|
23754
24132
|
kind: "query",
|
|
23755
|
-
auth: "
|
|
24133
|
+
auth: "protected"
|
|
23756
24134
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
23757
24135
|
kind: "query",
|
|
23758
24136
|
auth: "admin"
|
|
@@ -24042,14 +24420,50 @@ method(object({
|
|
|
24042
24420
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
24043
24421
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
24044
24422
|
*
|
|
24045
|
-
*
|
|
24046
|
-
*
|
|
24047
|
-
*
|
|
24048
|
-
*
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
*
|
|
24423
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
24424
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
24425
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
24426
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
24427
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
24428
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
24429
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
24430
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
24431
|
+
*
|
|
24432
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
24433
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
24434
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
24435
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
24436
|
+
*
|
|
24437
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
24438
|
+
* availability change; consumers never poll.
|
|
24439
|
+
*/
|
|
24440
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
24441
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
24442
|
+
* Open by design so more can be added without a wire break.
|
|
24443
|
+
*
|
|
24444
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
24445
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
24446
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24447
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
24052
24448
|
var SceneConditionSchema = string();
|
|
24449
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
24450
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
24451
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
24452
|
+
* and never counts toward hysteresis in either direction. */
|
|
24453
|
+
var SceneVerdictSchema = _enum([
|
|
24454
|
+
"matched",
|
|
24455
|
+
"diverged",
|
|
24456
|
+
"unknown"
|
|
24457
|
+
]);
|
|
24458
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
24459
|
+
* silence that reads as "nothing has happened". */
|
|
24460
|
+
var SceneUnavailableSchema = _enum([
|
|
24461
|
+
"no-reference-for-condition",
|
|
24462
|
+
"view-shifted",
|
|
24463
|
+
"no-vision-profile",
|
|
24464
|
+
"encoder-model-changed",
|
|
24465
|
+
"no-snapshot"
|
|
24466
|
+
]);
|
|
24053
24467
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
24054
24468
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
24055
24469
|
var SceneReferenceSchema = object({
|
|
@@ -24057,7 +24471,14 @@ var SceneReferenceSchema = object({
|
|
|
24057
24471
|
modelId: string(),
|
|
24058
24472
|
condition: SceneConditionSchema,
|
|
24059
24473
|
capturedAt: number(),
|
|
24060
|
-
thumbnailMediaId: string().optional()
|
|
24474
|
+
thumbnailMediaId: string().optional(),
|
|
24475
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
24476
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
24477
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
24478
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
24479
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
24480
|
+
* transition, not per poll. */
|
|
24481
|
+
anchorEmbedding: array(number()).optional()
|
|
24061
24482
|
});
|
|
24062
24483
|
var SceneMonitorStateSchema = object({
|
|
24063
24484
|
id: string(),
|
|
@@ -24079,6 +24500,25 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
24079
24500
|
profileId: string().optional(),
|
|
24080
24501
|
hysteresisCount: number().int().positive()
|
|
24081
24502
|
})]);
|
|
24503
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
24504
|
+
/**
|
|
24505
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
24506
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
24507
|
+
*
|
|
24508
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
24509
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
24510
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
24511
|
+
* stateful claim that costs the operator a trip to reset.
|
|
24512
|
+
*/
|
|
24513
|
+
var SceneConfirmSchema = object({
|
|
24514
|
+
enabled: boolean().default(false),
|
|
24515
|
+
prompt: string().min(1).max(1e3),
|
|
24516
|
+
profileId: string().optional(),
|
|
24517
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
24518
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
24519
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
24520
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
24521
|
+
});
|
|
24082
24522
|
var SceneMonitorSchema = object({
|
|
24083
24523
|
id: string(),
|
|
24084
24524
|
label: string(),
|
|
@@ -24097,7 +24537,41 @@ var SceneMonitorSchema = object({
|
|
|
24097
24537
|
lastConfidence: number().nullable(),
|
|
24098
24538
|
currentCondition: SceneConditionSchema.nullable(),
|
|
24099
24539
|
availability: _enum(["ok", "unavailable"]),
|
|
24100
|
-
unavailableReason: string().nullable()
|
|
24540
|
+
unavailableReason: string().nullable(),
|
|
24541
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
24542
|
+
baselineStateId: string().nullable(),
|
|
24543
|
+
/** Which boolean drives notification rules and any export. */
|
|
24544
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
24545
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
24546
|
+
verdict: SceneVerdictSchema,
|
|
24547
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
24548
|
+
latched: boolean(),
|
|
24549
|
+
/** Last reset (or creation). */
|
|
24550
|
+
armedAt: number(),
|
|
24551
|
+
divergedAt: number().nullable(),
|
|
24552
|
+
restoredAt: number().nullable(),
|
|
24553
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
24554
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
24555
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
24556
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
24557
|
+
/** An observation only advances the pending count when it is at least this
|
|
24558
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
24559
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
24560
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
24561
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
24562
|
+
confirm: SceneConfirmSchema.optional(),
|
|
24563
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
24564
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
24565
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
24566
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
24567
|
+
* automation can react to the bin coming back without the operator's own
|
|
24568
|
+
* alarm silently clearing itself. */
|
|
24569
|
+
autoRestore: boolean().default(false),
|
|
24570
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
24571
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
24572
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
24573
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
24574
|
+
coveredConditions: array(SceneConditionSchema)
|
|
24101
24575
|
});
|
|
24102
24576
|
var SceneMonitorStatusSchema = object({
|
|
24103
24577
|
monitors: array(SceneMonitorSchema),
|
|
@@ -24130,7 +24604,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24130
24604
|
"both"
|
|
24131
24605
|
]).optional(),
|
|
24132
24606
|
checkIntervalSec: number().optional(),
|
|
24133
|
-
check: SceneCheckSchema.optional()
|
|
24607
|
+
check: SceneCheckSchema.optional(),
|
|
24608
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
24609
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
24610
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
24611
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
24612
|
+
autoRestore: boolean().optional(),
|
|
24613
|
+
/** `null` clears the vision-model adjudicator. */
|
|
24614
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
24134
24615
|
})
|
|
24135
24616
|
}), _void(), {
|
|
24136
24617
|
kind: "mutation",
|
|
@@ -24167,6 +24648,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSche
|
|
|
24167
24648
|
}), _void(), {
|
|
24168
24649
|
kind: "mutation",
|
|
24169
24650
|
auth: "admin"
|
|
24651
|
+
}), method(object({
|
|
24652
|
+
deviceId: number(),
|
|
24653
|
+
monitorId: string(),
|
|
24654
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
24655
|
+
recapture: boolean().optional()
|
|
24656
|
+
}), _void(), {
|
|
24657
|
+
kind: "mutation",
|
|
24658
|
+
auth: "admin"
|
|
24170
24659
|
});
|
|
24171
24660
|
/**
|
|
24172
24661
|
* Per-stage gating mode applied to the zones a rule references.
|
|
@@ -24475,12 +24964,64 @@ var NetworkAddressSchema = object({
|
|
|
24475
24964
|
family: string(),
|
|
24476
24965
|
internal: boolean()
|
|
24477
24966
|
});
|
|
24967
|
+
/**
|
|
24968
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
24969
|
+
* numbers.
|
|
24970
|
+
*
|
|
24971
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
24972
|
+
* nothing overwrites it.
|
|
24973
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
24974
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
24975
|
+
* the sun-times consumers otherwise fall back to.
|
|
24976
|
+
*
|
|
24977
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
24978
|
+
* own input will eventually trust the guess.
|
|
24979
|
+
*/
|
|
24980
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
24981
|
+
/**
|
|
24982
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
24983
|
+
*
|
|
24984
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
24985
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
24986
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
24987
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
24988
|
+
* coordinates or presses detect.
|
|
24989
|
+
*/
|
|
24990
|
+
var SiteLocationStatusSchema = object({
|
|
24991
|
+
location: object({
|
|
24992
|
+
/** WGS84 decimal degrees. */
|
|
24993
|
+
latitude: number().min(-90).max(90),
|
|
24994
|
+
longitude: number().min(-180).max(180),
|
|
24995
|
+
source: SiteLocationSourceSchema,
|
|
24996
|
+
/** Epoch ms the value was last written. */
|
|
24997
|
+
updatedAt: number(),
|
|
24998
|
+
/**
|
|
24999
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
25000
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
25001
|
+
*/
|
|
25002
|
+
label: string().optional()
|
|
25003
|
+
}).nullable(),
|
|
25004
|
+
derivationAttemptedAt: number().nullable(),
|
|
25005
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
25006
|
+
derivationError: string().nullable()
|
|
25007
|
+
});
|
|
25008
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
25009
|
+
var SetSiteLocationInputSchema = object({
|
|
25010
|
+
latitude: number().min(-90).max(90),
|
|
25011
|
+
longitude: number().min(-180).max(180)
|
|
25012
|
+
}).nullable();
|
|
24478
25013
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
24479
25014
|
kind: "mutation",
|
|
24480
25015
|
auth: "admin"
|
|
24481
25016
|
}), method(_void(), _void(), {
|
|
24482
25017
|
kind: "mutation",
|
|
24483
25018
|
auth: "admin"
|
|
25019
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
25020
|
+
kind: "mutation",
|
|
25021
|
+
auth: "admin"
|
|
25022
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
25023
|
+
kind: "mutation",
|
|
25024
|
+
auth: "admin"
|
|
24484
25025
|
});
|
|
24485
25026
|
object({
|
|
24486
25027
|
/** True when the device's tamper switch / case-open contact is
|
|
@@ -27210,6 +27751,12 @@ Object.freeze({
|
|
|
27210
27751
|
addonId: null,
|
|
27211
27752
|
access: "create"
|
|
27212
27753
|
},
|
|
27754
|
+
"llm.cancel": {
|
|
27755
|
+
capName: "llm",
|
|
27756
|
+
capScope: "system",
|
|
27757
|
+
addonId: null,
|
|
27758
|
+
access: "create"
|
|
27759
|
+
},
|
|
27213
27760
|
"llm.deleteModel": {
|
|
27214
27761
|
capName: "llm",
|
|
27215
27762
|
capScope: "system",
|
|
@@ -29460,6 +30007,12 @@ Object.freeze({
|
|
|
29460
30007
|
addonId: null,
|
|
29461
30008
|
access: "create"
|
|
29462
30009
|
},
|
|
30010
|
+
"sceneMonitor.resetScene": {
|
|
30011
|
+
capName: "scene-monitor",
|
|
30012
|
+
capScope: "device",
|
|
30013
|
+
addonId: null,
|
|
30014
|
+
access: "delete"
|
|
30015
|
+
},
|
|
29463
30016
|
"sceneMonitor.updateScene": {
|
|
29464
30017
|
capName: "scene-monitor",
|
|
29465
30018
|
capScope: "device",
|
|
@@ -30138,6 +30691,12 @@ Object.freeze({
|
|
|
30138
30691
|
addonId: null,
|
|
30139
30692
|
access: "create"
|
|
30140
30693
|
},
|
|
30694
|
+
"system.detectSiteLocation": {
|
|
30695
|
+
capName: "system",
|
|
30696
|
+
capScope: "system",
|
|
30697
|
+
addonId: null,
|
|
30698
|
+
access: "create"
|
|
30699
|
+
},
|
|
30141
30700
|
"system.featureFlags": {
|
|
30142
30701
|
capName: "system",
|
|
30143
30702
|
capScope: "system",
|
|
@@ -30156,6 +30715,12 @@ Object.freeze({
|
|
|
30156
30715
|
addonId: null,
|
|
30157
30716
|
access: "view"
|
|
30158
30717
|
},
|
|
30718
|
+
"system.getSiteLocation": {
|
|
30719
|
+
capName: "system",
|
|
30720
|
+
capScope: "system",
|
|
30721
|
+
addonId: null,
|
|
30722
|
+
access: "view"
|
|
30723
|
+
},
|
|
30159
30724
|
"system.health": {
|
|
30160
30725
|
capName: "system",
|
|
30161
30726
|
capScope: "system",
|
|
@@ -30180,6 +30745,12 @@ Object.freeze({
|
|
|
30180
30745
|
addonId: null,
|
|
30181
30746
|
access: "create"
|
|
30182
30747
|
},
|
|
30748
|
+
"system.setSiteLocation": {
|
|
30749
|
+
capName: "system",
|
|
30750
|
+
capScope: "system",
|
|
30751
|
+
addonId: null,
|
|
30752
|
+
access: "create"
|
|
30753
|
+
},
|
|
30183
30754
|
"terminalSession.adoptLegacyMonitor": {
|
|
30184
30755
|
capName: "terminal-session",
|
|
30185
30756
|
capScope: "system",
|
|
@@ -30751,6 +31322,1683 @@ Object.freeze({
|
|
|
30751
31322
|
access: "create"
|
|
30752
31323
|
}
|
|
30753
31324
|
});
|
|
31325
|
+
Object.freeze({
|
|
31326
|
+
"accessories.setChildHidden": [{
|
|
31327
|
+
name: "childDeviceId",
|
|
31328
|
+
form: "single",
|
|
31329
|
+
optional: false
|
|
31330
|
+
}, {
|
|
31331
|
+
name: "deviceId",
|
|
31332
|
+
form: "single",
|
|
31333
|
+
optional: false
|
|
31334
|
+
}],
|
|
31335
|
+
"addonSettings.getDeviceSettings": [{
|
|
31336
|
+
name: "deviceId",
|
|
31337
|
+
form: "single",
|
|
31338
|
+
optional: false
|
|
31339
|
+
}],
|
|
31340
|
+
"addonSettings.updateDeviceSettings": [{
|
|
31341
|
+
name: "deviceId",
|
|
31342
|
+
form: "single",
|
|
31343
|
+
optional: false
|
|
31344
|
+
}],
|
|
31345
|
+
"alarmPanel.arm": [{
|
|
31346
|
+
name: "deviceId",
|
|
31347
|
+
form: "single",
|
|
31348
|
+
optional: false
|
|
31349
|
+
}],
|
|
31350
|
+
"alarmPanel.disarm": [{
|
|
31351
|
+
name: "deviceId",
|
|
31352
|
+
form: "single",
|
|
31353
|
+
optional: false
|
|
31354
|
+
}],
|
|
31355
|
+
"alarmPanel.trigger": [{
|
|
31356
|
+
name: "deviceId",
|
|
31357
|
+
form: "single",
|
|
31358
|
+
optional: false
|
|
31359
|
+
}],
|
|
31360
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
31361
|
+
name: "deviceId",
|
|
31362
|
+
form: "single",
|
|
31363
|
+
optional: false
|
|
31364
|
+
}],
|
|
31365
|
+
"audioAnalyzer.classify": [{
|
|
31366
|
+
name: "deviceId",
|
|
31367
|
+
form: "single",
|
|
31368
|
+
optional: true
|
|
31369
|
+
}],
|
|
31370
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
31371
|
+
name: "deviceId",
|
|
31372
|
+
form: "single",
|
|
31373
|
+
optional: false
|
|
31374
|
+
}],
|
|
31375
|
+
"audioMetrics.getHistory": [{
|
|
31376
|
+
name: "deviceId",
|
|
31377
|
+
form: "single",
|
|
31378
|
+
optional: false
|
|
31379
|
+
}],
|
|
31380
|
+
"automationControl.disable": [{
|
|
31381
|
+
name: "deviceId",
|
|
31382
|
+
form: "single",
|
|
31383
|
+
optional: false
|
|
31384
|
+
}],
|
|
31385
|
+
"automationControl.enable": [{
|
|
31386
|
+
name: "deviceId",
|
|
31387
|
+
form: "single",
|
|
31388
|
+
optional: false
|
|
31389
|
+
}],
|
|
31390
|
+
"automationControl.trigger": [{
|
|
31391
|
+
name: "deviceId",
|
|
31392
|
+
form: "single",
|
|
31393
|
+
optional: false
|
|
31394
|
+
}],
|
|
31395
|
+
"battery.wakeForStream": [{
|
|
31396
|
+
name: "deviceId",
|
|
31397
|
+
form: "single",
|
|
31398
|
+
optional: false
|
|
31399
|
+
}],
|
|
31400
|
+
"brightness.setBrightness": [{
|
|
31401
|
+
name: "deviceId",
|
|
31402
|
+
form: "single",
|
|
31403
|
+
optional: false
|
|
31404
|
+
}],
|
|
31405
|
+
"button.press": [{
|
|
31406
|
+
name: "deviceId",
|
|
31407
|
+
form: "single",
|
|
31408
|
+
optional: false
|
|
31409
|
+
}],
|
|
31410
|
+
"cameraCredentials.getCredentials": [{
|
|
31411
|
+
name: "deviceId",
|
|
31412
|
+
form: "single",
|
|
31413
|
+
optional: false
|
|
31414
|
+
}],
|
|
31415
|
+
"cameraStreams.getBrokerStreams": [{
|
|
31416
|
+
name: "deviceId",
|
|
31417
|
+
form: "single",
|
|
31418
|
+
optional: false
|
|
31419
|
+
}],
|
|
31420
|
+
"cameraStreams.getCameraStreams": [{
|
|
31421
|
+
name: "deviceId",
|
|
31422
|
+
form: "single",
|
|
31423
|
+
optional: false
|
|
31424
|
+
}],
|
|
31425
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
31426
|
+
name: "deviceId",
|
|
31427
|
+
form: "single",
|
|
31428
|
+
optional: false
|
|
31429
|
+
}],
|
|
31430
|
+
"cameraStreams.getRtspEntries": [{
|
|
31431
|
+
name: "deviceId",
|
|
31432
|
+
form: "single",
|
|
31433
|
+
optional: false
|
|
31434
|
+
}],
|
|
31435
|
+
"cameraStreams.pickStream": [{
|
|
31436
|
+
name: "deviceId",
|
|
31437
|
+
form: "single",
|
|
31438
|
+
optional: false
|
|
31439
|
+
}],
|
|
31440
|
+
"climateControl.setFanMode": [{
|
|
31441
|
+
name: "deviceId",
|
|
31442
|
+
form: "single",
|
|
31443
|
+
optional: false
|
|
31444
|
+
}],
|
|
31445
|
+
"climateControl.setMode": [{
|
|
31446
|
+
name: "deviceId",
|
|
31447
|
+
form: "single",
|
|
31448
|
+
optional: false
|
|
31449
|
+
}],
|
|
31450
|
+
"climateControl.setPreset": [{
|
|
31451
|
+
name: "deviceId",
|
|
31452
|
+
form: "single",
|
|
31453
|
+
optional: false
|
|
31454
|
+
}],
|
|
31455
|
+
"climateControl.setSwingHorizontal": [{
|
|
31456
|
+
name: "deviceId",
|
|
31457
|
+
form: "single",
|
|
31458
|
+
optional: false
|
|
31459
|
+
}],
|
|
31460
|
+
"climateControl.setSwingVertical": [{
|
|
31461
|
+
name: "deviceId",
|
|
31462
|
+
form: "single",
|
|
31463
|
+
optional: false
|
|
31464
|
+
}],
|
|
31465
|
+
"climateControl.setTarget": [{
|
|
31466
|
+
name: "deviceId",
|
|
31467
|
+
form: "single",
|
|
31468
|
+
optional: false
|
|
31469
|
+
}],
|
|
31470
|
+
"climateControl.setTargetHumidity": [{
|
|
31471
|
+
name: "deviceId",
|
|
31472
|
+
form: "single",
|
|
31473
|
+
optional: false
|
|
31474
|
+
}],
|
|
31475
|
+
"climateControl.setTargetRange": [{
|
|
31476
|
+
name: "deviceId",
|
|
31477
|
+
form: "single",
|
|
31478
|
+
optional: false
|
|
31479
|
+
}],
|
|
31480
|
+
"color.setColor": [{
|
|
31481
|
+
name: "deviceId",
|
|
31482
|
+
form: "single",
|
|
31483
|
+
optional: false
|
|
31484
|
+
}],
|
|
31485
|
+
"consumables.reset": [{
|
|
31486
|
+
name: "deviceId",
|
|
31487
|
+
form: "single",
|
|
31488
|
+
optional: false
|
|
31489
|
+
}],
|
|
31490
|
+
"control.setValue": [{
|
|
31491
|
+
name: "deviceId",
|
|
31492
|
+
form: "single",
|
|
31493
|
+
optional: false
|
|
31494
|
+
}],
|
|
31495
|
+
"cover.close": [{
|
|
31496
|
+
name: "deviceId",
|
|
31497
|
+
form: "single",
|
|
31498
|
+
optional: false
|
|
31499
|
+
}],
|
|
31500
|
+
"cover.open": [{
|
|
31501
|
+
name: "deviceId",
|
|
31502
|
+
form: "single",
|
|
31503
|
+
optional: false
|
|
31504
|
+
}],
|
|
31505
|
+
"cover.setPosition": [{
|
|
31506
|
+
name: "deviceId",
|
|
31507
|
+
form: "single",
|
|
31508
|
+
optional: false
|
|
31509
|
+
}],
|
|
31510
|
+
"cover.setTiltPosition": [{
|
|
31511
|
+
name: "deviceId",
|
|
31512
|
+
form: "single",
|
|
31513
|
+
optional: false
|
|
31514
|
+
}],
|
|
31515
|
+
"cover.stop": [{
|
|
31516
|
+
name: "deviceId",
|
|
31517
|
+
form: "single",
|
|
31518
|
+
optional: false
|
|
31519
|
+
}],
|
|
31520
|
+
"dayNight.getOptions": [{
|
|
31521
|
+
name: "deviceId",
|
|
31522
|
+
form: "single",
|
|
31523
|
+
optional: false
|
|
31524
|
+
}],
|
|
31525
|
+
"dayNight.setSettings": [{
|
|
31526
|
+
name: "deviceId",
|
|
31527
|
+
form: "single",
|
|
31528
|
+
optional: false
|
|
31529
|
+
}],
|
|
31530
|
+
"decoder.createSession": [{
|
|
31531
|
+
name: "deviceId",
|
|
31532
|
+
form: "single",
|
|
31533
|
+
optional: true
|
|
31534
|
+
}],
|
|
31535
|
+
"deviceAdoption.release": [{
|
|
31536
|
+
name: "camDeviceId",
|
|
31537
|
+
form: "single",
|
|
31538
|
+
optional: false
|
|
31539
|
+
}],
|
|
31540
|
+
"deviceAdoption.resync": [{
|
|
31541
|
+
name: "camDeviceId",
|
|
31542
|
+
form: "single",
|
|
31543
|
+
optional: false
|
|
31544
|
+
}],
|
|
31545
|
+
"deviceDiscovery.adoptDevice": [{
|
|
31546
|
+
name: "deviceId",
|
|
31547
|
+
form: "single",
|
|
31548
|
+
optional: false
|
|
31549
|
+
}],
|
|
31550
|
+
"deviceDiscovery.listDiscovered": [{
|
|
31551
|
+
name: "deviceId",
|
|
31552
|
+
form: "single",
|
|
31553
|
+
optional: false
|
|
31554
|
+
}],
|
|
31555
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
31556
|
+
name: "deviceId",
|
|
31557
|
+
form: "single",
|
|
31558
|
+
optional: false
|
|
31559
|
+
}],
|
|
31560
|
+
"deviceDiscovery.releaseDevice": [{
|
|
31561
|
+
name: "childDeviceId",
|
|
31562
|
+
form: "single",
|
|
31563
|
+
optional: false
|
|
31564
|
+
}, {
|
|
31565
|
+
name: "deviceId",
|
|
31566
|
+
form: "single",
|
|
31567
|
+
optional: false
|
|
31568
|
+
}],
|
|
31569
|
+
"deviceManager.adoptionRelease": [{
|
|
31570
|
+
name: "camDeviceId",
|
|
31571
|
+
form: "single",
|
|
31572
|
+
optional: false
|
|
31573
|
+
}],
|
|
31574
|
+
"deviceManager.adoptionResync": [{
|
|
31575
|
+
name: "camDeviceId",
|
|
31576
|
+
form: "single",
|
|
31577
|
+
optional: false
|
|
31578
|
+
}],
|
|
31579
|
+
"deviceManager.applyInitialMeta": [{
|
|
31580
|
+
name: "deviceId",
|
|
31581
|
+
form: "single",
|
|
31582
|
+
optional: false
|
|
31583
|
+
}, {
|
|
31584
|
+
name: "linkDeviceId",
|
|
31585
|
+
form: "single",
|
|
31586
|
+
optional: true
|
|
31587
|
+
}],
|
|
31588
|
+
"deviceManager.disable": [{
|
|
31589
|
+
name: "deviceId",
|
|
31590
|
+
form: "single",
|
|
31591
|
+
optional: false
|
|
31592
|
+
}],
|
|
31593
|
+
"deviceManager.enable": [{
|
|
31594
|
+
name: "deviceId",
|
|
31595
|
+
form: "single",
|
|
31596
|
+
optional: false
|
|
31597
|
+
}],
|
|
31598
|
+
"deviceManager.getBindings": [{
|
|
31599
|
+
name: "deviceId",
|
|
31600
|
+
form: "single",
|
|
31601
|
+
optional: false
|
|
31602
|
+
}],
|
|
31603
|
+
"deviceManager.getChildren": [{
|
|
31604
|
+
name: "parentDeviceId",
|
|
31605
|
+
form: "single",
|
|
31606
|
+
optional: false
|
|
31607
|
+
}],
|
|
31608
|
+
"deviceManager.getConfigSchema": [{
|
|
31609
|
+
name: "deviceId",
|
|
31610
|
+
form: "single",
|
|
31611
|
+
optional: false
|
|
31612
|
+
}],
|
|
31613
|
+
"deviceManager.getDevice": [{
|
|
31614
|
+
name: "deviceId",
|
|
31615
|
+
form: "single",
|
|
31616
|
+
optional: false
|
|
31617
|
+
}],
|
|
31618
|
+
"deviceManager.getDeviceAggregate": [{
|
|
31619
|
+
name: "deviceId",
|
|
31620
|
+
form: "single",
|
|
31621
|
+
optional: false
|
|
31622
|
+
}],
|
|
31623
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
31624
|
+
name: "deviceId",
|
|
31625
|
+
form: "single",
|
|
31626
|
+
optional: false
|
|
31627
|
+
}],
|
|
31628
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
31629
|
+
name: "deviceId",
|
|
31630
|
+
form: "single",
|
|
31631
|
+
optional: false
|
|
31632
|
+
}],
|
|
31633
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
31634
|
+
name: "deviceId",
|
|
31635
|
+
form: "single",
|
|
31636
|
+
optional: false
|
|
31637
|
+
}],
|
|
31638
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
31639
|
+
name: "deviceIds",
|
|
31640
|
+
form: "array",
|
|
31641
|
+
optional: false
|
|
31642
|
+
}],
|
|
31643
|
+
"deviceManager.getLinkedDevices": [{
|
|
31644
|
+
name: "deviceId",
|
|
31645
|
+
form: "single",
|
|
31646
|
+
optional: false
|
|
31647
|
+
}],
|
|
31648
|
+
"deviceManager.getSettingsSchema": [{
|
|
31649
|
+
name: "deviceId",
|
|
31650
|
+
form: "single",
|
|
31651
|
+
optional: false
|
|
31652
|
+
}],
|
|
31653
|
+
"deviceManager.getStreamProfileMap": [{
|
|
31654
|
+
name: "deviceId",
|
|
31655
|
+
form: "single",
|
|
31656
|
+
optional: false
|
|
31657
|
+
}],
|
|
31658
|
+
"deviceManager.getStreamSources": [{
|
|
31659
|
+
name: "deviceId",
|
|
31660
|
+
form: "single",
|
|
31661
|
+
optional: false
|
|
31662
|
+
}],
|
|
31663
|
+
"deviceManager.getWireableFields": [{
|
|
31664
|
+
name: "deviceId",
|
|
31665
|
+
form: "single",
|
|
31666
|
+
optional: false
|
|
31667
|
+
}],
|
|
31668
|
+
"deviceManager.loadConfig": [{
|
|
31669
|
+
name: "deviceId",
|
|
31670
|
+
form: "single",
|
|
31671
|
+
optional: false
|
|
31672
|
+
}],
|
|
31673
|
+
"deviceManager.loadMeta": [{
|
|
31674
|
+
name: "deviceId",
|
|
31675
|
+
form: "single",
|
|
31676
|
+
optional: false
|
|
31677
|
+
}],
|
|
31678
|
+
"deviceManager.loadRuntimeState": [{
|
|
31679
|
+
name: "deviceId",
|
|
31680
|
+
form: "single",
|
|
31681
|
+
optional: false
|
|
31682
|
+
}],
|
|
31683
|
+
"deviceManager.persistConfig": [{
|
|
31684
|
+
name: "deviceId",
|
|
31685
|
+
form: "single",
|
|
31686
|
+
optional: false
|
|
31687
|
+
}],
|
|
31688
|
+
"deviceManager.probeStreams": [{
|
|
31689
|
+
name: "deviceId",
|
|
31690
|
+
form: "single",
|
|
31691
|
+
optional: false
|
|
31692
|
+
}],
|
|
31693
|
+
"deviceManager.registerDevice": [{
|
|
31694
|
+
name: "parentDeviceId",
|
|
31695
|
+
form: "single",
|
|
31696
|
+
optional: true
|
|
31697
|
+
}],
|
|
31698
|
+
"deviceManager.remove": [{
|
|
31699
|
+
name: "deviceId",
|
|
31700
|
+
form: "single",
|
|
31701
|
+
optional: false
|
|
31702
|
+
}],
|
|
31703
|
+
"deviceManager.removeDevice": [{
|
|
31704
|
+
name: "deviceId",
|
|
31705
|
+
form: "single",
|
|
31706
|
+
optional: false
|
|
31707
|
+
}],
|
|
31708
|
+
"deviceManager.runDeviceAction": [{
|
|
31709
|
+
name: "deviceId",
|
|
31710
|
+
form: "single",
|
|
31711
|
+
optional: false
|
|
31712
|
+
}],
|
|
31713
|
+
"deviceManager.setChildLayout": [{
|
|
31714
|
+
name: "deviceId",
|
|
31715
|
+
form: "single",
|
|
31716
|
+
optional: false
|
|
31717
|
+
}],
|
|
31718
|
+
"deviceManager.setDisabled": [{
|
|
31719
|
+
name: "deviceId",
|
|
31720
|
+
form: "single",
|
|
31721
|
+
optional: false
|
|
31722
|
+
}],
|
|
31723
|
+
"deviceManager.setDisplay": [{
|
|
31724
|
+
name: "deviceId",
|
|
31725
|
+
form: "single",
|
|
31726
|
+
optional: false
|
|
31727
|
+
}],
|
|
31728
|
+
"deviceManager.setIntegrationId": [{
|
|
31729
|
+
name: "deviceId",
|
|
31730
|
+
form: "single",
|
|
31731
|
+
optional: false
|
|
31732
|
+
}],
|
|
31733
|
+
"deviceManager.setLinkDeviceId": [{
|
|
31734
|
+
name: "deviceId",
|
|
31735
|
+
form: "single",
|
|
31736
|
+
optional: false
|
|
31737
|
+
}, {
|
|
31738
|
+
name: "linkDeviceId",
|
|
31739
|
+
form: "single",
|
|
31740
|
+
optional: true
|
|
31741
|
+
}],
|
|
31742
|
+
"deviceManager.setLocation": [{
|
|
31743
|
+
name: "deviceId",
|
|
31744
|
+
form: "single",
|
|
31745
|
+
optional: false
|
|
31746
|
+
}],
|
|
31747
|
+
"deviceManager.setMetadata": [{
|
|
31748
|
+
name: "deviceId",
|
|
31749
|
+
form: "single",
|
|
31750
|
+
optional: false
|
|
31751
|
+
}],
|
|
31752
|
+
"deviceManager.setName": [{
|
|
31753
|
+
name: "deviceId",
|
|
31754
|
+
form: "single",
|
|
31755
|
+
optional: false
|
|
31756
|
+
}],
|
|
31757
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
31758
|
+
name: "deviceId",
|
|
31759
|
+
form: "single",
|
|
31760
|
+
optional: false
|
|
31761
|
+
}],
|
|
31762
|
+
"deviceManager.setRole": [{
|
|
31763
|
+
name: "deviceId",
|
|
31764
|
+
form: "single",
|
|
31765
|
+
optional: false
|
|
31766
|
+
}],
|
|
31767
|
+
"deviceManager.setStreamProfileMap": [{
|
|
31768
|
+
name: "deviceId",
|
|
31769
|
+
form: "single",
|
|
31770
|
+
optional: false
|
|
31771
|
+
}],
|
|
31772
|
+
"deviceManager.setType": [{
|
|
31773
|
+
name: "deviceId",
|
|
31774
|
+
form: "single",
|
|
31775
|
+
optional: false
|
|
31776
|
+
}],
|
|
31777
|
+
"deviceManager.setWrapperActive": [{
|
|
31778
|
+
name: "deviceId",
|
|
31779
|
+
form: "single",
|
|
31780
|
+
optional: false
|
|
31781
|
+
}],
|
|
31782
|
+
"deviceManager.testField": [{
|
|
31783
|
+
name: "deviceId",
|
|
31784
|
+
form: "single",
|
|
31785
|
+
optional: false
|
|
31786
|
+
}],
|
|
31787
|
+
"deviceManager.updateConfig": [{
|
|
31788
|
+
name: "deviceId",
|
|
31789
|
+
form: "single",
|
|
31790
|
+
optional: false
|
|
31791
|
+
}],
|
|
31792
|
+
"deviceManager.updateDeviceField": [{
|
|
31793
|
+
name: "deviceId",
|
|
31794
|
+
form: "single",
|
|
31795
|
+
optional: false
|
|
31796
|
+
}],
|
|
31797
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
31798
|
+
name: "deviceId",
|
|
31799
|
+
form: "single",
|
|
31800
|
+
optional: false
|
|
31801
|
+
}],
|
|
31802
|
+
"deviceOps.getConfigEntries": [{
|
|
31803
|
+
name: "deviceId",
|
|
31804
|
+
form: "single",
|
|
31805
|
+
optional: false
|
|
31806
|
+
}],
|
|
31807
|
+
"deviceOps.getRawState": [{
|
|
31808
|
+
name: "deviceId",
|
|
31809
|
+
form: "single",
|
|
31810
|
+
optional: false
|
|
31811
|
+
}],
|
|
31812
|
+
"deviceOps.getSettingsSchema": [{
|
|
31813
|
+
name: "deviceId",
|
|
31814
|
+
form: "single",
|
|
31815
|
+
optional: false
|
|
31816
|
+
}],
|
|
31817
|
+
"deviceOps.getStreamSources": [{
|
|
31818
|
+
name: "deviceId",
|
|
31819
|
+
form: "single",
|
|
31820
|
+
optional: false
|
|
31821
|
+
}],
|
|
31822
|
+
"deviceOps.removeDevice": [{
|
|
31823
|
+
name: "deviceId",
|
|
31824
|
+
form: "single",
|
|
31825
|
+
optional: false
|
|
31826
|
+
}],
|
|
31827
|
+
"deviceOps.runAction": [{
|
|
31828
|
+
name: "deviceId",
|
|
31829
|
+
form: "single",
|
|
31830
|
+
optional: false
|
|
31831
|
+
}],
|
|
31832
|
+
"deviceOps.setConfig": [{
|
|
31833
|
+
name: "deviceId",
|
|
31834
|
+
form: "single",
|
|
31835
|
+
optional: false
|
|
31836
|
+
}],
|
|
31837
|
+
"deviceState.getCapSlice": [{
|
|
31838
|
+
name: "deviceId",
|
|
31839
|
+
form: "single",
|
|
31840
|
+
optional: false
|
|
31841
|
+
}],
|
|
31842
|
+
"deviceState.getSnapshot": [{
|
|
31843
|
+
name: "deviceId",
|
|
31844
|
+
form: "single",
|
|
31845
|
+
optional: false
|
|
31846
|
+
}],
|
|
31847
|
+
"deviceState.setCapSlice": [{
|
|
31848
|
+
name: "deviceId",
|
|
31849
|
+
form: "single",
|
|
31850
|
+
optional: false
|
|
31851
|
+
}],
|
|
31852
|
+
"events.getEventClipUrl": [{
|
|
31853
|
+
name: "deviceId",
|
|
31854
|
+
form: "single",
|
|
31855
|
+
optional: false
|
|
31856
|
+
}],
|
|
31857
|
+
"events.getEvents": [{
|
|
31858
|
+
name: "deviceId",
|
|
31859
|
+
form: "single",
|
|
31860
|
+
optional: false
|
|
31861
|
+
}],
|
|
31862
|
+
"events.getEventThumbnail": [{
|
|
31863
|
+
name: "deviceId",
|
|
31864
|
+
form: "single",
|
|
31865
|
+
optional: false
|
|
31866
|
+
}],
|
|
31867
|
+
"faceGallery.getFaceByTrack": [{
|
|
31868
|
+
name: "deviceId",
|
|
31869
|
+
form: "single",
|
|
31870
|
+
optional: false
|
|
31871
|
+
}],
|
|
31872
|
+
"faceGallery.listRecentFaces": [{
|
|
31873
|
+
name: "deviceId",
|
|
31874
|
+
form: "single",
|
|
31875
|
+
optional: true
|
|
31876
|
+
}],
|
|
31877
|
+
"fanControl.setDirection": [{
|
|
31878
|
+
name: "deviceId",
|
|
31879
|
+
form: "single",
|
|
31880
|
+
optional: false
|
|
31881
|
+
}],
|
|
31882
|
+
"fanControl.setOscillating": [{
|
|
31883
|
+
name: "deviceId",
|
|
31884
|
+
form: "single",
|
|
31885
|
+
optional: false
|
|
31886
|
+
}],
|
|
31887
|
+
"fanControl.setPercentage": [{
|
|
31888
|
+
name: "deviceId",
|
|
31889
|
+
form: "single",
|
|
31890
|
+
optional: false
|
|
31891
|
+
}],
|
|
31892
|
+
"fanControl.setPreset": [{
|
|
31893
|
+
name: "deviceId",
|
|
31894
|
+
form: "single",
|
|
31895
|
+
optional: false
|
|
31896
|
+
}],
|
|
31897
|
+
"humidifier.setMode": [{
|
|
31898
|
+
name: "deviceId",
|
|
31899
|
+
form: "single",
|
|
31900
|
+
optional: false
|
|
31901
|
+
}],
|
|
31902
|
+
"humidifier.setOn": [{
|
|
31903
|
+
name: "deviceId",
|
|
31904
|
+
form: "single",
|
|
31905
|
+
optional: false
|
|
31906
|
+
}],
|
|
31907
|
+
"humidifier.setTargetHumidity": [{
|
|
31908
|
+
name: "deviceId",
|
|
31909
|
+
form: "single",
|
|
31910
|
+
optional: false
|
|
31911
|
+
}],
|
|
31912
|
+
"imageSettings.getOptions": [{
|
|
31913
|
+
name: "deviceId",
|
|
31914
|
+
form: "single",
|
|
31915
|
+
optional: false
|
|
31916
|
+
}],
|
|
31917
|
+
"imageSettings.setSettings": [{
|
|
31918
|
+
name: "deviceId",
|
|
31919
|
+
form: "single",
|
|
31920
|
+
optional: false
|
|
31921
|
+
}],
|
|
31922
|
+
"intercom.endTalkSession": [{
|
|
31923
|
+
name: "deviceId",
|
|
31924
|
+
form: "single",
|
|
31925
|
+
optional: false
|
|
31926
|
+
}],
|
|
31927
|
+
"intercom.handleAnswer": [{
|
|
31928
|
+
name: "deviceId",
|
|
31929
|
+
form: "single",
|
|
31930
|
+
optional: false
|
|
31931
|
+
}],
|
|
31932
|
+
"intercom.pushTalkAudio": [{
|
|
31933
|
+
name: "deviceId",
|
|
31934
|
+
form: "single",
|
|
31935
|
+
optional: false
|
|
31936
|
+
}],
|
|
31937
|
+
"intercom.startSession": [{
|
|
31938
|
+
name: "deviceId",
|
|
31939
|
+
form: "single",
|
|
31940
|
+
optional: false
|
|
31941
|
+
}],
|
|
31942
|
+
"intercom.startTalkSession": [{
|
|
31943
|
+
name: "deviceId",
|
|
31944
|
+
form: "single",
|
|
31945
|
+
optional: false
|
|
31946
|
+
}],
|
|
31947
|
+
"intercom.stopSession": [{
|
|
31948
|
+
name: "deviceId",
|
|
31949
|
+
form: "single",
|
|
31950
|
+
optional: false
|
|
31951
|
+
}],
|
|
31952
|
+
"lawnMowerControl.dock": [{
|
|
31953
|
+
name: "deviceId",
|
|
31954
|
+
form: "single",
|
|
31955
|
+
optional: false
|
|
31956
|
+
}],
|
|
31957
|
+
"lawnMowerControl.pause": [{
|
|
31958
|
+
name: "deviceId",
|
|
31959
|
+
form: "single",
|
|
31960
|
+
optional: false
|
|
31961
|
+
}],
|
|
31962
|
+
"lawnMowerControl.startMowing": [{
|
|
31963
|
+
name: "deviceId",
|
|
31964
|
+
form: "single",
|
|
31965
|
+
optional: false
|
|
31966
|
+
}],
|
|
31967
|
+
"lockControl.lock": [{
|
|
31968
|
+
name: "deviceId",
|
|
31969
|
+
form: "single",
|
|
31970
|
+
optional: false
|
|
31971
|
+
}],
|
|
31972
|
+
"lockControl.open": [{
|
|
31973
|
+
name: "deviceId",
|
|
31974
|
+
form: "single",
|
|
31975
|
+
optional: false
|
|
31976
|
+
}],
|
|
31977
|
+
"lockControl.unlock": [{
|
|
31978
|
+
name: "deviceId",
|
|
31979
|
+
form: "single",
|
|
31980
|
+
optional: false
|
|
31981
|
+
}],
|
|
31982
|
+
"mediaPlayer.next": [{
|
|
31983
|
+
name: "deviceId",
|
|
31984
|
+
form: "single",
|
|
31985
|
+
optional: false
|
|
31986
|
+
}],
|
|
31987
|
+
"mediaPlayer.pause": [{
|
|
31988
|
+
name: "deviceId",
|
|
31989
|
+
form: "single",
|
|
31990
|
+
optional: false
|
|
31991
|
+
}],
|
|
31992
|
+
"mediaPlayer.play": [{
|
|
31993
|
+
name: "deviceId",
|
|
31994
|
+
form: "single",
|
|
31995
|
+
optional: false
|
|
31996
|
+
}],
|
|
31997
|
+
"mediaPlayer.playMedia": [{
|
|
31998
|
+
name: "deviceId",
|
|
31999
|
+
form: "single",
|
|
32000
|
+
optional: false
|
|
32001
|
+
}],
|
|
32002
|
+
"mediaPlayer.previous": [{
|
|
32003
|
+
name: "deviceId",
|
|
32004
|
+
form: "single",
|
|
32005
|
+
optional: false
|
|
32006
|
+
}],
|
|
32007
|
+
"mediaPlayer.seek": [{
|
|
32008
|
+
name: "deviceId",
|
|
32009
|
+
form: "single",
|
|
32010
|
+
optional: false
|
|
32011
|
+
}],
|
|
32012
|
+
"mediaPlayer.selectSource": [{
|
|
32013
|
+
name: "deviceId",
|
|
32014
|
+
form: "single",
|
|
32015
|
+
optional: false
|
|
32016
|
+
}],
|
|
32017
|
+
"mediaPlayer.setMute": [{
|
|
32018
|
+
name: "deviceId",
|
|
32019
|
+
form: "single",
|
|
32020
|
+
optional: false
|
|
32021
|
+
}],
|
|
32022
|
+
"mediaPlayer.setRepeat": [{
|
|
32023
|
+
name: "deviceId",
|
|
32024
|
+
form: "single",
|
|
32025
|
+
optional: false
|
|
32026
|
+
}],
|
|
32027
|
+
"mediaPlayer.setShuffle": [{
|
|
32028
|
+
name: "deviceId",
|
|
32029
|
+
form: "single",
|
|
32030
|
+
optional: false
|
|
32031
|
+
}],
|
|
32032
|
+
"mediaPlayer.setVolume": [{
|
|
32033
|
+
name: "deviceId",
|
|
32034
|
+
form: "single",
|
|
32035
|
+
optional: false
|
|
32036
|
+
}],
|
|
32037
|
+
"mediaPlayer.stop": [{
|
|
32038
|
+
name: "deviceId",
|
|
32039
|
+
form: "single",
|
|
32040
|
+
optional: false
|
|
32041
|
+
}],
|
|
32042
|
+
"motion.isDetected": [{
|
|
32043
|
+
name: "deviceId",
|
|
32044
|
+
form: "single",
|
|
32045
|
+
optional: false
|
|
32046
|
+
}],
|
|
32047
|
+
"motionDetection.analyze": [{
|
|
32048
|
+
name: "deviceId",
|
|
32049
|
+
form: "single",
|
|
32050
|
+
optional: false
|
|
32051
|
+
}],
|
|
32052
|
+
"motionDetection.removeCamera": [{
|
|
32053
|
+
name: "deviceId",
|
|
32054
|
+
form: "single",
|
|
32055
|
+
optional: false
|
|
32056
|
+
}],
|
|
32057
|
+
"motionTrigger.setMotionTrigger": [{
|
|
32058
|
+
name: "deviceId",
|
|
32059
|
+
form: "single",
|
|
32060
|
+
optional: false
|
|
32061
|
+
}],
|
|
32062
|
+
"motionZones.getOptions": [{
|
|
32063
|
+
name: "deviceId",
|
|
32064
|
+
form: "single",
|
|
32065
|
+
optional: false
|
|
32066
|
+
}],
|
|
32067
|
+
"motionZones.setZone": [{
|
|
32068
|
+
name: "deviceId",
|
|
32069
|
+
form: "single",
|
|
32070
|
+
optional: false
|
|
32071
|
+
}],
|
|
32072
|
+
"nativeObjectDetection.setEnabled": [{
|
|
32073
|
+
name: "deviceId",
|
|
32074
|
+
form: "single",
|
|
32075
|
+
optional: false
|
|
32076
|
+
}],
|
|
32077
|
+
"networkQuality.getDeviceStats": [{
|
|
32078
|
+
name: "deviceId",
|
|
32079
|
+
form: "single",
|
|
32080
|
+
optional: false
|
|
32081
|
+
}],
|
|
32082
|
+
"networkQuality.reportClientStats": [{
|
|
32083
|
+
name: "deviceId",
|
|
32084
|
+
form: "single",
|
|
32085
|
+
optional: false
|
|
32086
|
+
}],
|
|
32087
|
+
"notificationRules.setDeviceMuted": [{
|
|
32088
|
+
name: "deviceId",
|
|
32089
|
+
form: "single",
|
|
32090
|
+
optional: false
|
|
32091
|
+
}],
|
|
32092
|
+
"notifier.cancel": [{
|
|
32093
|
+
name: "deviceId",
|
|
32094
|
+
form: "single",
|
|
32095
|
+
optional: false
|
|
32096
|
+
}],
|
|
32097
|
+
"notifier.send": [{
|
|
32098
|
+
name: "deviceId",
|
|
32099
|
+
form: "single",
|
|
32100
|
+
optional: false
|
|
32101
|
+
}],
|
|
32102
|
+
"osd.setOverlay": [{
|
|
32103
|
+
name: "deviceId",
|
|
32104
|
+
form: "single",
|
|
32105
|
+
optional: false
|
|
32106
|
+
}],
|
|
32107
|
+
"osdManager.clearSlotBinding": [{
|
|
32108
|
+
name: "deviceId",
|
|
32109
|
+
form: "single",
|
|
32110
|
+
optional: false
|
|
32111
|
+
}],
|
|
32112
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
32113
|
+
name: "sourceDeviceId",
|
|
32114
|
+
form: "single",
|
|
32115
|
+
optional: false
|
|
32116
|
+
}, {
|
|
32117
|
+
name: "targetDeviceId",
|
|
32118
|
+
form: "single",
|
|
32119
|
+
optional: false
|
|
32120
|
+
}],
|
|
32121
|
+
"osdManager.getDeviceOsd": [{
|
|
32122
|
+
name: "deviceId",
|
|
32123
|
+
form: "single",
|
|
32124
|
+
optional: false
|
|
32125
|
+
}],
|
|
32126
|
+
"osdManager.getSourceCatalog": [{
|
|
32127
|
+
name: "deviceId",
|
|
32128
|
+
form: "single",
|
|
32129
|
+
optional: false
|
|
32130
|
+
}],
|
|
32131
|
+
"osdManager.previewSlot": [{
|
|
32132
|
+
name: "deviceId",
|
|
32133
|
+
form: "single",
|
|
32134
|
+
optional: false
|
|
32135
|
+
}],
|
|
32136
|
+
"osdManager.renderDevice": [{
|
|
32137
|
+
name: "deviceId",
|
|
32138
|
+
form: "single",
|
|
32139
|
+
optional: false
|
|
32140
|
+
}],
|
|
32141
|
+
"osdManager.setSlotBinding": [{
|
|
32142
|
+
name: "deviceId",
|
|
32143
|
+
form: "single",
|
|
32144
|
+
optional: false
|
|
32145
|
+
}],
|
|
32146
|
+
"petFeeder.callPet": [{
|
|
32147
|
+
name: "deviceId",
|
|
32148
|
+
form: "single",
|
|
32149
|
+
optional: false
|
|
32150
|
+
}],
|
|
32151
|
+
"petFeeder.cancelFeed": [{
|
|
32152
|
+
name: "deviceId",
|
|
32153
|
+
form: "single",
|
|
32154
|
+
optional: false
|
|
32155
|
+
}],
|
|
32156
|
+
"petFeeder.feed": [{
|
|
32157
|
+
name: "deviceId",
|
|
32158
|
+
form: "single",
|
|
32159
|
+
optional: false
|
|
32160
|
+
}],
|
|
32161
|
+
"petFeeder.markFoodReplenished": [{
|
|
32162
|
+
name: "deviceId",
|
|
32163
|
+
form: "single",
|
|
32164
|
+
optional: false
|
|
32165
|
+
}],
|
|
32166
|
+
"petFeeder.playSound": [{
|
|
32167
|
+
name: "deviceId",
|
|
32168
|
+
form: "single",
|
|
32169
|
+
optional: false
|
|
32170
|
+
}],
|
|
32171
|
+
"petFeeder.resetDesiccant": [{
|
|
32172
|
+
name: "deviceId",
|
|
32173
|
+
form: "single",
|
|
32174
|
+
optional: false
|
|
32175
|
+
}],
|
|
32176
|
+
"petFeeder.setChildLock": [{
|
|
32177
|
+
name: "deviceId",
|
|
32178
|
+
form: "single",
|
|
32179
|
+
optional: false
|
|
32180
|
+
}],
|
|
32181
|
+
"petFeeder.setFeedSound": [{
|
|
32182
|
+
name: "deviceId",
|
|
32183
|
+
form: "single",
|
|
32184
|
+
optional: false
|
|
32185
|
+
}],
|
|
32186
|
+
"petFeeder.setIndicatorLight": [{
|
|
32187
|
+
name: "deviceId",
|
|
32188
|
+
form: "single",
|
|
32189
|
+
optional: false
|
|
32190
|
+
}],
|
|
32191
|
+
"petFeeder.setVolume": [{
|
|
32192
|
+
name: "deviceId",
|
|
32193
|
+
form: "single",
|
|
32194
|
+
optional: false
|
|
32195
|
+
}],
|
|
32196
|
+
"pipelineAnalytics.clearTracks": [{
|
|
32197
|
+
name: "deviceId",
|
|
32198
|
+
form: "single",
|
|
32199
|
+
optional: false
|
|
32200
|
+
}],
|
|
32201
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
32202
|
+
name: "deviceId",
|
|
32203
|
+
form: "single",
|
|
32204
|
+
optional: false
|
|
32205
|
+
}],
|
|
32206
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
32207
|
+
name: "deviceId",
|
|
32208
|
+
form: "single",
|
|
32209
|
+
optional: false
|
|
32210
|
+
}],
|
|
32211
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
32212
|
+
name: "deviceId",
|
|
32213
|
+
form: "single",
|
|
32214
|
+
optional: false
|
|
32215
|
+
}],
|
|
32216
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
32217
|
+
name: "deviceId",
|
|
32218
|
+
form: "single",
|
|
32219
|
+
optional: false
|
|
32220
|
+
}],
|
|
32221
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
32222
|
+
name: "deviceId",
|
|
32223
|
+
form: "single",
|
|
32224
|
+
optional: false
|
|
32225
|
+
}],
|
|
32226
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
32227
|
+
name: "deviceId",
|
|
32228
|
+
form: "single",
|
|
32229
|
+
optional: false
|
|
32230
|
+
}],
|
|
32231
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
32232
|
+
name: "deviceId",
|
|
32233
|
+
form: "single",
|
|
32234
|
+
optional: false
|
|
32235
|
+
}],
|
|
32236
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
32237
|
+
name: "deviceId",
|
|
32238
|
+
form: "single",
|
|
32239
|
+
optional: false
|
|
32240
|
+
}],
|
|
32241
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
32242
|
+
name: "deviceId",
|
|
32243
|
+
form: "single",
|
|
32244
|
+
optional: false
|
|
32245
|
+
}],
|
|
32246
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
32247
|
+
name: "deviceId",
|
|
32248
|
+
form: "single",
|
|
32249
|
+
optional: false
|
|
32250
|
+
}],
|
|
32251
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
32252
|
+
name: "deviceIds",
|
|
32253
|
+
form: "array",
|
|
32254
|
+
optional: true
|
|
32255
|
+
}],
|
|
32256
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
32257
|
+
name: "deviceId",
|
|
32258
|
+
form: "single",
|
|
32259
|
+
optional: false
|
|
32260
|
+
}],
|
|
32261
|
+
"pipelineAnalytics.getTrack": [{
|
|
32262
|
+
name: "deviceId",
|
|
32263
|
+
form: "single",
|
|
32264
|
+
optional: false
|
|
32265
|
+
}],
|
|
32266
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
32267
|
+
name: "deviceIds",
|
|
32268
|
+
form: "array",
|
|
32269
|
+
optional: true
|
|
32270
|
+
}],
|
|
32271
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
32272
|
+
name: "deviceIds",
|
|
32273
|
+
form: "array",
|
|
32274
|
+
optional: true
|
|
32275
|
+
}],
|
|
32276
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
32277
|
+
name: "deviceId",
|
|
32278
|
+
form: "single",
|
|
32279
|
+
optional: false
|
|
32280
|
+
}],
|
|
32281
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
32282
|
+
name: "deviceIds",
|
|
32283
|
+
form: "array",
|
|
32284
|
+
optional: false
|
|
32285
|
+
}],
|
|
32286
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
32287
|
+
name: "deviceId",
|
|
32288
|
+
form: "single",
|
|
32289
|
+
optional: true
|
|
32290
|
+
}],
|
|
32291
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
32292
|
+
name: "deviceIds",
|
|
32293
|
+
form: "array",
|
|
32294
|
+
optional: false
|
|
32295
|
+
}],
|
|
32296
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
32297
|
+
name: "deviceIds",
|
|
32298
|
+
form: "array",
|
|
32299
|
+
optional: true
|
|
32300
|
+
}],
|
|
32301
|
+
"pipelineAnalytics.listTracks": [{
|
|
32302
|
+
name: "deviceId",
|
|
32303
|
+
form: "single",
|
|
32304
|
+
optional: false
|
|
32305
|
+
}],
|
|
32306
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
32307
|
+
name: "deviceId",
|
|
32308
|
+
form: "single",
|
|
32309
|
+
optional: false
|
|
32310
|
+
}],
|
|
32311
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
32312
|
+
name: "deviceId",
|
|
32313
|
+
form: "single",
|
|
32314
|
+
optional: false
|
|
32315
|
+
}],
|
|
32316
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
32317
|
+
name: "deviceId",
|
|
32318
|
+
form: "single",
|
|
32319
|
+
optional: false
|
|
32320
|
+
}],
|
|
32321
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
32322
|
+
name: "deviceId",
|
|
32323
|
+
form: "single",
|
|
32324
|
+
optional: true
|
|
32325
|
+
}],
|
|
32326
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32327
|
+
name: "deviceId",
|
|
32328
|
+
form: "single",
|
|
32329
|
+
optional: false
|
|
32330
|
+
}],
|
|
32331
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
32332
|
+
name: "deviceId",
|
|
32333
|
+
form: "single",
|
|
32334
|
+
optional: false
|
|
32335
|
+
}],
|
|
32336
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
32337
|
+
name: "deviceId",
|
|
32338
|
+
form: "single",
|
|
32339
|
+
optional: true
|
|
32340
|
+
}],
|
|
32341
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
32342
|
+
name: "deviceId",
|
|
32343
|
+
form: "single",
|
|
32344
|
+
optional: false
|
|
32345
|
+
}],
|
|
32346
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
32347
|
+
name: "deviceId",
|
|
32348
|
+
form: "single",
|
|
32349
|
+
optional: false
|
|
32350
|
+
}],
|
|
32351
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
32352
|
+
name: "deviceId",
|
|
32353
|
+
form: "single",
|
|
32354
|
+
optional: false
|
|
32355
|
+
}],
|
|
32356
|
+
"pipelineExecutor.runPipeline": [{
|
|
32357
|
+
name: "deviceId",
|
|
32358
|
+
form: "single",
|
|
32359
|
+
optional: true
|
|
32360
|
+
}],
|
|
32361
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
32362
|
+
name: "deviceId",
|
|
32363
|
+
form: "single",
|
|
32364
|
+
optional: true
|
|
32365
|
+
}],
|
|
32366
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
32367
|
+
name: "deviceId",
|
|
32368
|
+
form: "single",
|
|
32369
|
+
optional: false
|
|
32370
|
+
}],
|
|
32371
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
32372
|
+
name: "deviceId",
|
|
32373
|
+
form: "single",
|
|
32374
|
+
optional: false
|
|
32375
|
+
}],
|
|
32376
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
32377
|
+
name: "deviceId",
|
|
32378
|
+
form: "single",
|
|
32379
|
+
optional: false
|
|
32380
|
+
}],
|
|
32381
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
32382
|
+
name: "deviceId",
|
|
32383
|
+
form: "single",
|
|
32384
|
+
optional: false
|
|
32385
|
+
}],
|
|
32386
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
32387
|
+
name: "deviceId",
|
|
32388
|
+
form: "single",
|
|
32389
|
+
optional: false
|
|
32390
|
+
}],
|
|
32391
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
32392
|
+
name: "deviceId",
|
|
32393
|
+
form: "single",
|
|
32394
|
+
optional: false
|
|
32395
|
+
}],
|
|
32396
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
32397
|
+
name: "deviceIds",
|
|
32398
|
+
form: "array",
|
|
32399
|
+
optional: true
|
|
32400
|
+
}],
|
|
32401
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
32402
|
+
name: "deviceId",
|
|
32403
|
+
form: "single",
|
|
32404
|
+
optional: false
|
|
32405
|
+
}],
|
|
32406
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
32407
|
+
name: "deviceId",
|
|
32408
|
+
form: "single",
|
|
32409
|
+
optional: false
|
|
32410
|
+
}],
|
|
32411
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
32412
|
+
name: "deviceId",
|
|
32413
|
+
form: "single",
|
|
32414
|
+
optional: false
|
|
32415
|
+
}],
|
|
32416
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
32417
|
+
name: "deviceId",
|
|
32418
|
+
form: "single",
|
|
32419
|
+
optional: false
|
|
32420
|
+
}],
|
|
32421
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
32422
|
+
name: "deviceId",
|
|
32423
|
+
form: "single",
|
|
32424
|
+
optional: false
|
|
32425
|
+
}],
|
|
32426
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
32427
|
+
name: "deviceId",
|
|
32428
|
+
form: "single",
|
|
32429
|
+
optional: false
|
|
32430
|
+
}],
|
|
32431
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
32432
|
+
name: "deviceId",
|
|
32433
|
+
form: "single",
|
|
32434
|
+
optional: false
|
|
32435
|
+
}],
|
|
32436
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
32437
|
+
name: "deviceId",
|
|
32438
|
+
form: "single",
|
|
32439
|
+
optional: false
|
|
32440
|
+
}],
|
|
32441
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
32442
|
+
name: "deviceId",
|
|
32443
|
+
form: "single",
|
|
32444
|
+
optional: false
|
|
32445
|
+
}],
|
|
32446
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
32447
|
+
name: "deviceId",
|
|
32448
|
+
form: "single",
|
|
32449
|
+
optional: false
|
|
32450
|
+
}],
|
|
32451
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
32452
|
+
name: "deviceId",
|
|
32453
|
+
form: "single",
|
|
32454
|
+
optional: false
|
|
32455
|
+
}],
|
|
32456
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
32457
|
+
name: "deviceId",
|
|
32458
|
+
form: "single",
|
|
32459
|
+
optional: false
|
|
32460
|
+
}],
|
|
32461
|
+
"pipelineRunner.attachCamera": [{
|
|
32462
|
+
name: "deviceId",
|
|
32463
|
+
form: "single",
|
|
32464
|
+
optional: false
|
|
32465
|
+
}],
|
|
32466
|
+
"pipelineRunner.detachCamera": [{
|
|
32467
|
+
name: "deviceId",
|
|
32468
|
+
form: "single",
|
|
32469
|
+
optional: false
|
|
32470
|
+
}],
|
|
32471
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
32472
|
+
name: "deviceId",
|
|
32473
|
+
form: "single",
|
|
32474
|
+
optional: false
|
|
32475
|
+
}],
|
|
32476
|
+
"pipelineRunner.reportMotion": [{
|
|
32477
|
+
name: "deviceId",
|
|
32478
|
+
form: "single",
|
|
32479
|
+
optional: false
|
|
32480
|
+
}],
|
|
32481
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
32482
|
+
name: "deviceId",
|
|
32483
|
+
form: "single",
|
|
32484
|
+
optional: false
|
|
32485
|
+
}],
|
|
32486
|
+
"pipelineRunner.runStatelessStep": [{
|
|
32487
|
+
name: "sourceDeviceId",
|
|
32488
|
+
form: "single",
|
|
32489
|
+
optional: false
|
|
32490
|
+
}],
|
|
32491
|
+
"plateGallery.getPlateByTrack": [{
|
|
32492
|
+
name: "deviceId",
|
|
32493
|
+
form: "single",
|
|
32494
|
+
optional: false
|
|
32495
|
+
}],
|
|
32496
|
+
"plateGallery.listPlates": [{
|
|
32497
|
+
name: "deviceId",
|
|
32498
|
+
form: "single",
|
|
32499
|
+
optional: true
|
|
32500
|
+
}],
|
|
32501
|
+
"privacyMask.getOptions": [{
|
|
32502
|
+
name: "deviceId",
|
|
32503
|
+
form: "single",
|
|
32504
|
+
optional: false
|
|
32505
|
+
}],
|
|
32506
|
+
"privacyMask.setAudioEnabled": [{
|
|
32507
|
+
name: "deviceId",
|
|
32508
|
+
form: "single",
|
|
32509
|
+
optional: false
|
|
32510
|
+
}],
|
|
32511
|
+
"privacyMask.setMask": [{
|
|
32512
|
+
name: "deviceId",
|
|
32513
|
+
form: "single",
|
|
32514
|
+
optional: false
|
|
32515
|
+
}],
|
|
32516
|
+
"ptz.continuousMove": [{
|
|
32517
|
+
name: "deviceId",
|
|
32518
|
+
form: "single",
|
|
32519
|
+
optional: false
|
|
32520
|
+
}],
|
|
32521
|
+
"ptz.deletePreset": [{
|
|
32522
|
+
name: "deviceId",
|
|
32523
|
+
form: "single",
|
|
32524
|
+
optional: false
|
|
32525
|
+
}],
|
|
32526
|
+
"ptz.getOptions": [{
|
|
32527
|
+
name: "deviceId",
|
|
32528
|
+
form: "single",
|
|
32529
|
+
optional: false
|
|
32530
|
+
}],
|
|
32531
|
+
"ptz.getPosition": [{
|
|
32532
|
+
name: "deviceId",
|
|
32533
|
+
form: "single",
|
|
32534
|
+
optional: false
|
|
32535
|
+
}],
|
|
32536
|
+
"ptz.getPresets": [{
|
|
32537
|
+
name: "deviceId",
|
|
32538
|
+
form: "single",
|
|
32539
|
+
optional: false
|
|
32540
|
+
}],
|
|
32541
|
+
"ptz.goHome": [{
|
|
32542
|
+
name: "deviceId",
|
|
32543
|
+
form: "single",
|
|
32544
|
+
optional: false
|
|
32545
|
+
}],
|
|
32546
|
+
"ptz.goToPreset": [{
|
|
32547
|
+
name: "deviceId",
|
|
32548
|
+
form: "single",
|
|
32549
|
+
optional: false
|
|
32550
|
+
}],
|
|
32551
|
+
"ptz.move": [{
|
|
32552
|
+
name: "deviceId",
|
|
32553
|
+
form: "single",
|
|
32554
|
+
optional: false
|
|
32555
|
+
}],
|
|
32556
|
+
"ptz.savePreset": [{
|
|
32557
|
+
name: "deviceId",
|
|
32558
|
+
form: "single",
|
|
32559
|
+
optional: false
|
|
32560
|
+
}],
|
|
32561
|
+
"ptz.setAutofocus": [{
|
|
32562
|
+
name: "deviceId",
|
|
32563
|
+
form: "single",
|
|
32564
|
+
optional: false
|
|
32565
|
+
}],
|
|
32566
|
+
"ptz.stop": [{
|
|
32567
|
+
name: "deviceId",
|
|
32568
|
+
form: "single",
|
|
32569
|
+
optional: false
|
|
32570
|
+
}],
|
|
32571
|
+
"ptzAutotrack.getSettings": [{
|
|
32572
|
+
name: "deviceId",
|
|
32573
|
+
form: "single",
|
|
32574
|
+
optional: false
|
|
32575
|
+
}],
|
|
32576
|
+
"ptzAutotrack.getStatus": [{
|
|
32577
|
+
name: "deviceId",
|
|
32578
|
+
form: "single",
|
|
32579
|
+
optional: false
|
|
32580
|
+
}],
|
|
32581
|
+
"ptzAutotrack.setEnabled": [{
|
|
32582
|
+
name: "deviceId",
|
|
32583
|
+
form: "single",
|
|
32584
|
+
optional: false
|
|
32585
|
+
}],
|
|
32586
|
+
"ptzAutotrack.setSettings": [{
|
|
32587
|
+
name: "deviceId",
|
|
32588
|
+
form: "single",
|
|
32589
|
+
optional: false
|
|
32590
|
+
}],
|
|
32591
|
+
"reboot.reboot": [{
|
|
32592
|
+
name: "deviceId",
|
|
32593
|
+
form: "single",
|
|
32594
|
+
optional: false
|
|
32595
|
+
}],
|
|
32596
|
+
"recording.deleteFootprint": [{
|
|
32597
|
+
name: "deviceId",
|
|
32598
|
+
form: "single",
|
|
32599
|
+
optional: false
|
|
32600
|
+
}],
|
|
32601
|
+
"recording.getAvailability": [{
|
|
32602
|
+
name: "deviceId",
|
|
32603
|
+
form: "single",
|
|
32604
|
+
optional: false
|
|
32605
|
+
}],
|
|
32606
|
+
"recording.getDaysWithRecordings": [{
|
|
32607
|
+
name: "deviceId",
|
|
32608
|
+
form: "single",
|
|
32609
|
+
optional: false
|
|
32610
|
+
}],
|
|
32611
|
+
"recording.getDeviceConfig": [{
|
|
32612
|
+
name: "deviceId",
|
|
32613
|
+
form: "single",
|
|
32614
|
+
optional: false
|
|
32615
|
+
}],
|
|
32616
|
+
"recording.getPlaybackManifest": [{
|
|
32617
|
+
name: "deviceId",
|
|
32618
|
+
form: "single",
|
|
32619
|
+
optional: false
|
|
32620
|
+
}],
|
|
32621
|
+
"recording.listOpsLog": [{
|
|
32622
|
+
name: "deviceId",
|
|
32623
|
+
form: "single",
|
|
32624
|
+
optional: true
|
|
32625
|
+
}],
|
|
32626
|
+
"recording.locateSegment": [{
|
|
32627
|
+
name: "deviceId",
|
|
32628
|
+
form: "single",
|
|
32629
|
+
optional: false
|
|
32630
|
+
}],
|
|
32631
|
+
"recording.pruneFootage": [{
|
|
32632
|
+
name: "deviceId",
|
|
32633
|
+
form: "single",
|
|
32634
|
+
optional: false
|
|
32635
|
+
}],
|
|
32636
|
+
"recording.readGopBytes": [{
|
|
32637
|
+
name: "deviceId",
|
|
32638
|
+
form: "single",
|
|
32639
|
+
optional: false
|
|
32640
|
+
}],
|
|
32641
|
+
"recording.readSegmentBytes": [{
|
|
32642
|
+
name: "deviceId",
|
|
32643
|
+
form: "single",
|
|
32644
|
+
optional: false
|
|
32645
|
+
}],
|
|
32646
|
+
"recording.relocateFootage": [{
|
|
32647
|
+
name: "deviceId",
|
|
32648
|
+
form: "single",
|
|
32649
|
+
optional: true
|
|
32650
|
+
}],
|
|
32651
|
+
"recording.renderClip": [{
|
|
32652
|
+
name: "deviceId",
|
|
32653
|
+
form: "single",
|
|
32654
|
+
optional: false
|
|
32655
|
+
}],
|
|
32656
|
+
"recording.renderGif": [{
|
|
32657
|
+
name: "deviceId",
|
|
32658
|
+
form: "single",
|
|
32659
|
+
optional: false
|
|
32660
|
+
}],
|
|
32661
|
+
"recording.rescanStorage": [{
|
|
32662
|
+
name: "deviceId",
|
|
32663
|
+
form: "single",
|
|
32664
|
+
optional: false
|
|
32665
|
+
}],
|
|
32666
|
+
"recording.setDeviceConfig": [{
|
|
32667
|
+
name: "deviceId",
|
|
32668
|
+
form: "single",
|
|
32669
|
+
optional: false
|
|
32670
|
+
}],
|
|
32671
|
+
"recording.startStorageMigrationMove": [{
|
|
32672
|
+
name: "deviceId",
|
|
32673
|
+
form: "single",
|
|
32674
|
+
optional: true
|
|
32675
|
+
}],
|
|
32676
|
+
"recordingExport.createExport": [{
|
|
32677
|
+
name: "deviceId",
|
|
32678
|
+
form: "single",
|
|
32679
|
+
optional: false
|
|
32680
|
+
}],
|
|
32681
|
+
"recordingExport.listExports": [{
|
|
32682
|
+
name: "deviceId",
|
|
32683
|
+
form: "single",
|
|
32684
|
+
optional: true
|
|
32685
|
+
}],
|
|
32686
|
+
"sceneMonitor.captureReference": [{
|
|
32687
|
+
name: "deviceId",
|
|
32688
|
+
form: "single",
|
|
32689
|
+
optional: false
|
|
32690
|
+
}],
|
|
32691
|
+
"sceneMonitor.createScene": [{
|
|
32692
|
+
name: "deviceId",
|
|
32693
|
+
form: "single",
|
|
32694
|
+
optional: false
|
|
32695
|
+
}],
|
|
32696
|
+
"sceneMonitor.deleteReference": [{
|
|
32697
|
+
name: "deviceId",
|
|
32698
|
+
form: "single",
|
|
32699
|
+
optional: false
|
|
32700
|
+
}],
|
|
32701
|
+
"sceneMonitor.deleteScene": [{
|
|
32702
|
+
name: "deviceId",
|
|
32703
|
+
form: "single",
|
|
32704
|
+
optional: false
|
|
32705
|
+
}],
|
|
32706
|
+
"sceneMonitor.listScenes": [{
|
|
32707
|
+
name: "deviceId",
|
|
32708
|
+
form: "single",
|
|
32709
|
+
optional: false
|
|
32710
|
+
}],
|
|
32711
|
+
"sceneMonitor.recheckNow": [{
|
|
32712
|
+
name: "deviceId",
|
|
32713
|
+
form: "single",
|
|
32714
|
+
optional: false
|
|
32715
|
+
}],
|
|
32716
|
+
"sceneMonitor.resetScene": [{
|
|
32717
|
+
name: "deviceId",
|
|
32718
|
+
form: "single",
|
|
32719
|
+
optional: false
|
|
32720
|
+
}],
|
|
32721
|
+
"sceneMonitor.updateScene": [{
|
|
32722
|
+
name: "deviceId",
|
|
32723
|
+
form: "single",
|
|
32724
|
+
optional: false
|
|
32725
|
+
}],
|
|
32726
|
+
"scriptRunner.run": [{
|
|
32727
|
+
name: "deviceId",
|
|
32728
|
+
form: "single",
|
|
32729
|
+
optional: false
|
|
32730
|
+
}],
|
|
32731
|
+
"scriptRunner.stop": [{
|
|
32732
|
+
name: "deviceId",
|
|
32733
|
+
form: "single",
|
|
32734
|
+
optional: false
|
|
32735
|
+
}],
|
|
32736
|
+
"snapshot.getSnapshot": [{
|
|
32737
|
+
name: "deviceId",
|
|
32738
|
+
form: "single",
|
|
32739
|
+
optional: false
|
|
32740
|
+
}],
|
|
32741
|
+
"snapshot.getSnapshotOverview": [{
|
|
32742
|
+
name: "deviceIds",
|
|
32743
|
+
form: "array",
|
|
32744
|
+
optional: false
|
|
32745
|
+
}],
|
|
32746
|
+
"snapshot.invalidateCache": [{
|
|
32747
|
+
name: "deviceId",
|
|
32748
|
+
form: "single",
|
|
32749
|
+
optional: false
|
|
32750
|
+
}],
|
|
32751
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
32752
|
+
name: "deviceId",
|
|
32753
|
+
form: "single",
|
|
32754
|
+
optional: false
|
|
32755
|
+
}],
|
|
32756
|
+
"streamBroker.assignProfile": [{
|
|
32757
|
+
name: "deviceId",
|
|
32758
|
+
form: "single",
|
|
32759
|
+
optional: false
|
|
32760
|
+
}],
|
|
32761
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
32762
|
+
name: "deviceId",
|
|
32763
|
+
form: "single",
|
|
32764
|
+
optional: false
|
|
32765
|
+
}],
|
|
32766
|
+
"streamBroker.getStreamWithCodec": [{
|
|
32767
|
+
name: "deviceId",
|
|
32768
|
+
form: "single",
|
|
32769
|
+
optional: false
|
|
32770
|
+
}],
|
|
32771
|
+
"streamBroker.produceEventMedia": [{
|
|
32772
|
+
name: "deviceId",
|
|
32773
|
+
form: "single",
|
|
32774
|
+
optional: false
|
|
32775
|
+
}],
|
|
32776
|
+
"streamBroker.publishCameraStream": [{
|
|
32777
|
+
name: "deviceId",
|
|
32778
|
+
form: "single",
|
|
32779
|
+
optional: false
|
|
32780
|
+
}],
|
|
32781
|
+
"streamBroker.renderPreBufferClip": [{
|
|
32782
|
+
name: "deviceId",
|
|
32783
|
+
form: "single",
|
|
32784
|
+
optional: false
|
|
32785
|
+
}],
|
|
32786
|
+
"streamBroker.restartProfile": [{
|
|
32787
|
+
name: "deviceId",
|
|
32788
|
+
form: "single",
|
|
32789
|
+
optional: false
|
|
32790
|
+
}],
|
|
32791
|
+
"streamBroker.retractCameraStream": [{
|
|
32792
|
+
name: "deviceId",
|
|
32793
|
+
form: "single",
|
|
32794
|
+
optional: false
|
|
32795
|
+
}],
|
|
32796
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
32797
|
+
name: "deviceId",
|
|
32798
|
+
form: "single",
|
|
32799
|
+
optional: false
|
|
32800
|
+
}],
|
|
32801
|
+
"streamBroker.unassignProfile": [{
|
|
32802
|
+
name: "deviceId",
|
|
32803
|
+
form: "single",
|
|
32804
|
+
optional: false
|
|
32805
|
+
}],
|
|
32806
|
+
"streamCatalog.getCatalog": [{
|
|
32807
|
+
name: "deviceId",
|
|
32808
|
+
form: "single",
|
|
32809
|
+
optional: false
|
|
32810
|
+
}],
|
|
32811
|
+
"streamParams.getConfigSchema": [{
|
|
32812
|
+
name: "deviceId",
|
|
32813
|
+
form: "single",
|
|
32814
|
+
optional: false
|
|
32815
|
+
}],
|
|
32816
|
+
"streamParams.getOptions": [{
|
|
32817
|
+
name: "deviceId",
|
|
32818
|
+
form: "single",
|
|
32819
|
+
optional: false
|
|
32820
|
+
}],
|
|
32821
|
+
"streamParams.setProfile": [{
|
|
32822
|
+
name: "deviceId",
|
|
32823
|
+
form: "single",
|
|
32824
|
+
optional: false
|
|
32825
|
+
}],
|
|
32826
|
+
"switch.setState": [{
|
|
32827
|
+
name: "deviceId",
|
|
32828
|
+
form: "single",
|
|
32829
|
+
optional: false
|
|
32830
|
+
}],
|
|
32831
|
+
"vacuumControl.locate": [{
|
|
32832
|
+
name: "deviceId",
|
|
32833
|
+
form: "single",
|
|
32834
|
+
optional: false
|
|
32835
|
+
}],
|
|
32836
|
+
"vacuumControl.pause": [{
|
|
32837
|
+
name: "deviceId",
|
|
32838
|
+
form: "single",
|
|
32839
|
+
optional: false
|
|
32840
|
+
}],
|
|
32841
|
+
"vacuumControl.returnToBase": [{
|
|
32842
|
+
name: "deviceId",
|
|
32843
|
+
form: "single",
|
|
32844
|
+
optional: false
|
|
32845
|
+
}],
|
|
32846
|
+
"vacuumControl.setFanSpeed": [{
|
|
32847
|
+
name: "deviceId",
|
|
32848
|
+
form: "single",
|
|
32849
|
+
optional: false
|
|
32850
|
+
}],
|
|
32851
|
+
"vacuumControl.start": [{
|
|
32852
|
+
name: "deviceId",
|
|
32853
|
+
form: "single",
|
|
32854
|
+
optional: false
|
|
32855
|
+
}],
|
|
32856
|
+
"vacuumControl.stop": [{
|
|
32857
|
+
name: "deviceId",
|
|
32858
|
+
form: "single",
|
|
32859
|
+
optional: false
|
|
32860
|
+
}],
|
|
32861
|
+
"valve.close": [{
|
|
32862
|
+
name: "deviceId",
|
|
32863
|
+
form: "single",
|
|
32864
|
+
optional: false
|
|
32865
|
+
}],
|
|
32866
|
+
"valve.open": [{
|
|
32867
|
+
name: "deviceId",
|
|
32868
|
+
form: "single",
|
|
32869
|
+
optional: false
|
|
32870
|
+
}],
|
|
32871
|
+
"valve.setPosition": [{
|
|
32872
|
+
name: "deviceId",
|
|
32873
|
+
form: "single",
|
|
32874
|
+
optional: false
|
|
32875
|
+
}],
|
|
32876
|
+
"valve.stop": [{
|
|
32877
|
+
name: "deviceId",
|
|
32878
|
+
form: "single",
|
|
32879
|
+
optional: false
|
|
32880
|
+
}],
|
|
32881
|
+
"videoclips.getClipPlayback": [{
|
|
32882
|
+
name: "deviceId",
|
|
32883
|
+
form: "single",
|
|
32884
|
+
optional: false
|
|
32885
|
+
}],
|
|
32886
|
+
"videoclips.listClips": [{
|
|
32887
|
+
name: "deviceId",
|
|
32888
|
+
form: "single",
|
|
32889
|
+
optional: false
|
|
32890
|
+
}],
|
|
32891
|
+
"waterHeater.setAway": [{
|
|
32892
|
+
name: "deviceId",
|
|
32893
|
+
form: "single",
|
|
32894
|
+
optional: false
|
|
32895
|
+
}],
|
|
32896
|
+
"waterHeater.setOperationMode": [{
|
|
32897
|
+
name: "deviceId",
|
|
32898
|
+
form: "single",
|
|
32899
|
+
optional: false
|
|
32900
|
+
}],
|
|
32901
|
+
"waterHeater.setTargetTemp": [{
|
|
32902
|
+
name: "deviceId",
|
|
32903
|
+
form: "single",
|
|
32904
|
+
optional: false
|
|
32905
|
+
}],
|
|
32906
|
+
"webrtcSession.addIceCandidate": [{
|
|
32907
|
+
name: "deviceId",
|
|
32908
|
+
form: "single",
|
|
32909
|
+
optional: false
|
|
32910
|
+
}],
|
|
32911
|
+
"webrtcSession.closeSession": [{
|
|
32912
|
+
name: "deviceId",
|
|
32913
|
+
form: "single",
|
|
32914
|
+
optional: false
|
|
32915
|
+
}],
|
|
32916
|
+
"webrtcSession.createSession": [{
|
|
32917
|
+
name: "deviceId",
|
|
32918
|
+
form: "single",
|
|
32919
|
+
optional: false
|
|
32920
|
+
}],
|
|
32921
|
+
"webrtcSession.getIceCandidates": [{
|
|
32922
|
+
name: "deviceId",
|
|
32923
|
+
form: "single",
|
|
32924
|
+
optional: false
|
|
32925
|
+
}],
|
|
32926
|
+
"webrtcSession.getSessionState": [{
|
|
32927
|
+
name: "deviceId",
|
|
32928
|
+
form: "single",
|
|
32929
|
+
optional: false
|
|
32930
|
+
}],
|
|
32931
|
+
"webrtcSession.handleAnswer": [{
|
|
32932
|
+
name: "deviceId",
|
|
32933
|
+
form: "single",
|
|
32934
|
+
optional: false
|
|
32935
|
+
}],
|
|
32936
|
+
"webrtcSession.handleOffer": [{
|
|
32937
|
+
name: "deviceId",
|
|
32938
|
+
form: "single",
|
|
32939
|
+
optional: false
|
|
32940
|
+
}],
|
|
32941
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
32942
|
+
name: "deviceId",
|
|
32943
|
+
form: "single",
|
|
32944
|
+
optional: false
|
|
32945
|
+
}],
|
|
32946
|
+
"webrtcSession.listStreams": [{
|
|
32947
|
+
name: "deviceId",
|
|
32948
|
+
form: "single",
|
|
32949
|
+
optional: false
|
|
32950
|
+
}],
|
|
32951
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
32952
|
+
name: "deviceId",
|
|
32953
|
+
form: "single",
|
|
32954
|
+
optional: false
|
|
32955
|
+
}],
|
|
32956
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
32957
|
+
name: "deviceId",
|
|
32958
|
+
form: "single",
|
|
32959
|
+
optional: false
|
|
32960
|
+
}],
|
|
32961
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
32962
|
+
name: "deviceId",
|
|
32963
|
+
form: "single",
|
|
32964
|
+
optional: false
|
|
32965
|
+
}],
|
|
32966
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
32967
|
+
name: "deviceId",
|
|
32968
|
+
form: "single",
|
|
32969
|
+
optional: false
|
|
32970
|
+
}],
|
|
32971
|
+
"zoneRules.listRules": [{
|
|
32972
|
+
name: "deviceId",
|
|
32973
|
+
form: "single",
|
|
32974
|
+
optional: false
|
|
32975
|
+
}],
|
|
32976
|
+
"zoneRules.setRules": [{
|
|
32977
|
+
name: "deviceId",
|
|
32978
|
+
form: "single",
|
|
32979
|
+
optional: false
|
|
32980
|
+
}],
|
|
32981
|
+
"zones.addZone": [{
|
|
32982
|
+
name: "deviceId",
|
|
32983
|
+
form: "single",
|
|
32984
|
+
optional: false
|
|
32985
|
+
}],
|
|
32986
|
+
"zones.listZones": [{
|
|
32987
|
+
name: "deviceId",
|
|
32988
|
+
form: "single",
|
|
32989
|
+
optional: false
|
|
32990
|
+
}],
|
|
32991
|
+
"zones.removeZone": [{
|
|
32992
|
+
name: "deviceId",
|
|
32993
|
+
form: "single",
|
|
32994
|
+
optional: false
|
|
32995
|
+
}],
|
|
32996
|
+
"zones.updateZone": [{
|
|
32997
|
+
name: "deviceId",
|
|
32998
|
+
form: "single",
|
|
32999
|
+
optional: false
|
|
33000
|
+
}]
|
|
33001
|
+
});
|
|
30754
33002
|
Object.freeze({
|
|
30755
33003
|
"broker": "broker",
|
|
30756
33004
|
"device-export": "device-export",
|