@camstack/types 1.2.295 → 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.
@@ -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';
@@ -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
- * `nonBlocking` and `modeDelays` are re-declared WITHOUT their defaults:
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>;
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 { alarmPatchLanded, applyModeDelaysEdits, applyNonBlockingEdit, NC_ALARM_DELAY_FIELDS, type NcAlarmDelayField, type NcAlarmDelaySettings, type NcAlarmDelaySource, type NcAlarmNonBlockingEditResult, type NcAlarmResolvedDelays, resolveModeDelays, } from './notification/alarm-settings.js';
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';