@camstack/types 1.2.294 → 1.2.296
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/index.d.ts +2 -2
- package/dist/capabilities/notification-rules.cap.d.ts +241 -1
- package/dist/capabilities/osd-manager.cap.d.ts +18 -30
- package/dist/index.d.ts +3 -2
- package/dist/index.js +200 -22
- package/dist/index.mjs +186 -23
- package/dist/notification/alarm-controllable.d.ts +33 -0
- package/dist/notification/alarm-membership.d.ts +8 -1
- package/dist/notification/alarm-settings.d.ts +27 -6
- package/package.json +1 -1
|
@@ -86,7 +86,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema a
|
|
|
86
86
|
export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
|
|
87
87
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
88
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';
|
|
89
|
-
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, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, 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 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 NcStateSummarySectionId, 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';
|
|
89
|
+
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, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, 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 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 NcStateSummarySectionId, 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';
|
|
90
90
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
91
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';
|
|
92
92
|
export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
@@ -185,7 +185,7 @@ export { ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, type I
|
|
|
185
185
|
export { type INotifierProvider, type NotifierAction, type NotifierPriority, type NotifierSendInput, type NotifierSendResult, type NotifierStatus, NotifierStatusSchema, type NotifierSupports, notifierCapability, } from './notifier.cap.js';
|
|
186
186
|
export { type INumericSensorProvider, type NumericSensorStatus, NumericSensorStatusSchema, numericSensorCapability, } from './numeric-sensor.cap.js';
|
|
187
187
|
export { type IOsdProvider, type OsdOverlay, type OsdOverlayKind, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, type OsdPosition, OsdPositionEnum, type OsdStatus, OsdStatusSchema, osdCapability, } from './osd.cap.js';
|
|
188
|
-
export { type IOsdManagerProvider, type OsdNamedTemplate, OsdNamedTemplateSchema, type OsdRenderOutcome, OsdRenderOutcomeEnum, type OsdRenderResult, OsdRenderResultSchema, type OsdSlotBinding, OsdSlotBindingSchema, type OsdSlotView, OsdSlotViewSchema, type OsdSource, type OsdSourceOption, OsdSourceOptionSchema, OsdSourceSchema, type OsdSourceValueType, OsdSourceValueTypeEnum, type OsdTemplateBinding, OsdTemplateBindingSchema, type OsdTemplateFormat, OsdTemplateFormatSchema, type OsdTemplatePick, OsdTemplatePickSchema, osdManagerCapability, } from './osd-manager.cap.js';
|
|
188
|
+
export { type IOsdManagerProvider, type OsdNamedTemplate, OsdNamedTemplateSchema, type OsdRenderOutcome, OsdRenderOutcomeEnum, type OsdRenderResult, OsdRenderResultSchema, type OsdSlotBinding, OsdSlotBindingSchema, type OsdSlotView, OsdSlotViewSchema, type OsdSource, type OsdSourceOption, OsdSourceOptionSchema, OsdSourceSchema, type OsdSourceValueType, OsdSourceValueTypeEnum, type OsdTemplateBinding, OsdTemplateBindingSchema, type OsdTemplateFormat, OsdTemplateFormatSchema, type OsdTemplateTokenKind, OsdTemplateTokenKindSchema, type OsdTemplatePick, OsdTemplatePickSchema, osdManagerCapability, } from './osd-manager.cap.js';
|
|
189
189
|
export { type IPetFeederProvider, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, type PetFeederStatus, PetFeederStatusSchema, petFeederCapability, } from './pet-feeder.cap.js';
|
|
190
190
|
export { type IPlateGalleryProvider, type PlateInfo, plateGalleryCapability, type Vehicle, type VehicleSampleInfo, } from './plate-gallery.cap.js';
|
|
191
191
|
export { type HardwareDecodeAccels, type HardwareEncoderId, type HardwareEncoderProbe, type HardwareEncoders, type IPlatformProbeProvider, platformProbeCapability, } from './platform-probe.cap.js';
|
|
@@ -3131,6 +3131,52 @@ export declare const NcAlarmNonBlockingEditSchema: z.ZodObject<{
|
|
|
3131
3131
|
nonBlocking: z.ZodBoolean;
|
|
3132
3132
|
}, z.core.$strip>;
|
|
3133
3133
|
export type NcAlarmNonBlockingEdit = z.infer<typeof NcAlarmNonBlockingEditSchema>;
|
|
3134
|
+
/**
|
|
3135
|
+
* Controllable openings: opt IN to blocking (default is do not block). Contacts
|
|
3136
|
+
* keep using {@link NcAlarmNonBlockingEditSchema}.
|
|
3137
|
+
*/
|
|
3138
|
+
export declare const NcAlarmBlockingEditSchema: z.ZodObject<{
|
|
3139
|
+
mode: z.ZodEnum<{
|
|
3140
|
+
home: "home";
|
|
3141
|
+
away: "away";
|
|
3142
|
+
night: "night";
|
|
3143
|
+
vacation: "vacation";
|
|
3144
|
+
custom_bypass: "custom_bypass";
|
|
3145
|
+
}>;
|
|
3146
|
+
deviceId: z.ZodNumber;
|
|
3147
|
+
blocking: z.ZodBoolean;
|
|
3148
|
+
}, z.core.$strip>;
|
|
3149
|
+
export type NcAlarmBlockingEdit = z.infer<typeof NcAlarmBlockingEditSchema>;
|
|
3150
|
+
/**
|
|
3151
|
+
* Controllable openings: opt OUT of secure-on-arm (default is secure ON —
|
|
3152
|
+
* close / lock / turn off when this mode arms).
|
|
3153
|
+
*/
|
|
3154
|
+
export declare const NcAlarmSecureOnArmEditSchema: z.ZodObject<{
|
|
3155
|
+
mode: z.ZodEnum<{
|
|
3156
|
+
home: "home";
|
|
3157
|
+
away: "away";
|
|
3158
|
+
night: "night";
|
|
3159
|
+
vacation: "vacation";
|
|
3160
|
+
custom_bypass: "custom_bypass";
|
|
3161
|
+
}>;
|
|
3162
|
+
deviceId: z.ZodNumber;
|
|
3163
|
+
secureOnArm: z.ZodBoolean;
|
|
3164
|
+
}, z.core.$strip>;
|
|
3165
|
+
export type NcAlarmSecureOnArmEdit = z.infer<typeof NcAlarmSecureOnArmEditSchema>;
|
|
3166
|
+
/**
|
|
3167
|
+
* One arm mode's device-id list (non-blocking, blocking, or secure-on-arm-off).
|
|
3168
|
+
*/
|
|
3169
|
+
export declare const NcAlarmModeDeviceListSchema: z.ZodObject<{
|
|
3170
|
+
mode: z.ZodEnum<{
|
|
3171
|
+
home: "home";
|
|
3172
|
+
away: "away";
|
|
3173
|
+
night: "night";
|
|
3174
|
+
vacation: "vacation";
|
|
3175
|
+
custom_bypass: "custom_bypass";
|
|
3176
|
+
}>;
|
|
3177
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3178
|
+
}, z.core.$strip>;
|
|
3179
|
+
export type NcAlarmModeDeviceList = z.infer<typeof NcAlarmModeDeviceListSchema>;
|
|
3134
3180
|
/**
|
|
3135
3181
|
* One arm mode's non-blocking list: devices that may be open when that mode
|
|
3136
3182
|
* arms, without the arm being refused.
|
|
@@ -3146,6 +3192,33 @@ export declare const NcAlarmNonBlockingSchema: z.ZodObject<{
|
|
|
3146
3192
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3147
3193
|
}, z.core.$strip>;
|
|
3148
3194
|
export type NcAlarmNonBlocking = z.infer<typeof NcAlarmNonBlockingSchema>;
|
|
3195
|
+
/** Controllable devices that DO block when open (opt-in; default empty). */
|
|
3196
|
+
export declare const NcAlarmBlockingSchema: z.ZodObject<{
|
|
3197
|
+
mode: z.ZodEnum<{
|
|
3198
|
+
home: "home";
|
|
3199
|
+
away: "away";
|
|
3200
|
+
night: "night";
|
|
3201
|
+
vacation: "vacation";
|
|
3202
|
+
custom_bypass: "custom_bypass";
|
|
3203
|
+
}>;
|
|
3204
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3205
|
+
}, z.core.$strip>;
|
|
3206
|
+
export type NcAlarmBlocking = z.infer<typeof NcAlarmBlockingSchema>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Controllable devices that do NOT secure on arm (opt-out; default empty =
|
|
3209
|
+
* every controllable secures).
|
|
3210
|
+
*/
|
|
3211
|
+
export declare const NcAlarmSecureOnArmOffSchema: z.ZodObject<{
|
|
3212
|
+
mode: z.ZodEnum<{
|
|
3213
|
+
home: "home";
|
|
3214
|
+
away: "away";
|
|
3215
|
+
night: "night";
|
|
3216
|
+
vacation: "vacation";
|
|
3217
|
+
custom_bypass: "custom_bypass";
|
|
3218
|
+
}>;
|
|
3219
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3220
|
+
}, z.core.$strip>;
|
|
3221
|
+
export type NcAlarmSecureOnArmOff = z.infer<typeof NcAlarmSecureOnArmOffSchema>;
|
|
3149
3222
|
/**
|
|
3150
3223
|
* The three durations — global, and per mode since D697 — the panel's state
|
|
3151
3224
|
* machine runs on, who hears about its transitions, and which openings each mode tolerates.
|
|
@@ -3172,6 +3245,26 @@ export declare const NcAlarmSettingsSchema: z.ZodObject<{
|
|
|
3172
3245
|
}>;
|
|
3173
3246
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3174
3247
|
}, z.core.$strip>>>;
|
|
3248
|
+
blocking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3249
|
+
mode: z.ZodEnum<{
|
|
3250
|
+
home: "home";
|
|
3251
|
+
away: "away";
|
|
3252
|
+
night: "night";
|
|
3253
|
+
vacation: "vacation";
|
|
3254
|
+
custom_bypass: "custom_bypass";
|
|
3255
|
+
}>;
|
|
3256
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3257
|
+
}, z.core.$strip>>>;
|
|
3258
|
+
secureOnArmOff: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3259
|
+
mode: z.ZodEnum<{
|
|
3260
|
+
home: "home";
|
|
3261
|
+
away: "away";
|
|
3262
|
+
night: "night";
|
|
3263
|
+
vacation: "vacation";
|
|
3264
|
+
custom_bypass: "custom_bypass";
|
|
3265
|
+
}>;
|
|
3266
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3267
|
+
}, z.core.$strip>>>;
|
|
3175
3268
|
modeDelays: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3176
3269
|
mode: z.ZodEnum<{
|
|
3177
3270
|
home: "home";
|
|
@@ -3189,7 +3282,7 @@ export type NcAlarmSettings = z.infer<typeof NcAlarmSettingsSchema>;
|
|
|
3189
3282
|
/**
|
|
3190
3283
|
* Every field optional — a tab edits one control at a time.
|
|
3191
3284
|
*
|
|
3192
|
-
*
|
|
3285
|
+
* List fields and `modeDelays` are re-declared WITHOUT their defaults:
|
|
3193
3286
|
* `.partial()` does not remove an inner `.default()`, so a patch that never
|
|
3194
3287
|
* named the field would parse to `[]` and wipe every mode's list on an
|
|
3195
3288
|
* unrelated edit (the same trap {@link NcRulePatchSchema} documents). Here
|
|
@@ -3211,6 +3304,26 @@ export declare const NcAlarmSettingsPatchSchema: z.ZodObject<{
|
|
|
3211
3304
|
}>;
|
|
3212
3305
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3213
3306
|
}, z.core.$strip>>>;
|
|
3307
|
+
blocking: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3308
|
+
mode: z.ZodEnum<{
|
|
3309
|
+
home: "home";
|
|
3310
|
+
away: "away";
|
|
3311
|
+
night: "night";
|
|
3312
|
+
vacation: "vacation";
|
|
3313
|
+
custom_bypass: "custom_bypass";
|
|
3314
|
+
}>;
|
|
3315
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3316
|
+
}, z.core.$strip>>>;
|
|
3317
|
+
secureOnArmOff: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3318
|
+
mode: z.ZodEnum<{
|
|
3319
|
+
home: "home";
|
|
3320
|
+
away: "away";
|
|
3321
|
+
night: "night";
|
|
3322
|
+
vacation: "vacation";
|
|
3323
|
+
custom_bypass: "custom_bypass";
|
|
3324
|
+
}>;
|
|
3325
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3326
|
+
}, z.core.$strip>>>;
|
|
3214
3327
|
modeDelays: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3215
3328
|
mode: z.ZodEnum<{
|
|
3216
3329
|
home: "home";
|
|
@@ -3234,6 +3347,28 @@ export declare const NcAlarmSettingsPatchSchema: z.ZodObject<{
|
|
|
3234
3347
|
deviceId: z.ZodNumber;
|
|
3235
3348
|
nonBlocking: z.ZodBoolean;
|
|
3236
3349
|
}, z.core.$strip>>;
|
|
3350
|
+
blockingEdit: z.ZodOptional<z.ZodObject<{
|
|
3351
|
+
mode: z.ZodEnum<{
|
|
3352
|
+
home: "home";
|
|
3353
|
+
away: "away";
|
|
3354
|
+
night: "night";
|
|
3355
|
+
vacation: "vacation";
|
|
3356
|
+
custom_bypass: "custom_bypass";
|
|
3357
|
+
}>;
|
|
3358
|
+
deviceId: z.ZodNumber;
|
|
3359
|
+
blocking: z.ZodBoolean;
|
|
3360
|
+
}, z.core.$strip>>;
|
|
3361
|
+
secureOnArmEdit: z.ZodOptional<z.ZodObject<{
|
|
3362
|
+
mode: z.ZodEnum<{
|
|
3363
|
+
home: "home";
|
|
3364
|
+
away: "away";
|
|
3365
|
+
night: "night";
|
|
3366
|
+
vacation: "vacation";
|
|
3367
|
+
custom_bypass: "custom_bypass";
|
|
3368
|
+
}>;
|
|
3369
|
+
deviceId: z.ZodNumber;
|
|
3370
|
+
secureOnArm: z.ZodBoolean;
|
|
3371
|
+
}, z.core.$strip>>;
|
|
3237
3372
|
}, z.core.$strip>;
|
|
3238
3373
|
export type NcAlarmSettingsPatch = z.infer<typeof NcAlarmSettingsPatchSchema>;
|
|
3239
3374
|
/**
|
|
@@ -3395,6 +3530,26 @@ export declare const NcAlarmConfigSchema: z.ZodObject<{
|
|
|
3395
3530
|
}>;
|
|
3396
3531
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3397
3532
|
}, z.core.$strip>>>;
|
|
3533
|
+
blocking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3534
|
+
mode: z.ZodEnum<{
|
|
3535
|
+
home: "home";
|
|
3536
|
+
away: "away";
|
|
3537
|
+
night: "night";
|
|
3538
|
+
vacation: "vacation";
|
|
3539
|
+
custom_bypass: "custom_bypass";
|
|
3540
|
+
}>;
|
|
3541
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3542
|
+
}, z.core.$strip>>>;
|
|
3543
|
+
secureOnArmOff: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3544
|
+
mode: z.ZodEnum<{
|
|
3545
|
+
home: "home";
|
|
3546
|
+
away: "away";
|
|
3547
|
+
night: "night";
|
|
3548
|
+
vacation: "vacation";
|
|
3549
|
+
custom_bypass: "custom_bypass";
|
|
3550
|
+
}>;
|
|
3551
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
3552
|
+
}, z.core.$strip>>>;
|
|
3398
3553
|
modeDelays: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3399
3554
|
mode: z.ZodEnum<{
|
|
3400
3555
|
home: "home";
|
|
@@ -3507,6 +3662,7 @@ export declare const NcAlarmSensorStateSchema: z.ZodObject<{
|
|
|
3507
3662
|
"unknown-word": "unknown-word";
|
|
3508
3663
|
}>>;
|
|
3509
3664
|
online: z.ZodNullable<z.ZodBoolean>;
|
|
3665
|
+
controllable: z.ZodDefault<z.ZodBoolean>;
|
|
3510
3666
|
}, z.core.$strip>;
|
|
3511
3667
|
export type NcAlarmSensorState = z.infer<typeof NcAlarmSensorStateSchema>;
|
|
3512
3668
|
export declare const NcAlarmSensorsInputSchema: z.ZodObject<{
|
|
@@ -3528,6 +3684,7 @@ export declare const NcAlarmSensorsSchema: z.ZodObject<{
|
|
|
3528
3684
|
"unknown-word": "unknown-word";
|
|
3529
3685
|
}>>;
|
|
3530
3686
|
online: z.ZodNullable<z.ZodBoolean>;
|
|
3687
|
+
controllable: z.ZodDefault<z.ZodBoolean>;
|
|
3531
3688
|
}, z.core.$strip>>;
|
|
3532
3689
|
readAt: z.ZodNumber;
|
|
3533
3690
|
}, z.core.$strip>;
|
|
@@ -6676,6 +6833,26 @@ export declare const notificationRulesCapability: {
|
|
|
6676
6833
|
}>;
|
|
6677
6834
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6678
6835
|
}, z.core.$strip>>>;
|
|
6836
|
+
blocking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6837
|
+
mode: z.ZodEnum<{
|
|
6838
|
+
home: "home";
|
|
6839
|
+
away: "away";
|
|
6840
|
+
night: "night";
|
|
6841
|
+
vacation: "vacation";
|
|
6842
|
+
custom_bypass: "custom_bypass";
|
|
6843
|
+
}>;
|
|
6844
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6845
|
+
}, z.core.$strip>>>;
|
|
6846
|
+
secureOnArmOff: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6847
|
+
mode: z.ZodEnum<{
|
|
6848
|
+
home: "home";
|
|
6849
|
+
away: "away";
|
|
6850
|
+
night: "night";
|
|
6851
|
+
vacation: "vacation";
|
|
6852
|
+
custom_bypass: "custom_bypass";
|
|
6853
|
+
}>;
|
|
6854
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6855
|
+
}, z.core.$strip>>>;
|
|
6679
6856
|
modeDelays: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6680
6857
|
mode: z.ZodEnum<{
|
|
6681
6858
|
home: "home";
|
|
@@ -6789,6 +6966,26 @@ export declare const notificationRulesCapability: {
|
|
|
6789
6966
|
}>;
|
|
6790
6967
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6791
6968
|
}, z.core.$strip>>>;
|
|
6969
|
+
blocking: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6970
|
+
mode: z.ZodEnum<{
|
|
6971
|
+
home: "home";
|
|
6972
|
+
away: "away";
|
|
6973
|
+
night: "night";
|
|
6974
|
+
vacation: "vacation";
|
|
6975
|
+
custom_bypass: "custom_bypass";
|
|
6976
|
+
}>;
|
|
6977
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6978
|
+
}, z.core.$strip>>>;
|
|
6979
|
+
secureOnArmOff: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6980
|
+
mode: z.ZodEnum<{
|
|
6981
|
+
home: "home";
|
|
6982
|
+
away: "away";
|
|
6983
|
+
night: "night";
|
|
6984
|
+
vacation: "vacation";
|
|
6985
|
+
custom_bypass: "custom_bypass";
|
|
6986
|
+
}>;
|
|
6987
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6988
|
+
}, z.core.$strip>>>;
|
|
6792
6989
|
modeDelays: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6793
6990
|
mode: z.ZodEnum<{
|
|
6794
6991
|
home: "home";
|
|
@@ -6812,6 +7009,28 @@ export declare const notificationRulesCapability: {
|
|
|
6812
7009
|
deviceId: z.ZodNumber;
|
|
6813
7010
|
nonBlocking: z.ZodBoolean;
|
|
6814
7011
|
}, z.core.$strip>>;
|
|
7012
|
+
blockingEdit: z.ZodOptional<z.ZodObject<{
|
|
7013
|
+
mode: z.ZodEnum<{
|
|
7014
|
+
home: "home";
|
|
7015
|
+
away: "away";
|
|
7016
|
+
night: "night";
|
|
7017
|
+
vacation: "vacation";
|
|
7018
|
+
custom_bypass: "custom_bypass";
|
|
7019
|
+
}>;
|
|
7020
|
+
deviceId: z.ZodNumber;
|
|
7021
|
+
blocking: z.ZodBoolean;
|
|
7022
|
+
}, z.core.$strip>>;
|
|
7023
|
+
secureOnArmEdit: z.ZodOptional<z.ZodObject<{
|
|
7024
|
+
mode: z.ZodEnum<{
|
|
7025
|
+
home: "home";
|
|
7026
|
+
away: "away";
|
|
7027
|
+
night: "night";
|
|
7028
|
+
vacation: "vacation";
|
|
7029
|
+
custom_bypass: "custom_bypass";
|
|
7030
|
+
}>;
|
|
7031
|
+
deviceId: z.ZodNumber;
|
|
7032
|
+
secureOnArm: z.ZodBoolean;
|
|
7033
|
+
}, z.core.$strip>>;
|
|
6815
7034
|
}, z.core.$strip>;
|
|
6816
7035
|
}, z.core.$strip>, z.ZodObject<{
|
|
6817
7036
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6831,6 +7050,26 @@ export declare const notificationRulesCapability: {
|
|
|
6831
7050
|
}>;
|
|
6832
7051
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
6833
7052
|
}, z.core.$strip>>>;
|
|
7053
|
+
blocking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7054
|
+
mode: z.ZodEnum<{
|
|
7055
|
+
home: "home";
|
|
7056
|
+
away: "away";
|
|
7057
|
+
night: "night";
|
|
7058
|
+
vacation: "vacation";
|
|
7059
|
+
custom_bypass: "custom_bypass";
|
|
7060
|
+
}>;
|
|
7061
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
7062
|
+
}, z.core.$strip>>>;
|
|
7063
|
+
secureOnArmOff: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7064
|
+
mode: z.ZodEnum<{
|
|
7065
|
+
home: "home";
|
|
7066
|
+
away: "away";
|
|
7067
|
+
night: "night";
|
|
7068
|
+
vacation: "vacation";
|
|
7069
|
+
custom_bypass: "custom_bypass";
|
|
7070
|
+
}>;
|
|
7071
|
+
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
7072
|
+
}, z.core.$strip>>>;
|
|
6834
7073
|
modeDelays: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6835
7074
|
mode: z.ZodEnum<{
|
|
6836
7075
|
home: "home";
|
|
@@ -6942,6 +7181,7 @@ export declare const notificationRulesCapability: {
|
|
|
6942
7181
|
"unknown-word": "unknown-word";
|
|
6943
7182
|
}>>;
|
|
6944
7183
|
online: z.ZodNullable<z.ZodBoolean>;
|
|
7184
|
+
controllable: z.ZodDefault<z.ZodBoolean>;
|
|
6945
7185
|
}, z.core.$strip>>;
|
|
6946
7186
|
readAt: z.ZodNumber;
|
|
6947
7187
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -13,12 +13,23 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
13
13
|
* conditions it is shown at all. Named TEMPLATES combine many device
|
|
14
14
|
* fields into one overlay string (Scrypted OSD Manager parity).
|
|
15
15
|
*/
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* How a parser token expands one binding. Not stored on the binding —
|
|
18
|
+
* the parser picks the mode per insert (`{alias.value}` / `.unit` / `.full`).
|
|
19
|
+
*/
|
|
20
|
+
export declare const OsdTemplateTokenKindSchema: z.ZodEnum<{
|
|
21
|
+
value: "value";
|
|
22
|
+
full: "full";
|
|
23
|
+
unit: "unit";
|
|
24
|
+
}>;
|
|
25
|
+
export type OsdTemplateTokenKind = z.infer<typeof OsdTemplateTokenKindSchema>;
|
|
26
|
+
/** @deprecated Use `OsdTemplateTokenKind` — kept for generated import churn. */
|
|
17
27
|
export declare const OsdTemplateFormatSchema: z.ZodEnum<{
|
|
18
28
|
value: "value";
|
|
19
29
|
unit: "unit";
|
|
20
30
|
"value+unit": "value+unit";
|
|
21
31
|
}>;
|
|
32
|
+
/** @deprecated Use `OsdTemplateTokenKind`. */
|
|
22
33
|
export type OsdTemplateFormat = z.infer<typeof OsdTemplateFormatSchema>;
|
|
23
34
|
/**
|
|
24
35
|
* How the operator reached the leaf device. `deviceId` is ALWAYS the
|
|
@@ -31,8 +42,10 @@ export declare const OsdTemplatePickSchema: z.ZodObject<{
|
|
|
31
42
|
}, z.core.$strip>;
|
|
32
43
|
export type OsdTemplatePick = z.infer<typeof OsdTemplatePickSchema>;
|
|
33
44
|
/**
|
|
34
|
-
* One named binding inside a multi-device template
|
|
35
|
-
*
|
|
45
|
+
* One named binding inside a multi-device template: device path + unit
|
|
46
|
+
* selection + precision. The parser expands `{alias}`, `{alias.value}`,
|
|
47
|
+
* `{alias.unit}`, or `{alias.full}` from the same binding — there is no
|
|
48
|
+
* per-binding format lock.
|
|
36
49
|
*/
|
|
37
50
|
export declare const OsdTemplateBindingSchema: z.ZodObject<{
|
|
38
51
|
alias: z.ZodString;
|
|
@@ -42,18 +55,13 @@ export declare const OsdTemplateBindingSchema: z.ZodObject<{
|
|
|
42
55
|
}, z.core.$strip>;
|
|
43
56
|
capName: z.ZodString;
|
|
44
57
|
valuePath: z.ZodString;
|
|
45
|
-
format: z.ZodDefault<z.ZodEnum<{
|
|
46
|
-
value: "value";
|
|
47
|
-
unit: "unit";
|
|
48
|
-
"value+unit": "value+unit";
|
|
49
|
-
}>>;
|
|
50
58
|
displayUnit: z.ZodOptional<z.ZodString>;
|
|
51
59
|
maxDecimals: z.ZodDefault<z.ZodNumber>;
|
|
52
60
|
}, z.core.$strip>;
|
|
53
61
|
export type OsdTemplateBinding = z.infer<typeof OsdTemplateBindingSchema>;
|
|
54
62
|
/**
|
|
55
|
-
* A named template: bindings (alias → leaf field) + a parser that
|
|
56
|
-
* references `{alias}`
|
|
63
|
+
* A named template: bindings (alias → leaf field) + a parser that
|
|
64
|
+
* references `{alias}` / `{alias.value}` / `{alias.unit}` / `{alias.full}`.
|
|
57
65
|
*/
|
|
58
66
|
export declare const OsdNamedTemplateSchema: z.ZodObject<{
|
|
59
67
|
id: z.ZodString;
|
|
@@ -66,11 +74,6 @@ export declare const OsdNamedTemplateSchema: z.ZodObject<{
|
|
|
66
74
|
}, z.core.$strip>;
|
|
67
75
|
capName: z.ZodString;
|
|
68
76
|
valuePath: z.ZodString;
|
|
69
|
-
format: z.ZodDefault<z.ZodEnum<{
|
|
70
|
-
value: "value";
|
|
71
|
-
unit: "unit";
|
|
72
|
-
"value+unit": "value+unit";
|
|
73
|
-
}>>;
|
|
74
77
|
displayUnit: z.ZodOptional<z.ZodString>;
|
|
75
78
|
maxDecimals: z.ZodDefault<z.ZodNumber>;
|
|
76
79
|
}, z.core.$strip>>>;
|
|
@@ -1463,11 +1466,6 @@ export declare const osdManagerCapability: {
|
|
|
1463
1466
|
}, z.core.$strip>;
|
|
1464
1467
|
capName: z.ZodString;
|
|
1465
1468
|
valuePath: z.ZodString;
|
|
1466
|
-
format: z.ZodDefault<z.ZodEnum<{
|
|
1467
|
-
value: "value";
|
|
1468
|
-
unit: "unit";
|
|
1469
|
-
"value+unit": "value+unit";
|
|
1470
|
-
}>>;
|
|
1471
1469
|
displayUnit: z.ZodOptional<z.ZodString>;
|
|
1472
1470
|
maxDecimals: z.ZodDefault<z.ZodNumber>;
|
|
1473
1471
|
}, z.core.$strip>>>;
|
|
@@ -1490,11 +1488,6 @@ export declare const osdManagerCapability: {
|
|
|
1490
1488
|
}, z.core.$strip>;
|
|
1491
1489
|
capName: z.ZodString;
|
|
1492
1490
|
valuePath: z.ZodString;
|
|
1493
|
-
format: z.ZodDefault<z.ZodEnum<{
|
|
1494
|
-
value: "value";
|
|
1495
|
-
unit: "unit";
|
|
1496
|
-
"value+unit": "value+unit";
|
|
1497
|
-
}>>;
|
|
1498
1491
|
displayUnit: z.ZodOptional<z.ZodString>;
|
|
1499
1492
|
maxDecimals: z.ZodDefault<z.ZodNumber>;
|
|
1500
1493
|
}, z.core.$strip>>>;
|
|
@@ -1512,11 +1505,6 @@ export declare const osdManagerCapability: {
|
|
|
1512
1505
|
}, z.core.$strip>;
|
|
1513
1506
|
capName: z.ZodString;
|
|
1514
1507
|
valuePath: z.ZodString;
|
|
1515
|
-
format: z.ZodDefault<z.ZodEnum<{
|
|
1516
|
-
value: "value";
|
|
1517
|
-
unit: "unit";
|
|
1518
|
-
"value+unit": "value+unit";
|
|
1519
|
-
}>>;
|
|
1520
1508
|
displayUnit: z.ZodOptional<z.ZodString>;
|
|
1521
1509
|
maxDecimals: z.ZodDefault<z.ZodNumber>;
|
|
1522
1510
|
}, z.core.$strip>>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -238,8 +238,9 @@ export { type PreparedAction, type PreparedAttachment, type PreparedNotification
|
|
|
238
238
|
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
239
239
|
export { conditionExclusionReason, conditionVisibleForKind, defaultDeliveryForSection, droppedConditionsForKind, isAudioRule, isOccupancyRule, isSystemDelivery, isSystemRuleKind, kindsForDiscriminator, NC_AUDIO_SEED, NC_CAMERA_SCOPE_CAP_NAME, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SYSTEM_DELIVERY, NC_SYSTEM_RULE_KINDS, type NcDroppedCondition, type NcKindVisibilitySubject, type NcRuleEditorSection, type NcRuleEditorSectionKey, type NcRuleKind, type NcRuleKindSpec, type NcRuleOwningSectionKey, type NcRuleSection, type NcRuleSectionKey, type NcRuleConditionsSubject, type NcRuleSectionSubject, type NcRuleSeed, parseRuleSection, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, systemFamilyOfKind, systemRuleKindOf, } from './notification/rule-kinds.js';
|
|
240
240
|
export { isScheduleActive } from './notification/schedule.js';
|
|
241
|
-
export { NC_ALARM_OPENING_EVENT_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, type NcAlarmMembershipSubject, type NcAlarmOpeningEventKind, ruleBelongsToAlarm, sensorTransitionNeverFires, } from './notification/alarm-membership.js';
|
|
242
|
-
export {
|
|
241
|
+
export { isAlarmControllableCap, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_OPENING_EVENT_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, type NcAlarmControllableCap, type NcAlarmMembershipSubject, type NcAlarmOpeningEventKind, ruleBelongsToAlarm, sensorTransitionNeverFires, } from './notification/alarm-membership.js';
|
|
242
|
+
export { alarmDeviceBlocksArming, alarmDeviceSecureOnArm, type AlarmDeviceBlocksInput, type AlarmDeviceSecureOnArmInput, type NcAlarmSecureActuation, secureActuationFor, } from './notification/alarm-controllable.js';
|
|
243
|
+
export { alarmPatchLanded, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyNonBlockingEdit, applySecureOnArmEdit, NC_ALARM_DELAY_FIELDS, type NcAlarmDelayField, type NcAlarmDelaySettings, type NcAlarmDelaySource, type NcAlarmModeDeviceListEditResult, type NcAlarmNonBlockingEditResult, type NcAlarmResolvedDelays, resolveModeDelays, } from './notification/alarm-settings.js';
|
|
243
244
|
export { NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, sensorRaisedOf, sensorTransitionOffered, } from './notification/sensor-raised.js';
|
|
244
245
|
export { NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, isHeldBackTemplateVar, isKnownTemplateVar, servedTemplateVars, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
|
|
245
246
|
export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
|