@camstack/types 1.2.188 → 1.2.189
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 +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/camera/stream-pick.d.ts +71 -0
- package/dist/capabilities/camera-streams.cap.d.ts +10 -0
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/notification-rules.cap.d.ts +48 -0
- package/dist/capabilities/osd-manager.cap.d.ts +18 -0
- package/dist/capabilities/stream-broker.cap.d.ts +37 -0
- package/dist/capabilities/stream-signals.cap.d.ts +80 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +1 -0
- package/dist/enums/event-category.d.ts +14 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-ZyX6jcse.mjs → event-category-BVDXG4tB.mjs} +14 -0
- package/dist/{event-category-yW4s1MGD.js → event-category-BVfsrBYA.js} +14 -0
- package/dist/generated/addon-api.d.ts +22 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +4 -1
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +365 -30
- package/dist/index.mjs +360 -31
- package/dist/{sleep-DXsYD0RX.js → sleep-D7dV-FZB.js} +6 -2
- package/dist/{sleep-DBKu2-U5.mjs → sleep-DEuj7E3j.mjs} +6 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
3
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_sleep = require("./sleep-D7dV-FZB.js");
|
|
3
|
+
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as adminUiCapability, E as DeviceType, G as scopeKey, H as ReadinessTimeoutError, M as expandCapMethods, R as nodePin, S as DEVICE_CHILDREN_BATCH_MAX, St as normalizeAddonInitResult, Tt as emitReadiness, V as ReadinessRegistry, a as asJsonObject, b as deviceOpsCapability, bt as DisposerChain, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as DATAPLANE_SECRET_HEADER, x as viewerUiCapability, xt as BaseAddon, z as readNodePin } from "./sleep-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { D as adminUiCapability, E as DeviceType, G as scopeKey, H as ReadinessTimeoutError, M as expandCapMethods, R as nodePin, S as DEVICE_CHILDREN_BATCH_MAX, St as normalizeAddonInitResult, Tt as emitReadiness, V as ReadinessRegistry, a as asJsonObject, b as deviceOpsCapability, bt as DisposerChain, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as DATAPLANE_SECRET_HEADER, x as viewerUiCapability, xt as BaseAddon, z as readNodePin } from "./sleep-DEuj7E3j.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE ranking behind `cameraStreams.pickStream` — one place where "which
|
|
3
|
+
* stream should this consumer get" is answered.
|
|
4
|
+
*
|
|
5
|
+
* It is pure, and it lives here rather than inside the broker, because the
|
|
6
|
+
* point of the exercise was that there be exactly ONE of it. On 2026-09-13
|
|
7
|
+
* there were two: this picker, and a private scorer inside the Alexa exporter
|
|
8
|
+
* written the same day because the picker could not express Amazon's ceiling.
|
|
9
|
+
* A second authority for a question that already had one is the defect this
|
|
10
|
+
* repo keeps paying for — two knobs where the second outranks the first (D62),
|
|
11
|
+
* a pin no UI could show, a flag that never reached ffmpeg.
|
|
12
|
+
*
|
|
13
|
+
* Each consumer passes ITS OWN numbers. Alexa's floor is Amazon's 480p and its
|
|
14
|
+
* ceiling 1080p; HomeKit's are its own. The thresholds belong to whoever has
|
|
15
|
+
* the requirement, never to a default in here.
|
|
16
|
+
*/
|
|
17
|
+
export interface PickCandidate {
|
|
18
|
+
readonly camStreamId: string;
|
|
19
|
+
readonly codec?: string | undefined;
|
|
20
|
+
readonly height?: number | undefined;
|
|
21
|
+
readonly width?: number | undefined;
|
|
22
|
+
}
|
|
23
|
+
export interface PickRanking {
|
|
24
|
+
/** Codecs usable with no transcode. Empty ⇒ every codec is usable. */
|
|
25
|
+
readonly acceptCodecs: readonly string[];
|
|
26
|
+
/** Whether a codec outside `acceptCodecs` may win, transcoded. */
|
|
27
|
+
readonly allowTranscode: boolean;
|
|
28
|
+
/** Ordered provider prefixes; earlier wins. */
|
|
29
|
+
readonly preferredProviders: readonly string[];
|
|
30
|
+
/** `highest` / `lowest`, used when `targetHeight` is absent. */
|
|
31
|
+
readonly resolutionPreference: 'highest' | 'lowest';
|
|
32
|
+
/** The height the consumer means to deliver. See the cap's docblock. */
|
|
33
|
+
readonly targetHeight?: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface RankedPick {
|
|
36
|
+
readonly candidate: PickCandidate;
|
|
37
|
+
readonly transcodes: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* THE target rule: which of two sizes serves a consumer better.
|
|
41
|
+
*
|
|
42
|
+
* "Prefer at or above the target so the consumer downscales instead of
|
|
43
|
+
* upscaling; among those the SMALLEST, because the extra pixels are thrown
|
|
44
|
+
* away and the decode is not; among the rest the LARGEST, because it is the
|
|
45
|
+
* closest we can get." One sentence, and until now it was written twice — once
|
|
46
|
+
* here in lines, once in `stream-selection.ts` in pixels, for the same two
|
|
47
|
+
* exporters. The two agreed, which is luck, not a property.
|
|
48
|
+
*
|
|
49
|
+
* The `size` is whatever measure the caller ranks by: the cap ranks by LINES
|
|
50
|
+
* (a consumer's requirement is stated in p), the RTSP picker by PIXELS (it
|
|
51
|
+
* compares entries of possibly different aspect). The rule is the same either
|
|
52
|
+
* way and the measure is the caller's business.
|
|
53
|
+
*
|
|
54
|
+
* Returns a sort delta: negative when `a` should come first.
|
|
55
|
+
*/
|
|
56
|
+
export declare function compareToTarget(a: number, b: number, target: number): number;
|
|
57
|
+
export declare function codecIsAccepted(codec: string | undefined, accept: readonly string[]): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Order the candidates and return the winner, or `null` when none qualifies.
|
|
60
|
+
*
|
|
61
|
+
* The order, and every term is there for a measured reason:
|
|
62
|
+
*
|
|
63
|
+
* 1. **A stream we can take AS IS beats one we must re-encode.** A transcode
|
|
64
|
+
* is a decode plus an encode for as long as the session lasts, and on this
|
|
65
|
+
* hub a concurrent HEVC decode is what exhausted the VAAPI device.
|
|
66
|
+
* 2. **Provider preference**, unchanged — a native dial beats a relayed one.
|
|
67
|
+
* 3. **The target**, when the consumer named one: the smallest stream that
|
|
68
|
+
* reaches it, else the tallest that does not. Absent, the caller's
|
|
69
|
+
* `resolutionPreference` decides, exactly as before.
|
|
70
|
+
*/
|
|
71
|
+
export declare function rankStreams(candidates: readonly PickCandidate[], ranking: PickRanking): RankedPick | null;
|
|
@@ -22,6 +22,7 @@ export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
22
22
|
vp9: "vp9";
|
|
23
23
|
}>>>>;
|
|
24
24
|
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
25
26
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
26
27
|
excludeDerived: z.ZodOptional<z.ZodBoolean>;
|
|
27
28
|
requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -33,6 +34,7 @@ export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
33
34
|
vp8: "vp8";
|
|
34
35
|
vp9: "vp9";
|
|
35
36
|
}>>>>;
|
|
37
|
+
allowTranscode: z.ZodOptional<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$strip>>;
|
|
37
39
|
export declare const PickStreamPreferencesSchema: z.ZodReadonly<z.ZodObject<{
|
|
38
40
|
preferredProviders: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
@@ -40,7 +42,10 @@ export declare const PickStreamPreferencesSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
40
42
|
highest: "highest";
|
|
41
43
|
lowest: "lowest";
|
|
42
44
|
}>>;
|
|
45
|
+
targetHeight: z.ZodOptional<z.ZodNumber>;
|
|
43
46
|
}, z.core.$strip>>;
|
|
47
|
+
export type PickStreamRequirements = z.infer<typeof PickStreamRequirementsSchema>;
|
|
48
|
+
export type PickStreamPreferences = z.infer<typeof PickStreamPreferencesSchema>;
|
|
44
49
|
export declare const PickedCamStreamSchema: z.ZodObject<{
|
|
45
50
|
camStreamId: z.ZodString;
|
|
46
51
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -48,6 +53,7 @@ export declare const PickedCamStreamSchema: z.ZodObject<{
|
|
|
48
53
|
width: z.ZodNumber;
|
|
49
54
|
height: z.ZodNumber;
|
|
50
55
|
}, z.core.$strip>>;
|
|
56
|
+
transcodes: z.ZodBoolean;
|
|
51
57
|
reason: z.ZodString;
|
|
52
58
|
}, z.core.$strip>;
|
|
53
59
|
export type PickedCamStream = z.infer<typeof PickedCamStreamSchema>;
|
|
@@ -213,6 +219,7 @@ export declare const cameraStreamsCapability: {
|
|
|
213
219
|
vp9: "vp9";
|
|
214
220
|
}>>>>;
|
|
215
221
|
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
216
223
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
217
224
|
excludeDerived: z.ZodOptional<z.ZodBoolean>;
|
|
218
225
|
requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -224,6 +231,7 @@ export declare const cameraStreamsCapability: {
|
|
|
224
231
|
vp8: "vp8";
|
|
225
232
|
vp9: "vp9";
|
|
226
233
|
}>>>>;
|
|
234
|
+
allowTranscode: z.ZodOptional<z.ZodBoolean>;
|
|
227
235
|
}, z.core.$strip>>;
|
|
228
236
|
preferences: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
229
237
|
preferredProviders: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
@@ -231,6 +239,7 @@ export declare const cameraStreamsCapability: {
|
|
|
231
239
|
highest: "highest";
|
|
232
240
|
lowest: "lowest";
|
|
233
241
|
}>>;
|
|
242
|
+
targetHeight: z.ZodOptional<z.ZodNumber>;
|
|
234
243
|
}, z.core.$strip>>>;
|
|
235
244
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
236
245
|
camStreamId: z.ZodString;
|
|
@@ -239,6 +248,7 @@ export declare const cameraStreamsCapability: {
|
|
|
239
248
|
width: z.ZodNumber;
|
|
240
249
|
height: z.ZodNumber;
|
|
241
250
|
}, z.core.$strip>>;
|
|
251
|
+
transcodes: z.ZodBoolean;
|
|
242
252
|
reason: z.ZodString;
|
|
243
253
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
244
254
|
};
|
|
@@ -34,7 +34,8 @@ export { AuthResultSchema, authProviderCapability } from './auth-provider.cap.js
|
|
|
34
34
|
export { ArchiveEntrySchema, ArchiveManifestSchema, BackupDestinationInfoSchema, BackupEntrySchema, type BackupRun, type BackupRunPhase, BackupRunPhaseSchema, BackupRunSchema, type BackupRunState, BackupRunStateSchema, type BackupTriggerResult, BackupTriggerResultSchema, backupCapability, type IBackupProvider, LocationStatSchema, } from './backup.cap.js';
|
|
35
35
|
export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo as UnifiedBrokerInfo, BrokerInfoSchema as UnifiedBrokerInfoSchema, type BrokerProviderInfo, BrokerProviderInfoSchema, BrokerPublishInputSchema, BrokerRegistryStatusSchema, type BrokerStatus as UnifiedBrokerStatus, BrokerStatusEnum, BrokerSubscribeInputSchema, BrokerSubscribeResultSchema, BrokerTestConnectionResultSchema, BrokerUnsubscribeInputSchema, brokerCapability, type IBrokerProvider, } from './broker.cap.js';
|
|
36
36
|
export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } from './camera-pipeline-config.cap.js';
|
|
37
|
-
export {
|
|
37
|
+
export { streamSignalsCapability, type IStreamSignalsProvider, type StreamSignal, StreamSignalSchema, type StreamSignalsStatus, StreamSignalsStatusSchema, } from './stream-signals.cap.js';
|
|
38
|
+
export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStream, PickedCamStreamSchema, type PickStreamPreferences, PickStreamPreferencesSchema, type PickStreamRequirements, PickStreamRequirementsSchema, type StreamCodec, StreamCodecSchema, } from './camera-streams.cap.js';
|
|
38
39
|
export { extractNestedAddonId, isArrayOutputSchema, isCollectionArrayMethod, isObjectInput, isVoidInput, kebabToCamel, looseSchema, objectInputDeclaresAddonId, procedureAuthKey, resolveMethodAuth, } from './cap-router-predicates.js';
|
|
39
40
|
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
41
|
export { DEFAULT_RUNTIME_STATE_DURABILITY, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, resolveCapMount, } from './capability-definition.js';
|
|
@@ -241,6 +242,7 @@ import type { brokerCapability } from './broker.cap.js';
|
|
|
241
242
|
import type { buttonCapability } from './button.cap.js';
|
|
242
243
|
import type { cameraCredentialsCapability } from './camera-credentials.cap.js';
|
|
243
244
|
import type { cameraPipelineConfigCapability } from './camera-pipeline-config.cap.js';
|
|
245
|
+
import type { streamSignalsCapability } from './stream-signals.cap.js';
|
|
244
246
|
import type { cameraStreamsCapability } from './camera-streams.cap.js';
|
|
245
247
|
import type { carbonMonoxideCapability } from './carbon-monoxide.cap.js';
|
|
246
248
|
import type { climateControlCapability } from './climate-control.cap.js';
|
|
@@ -370,6 +372,6 @@ import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
|
370
372
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
371
373
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
372
374
|
import type { zonesCapability } from './zones.cap.js';
|
|
373
|
-
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability;
|
|
375
|
+
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability;
|
|
374
376
|
export type CapabilityName = AnyCapability['name'];
|
|
375
377
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -72,6 +72,8 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
72
72
|
"device-enabled": "device-enabled";
|
|
73
73
|
"device-battery-low": "device-battery-low";
|
|
74
74
|
"device-battery-normal": "device-battery-normal";
|
|
75
|
+
"device-consumable-low": "device-consumable-low";
|
|
76
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
75
77
|
"stream-online": "stream-online";
|
|
76
78
|
"stream-offline": "stream-offline";
|
|
77
79
|
"node-online": "node-online";
|
|
@@ -90,6 +92,7 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
90
92
|
"addon-updated": "addon-updated";
|
|
91
93
|
"server-updated": "server-updated";
|
|
92
94
|
"export-completed": "export-completed";
|
|
95
|
+
"backup-completed": "backup-completed";
|
|
93
96
|
"camera-online": "camera-online";
|
|
94
97
|
"camera-offline": "camera-offline";
|
|
95
98
|
"camera-disabled": "camera-disabled";
|
|
@@ -128,6 +131,8 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
128
131
|
"device-enabled": "device-enabled";
|
|
129
132
|
"device-battery-low": "device-battery-low";
|
|
130
133
|
"device-battery-normal": "device-battery-normal";
|
|
134
|
+
"device-consumable-low": "device-consumable-low";
|
|
135
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
131
136
|
"stream-online": "stream-online";
|
|
132
137
|
"stream-offline": "stream-offline";
|
|
133
138
|
"node-online": "node-online";
|
|
@@ -146,6 +151,7 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
146
151
|
"addon-updated": "addon-updated";
|
|
147
152
|
"server-updated": "server-updated";
|
|
148
153
|
"export-completed": "export-completed";
|
|
154
|
+
"backup-completed": "backup-completed";
|
|
149
155
|
"camera-online": "camera-online";
|
|
150
156
|
"camera-offline": "camera-offline";
|
|
151
157
|
"camera-disabled": "camera-disabled";
|
|
@@ -611,6 +617,8 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
611
617
|
"device-enabled": "device-enabled";
|
|
612
618
|
"device-battery-low": "device-battery-low";
|
|
613
619
|
"device-battery-normal": "device-battery-normal";
|
|
620
|
+
"device-consumable-low": "device-consumable-low";
|
|
621
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
614
622
|
"stream-online": "stream-online";
|
|
615
623
|
"stream-offline": "stream-offline";
|
|
616
624
|
"node-online": "node-online";
|
|
@@ -629,6 +637,7 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
629
637
|
"addon-updated": "addon-updated";
|
|
630
638
|
"server-updated": "server-updated";
|
|
631
639
|
"export-completed": "export-completed";
|
|
640
|
+
"backup-completed": "backup-completed";
|
|
632
641
|
"camera-online": "camera-online";
|
|
633
642
|
"camera-offline": "camera-offline";
|
|
634
643
|
"camera-disabled": "camera-disabled";
|
|
@@ -898,6 +907,8 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
898
907
|
"device-enabled": "device-enabled";
|
|
899
908
|
"device-battery-low": "device-battery-low";
|
|
900
909
|
"device-battery-normal": "device-battery-normal";
|
|
910
|
+
"device-consumable-low": "device-consumable-low";
|
|
911
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
901
912
|
"stream-online": "stream-online";
|
|
902
913
|
"stream-offline": "stream-offline";
|
|
903
914
|
"node-online": "node-online";
|
|
@@ -916,6 +927,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
916
927
|
"addon-updated": "addon-updated";
|
|
917
928
|
"server-updated": "server-updated";
|
|
918
929
|
"export-completed": "export-completed";
|
|
930
|
+
"backup-completed": "backup-completed";
|
|
919
931
|
"camera-online": "camera-online";
|
|
920
932
|
"camera-offline": "camera-offline";
|
|
921
933
|
"camera-disabled": "camera-disabled";
|
|
@@ -1249,6 +1261,8 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1249
1261
|
"device-enabled": "device-enabled";
|
|
1250
1262
|
"device-battery-low": "device-battery-low";
|
|
1251
1263
|
"device-battery-normal": "device-battery-normal";
|
|
1264
|
+
"device-consumable-low": "device-consumable-low";
|
|
1265
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
1252
1266
|
"stream-online": "stream-online";
|
|
1253
1267
|
"stream-offline": "stream-offline";
|
|
1254
1268
|
"node-online": "node-online";
|
|
@@ -1267,6 +1281,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1267
1281
|
"addon-updated": "addon-updated";
|
|
1268
1282
|
"server-updated": "server-updated";
|
|
1269
1283
|
"export-completed": "export-completed";
|
|
1284
|
+
"backup-completed": "backup-completed";
|
|
1270
1285
|
"camera-online": "camera-online";
|
|
1271
1286
|
"camera-offline": "camera-offline";
|
|
1272
1287
|
"camera-disabled": "camera-disabled";
|
|
@@ -1417,6 +1432,8 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1417
1432
|
"device-enabled": "device-enabled";
|
|
1418
1433
|
"device-battery-low": "device-battery-low";
|
|
1419
1434
|
"device-battery-normal": "device-battery-normal";
|
|
1435
|
+
"device-consumable-low": "device-consumable-low";
|
|
1436
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
1420
1437
|
"stream-online": "stream-online";
|
|
1421
1438
|
"stream-offline": "stream-offline";
|
|
1422
1439
|
"node-online": "node-online";
|
|
@@ -1435,6 +1452,7 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1435
1452
|
"addon-updated": "addon-updated";
|
|
1436
1453
|
"server-updated": "server-updated";
|
|
1437
1454
|
"export-completed": "export-completed";
|
|
1455
|
+
"backup-completed": "backup-completed";
|
|
1438
1456
|
"camera-online": "camera-online";
|
|
1439
1457
|
"camera-offline": "camera-offline";
|
|
1440
1458
|
"camera-disabled": "camera-disabled";
|
|
@@ -1727,6 +1745,8 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
1727
1745
|
"device-enabled": "device-enabled";
|
|
1728
1746
|
"device-battery-low": "device-battery-low";
|
|
1729
1747
|
"device-battery-normal": "device-battery-normal";
|
|
1748
|
+
"device-consumable-low": "device-consumable-low";
|
|
1749
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
1730
1750
|
"stream-online": "stream-online";
|
|
1731
1751
|
"stream-offline": "stream-offline";
|
|
1732
1752
|
"node-online": "node-online";
|
|
@@ -1745,6 +1765,7 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
1745
1765
|
"addon-updated": "addon-updated";
|
|
1746
1766
|
"server-updated": "server-updated";
|
|
1747
1767
|
"export-completed": "export-completed";
|
|
1768
|
+
"backup-completed": "backup-completed";
|
|
1748
1769
|
"camera-online": "camera-online";
|
|
1749
1770
|
"camera-offline": "camera-offline";
|
|
1750
1771
|
"camera-disabled": "camera-disabled";
|
|
@@ -1813,6 +1834,8 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
1813
1834
|
"device-enabled": "device-enabled";
|
|
1814
1835
|
"device-battery-low": "device-battery-low";
|
|
1815
1836
|
"device-battery-normal": "device-battery-normal";
|
|
1837
|
+
"device-consumable-low": "device-consumable-low";
|
|
1838
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
1816
1839
|
"stream-online": "stream-online";
|
|
1817
1840
|
"stream-offline": "stream-offline";
|
|
1818
1841
|
"node-online": "node-online";
|
|
@@ -1831,6 +1854,7 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
1831
1854
|
"addon-updated": "addon-updated";
|
|
1832
1855
|
"server-updated": "server-updated";
|
|
1833
1856
|
"export-completed": "export-completed";
|
|
1857
|
+
"backup-completed": "backup-completed";
|
|
1834
1858
|
"camera-online": "camera-online";
|
|
1835
1859
|
"camera-offline": "camera-offline";
|
|
1836
1860
|
"camera-disabled": "camera-disabled";
|
|
@@ -2116,6 +2140,8 @@ export declare const notificationRulesCapability: {
|
|
|
2116
2140
|
"device-enabled": "device-enabled";
|
|
2117
2141
|
"device-battery-low": "device-battery-low";
|
|
2118
2142
|
"device-battery-normal": "device-battery-normal";
|
|
2143
|
+
"device-consumable-low": "device-consumable-low";
|
|
2144
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
2119
2145
|
"stream-online": "stream-online";
|
|
2120
2146
|
"stream-offline": "stream-offline";
|
|
2121
2147
|
"node-online": "node-online";
|
|
@@ -2134,6 +2160,7 @@ export declare const notificationRulesCapability: {
|
|
|
2134
2160
|
"addon-updated": "addon-updated";
|
|
2135
2161
|
"server-updated": "server-updated";
|
|
2136
2162
|
"export-completed": "export-completed";
|
|
2163
|
+
"backup-completed": "backup-completed";
|
|
2137
2164
|
"camera-online": "camera-online";
|
|
2138
2165
|
"camera-offline": "camera-offline";
|
|
2139
2166
|
"camera-disabled": "camera-disabled";
|
|
@@ -2378,6 +2405,8 @@ export declare const notificationRulesCapability: {
|
|
|
2378
2405
|
"device-enabled": "device-enabled";
|
|
2379
2406
|
"device-battery-low": "device-battery-low";
|
|
2380
2407
|
"device-battery-normal": "device-battery-normal";
|
|
2408
|
+
"device-consumable-low": "device-consumable-low";
|
|
2409
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
2381
2410
|
"stream-online": "stream-online";
|
|
2382
2411
|
"stream-offline": "stream-offline";
|
|
2383
2412
|
"node-online": "node-online";
|
|
@@ -2396,6 +2425,7 @@ export declare const notificationRulesCapability: {
|
|
|
2396
2425
|
"addon-updated": "addon-updated";
|
|
2397
2426
|
"server-updated": "server-updated";
|
|
2398
2427
|
"export-completed": "export-completed";
|
|
2428
|
+
"backup-completed": "backup-completed";
|
|
2399
2429
|
"camera-online": "camera-online";
|
|
2400
2430
|
"camera-offline": "camera-offline";
|
|
2401
2431
|
"camera-disabled": "camera-disabled";
|
|
@@ -2638,6 +2668,8 @@ export declare const notificationRulesCapability: {
|
|
|
2638
2668
|
"device-enabled": "device-enabled";
|
|
2639
2669
|
"device-battery-low": "device-battery-low";
|
|
2640
2670
|
"device-battery-normal": "device-battery-normal";
|
|
2671
|
+
"device-consumable-low": "device-consumable-low";
|
|
2672
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
2641
2673
|
"stream-online": "stream-online";
|
|
2642
2674
|
"stream-offline": "stream-offline";
|
|
2643
2675
|
"node-online": "node-online";
|
|
@@ -2656,6 +2688,7 @@ export declare const notificationRulesCapability: {
|
|
|
2656
2688
|
"addon-updated": "addon-updated";
|
|
2657
2689
|
"server-updated": "server-updated";
|
|
2658
2690
|
"export-completed": "export-completed";
|
|
2691
|
+
"backup-completed": "backup-completed";
|
|
2659
2692
|
"camera-online": "camera-online";
|
|
2660
2693
|
"camera-offline": "camera-offline";
|
|
2661
2694
|
"camera-disabled": "camera-disabled";
|
|
@@ -2892,6 +2925,8 @@ export declare const notificationRulesCapability: {
|
|
|
2892
2925
|
"device-enabled": "device-enabled";
|
|
2893
2926
|
"device-battery-low": "device-battery-low";
|
|
2894
2927
|
"device-battery-normal": "device-battery-normal";
|
|
2928
|
+
"device-consumable-low": "device-consumable-low";
|
|
2929
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
2895
2930
|
"stream-online": "stream-online";
|
|
2896
2931
|
"stream-offline": "stream-offline";
|
|
2897
2932
|
"node-online": "node-online";
|
|
@@ -2910,6 +2945,7 @@ export declare const notificationRulesCapability: {
|
|
|
2910
2945
|
"addon-updated": "addon-updated";
|
|
2911
2946
|
"server-updated": "server-updated";
|
|
2912
2947
|
"export-completed": "export-completed";
|
|
2948
|
+
"backup-completed": "backup-completed";
|
|
2913
2949
|
"camera-online": "camera-online";
|
|
2914
2950
|
"camera-offline": "camera-offline";
|
|
2915
2951
|
"camera-disabled": "camera-disabled";
|
|
@@ -3243,6 +3279,8 @@ export declare const notificationRulesCapability: {
|
|
|
3243
3279
|
"device-enabled": "device-enabled";
|
|
3244
3280
|
"device-battery-low": "device-battery-low";
|
|
3245
3281
|
"device-battery-normal": "device-battery-normal";
|
|
3282
|
+
"device-consumable-low": "device-consumable-low";
|
|
3283
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
3246
3284
|
"stream-online": "stream-online";
|
|
3247
3285
|
"stream-offline": "stream-offline";
|
|
3248
3286
|
"node-online": "node-online";
|
|
@@ -3261,6 +3299,7 @@ export declare const notificationRulesCapability: {
|
|
|
3261
3299
|
"addon-updated": "addon-updated";
|
|
3262
3300
|
"server-updated": "server-updated";
|
|
3263
3301
|
"export-completed": "export-completed";
|
|
3302
|
+
"backup-completed": "backup-completed";
|
|
3264
3303
|
"camera-online": "camera-online";
|
|
3265
3304
|
"camera-offline": "camera-offline";
|
|
3266
3305
|
"camera-disabled": "camera-disabled";
|
|
@@ -3410,6 +3449,8 @@ export declare const notificationRulesCapability: {
|
|
|
3410
3449
|
"device-enabled": "device-enabled";
|
|
3411
3450
|
"device-battery-low": "device-battery-low";
|
|
3412
3451
|
"device-battery-normal": "device-battery-normal";
|
|
3452
|
+
"device-consumable-low": "device-consumable-low";
|
|
3453
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
3413
3454
|
"stream-online": "stream-online";
|
|
3414
3455
|
"stream-offline": "stream-offline";
|
|
3415
3456
|
"node-online": "node-online";
|
|
@@ -3428,6 +3469,7 @@ export declare const notificationRulesCapability: {
|
|
|
3428
3469
|
"addon-updated": "addon-updated";
|
|
3429
3470
|
"server-updated": "server-updated";
|
|
3430
3471
|
"export-completed": "export-completed";
|
|
3472
|
+
"backup-completed": "backup-completed";
|
|
3431
3473
|
"camera-online": "camera-online";
|
|
3432
3474
|
"camera-offline": "camera-offline";
|
|
3433
3475
|
"camera-disabled": "camera-disabled";
|
|
@@ -3718,6 +3760,8 @@ export declare const notificationRulesCapability: {
|
|
|
3718
3760
|
"device-enabled": "device-enabled";
|
|
3719
3761
|
"device-battery-low": "device-battery-low";
|
|
3720
3762
|
"device-battery-normal": "device-battery-normal";
|
|
3763
|
+
"device-consumable-low": "device-consumable-low";
|
|
3764
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
3721
3765
|
"stream-online": "stream-online";
|
|
3722
3766
|
"stream-offline": "stream-offline";
|
|
3723
3767
|
"node-online": "node-online";
|
|
@@ -3736,6 +3780,7 @@ export declare const notificationRulesCapability: {
|
|
|
3736
3780
|
"addon-updated": "addon-updated";
|
|
3737
3781
|
"server-updated": "server-updated";
|
|
3738
3782
|
"export-completed": "export-completed";
|
|
3783
|
+
"backup-completed": "backup-completed";
|
|
3739
3784
|
"camera-online": "camera-online";
|
|
3740
3785
|
"camera-offline": "camera-offline";
|
|
3741
3786
|
"camera-disabled": "camera-disabled";
|
|
@@ -4073,6 +4118,8 @@ export declare const notificationRulesCapability: {
|
|
|
4073
4118
|
"device-enabled": "device-enabled";
|
|
4074
4119
|
"device-battery-low": "device-battery-low";
|
|
4075
4120
|
"device-battery-normal": "device-battery-normal";
|
|
4121
|
+
"device-consumable-low": "device-consumable-low";
|
|
4122
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
4076
4123
|
"stream-online": "stream-online";
|
|
4077
4124
|
"stream-offline": "stream-offline";
|
|
4078
4125
|
"node-online": "node-online";
|
|
@@ -4091,6 +4138,7 @@ export declare const notificationRulesCapability: {
|
|
|
4091
4138
|
"addon-updated": "addon-updated";
|
|
4092
4139
|
"server-updated": "server-updated";
|
|
4093
4140
|
"export-completed": "export-completed";
|
|
4141
|
+
"backup-completed": "backup-completed";
|
|
4094
4142
|
"camera-online": "camera-online";
|
|
4095
4143
|
"camera-offline": "camera-offline";
|
|
4096
4144
|
"camera-disabled": "camera-disabled";
|
|
@@ -151,6 +151,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
151
151
|
"device-enabled": "device-enabled";
|
|
152
152
|
"device-battery-low": "device-battery-low";
|
|
153
153
|
"device-battery-normal": "device-battery-normal";
|
|
154
|
+
"device-consumable-low": "device-consumable-low";
|
|
155
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
154
156
|
"stream-online": "stream-online";
|
|
155
157
|
"stream-offline": "stream-offline";
|
|
156
158
|
"node-online": "node-online";
|
|
@@ -169,6 +171,7 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
169
171
|
"addon-updated": "addon-updated";
|
|
170
172
|
"server-updated": "server-updated";
|
|
171
173
|
"export-completed": "export-completed";
|
|
174
|
+
"backup-completed": "backup-completed";
|
|
172
175
|
"camera-online": "camera-online";
|
|
173
176
|
"camera-offline": "camera-offline";
|
|
174
177
|
"camera-disabled": "camera-disabled";
|
|
@@ -319,6 +322,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
319
322
|
"device-enabled": "device-enabled";
|
|
320
323
|
"device-battery-low": "device-battery-low";
|
|
321
324
|
"device-battery-normal": "device-battery-normal";
|
|
325
|
+
"device-consumable-low": "device-consumable-low";
|
|
326
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
322
327
|
"stream-online": "stream-online";
|
|
323
328
|
"stream-offline": "stream-offline";
|
|
324
329
|
"node-online": "node-online";
|
|
@@ -337,6 +342,7 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
337
342
|
"addon-updated": "addon-updated";
|
|
338
343
|
"server-updated": "server-updated";
|
|
339
344
|
"export-completed": "export-completed";
|
|
345
|
+
"backup-completed": "backup-completed";
|
|
340
346
|
"camera-online": "camera-online";
|
|
341
347
|
"camera-offline": "camera-offline";
|
|
342
348
|
"camera-disabled": "camera-disabled";
|
|
@@ -559,6 +565,8 @@ export declare const osdManagerCapability: {
|
|
|
559
565
|
"device-enabled": "device-enabled";
|
|
560
566
|
"device-battery-low": "device-battery-low";
|
|
561
567
|
"device-battery-normal": "device-battery-normal";
|
|
568
|
+
"device-consumable-low": "device-consumable-low";
|
|
569
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
562
570
|
"stream-online": "stream-online";
|
|
563
571
|
"stream-offline": "stream-offline";
|
|
564
572
|
"node-online": "node-online";
|
|
@@ -577,6 +585,7 @@ export declare const osdManagerCapability: {
|
|
|
577
585
|
"addon-updated": "addon-updated";
|
|
578
586
|
"server-updated": "server-updated";
|
|
579
587
|
"export-completed": "export-completed";
|
|
588
|
+
"backup-completed": "backup-completed";
|
|
580
589
|
"camera-online": "camera-online";
|
|
581
590
|
"camera-offline": "camera-offline";
|
|
582
591
|
"camera-disabled": "camera-disabled";
|
|
@@ -816,6 +825,8 @@ export declare const osdManagerCapability: {
|
|
|
816
825
|
"device-enabled": "device-enabled";
|
|
817
826
|
"device-battery-low": "device-battery-low";
|
|
818
827
|
"device-battery-normal": "device-battery-normal";
|
|
828
|
+
"device-consumable-low": "device-consumable-low";
|
|
829
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
819
830
|
"stream-online": "stream-online";
|
|
820
831
|
"stream-offline": "stream-offline";
|
|
821
832
|
"node-online": "node-online";
|
|
@@ -834,6 +845,7 @@ export declare const osdManagerCapability: {
|
|
|
834
845
|
"addon-updated": "addon-updated";
|
|
835
846
|
"server-updated": "server-updated";
|
|
836
847
|
"export-completed": "export-completed";
|
|
848
|
+
"backup-completed": "backup-completed";
|
|
837
849
|
"camera-online": "camera-online";
|
|
838
850
|
"camera-offline": "camera-offline";
|
|
839
851
|
"camera-disabled": "camera-disabled";
|
|
@@ -983,6 +995,8 @@ export declare const osdManagerCapability: {
|
|
|
983
995
|
"device-enabled": "device-enabled";
|
|
984
996
|
"device-battery-low": "device-battery-low";
|
|
985
997
|
"device-battery-normal": "device-battery-normal";
|
|
998
|
+
"device-consumable-low": "device-consumable-low";
|
|
999
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
986
1000
|
"stream-online": "stream-online";
|
|
987
1001
|
"stream-offline": "stream-offline";
|
|
988
1002
|
"node-online": "node-online";
|
|
@@ -1001,6 +1015,7 @@ export declare const osdManagerCapability: {
|
|
|
1001
1015
|
"addon-updated": "addon-updated";
|
|
1002
1016
|
"server-updated": "server-updated";
|
|
1003
1017
|
"export-completed": "export-completed";
|
|
1018
|
+
"backup-completed": "backup-completed";
|
|
1004
1019
|
"camera-online": "camera-online";
|
|
1005
1020
|
"camera-offline": "camera-offline";
|
|
1006
1021
|
"camera-disabled": "camera-disabled";
|
|
@@ -1182,6 +1197,8 @@ export declare const osdManagerCapability: {
|
|
|
1182
1197
|
"device-enabled": "device-enabled";
|
|
1183
1198
|
"device-battery-low": "device-battery-low";
|
|
1184
1199
|
"device-battery-normal": "device-battery-normal";
|
|
1200
|
+
"device-consumable-low": "device-consumable-low";
|
|
1201
|
+
"device-consumable-normal": "device-consumable-normal";
|
|
1185
1202
|
"stream-online": "stream-online";
|
|
1186
1203
|
"stream-offline": "stream-offline";
|
|
1187
1204
|
"node-online": "node-online";
|
|
@@ -1200,6 +1217,7 @@ export declare const osdManagerCapability: {
|
|
|
1200
1217
|
"addon-updated": "addon-updated";
|
|
1201
1218
|
"server-updated": "server-updated";
|
|
1202
1219
|
"export-completed": "export-completed";
|
|
1220
|
+
"backup-completed": "backup-completed";
|
|
1203
1221
|
"camera-online": "camera-online";
|
|
1204
1222
|
"camera-offline": "camera-offline";
|
|
1205
1223
|
"camera-disabled": "camera-disabled";
|
|
@@ -543,6 +543,43 @@ export declare const streamBrokerCapability: {
|
|
|
543
543
|
readonly mode: "singleton";
|
|
544
544
|
readonly exposesDeviceSettings: true;
|
|
545
545
|
readonly methods: {
|
|
546
|
+
/**
|
|
547
|
+
* A device reporting that one of ITS OWN signals just fired.
|
|
548
|
+
*
|
|
549
|
+
* The provider calls this; nothing polls. The broker then decides whether
|
|
550
|
+
* to wake the source, and the decision has two terms that must BOTH hold:
|
|
551
|
+
*
|
|
552
|
+
* - the signal is ENABLED for this camera (the operator's per-camera
|
|
553
|
+
* choice — a camera may declare a signal the operator does not want
|
|
554
|
+
* waking anything), and
|
|
555
|
+
* - a consumer is actually attached and waiting on the prestream. Waking
|
|
556
|
+
* a camera nobody is watching is the one thing a battery camera must
|
|
557
|
+
* never do, and a signal arriving with no consumer is exactly that.
|
|
558
|
+
*
|
|
559
|
+
* Reported, never inferred: a signal that fires while the stream is
|
|
560
|
+
* already up refreshes the hold instead of starting a second one, which is
|
|
561
|
+
* what makes continuous motion keep a camera awake without stacking
|
|
562
|
+
* timers.
|
|
563
|
+
*
|
|
564
|
+
* `code` is the provider's own, from `streamSignals.listSignals`. An
|
|
565
|
+
* unknown code is REFUSED rather than treated as a wildcard wake — a
|
|
566
|
+
* provider and an operator disagreeing about a name must not become a
|
|
567
|
+
* camera that wakes for everything.
|
|
568
|
+
*/
|
|
569
|
+
readonly reportStreamSignal: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
570
|
+
deviceId: z.ZodNumber;
|
|
571
|
+
code: z.ZodString;
|
|
572
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
+
accepted: z.ZodBoolean;
|
|
575
|
+
reason: z.ZodEnum<{
|
|
576
|
+
woke: "woke";
|
|
577
|
+
"hold-extended": "hold-extended";
|
|
578
|
+
"not-enabled": "not-enabled";
|
|
579
|
+
"no-consumer": "no-consumer";
|
|
580
|
+
"unknown-code": "unknown-code";
|
|
581
|
+
}>;
|
|
582
|
+
}, z.core.$strip>, "mutation">;
|
|
546
583
|
readonly publishCameraStream: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
547
584
|
deviceId: z.ZodNumber;
|
|
548
585
|
camStreamId: z.ZodString;
|