@camstack/types 1.2.281 → 1.2.283
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/capabilities/backup.cap.d.ts +28 -0
- package/dist/capabilities/database-snapshot.cap.d.ts +136 -0
- package/dist/capabilities/index.d.ts +15 -13
- package/dist/capabilities/notification-rules.cap.d.ts +97 -2
- package/dist/generated/addon-api.d.ts +22 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +601 -409
- package/dist/index.mjs +591 -410
- package/dist/notification/system-event-summary.d.ts +7 -1
- package/package.json +2 -2
|
@@ -105,6 +105,20 @@ declare const ArchiveManifestSchema: z.ZodObject<{
|
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
totalBytes: z.ZodNumber;
|
|
107
107
|
totalFiles: z.ZodNumber;
|
|
108
|
+
sqliteSnapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
+
sizeBytes: z.ZodNumber;
|
|
110
|
+
pageCount: z.ZodNumber;
|
|
111
|
+
pageSize: z.ZodNumber;
|
|
112
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
rows: z.ZodNumber;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
copyMs: z.ZodNumber;
|
|
117
|
+
verifyMs: z.ZodNumber;
|
|
118
|
+
takenAt: z.ZodNumber;
|
|
119
|
+
livePath: z.ZodString;
|
|
120
|
+
snapshotPath: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>>;
|
|
108
122
|
}, z.core.$strip>;
|
|
109
123
|
declare const LocationStatSchema: z.ZodObject<{
|
|
110
124
|
name: z.ZodString;
|
|
@@ -380,6 +394,20 @@ export declare const backupCapability: {
|
|
|
380
394
|
}, z.core.$strip>>;
|
|
381
395
|
totalBytes: z.ZodNumber;
|
|
382
396
|
totalFiles: z.ZodNumber;
|
|
397
|
+
sqliteSnapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
|
+
sizeBytes: z.ZodNumber;
|
|
399
|
+
pageCount: z.ZodNumber;
|
|
400
|
+
pageSize: z.ZodNumber;
|
|
401
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
402
|
+
name: z.ZodString;
|
|
403
|
+
rows: z.ZodNumber;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
copyMs: z.ZodNumber;
|
|
406
|
+
verifyMs: z.ZodNumber;
|
|
407
|
+
takenAt: z.ZodNumber;
|
|
408
|
+
livePath: z.ZodString;
|
|
409
|
+
snapshotPath: z.ZodString;
|
|
410
|
+
}, z.core.$strip>>>;
|
|
383
411
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
384
412
|
readonly restore: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
385
413
|
destinationId: z.ZodString;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
/**
|
|
4
|
+
* The suffix of a verified snapshot, written next to the live database it
|
|
5
|
+
* copies: `<db>.backup-snapshot`. A restore promotes it back over `<db>`
|
|
6
|
+
* (`server/backend/src/sqlite-restore.ts` spells the same string — the
|
|
7
|
+
* launcher stays free of `@camstack/*` runtime imports — and a spec pins the
|
|
8
|
+
* two together).
|
|
9
|
+
*/
|
|
10
|
+
export declare const DATABASE_SNAPSHOT_SUFFIX = ".backup-snapshot";
|
|
11
|
+
/**
|
|
12
|
+
* The suffix of a copy still being written or verified. A file under this name
|
|
13
|
+
* is never archived and never promoted: only a copy that passed every check is
|
|
14
|
+
* renamed to {@link DATABASE_SNAPSHOT_SUFFIX}.
|
|
15
|
+
*/
|
|
16
|
+
export declare const DATABASE_SNAPSHOT_PARTIAL_SUFFIX = ".backup-snapshot-partial";
|
|
17
|
+
/**
|
|
18
|
+
* How long one snapshot may take end to end: the pinned copy of the whole
|
|
19
|
+
* database plus `PRAGMA integrity_check` over the copy, on the hub's slowest
|
|
20
|
+
* disk. ~800 MB at a pessimistic 10 MB/s is under 3 minutes; the bound is
|
|
21
|
+
* generous because a timeout fails the whole backup run.
|
|
22
|
+
*/
|
|
23
|
+
export declare const DATABASE_SNAPSHOT_TIMEOUT_MS: number;
|
|
24
|
+
/**
|
|
25
|
+
* The databases an owner snapshots — declared by the OWNER, so a caller never
|
|
26
|
+
* guesses which file is live from what sits beside it (a cleanly closed
|
|
27
|
+
* database has no sidecars and is just as owned). Paths are absolute on the
|
|
28
|
+
* owner's host.
|
|
29
|
+
*/
|
|
30
|
+
export declare const DatabaseSnapshotTargetsSchema: z.ZodObject<{
|
|
31
|
+
databases: z.ZodArray<z.ZodObject<{
|
|
32
|
+
livePath: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type DatabaseSnapshotTargets = z.infer<typeof DatabaseSnapshotTargetsSchema>;
|
|
36
|
+
/** One b-tree table of the snapshot and the rows it holds. */
|
|
37
|
+
export declare const DatabaseSnapshotTableSchema: z.ZodObject<{
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
rows: z.ZodNumber;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type DatabaseSnapshotTable = z.infer<typeof DatabaseSnapshotTableSchema>;
|
|
42
|
+
/**
|
|
43
|
+
* What the owner wrote. Every path is ABSOLUTE on the owner's host — the
|
|
44
|
+
* caller pins the call to its own node, so it can read the file; a caller
|
|
45
|
+
* that finds the path outside its own data root refuses it rather than
|
|
46
|
+
* archiving something it cannot place.
|
|
47
|
+
*/
|
|
48
|
+
export declare const DatabaseSnapshotResultSchema: z.ZodObject<{
|
|
49
|
+
livePath: z.ZodString;
|
|
50
|
+
snapshotPath: z.ZodString;
|
|
51
|
+
sizeBytes: z.ZodNumber;
|
|
52
|
+
pageCount: z.ZodNumber;
|
|
53
|
+
pageSize: z.ZodNumber;
|
|
54
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
rows: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
copyMs: z.ZodNumber;
|
|
59
|
+
verifyMs: z.ZodNumber;
|
|
60
|
+
takenAt: z.ZodNumber;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export type DatabaseSnapshotResult = z.infer<typeof DatabaseSnapshotResultSchema>;
|
|
63
|
+
/**
|
|
64
|
+
* A snapshot as an ARCHIVE records it (`ArchiveManifest.sqliteSnapshots`):
|
|
65
|
+
* the same facts, with both paths relative to the archive root (the node's
|
|
66
|
+
* data dir), because an archive outlives the host that made it.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ArchiveSqliteSnapshotSchema: z.ZodObject<{
|
|
69
|
+
sizeBytes: z.ZodNumber;
|
|
70
|
+
pageCount: z.ZodNumber;
|
|
71
|
+
pageSize: z.ZodNumber;
|
|
72
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
rows: z.ZodNumber;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
copyMs: z.ZodNumber;
|
|
77
|
+
verifyMs: z.ZodNumber;
|
|
78
|
+
takenAt: z.ZodNumber;
|
|
79
|
+
livePath: z.ZodString;
|
|
80
|
+
snapshotPath: z.ZodString;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export type ArchiveSqliteSnapshot = z.infer<typeof ArchiveSqliteSnapshotSchema>;
|
|
83
|
+
/**
|
|
84
|
+
* database-snapshot — the OWNER of a live SQLite database writes a consistent,
|
|
85
|
+
* verified copy of it (D693).
|
|
86
|
+
*
|
|
87
|
+
* A live database cannot be copied as files: three files written by a live
|
|
88
|
+
* process cannot be read at one instant from outside it, and a tar of the
|
|
89
|
+
* `.db` / `-wal` / `-shm` trio was measured torn in 6/6 archives (D679). Nor may
|
|
90
|
+
* another process open it (D679 rule 2). So the process that owns the
|
|
91
|
+
* connection writes the copy — through its own connection, on a thread,
|
|
92
|
+
* pinned to one read transaction — and checks it before handing it out.
|
|
93
|
+
*
|
|
94
|
+
* Hub-only and internal: `sqlite-settings` is the registrant, and its consumer
|
|
95
|
+
* is `backup-orchestrator`, which calls it pinned to its own node so the path
|
|
96
|
+
* it gets back is on its own host. `auth: 'admin'` explicitly — `internal`
|
|
97
|
+
* does not gate the mount (see `data-store-provider`).
|
|
98
|
+
*/
|
|
99
|
+
export declare const databaseSnapshotCapability: {
|
|
100
|
+
readonly name: "database-snapshot";
|
|
101
|
+
readonly scope: "system";
|
|
102
|
+
readonly mode: "singleton";
|
|
103
|
+
readonly internal: true;
|
|
104
|
+
readonly methods: {
|
|
105
|
+
/**
|
|
106
|
+
* Which databases this owner snapshots. Answered from memory — no file is
|
|
107
|
+
* touched — so a backup can ask it before deciding anything.
|
|
108
|
+
*/
|
|
109
|
+
readonly listDatabases: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
110
|
+
databases: z.ZodArray<z.ZodObject<{
|
|
111
|
+
livePath: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
114
|
+
/**
|
|
115
|
+
* Write `<db>.backup-snapshot` and return what it holds. Throws — and
|
|
116
|
+
* leaves no file under the final name — when the copy fails
|
|
117
|
+
* `integrity_check` or its row counts differ from the pinned source's.
|
|
118
|
+
* A second call while one is running joins it.
|
|
119
|
+
*/
|
|
120
|
+
readonly writeSnapshot: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
121
|
+
livePath: z.ZodString;
|
|
122
|
+
snapshotPath: z.ZodString;
|
|
123
|
+
sizeBytes: z.ZodNumber;
|
|
124
|
+
pageCount: z.ZodNumber;
|
|
125
|
+
pageSize: z.ZodNumber;
|
|
126
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
rows: z.ZodNumber;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
copyMs: z.ZodNumber;
|
|
131
|
+
verifyMs: z.ZodNumber;
|
|
132
|
+
takenAt: z.ZodNumber;
|
|
133
|
+
}, z.core.$strip>, "mutation">;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export type IDatabaseSnapshotProvider = InferProvider<typeof databaseSnapshotCapability>;
|
|
@@ -38,12 +38,13 @@ export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStr
|
|
|
38
38
|
export { emitsCollectionSelector, extractNestedAddonId, isArrayOutputSchema, isCollectionArrayMethod, isObjectInput, isVoidInput, kebabToCamel, looseSchema, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, procedureAuthKey, resolveMethodAuth, } from './cap-router-predicates.js';
|
|
39
39
|
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
40
|
export { DEFAULT_RUNTIME_STATE_DURABILITY, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
|
|
41
|
-
export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CoreBlock, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockInput, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type ICoreBlocksProvider, } from './core-blocks.cap.js';
|
|
42
41
|
export { COMPOSER_RUNNER_ID, type ComposerApplyInput, ComposerApplyInputSchema, type ComposerApplyResult, ComposerApplyResultSchema, type ComposerBlock, ComposerBlockSchema, type ComposerBlockVerdict, ComposerBlockVerdictSchema, type ComposerUnreadableBlock, ComposerUnreadableBlockSchema, composerCapability, type IComposerProvider, } from './composer.cap.js';
|
|
42
|
+
export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type CoreBlock, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockInput, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, type ICoreBlocksProvider, } from './core-blocks.cap.js';
|
|
43
43
|
export * from './custom-actions.js';
|
|
44
44
|
export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './custom-model-registry.cap.js';
|
|
45
45
|
export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
|
|
46
46
|
export { type DataStoreEngineInfo, dataStoreProviderCapability, EngineInfoSchema as DataStoreEngineInfoSchema, type IDataStoreProvider, } from './data-store-provider.cap.js';
|
|
47
|
+
export { type ArchiveSqliteSnapshot, ArchiveSqliteSnapshotSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, type DatabaseSnapshotResult, DatabaseSnapshotResultSchema, type DatabaseSnapshotTable, DatabaseSnapshotTableSchema, type DatabaseSnapshotTargets, DatabaseSnapshotTargetsSchema, databaseSnapshotCapability, type IDatabaseSnapshotProvider, } from './database-snapshot.cap.js';
|
|
47
48
|
export type { DecoderHwAccelConfig, HwAccelChoice, IDecoderCapProvider, ShmRingStats, } from './decoder.cap.js';
|
|
48
49
|
export { DEFAULT_DECODER_HWACCEL_CONFIG, DecoderSessionConfigSchema, decoderCapability, HWACCEL_OPTIONS, ShmRingStatsSchema, } from './decoder.cap.js';
|
|
49
50
|
export { detectionPipelineCapability, type IDetectionPipelineProvider, } from './detection-pipeline.cap.js';
|
|
@@ -52,8 +53,10 @@ export { buildDeviceAdminUrl, type DeviceAdminBase, type DeviceAdminBaseRefusal,
|
|
|
52
53
|
export { AdoptInputSchema as AdoptionAdoptInputSchema, type AdoptionFilter, AdoptionFilterSchema, type AdoptionStatus, AdoptionStatusSchema, AdoptResultSchema as AdoptionAdoptResultSchema, CandidateQueryFilterSchema, deviceAdoptionCapability, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, type IDeviceAdoptionProvider, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, } from './device-adoption.cap.js';
|
|
53
54
|
export type { IDeviceExportProvider } from './device-export.cap.js';
|
|
54
55
|
export { DeviceExportStatusSchema, deviceExportCapability, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposeInputSchema as DeviceExportExposeInputSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, } from './device-export.cap.js';
|
|
56
|
+
export type { ExtensionCandidate, ExtensionCandidates, ExtensionSetResult, ExtensionSetSlotInput, ExtensionSlotActivation, ExtensionSlotRefInput, ExtensionSlotRow, ExtensionSlotSource, ExtensionSlotState, ExtensionSlotUnreachable, ExtensionSource, ExtensionSourceAvailability, ExtensionSourceHealth, IDeviceExtensionProvider, } from './device-extension.cap.js';
|
|
57
|
+
export { deviceExtensionCapability, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, unreachableExtensionSlotRow, } from './device-extension.cap.js';
|
|
55
58
|
export type { DeviceInfo, DeviceManagerApplyInitialMetaInput } from './device-manager.cap.js';
|
|
56
|
-
export { ConfigEntrySchema, DEVICE_CHILDREN_BATCH_MAX, DeviceInfoSchema, deviceManagerCapability, type IDeviceManagerProvider, type LinkedDevice, LinkedDeviceSchema, type LinkedDevicesMode, LinkedDevicesModeSchema,
|
|
59
|
+
export { ConfigEntrySchema, DEVICE_CHILDREN_BATCH_MAX, DeviceInfoSchema, deviceManagerCapability, type IDeviceManagerProvider, LINKED_DEVICES_SLOT, type LinkedDevice, LinkedDeviceSchema, type LinkedDevicesMode, LinkedDevicesModeSchema, type LinkedDevicesSlotValue, LinkedDevicesSlotValueSchema, type MigrateDeviceResult, MigrateDeviceResultSchema, type MigrateSwitchOutcome, MigrateSwitchOutcomeSchema, type MigrateSwitchReport, MigrateSwitchReportSchema, type WrapperActivationRead, WrapperActivationReadSchema, } from './device-manager.cap.js';
|
|
57
60
|
export { DiscoveredDeviceSchema, deviceProviderCapability, ProviderStatusSchema, } from './device-provider.cap.js';
|
|
58
61
|
export { type ClaimOutcome, ClaimOutcomeSchema, type ClaimsListing, ClaimsListingSchema, deviceStateCapability, type FieldClaim, type FieldClaimMode, FieldClaimModeSchema, FieldClaimSchema, } from './device-state.cap.js';
|
|
59
62
|
export type { EmbeddingFailedModel, EmbeddingFailedRequirement, EmbeddingModelFailure, EmbeddingRefusal, EmbeddingRefusalCode, EmbeddingTower, IEmbeddingEncoderProvider, } from './embedding-encoder.cap.js';
|
|
@@ -83,17 +86,17 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema,
|
|
|
83
86
|
export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
|
|
84
87
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
85
88
|
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
86
|
-
export { type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG,
|
|
89
|
+
export { consumableLowPercentOf, type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
87
90
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
88
|
-
export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type
|
|
91
|
+
export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
89
92
|
export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
90
93
|
export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
91
94
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, OccupancyLookAnswer, OccupancyLookRefusal, OccupancyLookRequest, SetCameraSensorsInput, } from './pipeline-orchestrator.cap.js';
|
|
92
|
-
export { AgentLoadSummarySchema,
|
|
95
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, SetCameraSensorsInputSchema, } from './pipeline-orchestrator.cap.js';
|
|
93
96
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
94
97
|
export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
95
|
-
export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
96
98
|
export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
|
|
99
|
+
export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
97
100
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
98
101
|
export type { AudioStreamPick, CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, FrameHandleFormat, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, SubscribeFramesInput, SubscribeFramesResult, } from './schemas/streaming-shared.js';
|
|
99
102
|
export { AudioChunkFormatSchema, AudioStreamPickSchema, BrokerStatsSchema, BrokerStatusSchema, CAM_PROFILE_ORDER, CameraStreamSchema, CamProfileSchema, CamStreamKindSchema, CamStreamResolutionSchema, DecodedAudioChunkSchema, DecodedFrameSchema, EncodedPacketSchema, FrameHandleFormatSchema, FrameHandleSchema, makeProfileBrokerId, makeSourceBrokerId, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, parseProfileBrokerId, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, selectAssignedProfileSlots, } from './schemas/streaming-shared.js';
|
|
@@ -122,11 +125,9 @@ export type { IVectorStoreProvider } from './vector-store.cap.js';
|
|
|
122
125
|
export { isVectorIndexDimConflict, VECTOR_INDEX_DIM_CONFLICT, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, type VectorFilter, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, type VectorItem, VectorItemSchema, type VectorMatch, VectorMatchSchema, type VectorMetadata, VectorMetadataSchema, type VectorMetric, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, vectorIndexDimConflictError, vectorStoreCapability, } from './vector-store.cap.js';
|
|
123
126
|
export type { Clip, ClipBytes, ClipBytesOffer, ClipPlayback, ClipPlaybackOptions, ClipSource, ClipSourceAvailability, ClipStillDisposition, ClipStillRefusalCode, ClipStreamAudio, ClipStreamAudioReason, ClipStreamDial, ClipWake, IVideoclipsProvider, } from './videoclips.cap.js';
|
|
124
127
|
export { CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, ClipBytesOfferSchema, ClipBytesSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, clipReasonHeaderValue, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, videoclipsCapability, } from './videoclips.cap.js';
|
|
125
|
-
export type { ExtensionCandidate, ExtensionCandidates, ExtensionSetResult, ExtensionSetSlotInput, ExtensionSlotActivation, ExtensionSlotRefInput, ExtensionSlotRow, ExtensionSlotSource, ExtensionSlotState, ExtensionSlotUnreachable, ExtensionSource, ExtensionSourceAvailability, ExtensionSourceHealth, IDeviceExtensionProvider, } from './device-extension.cap.js';
|
|
126
|
-
export { deviceExtensionCapability, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, unreachableExtensionSlotRow, } from './device-extension.cap.js';
|
|
127
128
|
export type { IViewerUiProvider } from './viewer-ui.cap.js';
|
|
128
129
|
export { viewerUiCapability } from './viewer-ui.cap.js';
|
|
129
|
-
export { type IWebrtcSessionProvider, type WebrtcClientHints, type WebrtcClimbHold, type WebrtcClimbHoldCode,
|
|
130
|
+
export { type IWebrtcSessionProvider, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_TRY_BLOCKERS, type WebrtcClientHints, type WebrtcClimbHold, type WebrtcClimbHoldCode, WebrtcClimbHoldSchema, type WebrtcLadderDecision, WebrtcLadderDecisionSchema, type WebrtcSessionDebug, WebrtcSessionDebugSchema, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, type WebrtcTierFailure, WebrtcTierFailureSchema, type WebrtcTryBlocker, webrtcClientHintsSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
130
131
|
export { type AccessoriesStatus, AccessoriesStatusSchema, accessoriesCapability, type IAccessoriesProvider, } from './accessories.cap.js';
|
|
131
132
|
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, addonsCapability, type BulkUpdateItem, type BulkUpdateItemStatus, type BulkUpdatePhase, type BulkUpdateState, CustomActionInputSchema, type IAddonsProvider, InstalledPackageSchema, LogStreamEntrySchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, } from './addons.cap.js';
|
|
132
133
|
export { type AirQualitySensorStatus, AirQualitySensorStatusSchema, airQualitySensorCapability, type IAirQualitySensorProvider, } from './air-quality-sensor.cap.js';
|
|
@@ -153,7 +154,7 @@ export { type DayNightMode, DayNightModeSchema, type DayNightOptions, DayNightOp
|
|
|
153
154
|
export { type DeviceDiscoveryStatus, DeviceDiscoveryStatusSchema, type DiscoveredChildDevice, DiscoveredChildDeviceSchema, type DiscoveredChildStatus, DiscoveredChildStatusSchema, deviceDiscoveryCapability, type IDeviceDiscoveryNativeProvider, type IDeviceDiscoveryProvider, } from './device-discovery.cap.js';
|
|
154
155
|
export { deviceOpsCapability, type IDeviceOpsProvider, type RawStateResult, RawStateResultSchema, } from './device-ops.cap.js';
|
|
155
156
|
export { type DeviceStatus, DeviceStatusSchema, deviceStatusCapability, type IDeviceStatusProvider, } from './device-status.cap.js';
|
|
156
|
-
export { DOORBELL_SOURCE_SLOT, type
|
|
157
|
+
export { DOORBELL_SOURCE_SLOT, type DoorbellPressEvent, DoorbellPressEventSchema, type DoorbellSourceSlotValue, DoorbellSourceSlotValueSchema, type DoorbellStatus, DoorbellStatusSchema, doorbellCapability, type IDoorbellProvider, } from './doorbell.cap.js';
|
|
157
158
|
export { type EnumSensorDateTimeFormat, EnumSensorDateTimeFormatSchema, type EnumSensorStatus, EnumSensorStatusSchema, enumSensorCapability, type IEnumSensorProvider, } from './enum-sensor.cap.js';
|
|
158
159
|
export { type EventEmitterStatus, EventEmitterStatusSchema, type EventFire, EventFireSchema, eventEmitterCapability, type IEventEmitterProvider, } from './event-emitter.cap.js';
|
|
159
160
|
export { type FaceCluster, type FaceInfo, type FaceSortDirection, type FaceSortField, faceGalleryCapability, type Identity, type IdentitySampleAudit, type IdentitySampleAuditRow, type IdentitySampleInfo, type IFaceGalleryProvider, type ListRecentFacesInput, type SuggestFaceClustersInput, } from './face-gallery.cap.js';
|
|
@@ -257,16 +258,17 @@ import type { cameraStreamsCapability } from './camera-streams.cap.js';
|
|
|
257
258
|
import type { carbonMonoxideCapability } from './carbon-monoxide.cap.js';
|
|
258
259
|
import type { climateControlCapability } from './climate-control.cap.js';
|
|
259
260
|
import type { colorCapability } from './color.cap.js';
|
|
261
|
+
import type { composerCapability } from './composer.cap.js';
|
|
260
262
|
import type { connectionTestCapability } from './connection-test.cap.js';
|
|
261
263
|
import type { connectivityCapability } from './connectivity.cap.js';
|
|
262
264
|
import type { consumablesCapability } from './consumables.cap.js';
|
|
263
265
|
import type { contactCapability } from './contact.cap.js';
|
|
264
266
|
import type { controlCapability } from './control.cap.js';
|
|
265
|
-
import type { composerCapability } from './composer.cap.js';
|
|
266
267
|
import type { coreBlocksCapability } from './core-blocks.cap.js';
|
|
267
268
|
import type { coverCapability } from './cover.cap.js';
|
|
268
269
|
import type { customModelRegistryCapability } from './custom-model-registry.cap.js';
|
|
269
270
|
import type { dataStoreProviderCapability } from './data-store-provider.cap.js';
|
|
271
|
+
import type { databaseSnapshotCapability } from './database-snapshot.cap.js';
|
|
270
272
|
import type { dayNightCapability } from './day-night.cap.js';
|
|
271
273
|
import type { decoderCapability } from './decoder.cap.js';
|
|
272
274
|
import type { detectionPipelineCapability } from './detection-pipeline.cap.js';
|
|
@@ -274,6 +276,7 @@ import type { deviceAdminLinkCapability } from './device-admin-link.cap.js';
|
|
|
274
276
|
import type { deviceAdoptionCapability } from './device-adoption.cap.js';
|
|
275
277
|
import type { deviceDiscoveryCapability } from './device-discovery.cap.js';
|
|
276
278
|
import type { deviceExportCapability } from './device-export.cap.js';
|
|
279
|
+
import type { deviceExtensionCapability } from './device-extension.cap.js';
|
|
277
280
|
import type { deviceManagerCapability } from './device-manager.cap.js';
|
|
278
281
|
import type { deviceOpsCapability } from './device-ops.cap.js';
|
|
279
282
|
import type { deviceProviderCapability } from './device-provider.cap.js';
|
|
@@ -379,7 +382,6 @@ import type { valveCapability } from './valve.cap.js';
|
|
|
379
382
|
import type { vectorStoreCapability } from './vector-store.cap.js';
|
|
380
383
|
import type { vibrationCapability } from './vibration.cap.js';
|
|
381
384
|
import type { videoclipsCapability } from './videoclips.cap.js';
|
|
382
|
-
import type { deviceExtensionCapability } from './device-extension.cap.js';
|
|
383
385
|
import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
384
386
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
385
387
|
import type { weatherCapability } from './weather.cap.js';
|
|
@@ -387,6 +389,6 @@ import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
|
387
389
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
388
390
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
389
391
|
import type { zonesCapability } from './zones.cap.js';
|
|
390
|
-
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 deviceAdminLinkCapability | 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 composerCapability | 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 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 recordingArchiveCapability | 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 cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | 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 | typeof deviceExtensionCapability;
|
|
392
|
+
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 databaseSnapshotCapability | 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 deviceAdminLinkCapability | 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 composerCapability | 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 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 recordingArchiveCapability | 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 cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | 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 | typeof deviceExtensionCapability;
|
|
391
393
|
export type CapabilityName = AnyCapability['name'];
|
|
392
394
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -262,11 +262,22 @@ export declare const NcSystemEventDeliveryModeSchema: z.ZodEnum<{
|
|
|
262
262
|
instant: "instant";
|
|
263
263
|
}>;
|
|
264
264
|
export type NcSystemEventDeliveryMode = z.infer<typeof NcSystemEventDeliveryModeSchema>;
|
|
265
|
+
/**
|
|
266
|
+
* How a summary window is SENT (D698): `rule` (absent) = ONE notification with
|
|
267
|
+
* every section; `section` = one notification per section with something to
|
|
268
|
+
* say (an unavailable section included), each titled by its section.
|
|
269
|
+
*/
|
|
270
|
+
export declare const NcStateSummarySplitSchema: z.ZodEnum<{
|
|
271
|
+
section: "section";
|
|
272
|
+
rule: "rule";
|
|
273
|
+
}>;
|
|
274
|
+
export type NcStateSummarySplit = z.infer<typeof NcStateSummarySplitSchema>;
|
|
265
275
|
/**
|
|
266
276
|
* `summary`: the rule sends NOTHING per event. When a window of `schedule`
|
|
267
277
|
* CLOSES, it sends one notification with the current state of its kinds
|
|
268
278
|
* (low batteries, consumables to replace, devices offline, updates
|
|
269
|
-
* available, ...), after its own filters
|
|
279
|
+
* available, ...), after its own filters — or, with `split: 'section'`
|
|
280
|
+
* (D698), one notification per section. Nothing to report sends nothing.
|
|
270
281
|
* The schedule is the ordinary `NcSchedule` (weekly windows, IANA timezone,
|
|
271
282
|
* midnight crossing); the send time is each window's END. Refused on the
|
|
272
283
|
* `alarm` family, which stays instant (`systemEventDeliveryProblems`).
|
|
@@ -284,6 +295,10 @@ export declare const NcSystemEventDeliverySchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
284
295
|
timezone: z.ZodOptional<z.ZodString>;
|
|
285
296
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
286
297
|
}, z.core.$strip>;
|
|
298
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
299
|
+
section: "section";
|
|
300
|
+
rule: "rule";
|
|
301
|
+
}>>;
|
|
287
302
|
}, z.core.$strip>], "mode">;
|
|
288
303
|
export type NcSystemEventDelivery = z.infer<typeof NcSystemEventDeliverySchema>;
|
|
289
304
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
@@ -1154,6 +1169,10 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1154
1169
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1155
1170
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1171
|
}, z.core.$strip>;
|
|
1172
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
1173
|
+
section: "section";
|
|
1174
|
+
rule: "rule";
|
|
1175
|
+
}>>;
|
|
1157
1176
|
}, z.core.$strip>], "mode">>;
|
|
1158
1177
|
targets: z.ZodArray<z.ZodObject<{
|
|
1159
1178
|
targetId: z.ZodString;
|
|
@@ -1315,6 +1334,10 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1315
1334
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1316
1335
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1317
1336
|
}, z.core.$strip>;
|
|
1337
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
1338
|
+
section: "section";
|
|
1339
|
+
rule: "rule";
|
|
1340
|
+
}>>;
|
|
1318
1341
|
}, z.core.$strip>], "mode">>>;
|
|
1319
1342
|
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1320
1343
|
targetId: z.ZodString;
|
|
@@ -1630,6 +1653,10 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1630
1653
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1631
1654
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1632
1655
|
}, z.core.$strip>;
|
|
1656
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
1657
|
+
section: "section";
|
|
1658
|
+
rule: "rule";
|
|
1659
|
+
}>>;
|
|
1633
1660
|
}, z.core.$strip>], "mode">>>;
|
|
1634
1661
|
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1635
1662
|
targetId: z.ZodString;
|
|
@@ -2070,6 +2097,10 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2070
2097
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2071
2098
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
2072
2099
|
}, z.core.$strip>;
|
|
2100
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
2101
|
+
section: "section";
|
|
2102
|
+
rule: "rule";
|
|
2103
|
+
}>>;
|
|
2073
2104
|
}, z.core.$strip>], "mode">>;
|
|
2074
2105
|
targets: z.ZodArray<z.ZodObject<{
|
|
2075
2106
|
targetId: z.ZodString;
|
|
@@ -2207,12 +2238,24 @@ export declare const NcStateSummaryPreviewSectionSchema: z.ZodObject<{
|
|
|
2207
2238
|
reason: z.ZodOptional<z.ZodString>;
|
|
2208
2239
|
}, z.core.$strip>;
|
|
2209
2240
|
export type NcStateSummaryPreviewSection = z.infer<typeof NcStateSummaryPreviewSectionSchema>;
|
|
2241
|
+
/**
|
|
2242
|
+
* One notification a previewed summary would send (D698): the whole summary on
|
|
2243
|
+
* a `rule` split (no `section`), one section's on a `section` split.
|
|
2244
|
+
*/
|
|
2245
|
+
export declare const NcStateSummaryPreviewRowSchema: z.ZodObject<{
|
|
2246
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
title: z.ZodString;
|
|
2248
|
+
text: z.ZodString;
|
|
2249
|
+
count: z.ZodNumber;
|
|
2250
|
+
}, z.core.$strip>;
|
|
2251
|
+
export type NcStateSummaryPreviewRow = z.infer<typeof NcStateSummaryPreviewRowSchema>;
|
|
2210
2252
|
/**
|
|
2211
2253
|
* The summary a rule would send now. `empty` = nothing to report and every
|
|
2212
2254
|
* section read: such a summary is NOT sent. `dropped` counts the open states
|
|
2213
2255
|
* the rule's own filters (or a camera mute) left out, by reason.
|
|
2214
2256
|
* `excludedGroups` names the kind groups selected that have no state to report
|
|
2215
|
-
* (backups & exports).
|
|
2257
|
+
* (backups & exports). `split` and `rows` (D698) say how it would be sent —
|
|
2258
|
+
* optional, so an older hub's answer still parses.
|
|
2216
2259
|
*/
|
|
2217
2260
|
export declare const NcStateSummaryPreviewSchema: z.ZodObject<{
|
|
2218
2261
|
empty: z.ZodBoolean;
|
|
@@ -2229,6 +2272,16 @@ export declare const NcStateSummaryPreviewSchema: z.ZodObject<{
|
|
|
2229
2272
|
}, z.core.$strip>>;
|
|
2230
2273
|
dropped: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2231
2274
|
excludedGroups: z.ZodArray<z.ZodString>;
|
|
2275
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
2276
|
+
section: "section";
|
|
2277
|
+
rule: "rule";
|
|
2278
|
+
}>>;
|
|
2279
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2280
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2281
|
+
title: z.ZodString;
|
|
2282
|
+
text: z.ZodString;
|
|
2283
|
+
count: z.ZodNumber;
|
|
2284
|
+
}, z.core.$strip>>>;
|
|
2232
2285
|
}, z.core.$strip>;
|
|
2233
2286
|
export type NcStateSummaryPreview = z.infer<typeof NcStateSummaryPreviewSchema>;
|
|
2234
2287
|
export declare const NcTestResultSchema: z.ZodObject<{
|
|
@@ -3497,6 +3550,10 @@ export declare const notificationRulesCapability: {
|
|
|
3497
3550
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3498
3551
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
3499
3552
|
}, z.core.$strip>;
|
|
3553
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
3554
|
+
section: "section";
|
|
3555
|
+
rule: "rule";
|
|
3556
|
+
}>>;
|
|
3500
3557
|
}, z.core.$strip>], "mode">>;
|
|
3501
3558
|
targets: z.ZodArray<z.ZodObject<{
|
|
3502
3559
|
targetId: z.ZodString;
|
|
@@ -3794,6 +3851,10 @@ export declare const notificationRulesCapability: {
|
|
|
3794
3851
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3795
3852
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
3796
3853
|
}, z.core.$strip>;
|
|
3854
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
3855
|
+
section: "section";
|
|
3856
|
+
rule: "rule";
|
|
3857
|
+
}>>;
|
|
3797
3858
|
}, z.core.$strip>], "mode">>;
|
|
3798
3859
|
targets: z.ZodArray<z.ZodObject<{
|
|
3799
3860
|
targetId: z.ZodString;
|
|
@@ -4089,6 +4150,10 @@ export declare const notificationRulesCapability: {
|
|
|
4089
4150
|
timezone: z.ZodOptional<z.ZodString>;
|
|
4090
4151
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
4091
4152
|
}, z.core.$strip>;
|
|
4153
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
4154
|
+
section: "section";
|
|
4155
|
+
rule: "rule";
|
|
4156
|
+
}>>;
|
|
4092
4157
|
}, z.core.$strip>], "mode">>;
|
|
4093
4158
|
targets: z.ZodArray<z.ZodObject<{
|
|
4094
4159
|
targetId: z.ZodString;
|
|
@@ -4378,6 +4443,10 @@ export declare const notificationRulesCapability: {
|
|
|
4378
4443
|
timezone: z.ZodOptional<z.ZodString>;
|
|
4379
4444
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
4380
4445
|
}, z.core.$strip>;
|
|
4446
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
4447
|
+
section: "section";
|
|
4448
|
+
rule: "rule";
|
|
4449
|
+
}>>;
|
|
4381
4450
|
}, z.core.$strip>], "mode">>;
|
|
4382
4451
|
targets: z.ZodArray<z.ZodObject<{
|
|
4383
4452
|
targetId: z.ZodString;
|
|
@@ -4539,6 +4608,10 @@ export declare const notificationRulesCapability: {
|
|
|
4539
4608
|
timezone: z.ZodOptional<z.ZodString>;
|
|
4540
4609
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
4541
4610
|
}, z.core.$strip>;
|
|
4611
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
4612
|
+
section: "section";
|
|
4613
|
+
rule: "rule";
|
|
4614
|
+
}>>;
|
|
4542
4615
|
}, z.core.$strip>], "mode">>>;
|
|
4543
4616
|
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4544
4617
|
targetId: z.ZodString;
|
|
@@ -4977,6 +5050,10 @@ export declare const notificationRulesCapability: {
|
|
|
4977
5050
|
timezone: z.ZodOptional<z.ZodString>;
|
|
4978
5051
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
4979
5052
|
}, z.core.$strip>;
|
|
5053
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
5054
|
+
section: "section";
|
|
5055
|
+
rule: "rule";
|
|
5056
|
+
}>>;
|
|
4980
5057
|
}, z.core.$strip>], "mode">>;
|
|
4981
5058
|
targets: z.ZodArray<z.ZodObject<{
|
|
4982
5059
|
targetId: z.ZodString;
|
|
@@ -5354,6 +5431,10 @@ export declare const notificationRulesCapability: {
|
|
|
5354
5431
|
timezone: z.ZodOptional<z.ZodString>;
|
|
5355
5432
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5356
5433
|
}, z.core.$strip>;
|
|
5434
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
5435
|
+
section: "section";
|
|
5436
|
+
rule: "rule";
|
|
5437
|
+
}>>;
|
|
5357
5438
|
}, z.core.$strip>], "mode">>;
|
|
5358
5439
|
targets: z.ZodArray<z.ZodObject<{
|
|
5359
5440
|
targetId: z.ZodString;
|
|
@@ -5668,6 +5749,10 @@ export declare const notificationRulesCapability: {
|
|
|
5668
5749
|
timezone: z.ZodOptional<z.ZodString>;
|
|
5669
5750
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5670
5751
|
}, z.core.$strip>;
|
|
5752
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
5753
|
+
section: "section";
|
|
5754
|
+
rule: "rule";
|
|
5755
|
+
}>>;
|
|
5671
5756
|
}, z.core.$strip>], "mode">>;
|
|
5672
5757
|
targets: z.ZodArray<z.ZodObject<{
|
|
5673
5758
|
targetId: z.ZodString;
|
|
@@ -5803,6 +5888,16 @@ export declare const notificationRulesCapability: {
|
|
|
5803
5888
|
}, z.core.$strip>>;
|
|
5804
5889
|
dropped: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
5805
5890
|
excludedGroups: z.ZodArray<z.ZodString>;
|
|
5891
|
+
split: z.ZodOptional<z.ZodEnum<{
|
|
5892
|
+
section: "section";
|
|
5893
|
+
rule: "rule";
|
|
5894
|
+
}>>;
|
|
5895
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5896
|
+
section: z.ZodOptional<z.ZodString>;
|
|
5897
|
+
title: z.ZodString;
|
|
5898
|
+
text: z.ZodString;
|
|
5899
|
+
count: z.ZodNumber;
|
|
5900
|
+
}, z.core.$strip>>>;
|
|
5806
5901
|
}, z.core.$strip>, "mutation">;
|
|
5807
5902
|
/**
|
|
5808
5903
|
* The machine-readable condition surface a rule editor renders from, plus
|
|
@@ -35,6 +35,7 @@ import type { coreBlocksCapability } from '../capabilities/core-blocks.cap.js';
|
|
|
35
35
|
import type { coverCapability } from '../capabilities/cover.cap.js';
|
|
36
36
|
import type { customModelRegistryCapability } from '../capabilities/custom-model-registry.cap.js';
|
|
37
37
|
import type { dataStoreProviderCapability } from '../capabilities/data-store-provider.cap.js';
|
|
38
|
+
import type { databaseSnapshotCapability } from '../capabilities/database-snapshot.cap.js';
|
|
38
39
|
import type { dayNightCapability } from '../capabilities/day-night.cap.js';
|
|
39
40
|
import type { decoderCapability } from '../capabilities/decoder.cap.js';
|
|
40
41
|
import type { deviceAdminLinkCapability } from '../capabilities/device-admin-link.cap.js';
|
|
@@ -1830,6 +1831,27 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
1830
1831
|
meta: object;
|
|
1831
1832
|
}>;
|
|
1832
1833
|
}>>;
|
|
1834
|
+
databaseSnapshot: TRPCBuiltRouter<{
|
|
1835
|
+
ctx: TrpcContext;
|
|
1836
|
+
meta: object;
|
|
1837
|
+
errorShape: AugmentedErrorShape;
|
|
1838
|
+
transformer: true;
|
|
1839
|
+
}, TRPCDecorateCreateRouterOptions<{
|
|
1840
|
+
listDatabases: TRPCQueryProcedure<{
|
|
1841
|
+
input: {
|
|
1842
|
+
[x: string]: unknown;
|
|
1843
|
+
} & z.input<typeof databaseSnapshotCapability.methods.listDatabases.input>;
|
|
1844
|
+
output: z.infer<typeof databaseSnapshotCapability.methods.listDatabases.output>;
|
|
1845
|
+
meta: object;
|
|
1846
|
+
}>;
|
|
1847
|
+
writeSnapshot: TRPCMutationProcedure<{
|
|
1848
|
+
input: {
|
|
1849
|
+
[x: string]: unknown;
|
|
1850
|
+
} & z.input<typeof databaseSnapshotCapability.methods.writeSnapshot.input>;
|
|
1851
|
+
output: z.infer<typeof databaseSnapshotCapability.methods.writeSnapshot.output>;
|
|
1852
|
+
meta: object;
|
|
1853
|
+
}>;
|
|
1854
|
+
}>>;
|
|
1833
1855
|
dayNight: TRPCBuiltRouter<{
|
|
1834
1856
|
ctx: TrpcContext;
|
|
1835
1857
|
meta: object;
|