@camstack/addon-provider-homeassistant 1.2.147 → 1.2.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +16 -5
- package/dist/addon.mjs +16 -5
- package/dist/{dist-CslhAXSs.js → dist-BHAS4ZKN.js} +517 -202
- package/dist/{dist-DVwhiKWh.mjs → dist-CpKTdyca.mjs} +517 -202
- package/dist/ha-export/ha-export.addon.js +7 -57
- package/dist/ha-export/ha-export.addon.mjs +7 -57
- package/package.json +1 -1
|
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
|
|
|
5370
5370
|
var ZodFirstPartyTypeKind;
|
|
5371
5371
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5372
5372
|
//#endregion
|
|
5373
|
-
//#region ../types/dist/sleep-
|
|
5373
|
+
//#region ../types/dist/sleep-gU6hqv4_.mjs
|
|
5374
5374
|
/**
|
|
5375
5375
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5376
5376
|
* window to float samples (D455).
|
|
@@ -7472,7 +7472,59 @@ function errMsg(err) {
|
|
|
7472
7472
|
return String(err);
|
|
7473
7473
|
}
|
|
7474
7474
|
//#endregion
|
|
7475
|
-
//#region ../types/dist/composition-
|
|
7475
|
+
//#region ../types/dist/composition-Dq42XWp0.mjs
|
|
7476
|
+
/**
|
|
7477
|
+
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
7478
|
+
*
|
|
7479
|
+
* ## Why a download, on every node, including the container
|
|
7480
|
+
*
|
|
7481
|
+
* The version of ffmpeg used to be CODE: baked into the image, changeable only
|
|
7482
|
+
* by rebuilding and rolling it. Now it is DATA — this file states the release,
|
|
7483
|
+
* and a node that boots with a different one downloads it. Changing ffmpeg is a
|
|
7484
|
+
* framework bump, not an image rebuild.
|
|
7485
|
+
*
|
|
7486
|
+
* It also settles the licence question by removing it. FFmpeg's licence is
|
|
7487
|
+
* chosen at compile time: the core is LGPL 2.1+, `--enable-gpl` makes it GPL
|
|
7488
|
+
* (for x264/x265), `--enable-version3` makes that v3, and `--enable-nonfree`
|
|
7489
|
+
* makes the result undistributable. These are GPL v3 builds, and we do not
|
|
7490
|
+
* distribute them: the user's own node fetches the archive from the project
|
|
7491
|
+
* that publishes it, so we convey no GPL work and inherit none of the
|
|
7492
|
+
* obligations that come with conveying one. That is the whole reason the image
|
|
7493
|
+
* no longer installs ffmpeg at all — not a technical preference.
|
|
7494
|
+
*
|
|
7495
|
+
* ## Why jellyfin-ffmpeg
|
|
7496
|
+
*
|
|
7497
|
+
* One vendor covering linux-amd64, linux-arm64, darwin-arm64 and darwin-x64
|
|
7498
|
+
* from one release, with the widest hardware surface of anything maintained:
|
|
7499
|
+
* VAAPI, QSV, NVENC/NVDEC, AMF, Vulkan, OpenCL and DRM on amd64, plus Rockchip
|
|
7500
|
+
* MPP on arm64. It reaches the vendor libraries through dlopen trampolines,
|
|
7501
|
+
* so the binary is not linked against a driver stack it may not find.
|
|
7502
|
+
*
|
|
7503
|
+
* **What it still needs from the host, measured 2026-09-19.** On the Unraid
|
|
7504
|
+
* HOST, which has no libva, `-vaapi_device` aborts the process outright —
|
|
7505
|
+
* `implib-gen: libva-drm.so.2: failed to load library ... Assertion '0 &&
|
|
7506
|
+
* "Assertion in generated code"' failed`. Inside our container, which installs
|
|
7507
|
+
* libva plus the iHD driver, the same command encodes: verified end to end with
|
|
7508
|
+
* `testsrc → format=nv12,hwupload → h264_vaapi`. So the image drops ffmpeg and
|
|
7509
|
+
* KEEPS the Intel media stack; the drivers are the part a binary cannot bring.
|
|
7510
|
+
*
|
|
7511
|
+
* ## Why each artifact carries a checksum and a claim
|
|
7512
|
+
*
|
|
7513
|
+
* The download is now the only source, so `sha256` is verified before anything
|
|
7514
|
+
* is extracted — jellyfin publishes no checksums on its release assets, so
|
|
7515
|
+
* these are ours, taken at the version bump. And `expectedHwaccels` is what the
|
|
7516
|
+
* build is supposed to be able to do: a binary that probes short of its own
|
|
7517
|
+
* claim is a source that changed under us, which is precisely what went
|
|
7518
|
+
* unnoticed for months when a static build turned out to carry no VAAPI at all
|
|
7519
|
+
* (D536).
|
|
7520
|
+
*/
|
|
7521
|
+
/** The pinned jellyfin-ffmpeg release. Changing this is the version change. */
|
|
7522
|
+
var FFMPEG_RELEASE = "8.1.2-5";
|
|
7523
|
+
var BASE = `https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${FFMPEG_RELEASE}`;
|
|
7524
|
+
function portable(target) {
|
|
7525
|
+
return `${BASE}/jellyfin-ffmpeg_${FFMPEG_RELEASE}_portable_${target}-gpl.tar.xz`;
|
|
7526
|
+
}
|
|
7527
|
+
portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
|
|
7476
7528
|
/**
|
|
7477
7529
|
* LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
|
|
7478
7530
|
* valutatore puro del suo FRONTE.
|
|
@@ -8278,7 +8330,6 @@ var CompositionSchema = object({
|
|
|
8278
8330
|
});
|
|
8279
8331
|
new Set([
|
|
8280
8332
|
"track",
|
|
8281
|
-
"summary",
|
|
8282
8333
|
"face",
|
|
8283
8334
|
"identity",
|
|
8284
8335
|
"plate",
|
|
@@ -9091,6 +9142,82 @@ var ArchivedDebugNoteQueryInputSchema = object({
|
|
|
9091
9142
|
/** Max rows returned, newest-first. */
|
|
9092
9143
|
limit: number().int().min(1).max(1e3).optional()
|
|
9093
9144
|
});
|
|
9145
|
+
var TrackRelationKindSchema = _enum(["same-subject", "different-subjects"]);
|
|
9146
|
+
var TrackSideSchema = _enum(["before", "after"]);
|
|
9147
|
+
var TrackPurityValueSchema = _enum(["mixed", "not-a-subject"]);
|
|
9148
|
+
var TrackRelationSchema = object({
|
|
9149
|
+
id: string(),
|
|
9150
|
+
deviceId: number().int(),
|
|
9151
|
+
leftTrackId: string(),
|
|
9152
|
+
rightTrackId: string(),
|
|
9153
|
+
leftSide: TrackSideSchema.nullable(),
|
|
9154
|
+
rightSide: TrackSideSchema.nullable(),
|
|
9155
|
+
relation: TrackRelationKindSchema,
|
|
9156
|
+
presence: literal("continuous").nullable(),
|
|
9157
|
+
leftStartedAt: number().int().nullable(),
|
|
9158
|
+
rightStartedAt: number().int().nullable(),
|
|
9159
|
+
createdAt: number().int(),
|
|
9160
|
+
updatedAt: number().int(),
|
|
9161
|
+
author: string().nullable()
|
|
9162
|
+
});
|
|
9163
|
+
var TrackPuritySchema = object({
|
|
9164
|
+
id: string(),
|
|
9165
|
+
deviceId: number().int(),
|
|
9166
|
+
sourceTrackId: string(),
|
|
9167
|
+
purity: TrackPurityValueSchema,
|
|
9168
|
+
switchAtMs: number().int().nullable(),
|
|
9169
|
+
startedAt: number().int().nullable(),
|
|
9170
|
+
createdAt: number().int(),
|
|
9171
|
+
updatedAt: number().int(),
|
|
9172
|
+
author: string().nullable()
|
|
9173
|
+
});
|
|
9174
|
+
var SetTrackRelationInputSchema = object({
|
|
9175
|
+
deviceId: number().int(),
|
|
9176
|
+
trackId: string().min(1),
|
|
9177
|
+
otherTrackId: string().min(1),
|
|
9178
|
+
relation: TrackRelationKindSchema,
|
|
9179
|
+
presence: literal("continuous").optional(),
|
|
9180
|
+
trackSide: TrackSideSchema.optional(),
|
|
9181
|
+
otherSide: TrackSideSchema.optional()
|
|
9182
|
+
});
|
|
9183
|
+
var ClearTrackRelationInputSchema = object({
|
|
9184
|
+
deviceId: number().int(),
|
|
9185
|
+
trackId: string().min(1),
|
|
9186
|
+
otherTrackId: string().min(1)
|
|
9187
|
+
});
|
|
9188
|
+
var ClearTrackRelationResultSchema = object({ cleared: boolean() });
|
|
9189
|
+
var SetTrackPurityInputSchema = object({
|
|
9190
|
+
deviceId: number().int(),
|
|
9191
|
+
trackId: string().min(1),
|
|
9192
|
+
purity: _enum([
|
|
9193
|
+
"pure",
|
|
9194
|
+
"mixed",
|
|
9195
|
+
"not-a-subject"
|
|
9196
|
+
]),
|
|
9197
|
+
switchAtMs: number().int().optional()
|
|
9198
|
+
});
|
|
9199
|
+
/** `null` when `pure` cleared the row. */
|
|
9200
|
+
var SetTrackPurityResultSchema = object({ purity: TrackPuritySchema.nullable() });
|
|
9201
|
+
var ListTrackRelationsInputSchema = object({
|
|
9202
|
+
deviceId: number().int(),
|
|
9203
|
+
trackId: string().optional(),
|
|
9204
|
+
since: number().int().optional(),
|
|
9205
|
+
until: number().int().optional(),
|
|
9206
|
+
limit: number().int().min(1).max(5e3).optional()
|
|
9207
|
+
});
|
|
9208
|
+
var ListTrackRelationsResultSchema = object({
|
|
9209
|
+
relations: array(TrackRelationSchema).readonly(),
|
|
9210
|
+
purities: array(TrackPuritySchema).readonly(),
|
|
9211
|
+
truncated: boolean()
|
|
9212
|
+
});
|
|
9213
|
+
_enum([
|
|
9214
|
+
"unknown-track",
|
|
9215
|
+
"cross-device",
|
|
9216
|
+
"self-relation",
|
|
9217
|
+
"contradiction",
|
|
9218
|
+
"switch-outside-track",
|
|
9219
|
+
"switch-needs-mixed"
|
|
9220
|
+
]);
|
|
9094
9221
|
/**
|
|
9095
9222
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
9096
9223
|
* recordings and events management surfaces.
|
|
@@ -13348,6 +13475,70 @@ var CompositionBlockStateSchema = object({
|
|
|
13348
13475
|
reason: string().optional(),
|
|
13349
13476
|
fields: array(CompositionFieldStateSchema)
|
|
13350
13477
|
});
|
|
13478
|
+
var NUMBER = {
|
|
13479
|
+
kind: "fixed",
|
|
13480
|
+
result: ["number"]
|
|
13481
|
+
};
|
|
13482
|
+
var BOOLEAN = {
|
|
13483
|
+
kind: "fixed",
|
|
13484
|
+
result: ["boolean"]
|
|
13485
|
+
};
|
|
13486
|
+
Object.freeze({
|
|
13487
|
+
min: NUMBER,
|
|
13488
|
+
max: NUMBER,
|
|
13489
|
+
abs: NUMBER,
|
|
13490
|
+
floor: NUMBER,
|
|
13491
|
+
ceil: NUMBER,
|
|
13492
|
+
sqrt: NUMBER,
|
|
13493
|
+
round: NUMBER,
|
|
13494
|
+
pow: NUMBER,
|
|
13495
|
+
clamp: NUMBER,
|
|
13496
|
+
avg: NUMBER,
|
|
13497
|
+
sum: NUMBER,
|
|
13498
|
+
age: NUMBER,
|
|
13499
|
+
convert: NUMBER,
|
|
13500
|
+
coalesce: { kind: "coalesce" },
|
|
13501
|
+
any: BOOLEAN,
|
|
13502
|
+
all: BOOLEAN,
|
|
13503
|
+
within: BOOLEAN,
|
|
13504
|
+
latest: {
|
|
13505
|
+
kind: "fixed",
|
|
13506
|
+
result: ["number", "null"]
|
|
13507
|
+
},
|
|
13508
|
+
number: {
|
|
13509
|
+
kind: "fixed",
|
|
13510
|
+
result: ["number", "null"]
|
|
13511
|
+
},
|
|
13512
|
+
rose: {
|
|
13513
|
+
kind: "fixed",
|
|
13514
|
+
result: ["number", "null"]
|
|
13515
|
+
},
|
|
13516
|
+
count: NUMBER
|
|
13517
|
+
});
|
|
13518
|
+
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
13519
|
+
/**
|
|
13520
|
+
* What a composition may BUILD on a device type (G2, D676): the caps a new
|
|
13521
|
+
* device of that type, or an existing one that lacks them, can be given. The
|
|
13522
|
+
* blockers are the validator's own refusal codes, and a spec compares this
|
|
13523
|
+
* listing with `planComposition` for every capability — the editor can never
|
|
13524
|
+
* offer a feature the save would refuse for the same reason.
|
|
13525
|
+
*/
|
|
13526
|
+
var ComposableFieldSchema = object({
|
|
13527
|
+
path: string(),
|
|
13528
|
+
kind: CompositionFieldKindSchema,
|
|
13529
|
+
nullable: boolean(),
|
|
13530
|
+
required: boolean(),
|
|
13531
|
+
enumValues: array(string()).optional()
|
|
13532
|
+
});
|
|
13533
|
+
var ComposableCapabilitiesSchema = object({ caps: array(object({
|
|
13534
|
+
cap: string(),
|
|
13535
|
+
fields: array(ComposableFieldSchema),
|
|
13536
|
+
/** Present for an item-array cap (`consumables.items`). */
|
|
13537
|
+
itemArray: object({
|
|
13538
|
+
path: string(),
|
|
13539
|
+
keyField: string()
|
|
13540
|
+
}).optional()
|
|
13541
|
+
})) });
|
|
13351
13542
|
/** Where a block runs. The operator chooses — a block driving a device on an
|
|
13352
13543
|
* agent is the reason placement is not fixed to the hub. */
|
|
13353
13544
|
var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
|
|
@@ -13512,7 +13703,7 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
|
|
|
13512
13703
|
}), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
|
|
13513
13704
|
addonId: string().min(1),
|
|
13514
13705
|
stableId: string().min(1)
|
|
13515
|
-
}), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({
|
|
13706
|
+
}), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({ deviceType: _enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }), method(object({
|
|
13516
13707
|
composition: CompositionSchema,
|
|
13517
13708
|
blockId: string().optional()
|
|
13518
13709
|
}), CompositionValidationSchema, {
|
|
@@ -19010,8 +19201,14 @@ var NcSensorTransitionSchema = _enum(["raised", "cleared"]);
|
|
|
19010
19201
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
19011
19202
|
var NcZoneConditionSchema = object({
|
|
19012
19203
|
ids: array(string().min(1)).min(1),
|
|
19013
|
-
/**
|
|
19014
|
-
|
|
19204
|
+
/**
|
|
19205
|
+
* LEGACY quantifier over `ids`. Absent = `any` (at least one visited), which
|
|
19206
|
+
* is what both editors mean and all they write since D690: "all of" was
|
|
19207
|
+
* removed from the editors because on an immediate rule it asked one
|
|
19208
|
+
* detection to stand in every zone at once. Still ACCEPTED, and `all` still
|
|
19209
|
+
* evaluated, so a stored rule keeps parsing and meaning what it meant.
|
|
19210
|
+
*/
|
|
19211
|
+
match: _enum(["any", "all"]).optional()
|
|
19015
19212
|
});
|
|
19016
19213
|
/**
|
|
19017
19214
|
* The P1 condition set — a flat AND of groups; absent group = pass;
|
|
@@ -20884,6 +21081,102 @@ var oauthIntegrationCapability = {
|
|
|
20884
21081
|
getDescriptor: method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" }) }
|
|
20885
21082
|
};
|
|
20886
21083
|
/**
|
|
21084
|
+
* What started a camera's onboard motion (D672). `camera` is the camera's own
|
|
21085
|
+
* firmware; `sensor` is a device the operator ATTACHED to it. Absent on the
|
|
21086
|
+
* wire means the camera: only the camera-sensors bridge ever says `sensor`.
|
|
21087
|
+
*/
|
|
21088
|
+
var MotionTriggeredBySchema = discriminatedUnion("kind", [object({ kind: literal("camera") }), object({
|
|
21089
|
+
kind: literal("sensor"),
|
|
21090
|
+
deviceId: number().int().positive()
|
|
21091
|
+
})]);
|
|
21092
|
+
Object.freeze({ kind: "camera" });
|
|
21093
|
+
var CameraSensorRefSchema = object({
|
|
21094
|
+
addonId: string().min(1),
|
|
21095
|
+
stableId: string().min(1)
|
|
21096
|
+
});
|
|
21097
|
+
function cameraSensorRefKey(ref) {
|
|
21098
|
+
return `${ref.addonId}/${ref.stableId}`;
|
|
21099
|
+
}
|
|
21100
|
+
/** CS-1 accepts exactly one mode; CS-2 (D673) widens it to confirm / replace. */
|
|
21101
|
+
var CameraSensorsModeSchema = _enum(["in-addition"]);
|
|
21102
|
+
var CameraSensorsConfigSchema = object({
|
|
21103
|
+
mode: CameraSensorsModeSchema,
|
|
21104
|
+
sensors: array(CameraSensorRefSchema).min(1).max(8)
|
|
21105
|
+
}).superRefine((value, ctx) => {
|
|
21106
|
+
const seen = /* @__PURE__ */ new Set();
|
|
21107
|
+
value.sensors.forEach((ref, index) => {
|
|
21108
|
+
const key = cameraSensorRefKey(ref);
|
|
21109
|
+
if (seen.has(key)) ctx.addIssue({
|
|
21110
|
+
code: "custom",
|
|
21111
|
+
path: ["sensors", index],
|
|
21112
|
+
message: `duplicate camera sensor ${key}`
|
|
21113
|
+
});
|
|
21114
|
+
seen.add(key);
|
|
21115
|
+
});
|
|
21116
|
+
});
|
|
21117
|
+
var RefFields = {
|
|
21118
|
+
addonId: string(),
|
|
21119
|
+
stableId: string()
|
|
21120
|
+
};
|
|
21121
|
+
var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
21122
|
+
object({
|
|
21123
|
+
...RefFields,
|
|
21124
|
+
state: literal("ready"),
|
|
21125
|
+
deviceId: number(),
|
|
21126
|
+
name: string(),
|
|
21127
|
+
caps: array(string()).readonly()
|
|
21128
|
+
}),
|
|
21129
|
+
object({
|
|
21130
|
+
...RefFields,
|
|
21131
|
+
state: literal("offline"),
|
|
21132
|
+
deviceId: number(),
|
|
21133
|
+
name: string(),
|
|
21134
|
+
reason: _enum(["offline", "disabled"])
|
|
21135
|
+
}),
|
|
21136
|
+
object({
|
|
21137
|
+
...RefFields,
|
|
21138
|
+
state: literal("missing"),
|
|
21139
|
+
reason: string()
|
|
21140
|
+
}),
|
|
21141
|
+
object({
|
|
21142
|
+
...RefFields,
|
|
21143
|
+
state: literal("unsupported"),
|
|
21144
|
+
deviceId: number(),
|
|
21145
|
+
name: string(),
|
|
21146
|
+
reason: string()
|
|
21147
|
+
}),
|
|
21148
|
+
object({
|
|
21149
|
+
...RefFields,
|
|
21150
|
+
state: literal("unreadable"),
|
|
21151
|
+
reason: string()
|
|
21152
|
+
})
|
|
21153
|
+
]);
|
|
21154
|
+
/**
|
|
21155
|
+
* Why a configured camera forwards NOTHING from its sensors, however ready they
|
|
21156
|
+
* are (D672): it does not list `onboard` in `motionSources` (attaching a sensor
|
|
21157
|
+
* does not add it), or it has no active detection config at all (the bridge
|
|
21158
|
+
* reads the active config). Absent = forwarded, or an older node that does not
|
|
21159
|
+
* say.
|
|
21160
|
+
*/
|
|
21161
|
+
var CameraSensorsNotForwardedSchema = _enum(["onboard-not-listed", "no-active-detection"]);
|
|
21162
|
+
var CameraSensorsStatusSchema = discriminatedUnion("state", [
|
|
21163
|
+
object({ state: literal("not-configured") }),
|
|
21164
|
+
object({
|
|
21165
|
+
state: literal("unreadable"),
|
|
21166
|
+
reason: string()
|
|
21167
|
+
}),
|
|
21168
|
+
object({
|
|
21169
|
+
state: literal("configured"),
|
|
21170
|
+
mode: CameraSensorsModeSchema,
|
|
21171
|
+
sensors: array(CameraSensorAttachmentSchema).readonly(),
|
|
21172
|
+
notForwarded: CameraSensorsNotForwardedSchema.optional()
|
|
21173
|
+
})
|
|
21174
|
+
]);
|
|
21175
|
+
Object.freeze({
|
|
21176
|
+
state: "unreadable",
|
|
21177
|
+
reason: "camera sensor mappings not loaded"
|
|
21178
|
+
});
|
|
21179
|
+
/**
|
|
20887
21180
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
20888
21181
|
*
|
|
20889
21182
|
* ## The two scopes
|
|
@@ -21632,6 +21925,12 @@ var MotionEventSchema = object({
|
|
|
21632
21925
|
/** Populated by B5 (recording playback URL for this event). */
|
|
21633
21926
|
mediaUrl: string().optional(),
|
|
21634
21927
|
/**
|
|
21928
|
+
* The FIRST trigger of an `onboard` episode, written once at open (D672).
|
|
21929
|
+
* Absent = not recorded (a row written before D672, or an analyzer /
|
|
21930
|
+
* device-activity episode) — never read as "the camera" (D393).
|
|
21931
|
+
*/
|
|
21932
|
+
triggeredBy: MotionTriggeredBySchema.optional(),
|
|
21933
|
+
/**
|
|
21635
21934
|
* One row per motion EPISODE, not one per push (D475). `null` while the
|
|
21636
21935
|
* episode is still open — a further rising edge extends it in place rather
|
|
21637
21936
|
* than inserting a new row. Set once, at close, to `lastOnAt - startedAt`
|
|
@@ -21790,6 +22089,21 @@ var ObjectEventSchema = object({
|
|
|
21790
22089
|
keyFrameMediaId: number().int().optional(),
|
|
21791
22090
|
/** Populated by B5 (recording playback URL for this event). */
|
|
21792
22091
|
mediaUrl: string().optional(),
|
|
22092
|
+
/**
|
|
22093
|
+
* When the change this row records HAPPENED, epoch ms, when that is earlier
|
|
22094
|
+
* than {@link timestamp} and the producer could date it (D684).
|
|
22095
|
+
*
|
|
22096
|
+
* Set on a package PICK-UP row only: its `timestamp` is when the departure
|
|
22097
|
+
* was CONCLUDED — five minutes of unseen observed time after the parcel went
|
|
22098
|
+
* — and a notification's footage has to be cut around the pick-up, not the
|
|
22099
|
+
* empty doormat after it (D682). Stored so every path that rebuilds a
|
|
22100
|
+
* notification subject from the row (the boot reconcile, a dry-run) anchors
|
|
22101
|
+
* on the same instant the live hook did.
|
|
22102
|
+
*
|
|
22103
|
+
* `timestamp` keeps its meaning. Absent on every other row and on every
|
|
22104
|
+
* pick-up written before D684 — UNKNOWN, never 0 and never `timestamp`.
|
|
22105
|
+
*/
|
|
22106
|
+
observedAt: number().optional(),
|
|
21793
22107
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
21794
22108
|
* event of the track (so an event row can be sorted by importance without a
|
|
21795
22109
|
* track join). Absent on legacy rows / before the track was scored. */
|
|
@@ -22125,131 +22439,6 @@ var RecentTracksQueryInput = object({
|
|
|
22125
22439
|
/** See {@link ExcludeSourcesDoc}. */
|
|
22126
22440
|
excludeSources: array(TrackSourceSchema).optional()
|
|
22127
22441
|
});
|
|
22128
|
-
/**
|
|
22129
|
-
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
22130
|
-
* `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
|
|
22131
|
-
* 'summary'`, served by the event-media plane at `/m/<id>`), null until the
|
|
22132
|
-
* first frame with a member visible has been materialised (D482 — it was the
|
|
22133
|
-
* row's composite key, which embedded the owner and could name another table's
|
|
22134
|
-
* row once event ids became per-table rowids).
|
|
22135
|
-
*/
|
|
22136
|
-
var SummarySchema = object({
|
|
22137
|
-
id: string(),
|
|
22138
|
-
deviceId: number(),
|
|
22139
|
-
openedAt: number(),
|
|
22140
|
-
lastActiveAt: number(),
|
|
22141
|
-
sealedAt: number().nullable(),
|
|
22142
|
-
memberCount: number().int().nonnegative(),
|
|
22143
|
-
groupShotMediaId: number().int().nullable()
|
|
22144
|
-
});
|
|
22145
|
-
var SummariesQueryInput = object({
|
|
22146
|
-
deviceIds: array(number()).min(1),
|
|
22147
|
-
since: number().optional(),
|
|
22148
|
-
until: number().optional(),
|
|
22149
|
-
limit: number().int().min(1).max(200).default(50),
|
|
22150
|
-
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
22151
|
-
* meaning of "dog" on every summary surface. */
|
|
22152
|
-
classes: array(string().min(1).max(60)).max(40).optional()
|
|
22153
|
-
});
|
|
22154
|
-
var SummaryDetailSchema = object({
|
|
22155
|
-
summary: SummarySchema,
|
|
22156
|
-
/** Members in absorption order, oldest join first. */
|
|
22157
|
-
members: array(object({
|
|
22158
|
-
trackId: string(),
|
|
22159
|
-
/**
|
|
22160
|
-
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
22161
|
-
* and the track no longer exists to fill it.
|
|
22162
|
-
*
|
|
22163
|
-
* The join, not the latest opinion: class voting can re-decide a track's
|
|
22164
|
-
* class afterwards, and a group's composition is the history of who came
|
|
22165
|
-
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
22166
|
-
* dog" — rather than being handed a second, denormalised tally that would
|
|
22167
|
-
* drift from the members it claims to describe.
|
|
22168
|
-
*/
|
|
22169
|
-
className: string().nullable(),
|
|
22170
|
-
/** `primary` is the one member that carries the group's identity. */
|
|
22171
|
-
role: _enum([
|
|
22172
|
-
"primary",
|
|
22173
|
-
"sibling",
|
|
22174
|
-
"child"
|
|
22175
|
-
]).nullable(),
|
|
22176
|
-
joinedAt: number(),
|
|
22177
|
-
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
22178
|
-
* at read time. Absent when nothing resolved, never an empty string. */
|
|
22179
|
-
label: string().optional(),
|
|
22180
|
-
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
22181
|
-
* recognised nobody, and absent for a member whose track has been pruned —
|
|
22182
|
-
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
22183
|
-
subLabel: string().optional()
|
|
22184
|
-
})).readonly()
|
|
22185
|
-
});
|
|
22186
|
-
/**
|
|
22187
|
-
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
22188
|
-
*
|
|
22189
|
-
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
22190
|
-
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
22191
|
-
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
22192
|
-
* are on {@link getSummary}: shipping every member of every group so a client
|
|
22193
|
-
* can count them turns a page of two hundred groups into a thousand records to
|
|
22194
|
-
* draw two hundred badges.
|
|
22195
|
-
*/
|
|
22196
|
-
var SummaryListItemSchema = object({
|
|
22197
|
-
summary: SummarySchema,
|
|
22198
|
-
/** Class counts, most numerous first; `className: null` is a member whose
|
|
22199
|
-
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
22200
|
-
classes: array(object({
|
|
22201
|
-
className: string().nullable(),
|
|
22202
|
-
count: number().int().positive()
|
|
22203
|
-
})).readonly()
|
|
22204
|
-
});
|
|
22205
|
-
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
22206
|
-
/**
|
|
22207
|
-
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
22208
|
-
*
|
|
22209
|
-
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
22210
|
-
* summaries feed that could only answer "the last N for these cameras"
|
|
22211
|
-
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
22212
|
-
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
22213
|
-
* "newest" means, on one screen.
|
|
22214
|
-
*/
|
|
22215
|
-
var RecentSummariesQueryInput = object({
|
|
22216
|
-
/** Devices to merge. An empty array yields an empty page. */
|
|
22217
|
-
deviceIds: array(number()),
|
|
22218
|
-
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
22219
|
-
since: number().optional(),
|
|
22220
|
-
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
22221
|
-
until: number().optional(),
|
|
22222
|
-
limit: number().int().min(1).max(500).default(100),
|
|
22223
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
22224
|
-
cursor: string().optional(),
|
|
22225
|
-
/**
|
|
22226
|
-
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
22227
|
-
* deliberately the same name: the events filter tree emits one list of ticked
|
|
22228
|
-
* taxonomy nodes, and a summaries feed that called it something else would
|
|
22229
|
-
* make the operator's one filter component produce two shapes.
|
|
22230
|
-
*
|
|
22231
|
-
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
22232
|
-
* me the arrivals with a dog" has to return the group of four people who had
|
|
22233
|
-
* one with them; a filter on the group's own fields could only ever answer
|
|
22234
|
-
* about its primary.
|
|
22235
|
-
*
|
|
22236
|
-
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
22237
|
-
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
22238
|
-
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
22239
|
-
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
22240
|
-
* that read only the class would answer "animal" and never "dog".
|
|
22241
|
-
*
|
|
22242
|
-
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
22243
|
-
*/
|
|
22244
|
-
classes: array(string().min(1).max(60)).max(40).optional()
|
|
22245
|
-
});
|
|
22246
|
-
var RecentSummariesPageSchema = object({
|
|
22247
|
-
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
22248
|
-
* {@link listSummaries} — one list shape, so a card renders the same
|
|
22249
|
-
* whichever feed drew it. */
|
|
22250
|
-
summaries: array(SummaryListItemSchema).readonly(),
|
|
22251
|
-
nextCursor: string().nullable()
|
|
22252
|
-
});
|
|
22253
22442
|
var RecentTracksPageSchema = object({
|
|
22254
22443
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
22255
22444
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -22761,7 +22950,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22761
22950
|
classes: array(string()).optional(),
|
|
22762
22951
|
/** See {@link ExcludeSourcesDoc}. */
|
|
22763
22952
|
excludeSources: array(TrackSourceSchema).optional()
|
|
22764
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
22953
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
22765
22954
|
kind: "mutation",
|
|
22766
22955
|
auth: "admin"
|
|
22767
22956
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -22815,7 +23004,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22815
23004
|
trackIds: array(string()).min(1)
|
|
22816
23005
|
}), object({
|
|
22817
23006
|
deleted: number().int(),
|
|
22818
|
-
failed: array(string()).readonly()
|
|
23007
|
+
failed: array(string()).readonly(),
|
|
23008
|
+
sparedMediaIds: array(number().int()).readonly().optional()
|
|
22819
23009
|
}), {
|
|
22820
23010
|
kind: "mutation",
|
|
22821
23011
|
auth: "admin"
|
|
@@ -22824,7 +23014,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22824
23014
|
deviceId: number(),
|
|
22825
23015
|
trackId: string(),
|
|
22826
23016
|
flags: TrackFlagsPatchSchema
|
|
22827
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
23017
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(SetTrackRelationInputSchema, TrackRelationSchema, { kind: "mutation" }), method(ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, { kind: "mutation" }), method(SetTrackPurityInputSchema, SetTrackPurityResultSchema, { kind: "mutation" }), method(ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
22828
23018
|
kind: "query",
|
|
22829
23019
|
auth: "admin"
|
|
22830
23020
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -23981,6 +24171,23 @@ var MotionSourceEnum = _enum([
|
|
|
23981
24171
|
*/
|
|
23982
24172
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
23983
24173
|
/**
|
|
24174
|
+
* The operator-facing name of each MOTION source (D672: `onboard` = the
|
|
24175
|
+
* camera's sensors — its own motion plus any sensor attached to it). The wire
|
|
24176
|
+
* value stays `onboard`; only the label changed. `detectionSources: 'onboard'`
|
|
24177
|
+
* ("Camera onboard AI") and the notification source filter keep their labels.
|
|
24178
|
+
*/
|
|
24179
|
+
var MOTION_SOURCE_LABELS = {
|
|
24180
|
+
analyzer: "Frame-diff Analyzer (motion addon)",
|
|
24181
|
+
onboard: "Camera sensors",
|
|
24182
|
+
"device-activity": "Device activity (the device says it is working)"
|
|
24183
|
+
};
|
|
24184
|
+
/** The order the motion-source picker offers them in (not the enum's order). */
|
|
24185
|
+
var MOTION_SOURCE_PICKER_ORDER = [
|
|
24186
|
+
"analyzer",
|
|
24187
|
+
"onboard",
|
|
24188
|
+
"device-activity"
|
|
24189
|
+
];
|
|
24190
|
+
/**
|
|
23984
24191
|
* Which root detector a camera runs — EXACTLY ONE.
|
|
23985
24192
|
*
|
|
23986
24193
|
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
@@ -24327,7 +24534,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24327
24534
|
*/
|
|
24328
24535
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
24329
24536
|
});
|
|
24330
|
-
|
|
24537
|
+
MOTION_SOURCE_PICKER_ORDER.map((value) => value === "onboard" ? {
|
|
24538
|
+
value,
|
|
24539
|
+
label: MOTION_SOURCE_LABELS[value],
|
|
24540
|
+
description: "The camera's own motion, plus any sensor attached to it"
|
|
24541
|
+
} : {
|
|
24542
|
+
value,
|
|
24543
|
+
label: MOTION_SOURCE_LABELS[value]
|
|
24544
|
+
}), motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
24331
24545
|
/**
|
|
24332
24546
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
24333
24547
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -24901,6 +25115,11 @@ var CameraStatusSchema = object({
|
|
|
24901
25115
|
*/
|
|
24902
25116
|
switchedOff: array(CameraSwitchIdSchema).readonly(),
|
|
24903
25117
|
/**
|
|
25118
|
+
* The camera's attached sensors (D672). Optional only for a status composed
|
|
25119
|
+
* by an orchestrator older than D672; this orchestrator always sets it.
|
|
25120
|
+
*/
|
|
25121
|
+
cameraSensors: CameraSensorsStatusSchema.optional(),
|
|
25122
|
+
/**
|
|
24904
25123
|
* Stages of the bounded fan-out that were CUT SHORT — a timeout or a
|
|
24905
25124
|
* rejection — and whose block is therefore `null` because we could not
|
|
24906
25125
|
* READ it, not because there is nothing there.
|
|
@@ -24993,7 +25212,64 @@ var NodeInferenceDevicesSchema = object({
|
|
|
24993
25212
|
reachable: boolean(),
|
|
24994
25213
|
devices: array(NodeInferenceDeviceSchema).readonly()
|
|
24995
25214
|
});
|
|
24996
|
-
|
|
25215
|
+
/**
|
|
25216
|
+
* Pipeline Orchestrator capability — global load balancer + camera dispatcher.
|
|
25217
|
+
*
|
|
25218
|
+
* Lives on the hub. Tracks the camera-to-agent assignment map, listens to
|
|
25219
|
+
* device lifecycle events, queries each runner's capacity + hardware
|
|
25220
|
+
* profile, and dispatches `attachCamera` / `detachCamera` cap calls to the
|
|
25221
|
+
* appropriate runner instances. Persists assignments via the multi-level
|
|
25222
|
+
* settings store so they survive hub restarts.
|
|
25223
|
+
*
|
|
25224
|
+
* Strictly the control plane: never sees a frame, never calls inference,
|
|
25225
|
+
* never drains queues. The runner does that work locally on each agent.
|
|
25226
|
+
*/
|
|
25227
|
+
/**
|
|
25228
|
+
* The input of `setCameraSensors` (G5, D676): the ONE typed write path of a
|
|
25229
|
+
* camera's attached sensors (D672). `config: null` removes the attachment —
|
|
25230
|
+
* the camera reads `not-configured` again, never `unreadable`.
|
|
25231
|
+
*/
|
|
25232
|
+
var SetCameraSensorsInputSchema = object({
|
|
25233
|
+
deviceId: number().int().nonnegative(),
|
|
25234
|
+
/** `null` removes the attachment: the camera goes back to `not-configured`. */
|
|
25235
|
+
config: CameraSensorsConfigSchema.nullable()
|
|
25236
|
+
});
|
|
25237
|
+
/**
|
|
25238
|
+
* Why an early occupancy look (D691) was not scheduled.
|
|
25239
|
+
*
|
|
25240
|
+
* - `unknown-camera` — no session was ever dispatched for it, so there is no
|
|
25241
|
+
* node and no config to attach a burst with.
|
|
25242
|
+
* - `out-of-range` — the ask is negative or further out than the orchestrator
|
|
25243
|
+
* will hold a timer for; the parked-object cadence is the answer there.
|
|
25244
|
+
* - `no-burst-producer` — this build has no burst producer at all.
|
|
25245
|
+
* - `already-looked` — this camera's ONE early look since its last session has
|
|
25246
|
+
* been spent. A look's own burst can re-arm a flickering flip, and a look
|
|
25247
|
+
* per arm would chain a burst every ~30 s forever (review H2); the next
|
|
25248
|
+
* real session re-arms the budget.
|
|
25249
|
+
*/
|
|
25250
|
+
var OccupancyLookRefusalSchema = _enum([
|
|
25251
|
+
"unknown-camera",
|
|
25252
|
+
"out-of-range",
|
|
25253
|
+
"no-burst-producer",
|
|
25254
|
+
"already-looked"
|
|
25255
|
+
]);
|
|
25256
|
+
method(object({
|
|
25257
|
+
deviceId: number().int().nonnegative(),
|
|
25258
|
+
/** How long from NOW until the pending flip's sustain window ends. RELATIVE,
|
|
25259
|
+
* so the caller's clock and the orchestrator's never have to agree. */
|
|
25260
|
+
afterMs: number().finite(),
|
|
25261
|
+
/** Why, for the log. */
|
|
25262
|
+
reason: string()
|
|
25263
|
+
}), object({
|
|
25264
|
+
scheduled: boolean(),
|
|
25265
|
+
/** When `scheduled`: how long until the burst is dialled. */
|
|
25266
|
+
dueInMs: number().optional(),
|
|
25267
|
+
/** When not `scheduled`: why. */
|
|
25268
|
+
refusedBecause: OccupancyLookRefusalSchema.optional()
|
|
25269
|
+
}), {
|
|
25270
|
+
kind: "mutation",
|
|
25271
|
+
auth: "admin"
|
|
25272
|
+
}), method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
24997
25273
|
kind: "mutation",
|
|
24998
25274
|
auth: "admin"
|
|
24999
25275
|
}), method(StorageMigrationLeaseInputSchema, object({ resumed: literal(true) }), {
|
|
@@ -25147,7 +25423,10 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
25147
25423
|
}), CameraSwitchGroupSchema, {
|
|
25148
25424
|
kind: "mutation",
|
|
25149
25425
|
auth: "admin"
|
|
25150
|
-
}), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(
|
|
25426
|
+
}), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(SetCameraSensorsInputSchema, object({ success: literal(true) }), {
|
|
25427
|
+
kind: "mutation",
|
|
25428
|
+
auth: "admin"
|
|
25429
|
+
}), method(_void(), DiskReconcileJobSchema, {
|
|
25151
25430
|
kind: "mutation",
|
|
25152
25431
|
auth: "admin"
|
|
25153
25432
|
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
|
|
@@ -32328,7 +32607,9 @@ var MotionOnMotionChangedDataSchema = object({
|
|
|
32328
32607
|
detected: boolean(),
|
|
32329
32608
|
timestamp: number(),
|
|
32330
32609
|
source: MotionSourceEnum,
|
|
32331
|
-
regions: array(MotionRegionSchema).readonly().optional()
|
|
32610
|
+
regions: array(MotionRegionSchema).readonly().optional(),
|
|
32611
|
+
/** Who started it (D672). Absent = the camera itself. Only `onboard` carries `sensor`. */
|
|
32612
|
+
triggeredBy: MotionTriggeredBySchema.optional()
|
|
32332
32613
|
});
|
|
32333
32614
|
var motionCapability = {
|
|
32334
32615
|
name: "motion",
|
|
@@ -38818,47 +39099,6 @@ var zoneRulesCapability = {
|
|
|
38818
39099
|
*/
|
|
38819
39100
|
durability: "restored"
|
|
38820
39101
|
};
|
|
38821
|
-
var NUMBER = {
|
|
38822
|
-
kind: "fixed",
|
|
38823
|
-
result: ["number"]
|
|
38824
|
-
};
|
|
38825
|
-
var BOOLEAN = {
|
|
38826
|
-
kind: "fixed",
|
|
38827
|
-
result: ["boolean"]
|
|
38828
|
-
};
|
|
38829
|
-
Object.freeze({
|
|
38830
|
-
min: NUMBER,
|
|
38831
|
-
max: NUMBER,
|
|
38832
|
-
abs: NUMBER,
|
|
38833
|
-
floor: NUMBER,
|
|
38834
|
-
ceil: NUMBER,
|
|
38835
|
-
sqrt: NUMBER,
|
|
38836
|
-
round: NUMBER,
|
|
38837
|
-
pow: NUMBER,
|
|
38838
|
-
clamp: NUMBER,
|
|
38839
|
-
avg: NUMBER,
|
|
38840
|
-
sum: NUMBER,
|
|
38841
|
-
age: NUMBER,
|
|
38842
|
-
convert: NUMBER,
|
|
38843
|
-
coalesce: { kind: "coalesce" },
|
|
38844
|
-
any: BOOLEAN,
|
|
38845
|
-
all: BOOLEAN,
|
|
38846
|
-
within: BOOLEAN,
|
|
38847
|
-
latest: {
|
|
38848
|
-
kind: "fixed",
|
|
38849
|
-
result: ["number", "null"]
|
|
38850
|
-
},
|
|
38851
|
-
number: {
|
|
38852
|
-
kind: "fixed",
|
|
38853
|
-
result: ["number", "null"]
|
|
38854
|
-
},
|
|
38855
|
-
rose: {
|
|
38856
|
-
kind: "fixed",
|
|
38857
|
-
result: ["number", "null"]
|
|
38858
|
-
},
|
|
38859
|
-
count: NUMBER
|
|
38860
|
-
});
|
|
38861
|
-
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
38862
39102
|
/**
|
|
38863
39103
|
* Accessory device helpers — shared across drivers.
|
|
38864
39104
|
*
|
|
@@ -42804,6 +43044,12 @@ Object.freeze({
|
|
|
42804
43044
|
addonId: null,
|
|
42805
43045
|
access: "view"
|
|
42806
43046
|
},
|
|
43047
|
+
"coreBlocks.listComposableCaps": {
|
|
43048
|
+
capName: "core-blocks",
|
|
43049
|
+
capScope: "system",
|
|
43050
|
+
addonId: null,
|
|
43051
|
+
access: "view"
|
|
43052
|
+
},
|
|
42807
43053
|
"coreBlocks.listCompositions": {
|
|
42808
43054
|
capName: "core-blocks",
|
|
42809
43055
|
capScope: "system",
|
|
@@ -45618,6 +45864,12 @@ Object.freeze({
|
|
|
45618
45864
|
addonId: null,
|
|
45619
45865
|
access: "create"
|
|
45620
45866
|
},
|
|
45867
|
+
"pipelineAnalytics.clearTrackRelation": {
|
|
45868
|
+
capName: "pipeline-analytics",
|
|
45869
|
+
capScope: "device",
|
|
45870
|
+
addonId: null,
|
|
45871
|
+
access: "delete"
|
|
45872
|
+
},
|
|
45621
45873
|
"pipelineAnalytics.clearTracks": {
|
|
45622
45874
|
capName: "pipeline-analytics",
|
|
45623
45875
|
capScope: "device",
|
|
@@ -45774,12 +46026,6 @@ Object.freeze({
|
|
|
45774
46026
|
addonId: null,
|
|
45775
46027
|
access: "view"
|
|
45776
46028
|
},
|
|
45777
|
-
"pipelineAnalytics.getSummary": {
|
|
45778
|
-
capName: "pipeline-analytics",
|
|
45779
|
-
capScope: "device",
|
|
45780
|
-
addonId: null,
|
|
45781
|
-
access: "view"
|
|
45782
|
-
},
|
|
45783
46029
|
"pipelineAnalytics.getTrack": {
|
|
45784
46030
|
capName: "pipeline-analytics",
|
|
45785
46031
|
capScope: "device",
|
|
@@ -45840,12 +46086,6 @@ Object.freeze({
|
|
|
45840
46086
|
addonId: null,
|
|
45841
46087
|
access: "view"
|
|
45842
46088
|
},
|
|
45843
|
-
"pipelineAnalytics.listRecentSummaries": {
|
|
45844
|
-
capName: "pipeline-analytics",
|
|
45845
|
-
capScope: "device",
|
|
45846
|
-
addonId: null,
|
|
45847
|
-
access: "view"
|
|
45848
|
-
},
|
|
45849
46089
|
"pipelineAnalytics.listRecentTracks": {
|
|
45850
46090
|
capName: "pipeline-analytics",
|
|
45851
46091
|
capScope: "device",
|
|
@@ -45876,13 +46116,13 @@ Object.freeze({
|
|
|
45876
46116
|
addonId: null,
|
|
45877
46117
|
access: "view"
|
|
45878
46118
|
},
|
|
45879
|
-
"pipelineAnalytics.
|
|
46119
|
+
"pipelineAnalytics.listTrackMedia": {
|
|
45880
46120
|
capName: "pipeline-analytics",
|
|
45881
46121
|
capScope: "device",
|
|
45882
46122
|
addonId: null,
|
|
45883
46123
|
access: "view"
|
|
45884
46124
|
},
|
|
45885
|
-
"pipelineAnalytics.
|
|
46125
|
+
"pipelineAnalytics.listTrackRelations": {
|
|
45886
46126
|
capName: "pipeline-analytics",
|
|
45887
46127
|
capScope: "device",
|
|
45888
46128
|
addonId: null,
|
|
@@ -46002,6 +46242,18 @@ Object.freeze({
|
|
|
46002
46242
|
addonId: null,
|
|
46003
46243
|
access: "create"
|
|
46004
46244
|
},
|
|
46245
|
+
"pipelineAnalytics.setTrackPurity": {
|
|
46246
|
+
capName: "pipeline-analytics",
|
|
46247
|
+
capScope: "device",
|
|
46248
|
+
addonId: null,
|
|
46249
|
+
access: "create"
|
|
46250
|
+
},
|
|
46251
|
+
"pipelineAnalytics.setTrackRelation": {
|
|
46252
|
+
capName: "pipeline-analytics",
|
|
46253
|
+
capScope: "device",
|
|
46254
|
+
addonId: null,
|
|
46255
|
+
access: "create"
|
|
46256
|
+
},
|
|
46005
46257
|
"pipelineAnalytics.startStorageMigrationMove": {
|
|
46006
46258
|
capName: "pipeline-analytics",
|
|
46007
46259
|
capScope: "device",
|
|
@@ -46440,6 +46692,12 @@ Object.freeze({
|
|
|
46440
46692
|
addonId: null,
|
|
46441
46693
|
access: "delete"
|
|
46442
46694
|
},
|
|
46695
|
+
"pipelineOrchestrator.requestOccupancyLook": {
|
|
46696
|
+
capName: "pipeline-orchestrator",
|
|
46697
|
+
capScope: "system",
|
|
46698
|
+
addonId: null,
|
|
46699
|
+
access: "create"
|
|
46700
|
+
},
|
|
46443
46701
|
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
46444
46702
|
capName: "pipeline-orchestrator",
|
|
46445
46703
|
capScope: "system",
|
|
@@ -46506,6 +46764,12 @@ Object.freeze({
|
|
|
46506
46764
|
addonId: null,
|
|
46507
46765
|
access: "create"
|
|
46508
46766
|
},
|
|
46767
|
+
"pipelineOrchestrator.setCameraSensors": {
|
|
46768
|
+
capName: "pipeline-orchestrator",
|
|
46769
|
+
capScope: "system",
|
|
46770
|
+
addonId: null,
|
|
46771
|
+
access: "create"
|
|
46772
|
+
},
|
|
46509
46773
|
"pipelineOrchestrator.setCameraStepOverride": {
|
|
46510
46774
|
capName: "pipeline-orchestrator",
|
|
46511
46775
|
capScope: "system",
|
|
@@ -49916,6 +50180,11 @@ Object.freeze({
|
|
|
49916
50180
|
form: "single",
|
|
49917
50181
|
optional: false
|
|
49918
50182
|
}],
|
|
50183
|
+
"pipelineAnalytics.clearTrackRelation": [{
|
|
50184
|
+
name: "deviceId",
|
|
50185
|
+
form: "single",
|
|
50186
|
+
optional: false
|
|
50187
|
+
}],
|
|
49919
50188
|
"pipelineAnalytics.clearTracks": [{
|
|
49920
50189
|
name: "deviceId",
|
|
49921
50190
|
form: "single",
|
|
@@ -50051,11 +50320,6 @@ Object.freeze({
|
|
|
50051
50320
|
form: "single",
|
|
50052
50321
|
optional: true
|
|
50053
50322
|
}],
|
|
50054
|
-
"pipelineAnalytics.listRecentSummaries": [{
|
|
50055
|
-
name: "deviceIds",
|
|
50056
|
-
form: "array",
|
|
50057
|
-
optional: false
|
|
50058
|
-
}],
|
|
50059
50323
|
"pipelineAnalytics.listRecentTracks": [{
|
|
50060
50324
|
name: "deviceIds",
|
|
50061
50325
|
form: "array",
|
|
@@ -50066,12 +50330,12 @@ Object.freeze({
|
|
|
50066
50330
|
form: "array",
|
|
50067
50331
|
optional: true
|
|
50068
50332
|
}],
|
|
50069
|
-
"pipelineAnalytics.
|
|
50070
|
-
name: "
|
|
50071
|
-
form: "
|
|
50333
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
50334
|
+
name: "deviceId",
|
|
50335
|
+
form: "single",
|
|
50072
50336
|
optional: false
|
|
50073
50337
|
}],
|
|
50074
|
-
"pipelineAnalytics.
|
|
50338
|
+
"pipelineAnalytics.listTrackRelations": [{
|
|
50075
50339
|
name: "deviceId",
|
|
50076
50340
|
form: "single",
|
|
50077
50341
|
optional: false
|
|
@@ -50146,6 +50410,16 @@ Object.freeze({
|
|
|
50146
50410
|
form: "single",
|
|
50147
50411
|
optional: false
|
|
50148
50412
|
}],
|
|
50413
|
+
"pipelineAnalytics.setTrackPurity": [{
|
|
50414
|
+
name: "deviceId",
|
|
50415
|
+
form: "single",
|
|
50416
|
+
optional: false
|
|
50417
|
+
}],
|
|
50418
|
+
"pipelineAnalytics.setTrackRelation": [{
|
|
50419
|
+
name: "deviceId",
|
|
50420
|
+
form: "single",
|
|
50421
|
+
optional: false
|
|
50422
|
+
}],
|
|
50149
50423
|
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
50150
50424
|
name: "deviceId",
|
|
50151
50425
|
form: "single",
|
|
@@ -50216,6 +50490,11 @@ Object.freeze({
|
|
|
50216
50490
|
form: "single",
|
|
50217
50491
|
optional: false
|
|
50218
50492
|
}],
|
|
50493
|
+
"pipelineOrchestrator.requestOccupancyLook": [{
|
|
50494
|
+
name: "deviceId",
|
|
50495
|
+
form: "single",
|
|
50496
|
+
optional: false
|
|
50497
|
+
}],
|
|
50219
50498
|
"pipelineOrchestrator.resolvePipeline": [{
|
|
50220
50499
|
name: "deviceId",
|
|
50221
50500
|
form: "single",
|
|
@@ -50226,6 +50505,11 @@ Object.freeze({
|
|
|
50226
50505
|
form: "single",
|
|
50227
50506
|
optional: false
|
|
50228
50507
|
}],
|
|
50508
|
+
"pipelineOrchestrator.setCameraSensors": [{
|
|
50509
|
+
name: "deviceId",
|
|
50510
|
+
form: "single",
|
|
50511
|
+
optional: false
|
|
50512
|
+
}],
|
|
50229
50513
|
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
50230
50514
|
name: "deviceId",
|
|
50231
50515
|
form: "single",
|
|
@@ -51655,6 +51939,37 @@ var STATE_SUMMARY_VARS = [
|
|
|
51655
51939
|
[...RULE_TEXT],
|
|
51656
51940
|
...STATE_SUMMARY_VARS
|
|
51657
51941
|
];
|
|
51942
|
+
new Set([
|
|
51943
|
+
"disarmed",
|
|
51944
|
+
"armed_home",
|
|
51945
|
+
"armed_away",
|
|
51946
|
+
"armed_night",
|
|
51947
|
+
"armed_vacation",
|
|
51948
|
+
"armed_custom_bypass",
|
|
51949
|
+
"arming",
|
|
51950
|
+
"disarming",
|
|
51951
|
+
"pending",
|
|
51952
|
+
"triggered",
|
|
51953
|
+
"open",
|
|
51954
|
+
"opening",
|
|
51955
|
+
"closing",
|
|
51956
|
+
"closed",
|
|
51957
|
+
"stopped",
|
|
51958
|
+
"locked",
|
|
51959
|
+
"unlocked",
|
|
51960
|
+
"locking",
|
|
51961
|
+
"unlocking",
|
|
51962
|
+
"jammed",
|
|
51963
|
+
"on",
|
|
51964
|
+
"off",
|
|
51965
|
+
"home",
|
|
51966
|
+
"not_home",
|
|
51967
|
+
"matched",
|
|
51968
|
+
"diverged",
|
|
51969
|
+
"unknown",
|
|
51970
|
+
"latched",
|
|
51971
|
+
"live"
|
|
51972
|
+
]);
|
|
51658
51973
|
/**
|
|
51659
51974
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
51660
51975
|
*
|