@camstack/types 1.2.405 → 1.2.407
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 +21 -2
- package/dist/addon.mjs +21 -2
- package/dist/capabilities/battery.cap.d.ts +46 -0
- package/dist/capabilities/capability-definition.d.ts +8 -0
- package/dist/capabilities/consumables.cap.d.ts +110 -0
- package/dist/capabilities/customize-catalog.d.ts +72 -0
- package/dist/capabilities/customize-spec.d.ts +202 -0
- package/dist/capabilities/doorbell.cap.d.ts +39 -0
- package/dist/capabilities/index.d.ts +6 -4
- package/dist/capabilities/motion.cap.d.ts +39 -0
- package/dist/capabilities/notification-rules.cap.d.ts +3 -78
- package/dist/capabilities/osd-manager.cap.d.ts +0 -18
- package/dist/capabilities/running-state.cap.d.ts +140 -0
- package/dist/catalogs/sensor-active-state.d.ts +1 -1
- package/dist/client.js +11 -63
- package/dist/client.mjs +11 -63
- package/dist/composition/customize/__fixtures__/refs.d.ts +27 -0
- package/dist/composition/customize/__fixtures__/stored-cases.d.ts +13 -0
- package/dist/composition/customize/event-compile.d.ts +20 -0
- package/dist/composition/customize/event-decode.d.ts +19 -0
- package/dist/composition/customize/event-eval.d.ts +35 -0
- package/dist/composition/customize/event-status.d.ts +49 -0
- package/dist/composition/customize/field-source.d.ts +5 -0
- package/dist/composition/customize/keyed-array-compile.d.ts +26 -0
- package/dist/composition/customize/keyed-array-decode.d.ts +20 -0
- package/dist/composition/customize/keyed-array-expr.d.ts +10 -0
- package/dist/composition/customize/keyed-array-status.d.ts +22 -0
- package/dist/composition/customize/normalize.d.ts +4 -0
- package/dist/composition/customize/override-draft.d.ts +311 -0
- package/dist/composition/customize/scalar-compile.d.ts +13 -0
- package/dist/composition/customize/scalar-decode.d.ts +17 -0
- package/dist/composition/customize/scalar-expr.d.ts +33 -0
- package/dist/composition/customize/scalar-status.d.ts +31 -0
- package/dist/composition/customize/stored.d.ts +15 -0
- package/dist/composition/index.d.ts +0 -1
- package/dist/{composition-CB6PMT9p.mjs → composition-BJ8iAZb3.mjs} +87 -3
- package/dist/{composition-eoYYVfOp.js → composition-CSLSFGTO.js} +87 -3
- package/dist/device/cap-vocabulary/entries/appliances.d.ts +1 -1
- package/dist/enums/event-category.d.ts +4 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-fDPduoeC.mjs → event-category-Ceif8n-v.mjs} +4 -0
- package/dist/{event-category-CXrwjC3e.js → event-category-DG6Vir8Z.js} +4 -0
- package/dist/expression/builtins.d.ts +7 -18
- package/dist/expression/expression-source.d.ts +14 -2
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/customize-catalog.d.ts +229 -0
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2385 -173
- package/dist/index.mjs +2351 -171
- package/dist/interfaces/config-ui.d.ts +69 -2
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/running-state/defaults.d.ts +6 -0
- package/dist/running-state/from-operation.d.ts +14 -0
- package/dist/{sleep-CHIEEJkY.mjs → sleep-CYfIZzGv.mjs} +7 -3
- package/dist/{sleep-BKS4OPMo.js → sleep-UP964hNP.js} +7 -3
- package/package.json +1 -1
- package/dist/composition/presets/doorbell-feature.d.ts +0 -20
|
@@ -101,7 +101,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema a
|
|
|
101
101
|
export type { NetworkAccessStatus, NetworkEndpoint, NetworkTunnelStartedData, } from './network-access.cap.js';
|
|
102
102
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, NetworkTunnelStartedDataSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
103
103
|
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, 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';
|
|
104
|
-
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, 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_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES,
|
|
104
|
+
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_LEGACY_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_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, type NcActionBinding, NcActionBindingSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, 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 NcHookBindings, NcHookBindingsSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaImage, NcMediaImageSchema, 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 NcSharedSequence, type NcSharedSequenceInput, NcSharedSequenceInputSchema, NcSharedSequenceSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NC_STATE_SUMMARY_SECTION_IDS, NcStateSummarySectionIdSchema, 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';
|
|
105
105
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
106
106
|
export { type IOidcConnectionsProvider, type OidcConnection, OidcConnectionSchema, type OidcConnectionUpdateInput, OidcConnectionUpdateInputSchema, oidcConnectionsCapability, } from './oidc-connections.cap.js';
|
|
107
107
|
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 RetrainBoxReview, RetrainBoxReviewSchema, type RetrainDismissed, RetrainDismissedSchema, type RetrainFrameReview, RetrainFrameReviewSchema, type RetrainOrigin, RetrainOriginSchema, type RetrainReviewStatus, RetrainReviewStatusSchema, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, type RetrainAnnotationSource, RetrainAnnotationSourceSchema, type RetrainArchiveResult, RetrainArchiveResultSchema, type RetrainArchiveTarget, RetrainArchiveTargetSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainExportFilter, RetrainExportFilterSchema, type RetrainExportLayout, RetrainExportLayoutSchema, type AddRetrainFrameFromRecordingResult, AddRetrainFrameFromRecordingResultSchema, type RetrainDatasetSelection, RetrainDatasetSelectionSchema, type RetrainDatasetStats, RetrainDatasetStatsSchema, type RetrainDatasetVersion, RetrainDatasetVersionSchema, type RetrainTrainingCorpusResolveResult, RetrainTrainingCorpusResolveResultSchema, type RetrainTrainingCorpusSelection, RetrainTrainingCorpusSelectionSchema, type RetrainAssistProfile, RetrainAssistProfileSchema, type RetrainLlmAssistResult, RetrainLlmAssistResultSchema, type RetrainLlmProposal, RetrainLlmProposalSchema, type RetrainLlmReview, RetrainLlmReviewSchema, type RetrainCollection, type RetrainCollectionCreateResult, RetrainCollectionCreateResultSchema, type RetrainCollectionRenameResult, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, type RetrainCorpusFilter, RetrainCorpusFilterSchema, type RetrainCorpusKpi, RetrainCorpusKpiSchema, type RetrainCorpusKpiCameraRow, RetrainCorpusKpiCameraRowSchema, type RetrainCorpusPage, RetrainCorpusPageSchema, type RetrainCorpusPageFrame, RetrainCorpusPageFrameSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, type RetrainFrameOrigin, RetrainFrameOriginSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainFrameWorkState, RetrainFrameWorkStateSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainPipelineBox, RetrainPipelineBoxSchema, 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 TrackPlacement, TrackPlacementSchema, 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';
|
|
@@ -176,7 +176,7 @@ export { type DeviceDiscoveryStatus, DeviceDiscoveryStatusSchema, type Discovere
|
|
|
176
176
|
export { deviceOpsCapability, type IDeviceOpsProvider, type RawStateResult, RawStateResultSchema, } from './device-ops.cap.js';
|
|
177
177
|
export { type DeviceStatus, DeviceStatusSchema, deviceStatusCapability, type IDeviceStatusProvider, } from './device-status.cap.js';
|
|
178
178
|
export { type DishwasherAccess, DishwasherAccessSchema, type DishwasherAvailability, DishwasherAvailabilitySchema, type DishwasherOperationState, DishwasherOperationStateSchema, type DishwasherOptionDescriptor, DishwasherOptionDescriptorSchema, type DishwasherOptions, DishwasherOptionsSchema, type DishwasherProgram, DishwasherProgramSchema, type DishwasherState, DishwasherStateSchema, type DishwasherStatus, DishwasherStatusSchema, type DishwasherValue, DishwasherValueSchema, dishwasherCapability, type IDishwasherProvider, } from './dishwasher.cap.js';
|
|
179
|
-
export { type DoorbellPressEvent, DoorbellPressEventSchema, type DoorbellStatus, DoorbellStatusSchema, doorbellCapability, type IDoorbellProvider, } from './doorbell.cap.js';
|
|
179
|
+
export { DOORBELL_RISE_DEBOUNCE_MS, type DoorbellPressEvent, DoorbellPressEventSchema, type DoorbellStatus, DoorbellStatusSchema, doorbellCapability, type IDoorbellProvider, } from './doorbell.cap.js';
|
|
180
180
|
export { type EnumSensorDateTimeFormat, EnumSensorDateTimeFormatSchema, type EnumSensorStatus, EnumSensorStatusSchema, enumSensorCapability, type IEnumSensorProvider, } from './enum-sensor.cap.js';
|
|
181
181
|
export { type EventEmitterStatus, EventEmitterStatusSchema, type EventFire, EventFireSchema, eventEmitterCapability, type IEventEmitterProvider, } from './event-emitter.cap.js';
|
|
182
182
|
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';
|
|
@@ -197,7 +197,7 @@ export { type ILockControlProvider, type LockControlStatus, LockControlStatusSch
|
|
|
197
197
|
export { type MaskGridDims, MaskGridDimsSchema, type MaskGridShape, MaskGridShapeSchema, type MaskLineShape, MaskLineShapeSchema, type MaskPoint, MaskPointSchema, type MaskPolygonShape, MaskPolygonShapeSchema, type MaskPolygonVertices, MaskPolygonVerticesSchema, type MaskRectShape, MaskRectShapeSchema, type MaskShape, type MaskShapeKind, MaskShapeKindSchema, MaskShapeSchema, } from './mask-shape.js';
|
|
198
198
|
export { type IMediaPlayerProvider, type MediaInfo, type MediaPlayerRepeat, MediaPlayerRepeatSchema, type MediaPlayerState, MediaPlayerStateSchema, type MediaPlayerStatus, MediaPlayerStatusSchema, mediaPlayerCapability, } from './media-player.cap.js';
|
|
199
199
|
export { type IMeshNetworkProvider, type MeshEndpoint, type MeshPeer, MeshPeerSchema, type MeshStatus, MeshStatusSchema, meshNetworkCapability, } from './mesh-network.cap.js';
|
|
200
|
-
export { type IMotionProvider, MOTION_CLOSE_AFTER_MS, type MotionOnMotionChangedData, MotionOnMotionChangedDataSchema, type MotionStatus, MotionStatusSchema, motionCapability, } from './motion.cap.js';
|
|
200
|
+
export { type IMotionProvider, MOTION_CLOSE_AFTER_MS, MOTION_SPAN_TIMEOUT_MS, type MotionOnMotionChangedData, MotionOnMotionChangedDataSchema, type MotionStatus, MotionStatusSchema, motionCapability, } from './motion.cap.js';
|
|
201
201
|
export { type IMotionTriggerProvider, type MotionTriggerRuntimeState, MotionTriggerRuntimeStateSchema, type MotionTriggerStatus, MotionTriggerStatusSchema, motionTriggerCapability, } from './motion-trigger.cap.js';
|
|
202
202
|
export { type IMotionZonesProvider, type MotionZoneOptions, MotionZoneOptionsSchema, type MotionZonePatch, MotionZonePatchSchema, type MotionZoneRegion, MotionZoneRegionSchema, type MotionZoneStatus, MotionZoneStatusSchema, motionZonesCapability, } from './motion-zones.cap.js';
|
|
203
203
|
export { type INativeObjectDetectionProvider, type NativeDetection, NativeDetectionSchema, type NativeObjectClass, NativeObjectClassEnum, type NativeObjectDetectionOptions, NativeObjectDetectionOptionsSchema, type NativeObjectDetectionRuntimeState, NativeObjectDetectionRuntimeStateSchema, type NativeObjectDetectionSettingsPatch, NativeObjectDetectionSettingsPatchSchema, type NativeObjectDetectionStatus, NativeObjectDetectionStatusSchema, type NativeObjectGeometry, NativeObjectGeometryEnum, nativeObjectDetectionCapability, } from './native-object-detection.cap.js';
|
|
@@ -218,6 +218,7 @@ export { type IPressureSensorProvider, type PressureSensorStatus, PressureSensor
|
|
|
218
218
|
export { type IPrivacyMaskProvider, type PrivacyMaskOptions, PrivacyMaskOptionsSchema, type PrivacyMaskPatch, PrivacyMaskPatchSchema, type PrivacyMaskRegion, PrivacyMaskRegionSchema, type PrivacyMaskShape, PrivacyMaskShapeSchema, type PrivacyMaskStatus, PrivacyMaskStatusSchema, privacyMaskCapability, summarisePrivacyAudio, } from './privacy-mask.cap.js';
|
|
219
219
|
export { type IPtzProvider, type PtzHomePreset, PtzHomePresetSchema, type PtzHomeReturn, PtzHomeReturnSchema, PtzMoveCommandSchema, type PtzOptions, PtzOptionsSchema, PtzPositionSchema, type PtzPreset, type PtzPresetFunction, PtzPresetFunctionSchema, PtzPresetSchema, type PtzStatus, PtzStatusSchema, ptzCapability, } from './ptz.cap.js';
|
|
220
220
|
export { type IPtzAutotrackProvider, type PtzAutotrackRuntimeState, PtzAutotrackRuntimeStateSchema, type PtzAutotrackSettings, PtzAutotrackSettingsSchema, type PtzAutotrackStatus, PtzAutotrackStatusSchema, type PtzAutotrackTargetOption, PtzAutotrackTargetOptionSchema, ptzAutotrackCapability, } from './ptz-autotrack.cap.js';
|
|
221
|
+
export { type IRunningStateProvider, type RunningStateSource, RunningStateSourceSchema, type RunningStateStatus, RunningStateStatusSchema, runningStateCapability, } from './running-state.cap.js';
|
|
221
222
|
export { type IRebootProvider, rebootCapability } from './reboot.cap.js';
|
|
222
223
|
export { type IRecordingProvider, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, type RecordingAvailability, RecordingAvailabilitySchema, type RecordingDays, RecordingDaysSchema, type RecordingManifest, RecordingManifestSchema, type RecordingPlayback, RecordingPlaybackSchema, RecordingRangeSchema, type RecordingRead, RecordingReadSchema, type RecordingSource, type RecordingSourceAvailability, RecordingSourceAvailabilitySchema, type RecordingSourceOptions, RecordingSourceOptionsSchema, RecordingSourceSchema, recordingCapability, } from './recording.cap.js';
|
|
223
224
|
export { type IRecordingArchiveProvider, type LocateSegmentResult, LocateSegmentResultSchema, RECORDING_TIMELINE_BATCH_MAX, type ReadGopBytesResult, ReadGopBytesResultSchema, type ReadSegmentBytesResult, ReadSegmentBytesResultSchema, type ReadWindowBytesResult, ReadWindowBytesResultSchema, type RecordingAvailabilityForDevice, RecordingAvailabilityForDeviceSchema, type RecordingDaysForDevice, RecordingDaysForDeviceSchema, type RecordingDeviceUsage, RecordingDeviceUsageSchema, type RecordingLocationUsage, RecordingLocationUsageSchema, type RecordingRebalanceInput, RecordingRebalanceInputSchema, type RecordingRebalanceMove, RecordingRebalanceMoveSchema, type RecordingRebalancePlan, RecordingRebalancePlanSchema, type RecordingRebalanceSkip, type RecordingRebalanceSkipReason, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, type RecordingStatus, RecordingStatusSchema, type RecordingStorageUsage, RecordingStorageUsageSchema, recordingArchiveCapability, } from './recording-archive.cap.js';
|
|
@@ -386,6 +387,7 @@ import type { pressureSensorCapability } from './pressure-sensor.cap.js';
|
|
|
386
387
|
import type { privacyMaskCapability } from './privacy-mask.cap.js';
|
|
387
388
|
import type { ptzCapability } from './ptz.cap.js';
|
|
388
389
|
import type { ptzAutotrackCapability } from './ptz-autotrack.cap.js';
|
|
390
|
+
import type { runningStateCapability } from './running-state.cap.js';
|
|
389
391
|
import type { rebootCapability } from './reboot.cap.js';
|
|
390
392
|
import type { recordingCapability } from './recording.cap.js';
|
|
391
393
|
import type { recordingArchiveCapability } from './recording-archive.cap.js';
|
|
@@ -433,6 +435,6 @@ import type { trainingProviderCapability } from './training-provider.cap.js';
|
|
|
433
435
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
434
436
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
435
437
|
import type { zonesCapability } from './zones.cap.js';
|
|
436
|
-
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 storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | 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 calendarSourceCapability | typeof calendarsCapability | 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 trainingCapability | typeof trainingProviderCapability | 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 heatingValveCapability | 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 oidcConnectionsCapability | 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 | typeof dishwasherCapability;
|
|
438
|
+
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 storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | 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 calendarSourceCapability | typeof calendarsCapability | 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 runningStateCapability | 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 trainingCapability | typeof trainingProviderCapability | 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 heatingValveCapability | 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 oidcConnectionsCapability | 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 | typeof dishwasherCapability;
|
|
437
439
|
export type CapabilityName = AnyCapability['name'];
|
|
438
440
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DeviceType } from '../device/device-type.js';
|
|
3
3
|
import { type InferProvider } from './capability-definition.js';
|
|
4
|
+
/**
|
|
5
|
+
* Span timeout for a camera's attached sensors. This is the pipeline-runner
|
|
6
|
+
* `motionCooldownMs` default: the window after which a heartbeat-only edge
|
|
7
|
+
* no longer counts. The span does not declare a separate cooldown.
|
|
8
|
+
*/
|
|
9
|
+
export declare const MOTION_SPAN_TIMEOUT_MS = 30000;
|
|
4
10
|
/**
|
|
5
11
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
6
12
|
* a timestamp of the last observation. Distinct from
|
|
@@ -179,5 +185,38 @@ export declare const motionCapability: {
|
|
|
179
185
|
};
|
|
180
186
|
};
|
|
181
187
|
};
|
|
188
|
+
readonly customize: {
|
|
189
|
+
readonly version: 1;
|
|
190
|
+
readonly targets: readonly [{
|
|
191
|
+
readonly id: 'detected';
|
|
192
|
+
readonly cardinality: 'event';
|
|
193
|
+
readonly shape: 'span';
|
|
194
|
+
readonly vocabulary: {
|
|
195
|
+
readonly cap: 'motion';
|
|
196
|
+
readonly eventName: 'onMotionChanged';
|
|
197
|
+
};
|
|
198
|
+
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
199
|
+
readonly apply: 'replace';
|
|
200
|
+
readonly applyAuthority: {
|
|
201
|
+
readonly kind: 'camera-sensors';
|
|
202
|
+
readonly timeoutField: 'motionCooldownMs';
|
|
203
|
+
};
|
|
204
|
+
readonly eventName: 'onMotionChanged';
|
|
205
|
+
readonly start: 'rising-edge';
|
|
206
|
+
readonly end: 'falling-edge-or-timeout';
|
|
207
|
+
readonly timeoutMs: 30000;
|
|
208
|
+
readonly combine: 'any';
|
|
209
|
+
readonly sourceModes: readonly ["in-addition", "confirm", "replace"];
|
|
210
|
+
readonly sources: readonly [{
|
|
211
|
+
readonly kind: 'binary';
|
|
212
|
+
}, {
|
|
213
|
+
readonly kind: 'switch';
|
|
214
|
+
}];
|
|
215
|
+
readonly sourceReport: {
|
|
216
|
+
readonly status: 'assignment-status';
|
|
217
|
+
};
|
|
218
|
+
readonly advancedExpression: false;
|
|
219
|
+
}];
|
|
220
|
+
};
|
|
182
221
|
};
|
|
183
222
|
export type IMotionProvider = InferProvider<typeof motionCapability>;
|
|
@@ -97,9 +97,6 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
97
97
|
"device-enabled": "device-enabled";
|
|
98
98
|
"device-offline": "device-offline";
|
|
99
99
|
"device-online": "device-online";
|
|
100
|
-
"device-tank-full": "device-tank-full";
|
|
101
|
-
"device-tank-low": "device-tank-low";
|
|
102
|
-
"device-tank-normal": "device-tank-normal";
|
|
103
100
|
"export-completed": "export-completed";
|
|
104
101
|
"motion-calm": "motion-calm";
|
|
105
102
|
"motion-noisy": "motion-noisy";
|
|
@@ -123,6 +120,8 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
123
120
|
"wrapper-update-available": "wrapper-update-available";
|
|
124
121
|
}>;
|
|
125
122
|
export type NcSystemEventKind = z.infer<typeof NcSystemEventKindSchema>;
|
|
123
|
+
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
124
|
+
export declare const NC_LEGACY_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
126
125
|
/**
|
|
127
126
|
* The kinds a rule may be AUTHORED with — every schema member except the
|
|
128
127
|
* legacy tail. Editors render THIS list; the schema still parses the tail so a
|
|
@@ -158,8 +157,6 @@ export declare const NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS: readonly NcSystem
|
|
|
158
157
|
* and both editors read it.
|
|
159
158
|
*/
|
|
160
159
|
export declare const NC_CONSUMABLE_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
161
|
-
/** A vacuum's tank alerts (D642) — raised on the provider's own verdict. */
|
|
162
|
-
export declare const NC_TANK_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
163
160
|
/**
|
|
164
161
|
* The consumable threshold a rule that does not state one judges at (D642).
|
|
165
162
|
* The operator's number ("default 15 %, configurable on the rule"), and the
|
|
@@ -211,9 +208,6 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
211
208
|
"device-enabled": "device-enabled";
|
|
212
209
|
"device-offline": "device-offline";
|
|
213
210
|
"device-online": "device-online";
|
|
214
|
-
"device-tank-full": "device-tank-full";
|
|
215
|
-
"device-tank-low": "device-tank-low";
|
|
216
|
-
"device-tank-normal": "device-tank-normal";
|
|
217
211
|
"export-completed": "export-completed";
|
|
218
212
|
"motion-calm": "motion-calm";
|
|
219
213
|
"motion-noisy": "motion-noisy";
|
|
@@ -946,9 +940,6 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
946
940
|
"device-enabled": "device-enabled";
|
|
947
941
|
"device-offline": "device-offline";
|
|
948
942
|
"device-online": "device-online";
|
|
949
|
-
"device-tank-full": "device-tank-full";
|
|
950
|
-
"device-tank-low": "device-tank-low";
|
|
951
|
-
"device-tank-normal": "device-tank-normal";
|
|
952
943
|
"export-completed": "export-completed";
|
|
953
944
|
"motion-calm": "motion-calm";
|
|
954
945
|
"motion-noisy": "motion-noisy";
|
|
@@ -1359,9 +1350,6 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1359
1350
|
"device-enabled": "device-enabled";
|
|
1360
1351
|
"device-offline": "device-offline";
|
|
1361
1352
|
"device-online": "device-online";
|
|
1362
|
-
"device-tank-full": "device-tank-full";
|
|
1363
|
-
"device-tank-low": "device-tank-low";
|
|
1364
|
-
"device-tank-normal": "device-tank-normal";
|
|
1365
1353
|
"export-completed": "export-completed";
|
|
1366
1354
|
"motion-calm": "motion-calm";
|
|
1367
1355
|
"motion-noisy": "motion-noisy";
|
|
@@ -1888,9 +1876,6 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1888
1876
|
"device-enabled": "device-enabled";
|
|
1889
1877
|
"device-offline": "device-offline";
|
|
1890
1878
|
"device-online": "device-online";
|
|
1891
|
-
"device-tank-full": "device-tank-full";
|
|
1892
|
-
"device-tank-low": "device-tank-low";
|
|
1893
|
-
"device-tank-normal": "device-tank-normal";
|
|
1894
1879
|
"export-completed": "export-completed";
|
|
1895
1880
|
"motion-calm": "motion-calm";
|
|
1896
1881
|
"motion-noisy": "motion-noisy";
|
|
@@ -2294,9 +2279,6 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
2294
2279
|
"device-enabled": "device-enabled";
|
|
2295
2280
|
"device-offline": "device-offline";
|
|
2296
2281
|
"device-online": "device-online";
|
|
2297
|
-
"device-tank-full": "device-tank-full";
|
|
2298
|
-
"device-tank-low": "device-tank-low";
|
|
2299
|
-
"device-tank-normal": "device-tank-normal";
|
|
2300
2282
|
"export-completed": "export-completed";
|
|
2301
2283
|
"motion-calm": "motion-calm";
|
|
2302
2284
|
"motion-noisy": "motion-noisy";
|
|
@@ -2521,9 +2503,6 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2521
2503
|
"device-enabled": "device-enabled";
|
|
2522
2504
|
"device-offline": "device-offline";
|
|
2523
2505
|
"device-online": "device-online";
|
|
2524
|
-
"device-tank-full": "device-tank-full";
|
|
2525
|
-
"device-tank-low": "device-tank-low";
|
|
2526
|
-
"device-tank-normal": "device-tank-normal";
|
|
2527
2506
|
"export-completed": "export-completed";
|
|
2528
2507
|
"motion-calm": "motion-calm";
|
|
2529
2508
|
"motion-noisy": "motion-noisy";
|
|
@@ -2795,6 +2774,7 @@ export type NcRule = z.infer<typeof NcRuleSchema>;
|
|
|
2795
2774
|
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
2796
2775
|
* job is not an open state, and the alarm stays instant.
|
|
2797
2776
|
*/
|
|
2777
|
+
export declare const NC_STATE_SUMMARY_SECTION_IDS: readonly ['device-state', 'streams', 'battery', 'consumables', 'detection-blind', 'nodes', 'addons', 'addon-updates', 'updates'];
|
|
2798
2778
|
export declare const NcStateSummarySectionIdSchema: z.ZodEnum<{
|
|
2799
2779
|
"addon-updates": "addon-updates";
|
|
2800
2780
|
addons: "addons";
|
|
@@ -2804,7 +2784,6 @@ export declare const NcStateSummarySectionIdSchema: z.ZodEnum<{
|
|
|
2804
2784
|
"device-state": "device-state";
|
|
2805
2785
|
nodes: "nodes";
|
|
2806
2786
|
streams: "streams";
|
|
2807
|
-
tanks: "tanks";
|
|
2808
2787
|
updates: "updates";
|
|
2809
2788
|
}>;
|
|
2810
2789
|
export type NcStateSummarySectionId = z.infer<typeof NcStateSummarySectionIdSchema>;
|
|
@@ -2819,7 +2798,6 @@ export declare const NcStateSummaryPreviewSectionSchema: z.ZodObject<{
|
|
|
2819
2798
|
"device-state": "device-state";
|
|
2820
2799
|
nodes: "nodes";
|
|
2821
2800
|
streams: "streams";
|
|
2822
|
-
tanks: "tanks";
|
|
2823
2801
|
updates: "updates";
|
|
2824
2802
|
}>;
|
|
2825
2803
|
status: z.ZodEnum<{
|
|
@@ -2844,7 +2822,6 @@ export declare const NcStateSummaryPreviewRowSchema: z.ZodObject<{
|
|
|
2844
2822
|
"device-state": "device-state";
|
|
2845
2823
|
nodes: "nodes";
|
|
2846
2824
|
streams: "streams";
|
|
2847
|
-
tanks: "tanks";
|
|
2848
2825
|
updates: "updates";
|
|
2849
2826
|
}>>;
|
|
2850
2827
|
title: z.ZodString;
|
|
@@ -2874,7 +2851,6 @@ export declare const NcStateSummaryPreviewSchema: z.ZodObject<{
|
|
|
2874
2851
|
"device-state": "device-state";
|
|
2875
2852
|
nodes: "nodes";
|
|
2876
2853
|
streams: "streams";
|
|
2877
|
-
tanks: "tanks";
|
|
2878
2854
|
updates: "updates";
|
|
2879
2855
|
}>;
|
|
2880
2856
|
status: z.ZodEnum<{
|
|
@@ -2900,7 +2876,6 @@ export declare const NcStateSummaryPreviewSchema: z.ZodObject<{
|
|
|
2900
2876
|
"device-state": "device-state";
|
|
2901
2877
|
nodes: "nodes";
|
|
2902
2878
|
streams: "streams";
|
|
2903
|
-
tanks: "tanks";
|
|
2904
2879
|
updates: "updates";
|
|
2905
2880
|
}>>;
|
|
2906
2881
|
title: z.ZodString;
|
|
@@ -3067,9 +3042,6 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
3067
3042
|
"device-enabled": "device-enabled";
|
|
3068
3043
|
"device-offline": "device-offline";
|
|
3069
3044
|
"device-online": "device-online";
|
|
3070
|
-
"device-tank-full": "device-tank-full";
|
|
3071
|
-
"device-tank-low": "device-tank-low";
|
|
3072
|
-
"device-tank-normal": "device-tank-normal";
|
|
3073
3045
|
"export-completed": "export-completed";
|
|
3074
3046
|
"motion-calm": "motion-calm";
|
|
3075
3047
|
"motion-noisy": "motion-noisy";
|
|
@@ -3164,9 +3136,6 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
3164
3136
|
"device-enabled": "device-enabled";
|
|
3165
3137
|
"device-offline": "device-offline";
|
|
3166
3138
|
"device-online": "device-online";
|
|
3167
|
-
"device-tank-full": "device-tank-full";
|
|
3168
|
-
"device-tank-low": "device-tank-low";
|
|
3169
|
-
"device-tank-normal": "device-tank-normal";
|
|
3170
3139
|
"export-completed": "export-completed";
|
|
3171
3140
|
"motion-calm": "motion-calm";
|
|
3172
3141
|
"motion-noisy": "motion-noisy";
|
|
@@ -3258,9 +3227,6 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
3258
3227
|
"device-enabled": "device-enabled";
|
|
3259
3228
|
"device-offline": "device-offline";
|
|
3260
3229
|
"device-online": "device-online";
|
|
3261
|
-
"device-tank-full": "device-tank-full";
|
|
3262
|
-
"device-tank-low": "device-tank-low";
|
|
3263
|
-
"device-tank-normal": "device-tank-normal";
|
|
3264
3230
|
"export-completed": "export-completed";
|
|
3265
3231
|
"motion-calm": "motion-calm";
|
|
3266
3232
|
"motion-noisy": "motion-noisy";
|
|
@@ -3434,9 +3400,6 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
3434
3400
|
"device-enabled": "device-enabled";
|
|
3435
3401
|
"device-offline": "device-offline";
|
|
3436
3402
|
"device-online": "device-online";
|
|
3437
|
-
"device-tank-full": "device-tank-full";
|
|
3438
|
-
"device-tank-low": "device-tank-low";
|
|
3439
|
-
"device-tank-normal": "device-tank-normal";
|
|
3440
3403
|
"export-completed": "export-completed";
|
|
3441
3404
|
"motion-calm": "motion-calm";
|
|
3442
3405
|
"motion-noisy": "motion-noisy";
|
|
@@ -3547,9 +3510,6 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
3547
3510
|
"device-enabled": "device-enabled";
|
|
3548
3511
|
"device-offline": "device-offline";
|
|
3549
3512
|
"device-online": "device-online";
|
|
3550
|
-
"device-tank-full": "device-tank-full";
|
|
3551
|
-
"device-tank-low": "device-tank-low";
|
|
3552
|
-
"device-tank-normal": "device-tank-normal";
|
|
3553
3513
|
"export-completed": "export-completed";
|
|
3554
3514
|
"motion-calm": "motion-calm";
|
|
3555
3515
|
"motion-noisy": "motion-noisy";
|
|
@@ -4689,9 +4649,6 @@ export declare const notificationRulesCapability: {
|
|
|
4689
4649
|
"device-enabled": "device-enabled";
|
|
4690
4650
|
"device-offline": "device-offline";
|
|
4691
4651
|
"device-online": "device-online";
|
|
4692
|
-
"device-tank-full": "device-tank-full";
|
|
4693
|
-
"device-tank-low": "device-tank-low";
|
|
4694
|
-
"device-tank-normal": "device-tank-normal";
|
|
4695
4652
|
"export-completed": "export-completed";
|
|
4696
4653
|
"motion-calm": "motion-calm";
|
|
4697
4654
|
"motion-noisy": "motion-noisy";
|
|
@@ -5063,9 +5020,6 @@ export declare const notificationRulesCapability: {
|
|
|
5063
5020
|
"device-enabled": "device-enabled";
|
|
5064
5021
|
"device-offline": "device-offline";
|
|
5065
5022
|
"device-online": "device-online";
|
|
5066
|
-
"device-tank-full": "device-tank-full";
|
|
5067
|
-
"device-tank-low": "device-tank-low";
|
|
5068
|
-
"device-tank-normal": "device-tank-normal";
|
|
5069
5023
|
"export-completed": "export-completed";
|
|
5070
5024
|
"motion-calm": "motion-calm";
|
|
5071
5025
|
"motion-noisy": "motion-noisy";
|
|
@@ -5435,9 +5389,6 @@ export declare const notificationRulesCapability: {
|
|
|
5435
5389
|
"device-enabled": "device-enabled";
|
|
5436
5390
|
"device-offline": "device-offline";
|
|
5437
5391
|
"device-online": "device-online";
|
|
5438
|
-
"device-tank-full": "device-tank-full";
|
|
5439
|
-
"device-tank-low": "device-tank-low";
|
|
5440
|
-
"device-tank-normal": "device-tank-normal";
|
|
5441
5392
|
"export-completed": "export-completed";
|
|
5442
5393
|
"motion-calm": "motion-calm";
|
|
5443
5394
|
"motion-noisy": "motion-noisy";
|
|
@@ -5801,9 +5752,6 @@ export declare const notificationRulesCapability: {
|
|
|
5801
5752
|
"device-enabled": "device-enabled";
|
|
5802
5753
|
"device-offline": "device-offline";
|
|
5803
5754
|
"device-online": "device-online";
|
|
5804
|
-
"device-tank-full": "device-tank-full";
|
|
5805
|
-
"device-tank-low": "device-tank-low";
|
|
5806
|
-
"device-tank-normal": "device-tank-normal";
|
|
5807
5755
|
"export-completed": "export-completed";
|
|
5808
5756
|
"motion-calm": "motion-calm";
|
|
5809
5757
|
"motion-noisy": "motion-noisy";
|
|
@@ -6330,9 +6278,6 @@ export declare const notificationRulesCapability: {
|
|
|
6330
6278
|
"device-enabled": "device-enabled";
|
|
6331
6279
|
"device-offline": "device-offline";
|
|
6332
6280
|
"device-online": "device-online";
|
|
6333
|
-
"device-tank-full": "device-tank-full";
|
|
6334
|
-
"device-tank-low": "device-tank-low";
|
|
6335
|
-
"device-tank-normal": "device-tank-normal";
|
|
6336
6281
|
"export-completed": "export-completed";
|
|
6337
6282
|
"motion-calm": "motion-calm";
|
|
6338
6283
|
"motion-noisy": "motion-noisy";
|
|
@@ -6555,9 +6500,6 @@ export declare const notificationRulesCapability: {
|
|
|
6555
6500
|
"device-enabled": "device-enabled";
|
|
6556
6501
|
"device-offline": "device-offline";
|
|
6557
6502
|
"device-online": "device-online";
|
|
6558
|
-
"device-tank-full": "device-tank-full";
|
|
6559
|
-
"device-tank-low": "device-tank-low";
|
|
6560
|
-
"device-tank-normal": "device-tank-normal";
|
|
6561
6503
|
"export-completed": "export-completed";
|
|
6562
6504
|
"motion-calm": "motion-calm";
|
|
6563
6505
|
"motion-noisy": "motion-noisy";
|
|
@@ -7120,9 +7062,6 @@ export declare const notificationRulesCapability: {
|
|
|
7120
7062
|
"device-enabled": "device-enabled";
|
|
7121
7063
|
"device-offline": "device-offline";
|
|
7122
7064
|
"device-online": "device-online";
|
|
7123
|
-
"device-tank-full": "device-tank-full";
|
|
7124
|
-
"device-tank-low": "device-tank-low";
|
|
7125
|
-
"device-tank-normal": "device-tank-normal";
|
|
7126
7065
|
"export-completed": "export-completed";
|
|
7127
7066
|
"motion-calm": "motion-calm";
|
|
7128
7067
|
"motion-noisy": "motion-noisy";
|
|
@@ -7511,9 +7450,6 @@ export declare const notificationRulesCapability: {
|
|
|
7511
7450
|
"device-enabled": "device-enabled";
|
|
7512
7451
|
"device-offline": "device-offline";
|
|
7513
7452
|
"device-online": "device-online";
|
|
7514
|
-
"device-tank-full": "device-tank-full";
|
|
7515
|
-
"device-tank-low": "device-tank-low";
|
|
7516
|
-
"device-tank-normal": "device-tank-normal";
|
|
7517
7453
|
"export-completed": "export-completed";
|
|
7518
7454
|
"motion-calm": "motion-calm";
|
|
7519
7455
|
"motion-noisy": "motion-noisy";
|
|
@@ -7787,7 +7723,6 @@ export declare const notificationRulesCapability: {
|
|
|
7787
7723
|
"device-state": "device-state";
|
|
7788
7724
|
nodes: "nodes";
|
|
7789
7725
|
streams: "streams";
|
|
7790
|
-
tanks: "tanks";
|
|
7791
7726
|
updates: "updates";
|
|
7792
7727
|
}>;
|
|
7793
7728
|
status: z.ZodEnum<{
|
|
@@ -7813,7 +7748,6 @@ export declare const notificationRulesCapability: {
|
|
|
7813
7748
|
"device-state": "device-state";
|
|
7814
7749
|
nodes: "nodes";
|
|
7815
7750
|
streams: "streams";
|
|
7816
|
-
tanks: "tanks";
|
|
7817
7751
|
updates: "updates";
|
|
7818
7752
|
}>>;
|
|
7819
7753
|
title: z.ZodString;
|
|
@@ -7987,9 +7921,6 @@ export declare const notificationRulesCapability: {
|
|
|
7987
7921
|
"device-enabled": "device-enabled";
|
|
7988
7922
|
"device-offline": "device-offline";
|
|
7989
7923
|
"device-online": "device-online";
|
|
7990
|
-
"device-tank-full": "device-tank-full";
|
|
7991
|
-
"device-tank-low": "device-tank-low";
|
|
7992
|
-
"device-tank-normal": "device-tank-normal";
|
|
7993
7924
|
"export-completed": "export-completed";
|
|
7994
7925
|
"motion-calm": "motion-calm";
|
|
7995
7926
|
"motion-noisy": "motion-noisy";
|
|
@@ -8090,9 +8021,6 @@ export declare const notificationRulesCapability: {
|
|
|
8090
8021
|
"device-enabled": "device-enabled";
|
|
8091
8022
|
"device-offline": "device-offline";
|
|
8092
8023
|
"device-online": "device-online";
|
|
8093
|
-
"device-tank-full": "device-tank-full";
|
|
8094
|
-
"device-tank-low": "device-tank-low";
|
|
8095
|
-
"device-tank-normal": "device-tank-normal";
|
|
8096
8024
|
"export-completed": "export-completed";
|
|
8097
8025
|
"motion-calm": "motion-calm";
|
|
8098
8026
|
"motion-noisy": "motion-noisy";
|
|
@@ -8222,9 +8150,6 @@ export declare const notificationRulesCapability: {
|
|
|
8222
8150
|
"device-enabled": "device-enabled";
|
|
8223
8151
|
"device-offline": "device-offline";
|
|
8224
8152
|
"device-online": "device-online";
|
|
8225
|
-
"device-tank-full": "device-tank-full";
|
|
8226
|
-
"device-tank-low": "device-tank-low";
|
|
8227
|
-
"device-tank-normal": "device-tank-normal";
|
|
8228
8153
|
"export-completed": "export-completed";
|
|
8229
8154
|
"motion-calm": "motion-calm";
|
|
8230
8155
|
"motion-noisy": "motion-noisy";
|
|
@@ -241,9 +241,6 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
241
241
|
"device-enabled": "device-enabled";
|
|
242
242
|
"device-offline": "device-offline";
|
|
243
243
|
"device-online": "device-online";
|
|
244
|
-
"device-tank-full": "device-tank-full";
|
|
245
|
-
"device-tank-low": "device-tank-low";
|
|
246
|
-
"device-tank-normal": "device-tank-normal";
|
|
247
244
|
"export-completed": "export-completed";
|
|
248
245
|
"motion-calm": "motion-calm";
|
|
249
246
|
"motion-noisy": "motion-noisy";
|
|
@@ -446,9 +443,6 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
446
443
|
"device-enabled": "device-enabled";
|
|
447
444
|
"device-offline": "device-offline";
|
|
448
445
|
"device-online": "device-online";
|
|
449
|
-
"device-tank-full": "device-tank-full";
|
|
450
|
-
"device-tank-low": "device-tank-low";
|
|
451
|
-
"device-tank-normal": "device-tank-normal";
|
|
452
446
|
"export-completed": "export-completed";
|
|
453
447
|
"motion-calm": "motion-calm";
|
|
454
448
|
"motion-noisy": "motion-noisy";
|
|
@@ -723,9 +717,6 @@ export declare const osdManagerCapability: {
|
|
|
723
717
|
"device-enabled": "device-enabled";
|
|
724
718
|
"device-offline": "device-offline";
|
|
725
719
|
"device-online": "device-online";
|
|
726
|
-
"device-tank-full": "device-tank-full";
|
|
727
|
-
"device-tank-low": "device-tank-low";
|
|
728
|
-
"device-tank-normal": "device-tank-normal";
|
|
729
720
|
"export-completed": "export-completed";
|
|
730
721
|
"motion-calm": "motion-calm";
|
|
731
722
|
"motion-noisy": "motion-noisy";
|
|
@@ -1019,9 +1010,6 @@ export declare const osdManagerCapability: {
|
|
|
1019
1010
|
"device-enabled": "device-enabled";
|
|
1020
1011
|
"device-offline": "device-offline";
|
|
1021
1012
|
"device-online": "device-online";
|
|
1022
|
-
"device-tank-full": "device-tank-full";
|
|
1023
|
-
"device-tank-low": "device-tank-low";
|
|
1024
|
-
"device-tank-normal": "device-tank-normal";
|
|
1025
1013
|
"export-completed": "export-completed";
|
|
1026
1014
|
"motion-calm": "motion-calm";
|
|
1027
1015
|
"motion-noisy": "motion-noisy";
|
|
@@ -1223,9 +1211,6 @@ export declare const osdManagerCapability: {
|
|
|
1223
1211
|
"device-enabled": "device-enabled";
|
|
1224
1212
|
"device-offline": "device-offline";
|
|
1225
1213
|
"device-online": "device-online";
|
|
1226
|
-
"device-tank-full": "device-tank-full";
|
|
1227
|
-
"device-tank-low": "device-tank-low";
|
|
1228
|
-
"device-tank-normal": "device-tank-normal";
|
|
1229
1214
|
"export-completed": "export-completed";
|
|
1230
1215
|
"motion-calm": "motion-calm";
|
|
1231
1216
|
"motion-noisy": "motion-noisy";
|
|
@@ -1471,9 +1456,6 @@ export declare const osdManagerCapability: {
|
|
|
1471
1456
|
"device-enabled": "device-enabled";
|
|
1472
1457
|
"device-offline": "device-offline";
|
|
1473
1458
|
"device-online": "device-online";
|
|
1474
|
-
"device-tank-full": "device-tank-full";
|
|
1475
|
-
"device-tank-low": "device-tank-low";
|
|
1476
|
-
"device-tank-normal": "device-tank-normal";
|
|
1477
1459
|
"export-completed": "export-completed";
|
|
1478
1460
|
"motion-calm": "motion-calm";
|
|
1479
1461
|
"motion-noisy": "motion-noisy";
|