@camstack/types 1.2.287 → 1.2.289
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 +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +42 -25
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +570 -73
- package/dist/index.mjs +565 -74
- package/dist/notification/rule-kinds.d.ts +8 -0
- package/package.json +1 -1
|
@@ -86,7 +86,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema,
|
|
|
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, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_TRIGGERED_MAX_SEC, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
89
|
+
export { consumableLowPercentOf, type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, isRetiredClearKey, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_TRIGGERED_MAX_SEC, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
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';
|
|
@@ -1000,6 +1000,19 @@ export declare const NcConfirmSchema: z.ZodObject<{
|
|
|
1000
1000
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1001
1001
|
}, z.core.$strip>;
|
|
1002
1002
|
export type NcConfirm = z.infer<typeof NcConfirmSchema>;
|
|
1003
|
+
/**
|
|
1004
|
+
* IMMEDIATE GROUPED (D692) — the window bounds. ONE owner; both editors import them.
|
|
1005
|
+
* MIN: below it nothing has time to be promoted, and operator decision 1 (2026-10-01) makes
|
|
1006
|
+
* it the window's floor too — a window never closes earlier, so companions arriving
|
|
1007
|
+
* together share one message.
|
|
1008
|
+
* DEFAULT: equals the tracker's face-settle cap (`FACE_SETTLE_HOLD_MS`, D683 (f)); what an
|
|
1009
|
+
* editor PRE-FILLS, never what absence means (absent = plain immediate).
|
|
1010
|
+
* MAX: equals {@link NC_CLIP_RETENTION_MAX_SEC} — past it a gif/clip is always a recordings cut,
|
|
1011
|
+
* and a lock-screen alert a minute late has lost its purpose.
|
|
1012
|
+
*/
|
|
1013
|
+
export declare const NC_GROUPING_MIN_SEC = 5;
|
|
1014
|
+
export declare const NC_GROUPING_DEFAULT_SEC = 20;
|
|
1015
|
+
export declare const NC_GROUPING_MAX_SEC = 60;
|
|
1003
1016
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
1004
1017
|
export declare const NcRuleInputSchema: z.ZodObject<{
|
|
1005
1018
|
name: z.ZodString;
|
|
@@ -1290,8 +1303,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1290
1303
|
}>>;
|
|
1291
1304
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1292
1305
|
}, z.core.$strip>>;
|
|
1293
|
-
|
|
1294
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
1306
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
1295
1307
|
}, z.core.$strip>;
|
|
1296
1308
|
export type NcRuleInput = z.infer<typeof NcRuleInputSchema>;
|
|
1297
1309
|
/**
|
|
@@ -1415,8 +1427,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1415
1427
|
}>>;
|
|
1416
1428
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1417
1429
|
}, z.core.$strip>>>;
|
|
1418
|
-
|
|
1419
|
-
groupIdleSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1430
|
+
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1420
1431
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1421
1432
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1422
1433
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -1597,6 +1608,19 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1597
1608
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1598
1609
|
}, z.core.$strip>;
|
|
1599
1610
|
export type NcRulePatch = z.infer<typeof NcRulePatchSchema>;
|
|
1611
|
+
/**
|
|
1612
|
+
* Keys an older client may still name in `clear` (D692 §2.3). Accepted so its saves are never
|
|
1613
|
+
* refused. They are no longer rule fields: `NcRuleStore.update` only strips them from the
|
|
1614
|
+
* STORED row, and `NcRuleStore.load` projects what a stored row still carries (D692 §9).
|
|
1615
|
+
* Removed one release after the viewer pin in camstack-server stops sending them.
|
|
1616
|
+
*/
|
|
1617
|
+
export declare const NC_RULE_RETIRED_CLEAR_KEYS: readonly ["waitForEnhancement", "groupIdleSec"];
|
|
1618
|
+
/**
|
|
1619
|
+
* Is this clearable key one of the retired ones? A type guard, so the store can split the
|
|
1620
|
+
* `clear` list WITHOUT a cast: a retired key is no property of `NcRulePatch` or `NcRule`, and
|
|
1621
|
+
* indexing either with it does not compile.
|
|
1622
|
+
*/
|
|
1623
|
+
export declare function isRetiredClearKey(key: string): key is (typeof NC_RULE_RETIRED_CLEAR_KEYS)[number];
|
|
1600
1624
|
/**
|
|
1601
1625
|
* Optional rule fields an editor may EMPTY on an update.
|
|
1602
1626
|
*
|
|
@@ -1607,7 +1631,7 @@ export type NcRulePatch = z.infer<typeof NcRulePatchSchema>;
|
|
|
1607
1631
|
* merge. A `schedule` cannot be sent empty at all (`windows.min(1)`), so this
|
|
1608
1632
|
* is the only way to remove one.
|
|
1609
1633
|
*/
|
|
1610
|
-
export declare const NC_RULE_CLEARABLE_KEYS: readonly ["template", "schedule", "targetUsers", "snoozeOptions", "snoozeAllowGlobal", "
|
|
1634
|
+
export declare const NC_RULE_CLEARABLE_KEYS: readonly ["template", "schedule", "targetUsers", "snoozeOptions", "snoozeAllowGlobal", "actions", "confirm", "groupingSec", "waitForEnhancement", "groupIdleSec"];
|
|
1611
1635
|
export declare const NcRuleClearableKeySchema: z.ZodEnum<{
|
|
1612
1636
|
confirm: "confirm";
|
|
1613
1637
|
schedule: "schedule";
|
|
@@ -1616,6 +1640,7 @@ export declare const NcRuleClearableKeySchema: z.ZodEnum<{
|
|
|
1616
1640
|
template: "template";
|
|
1617
1641
|
snoozeAllowGlobal: "snoozeAllowGlobal";
|
|
1618
1642
|
snoozeOptions: "snoozeOptions";
|
|
1643
|
+
groupingSec: "groupingSec";
|
|
1619
1644
|
waitForEnhancement: "waitForEnhancement";
|
|
1620
1645
|
groupIdleSec: "groupIdleSec";
|
|
1621
1646
|
}>;
|
|
@@ -1734,8 +1759,7 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1734
1759
|
}>>;
|
|
1735
1760
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1736
1761
|
}, z.core.$strip>>>;
|
|
1737
|
-
|
|
1738
|
-
groupIdleSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1762
|
+
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1739
1763
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1740
1764
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1741
1765
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -1923,6 +1947,7 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1923
1947
|
template: "template";
|
|
1924
1948
|
snoozeAllowGlobal: "snoozeAllowGlobal";
|
|
1925
1949
|
snoozeOptions: "snoozeOptions";
|
|
1950
|
+
groupingSec: "groupingSec";
|
|
1926
1951
|
waitForEnhancement: "waitForEnhancement";
|
|
1927
1952
|
groupIdleSec: "groupIdleSec";
|
|
1928
1953
|
}>>>;
|
|
@@ -2218,8 +2243,7 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2218
2243
|
}>>;
|
|
2219
2244
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
2220
2245
|
}, z.core.$strip>>;
|
|
2221
|
-
|
|
2222
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
2246
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
2223
2247
|
id: z.ZodString;
|
|
2224
2248
|
createdBy: z.ZodString;
|
|
2225
2249
|
createdAt: z.ZodNumber;
|
|
@@ -3818,8 +3842,7 @@ export declare const notificationRulesCapability: {
|
|
|
3818
3842
|
}>>;
|
|
3819
3843
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
3820
3844
|
}, z.core.$strip>>;
|
|
3821
|
-
|
|
3822
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
3845
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
3823
3846
|
id: z.ZodString;
|
|
3824
3847
|
createdBy: z.ZodString;
|
|
3825
3848
|
createdAt: z.ZodNumber;
|
|
@@ -4119,8 +4142,7 @@ export declare const notificationRulesCapability: {
|
|
|
4119
4142
|
}>>;
|
|
4120
4143
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
4121
4144
|
}, z.core.$strip>>;
|
|
4122
|
-
|
|
4123
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
4145
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
4124
4146
|
id: z.ZodString;
|
|
4125
4147
|
createdBy: z.ZodString;
|
|
4126
4148
|
createdAt: z.ZodNumber;
|
|
@@ -4418,8 +4440,7 @@ export declare const notificationRulesCapability: {
|
|
|
4418
4440
|
}>>;
|
|
4419
4441
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
4420
4442
|
}, z.core.$strip>>;
|
|
4421
|
-
|
|
4422
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
4443
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
4423
4444
|
}, z.core.$strip>;
|
|
4424
4445
|
}, z.core.$strip>, z.ZodObject<{
|
|
4425
4446
|
rule: z.ZodObject<{
|
|
@@ -4711,8 +4732,7 @@ export declare const notificationRulesCapability: {
|
|
|
4711
4732
|
}>>;
|
|
4712
4733
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
4713
4734
|
}, z.core.$strip>>;
|
|
4714
|
-
|
|
4715
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
4735
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
4716
4736
|
id: z.ZodString;
|
|
4717
4737
|
createdBy: z.ZodString;
|
|
4718
4738
|
createdAt: z.ZodNumber;
|
|
@@ -4836,8 +4856,7 @@ export declare const notificationRulesCapability: {
|
|
|
4836
4856
|
}>>;
|
|
4837
4857
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
4838
4858
|
}, z.core.$strip>>>;
|
|
4839
|
-
|
|
4840
|
-
groupIdleSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4859
|
+
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4841
4860
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4842
4861
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4843
4862
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -5025,6 +5044,7 @@ export declare const notificationRulesCapability: {
|
|
|
5025
5044
|
template: "template";
|
|
5026
5045
|
snoozeAllowGlobal: "snoozeAllowGlobal";
|
|
5027
5046
|
snoozeOptions: "snoozeOptions";
|
|
5047
|
+
groupingSec: "groupingSec";
|
|
5028
5048
|
waitForEnhancement: "waitForEnhancement";
|
|
5029
5049
|
groupIdleSec: "groupIdleSec";
|
|
5030
5050
|
}>>>;
|
|
@@ -5318,8 +5338,7 @@ export declare const notificationRulesCapability: {
|
|
|
5318
5338
|
}>>;
|
|
5319
5339
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
5320
5340
|
}, z.core.$strip>>;
|
|
5321
|
-
|
|
5322
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
5341
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
5323
5342
|
id: z.ZodString;
|
|
5324
5343
|
createdBy: z.ZodString;
|
|
5325
5344
|
createdAt: z.ZodNumber;
|
|
@@ -5699,8 +5718,7 @@ export declare const notificationRulesCapability: {
|
|
|
5699
5718
|
}>>;
|
|
5700
5719
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
5701
5720
|
}, z.core.$strip>>;
|
|
5702
|
-
|
|
5703
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
5721
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
5704
5722
|
}, z.core.$strip>;
|
|
5705
5723
|
lookbackMinutes: z.ZodDefault<z.ZodNumber>;
|
|
5706
5724
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -6017,8 +6035,7 @@ export declare const notificationRulesCapability: {
|
|
|
6017
6035
|
}>>;
|
|
6018
6036
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
6019
6037
|
}, z.core.$strip>>;
|
|
6020
|
-
|
|
6021
|
-
groupIdleSec: z.ZodOptional<z.ZodNumber>;
|
|
6038
|
+
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
6022
6039
|
}, z.core.$strip>;
|
|
6023
6040
|
}, z.core.$strip>, z.ZodObject<{
|
|
6024
6041
|
empty: z.ZodBoolean;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
10
|
-
*
|
|
9
|
+
* Coverage: 509 methods carry a device reference, of which
|
|
10
|
+
* 160 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
13
13
|
* a numeric device field (targets[].deviceId) are all mapped; the matcher
|
package/dist/index.d.ts
CHANGED
|
@@ -236,7 +236,7 @@ export { audioIsFailClosed, audioKindId, audioLabelChoices, audioModeOf, audioOr
|
|
|
236
236
|
export { isAudioClassName, isBaseConditionKey, knownValues, NC_BASE_CONDITION_KEYS, type NcBaseConditionKey, pickerForCondition, pickerForRuleClasses, type TaxonomyGroup, type TaxonomyOption, type TaxonomyPicker, } from './notification/condition-taxonomy.js';
|
|
237
237
|
export { type PreparedAction, type PreparedAttachment, type PreparedNotification, prepareNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
238
238
|
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
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 NcRuleSectionSubject, type NcRuleSeed, parseRuleSection, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, systemFamilyOfKind, systemRuleKindOf, } from './notification/rule-kinds.js';
|
|
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
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
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';
|