@camstack/types 1.2.310 → 1.2.311
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/hub-address.d.ts +60 -51
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +149 -147
- package/dist/capabilities/notification-rules.cap.d.ts +12 -0
- package/dist/client.js +15 -3
- package/dist/client.mjs +15 -3
- package/dist/index.js +124 -106
- package/dist/index.mjs +118 -100
- package/dist/notification/alarm-settings.d.ts +6 -3
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@ export type NcAlarmDelaySource = 'mode' | 'default';
|
|
|
16
16
|
* all read this one constant.
|
|
17
17
|
*/
|
|
18
18
|
export declare const NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC = 30;
|
|
19
|
-
/** The per-mode notification switches (D706),
|
|
20
|
-
export type NcAlarmNotifyField = 'notifyDuringEntryDelay' | 'notifySensorRewatched';
|
|
19
|
+
/** The per-mode notification switches (D706, D735), all off unless the mode sets them. */
|
|
20
|
+
export type NcAlarmNotifyField = 'notifyDuringEntryDelay' | 'notifySensorRewatched' | 'notifySensorIgnored';
|
|
21
21
|
export declare const NC_ALARM_NOTIFY_FIELDS: readonly NcAlarmNotifyField[];
|
|
22
22
|
/** What one mode's notification switches resolve to (D706). */
|
|
23
23
|
export interface NcAlarmModeNotifyPolicy {
|
|
@@ -25,11 +25,14 @@ export interface NcAlarmModeNotifyPolicy {
|
|
|
25
25
|
readonly notifyDuringEntryDelay: boolean;
|
|
26
26
|
/** A bypassed sensor that rejoins the watch is announced. */
|
|
27
27
|
readonly notifySensorRewatched: boolean;
|
|
28
|
+
/** A bypassed sensor that really MOVED while armed, and was ignored, is announced (D735). */
|
|
29
|
+
readonly notifySensorIgnored: boolean;
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
30
32
|
* The switches `mode` runs on. There is no global value: absent is OFF (operator decision
|
|
31
33
|
* 2026-10-06 — the entry-delay notification is the only one by default, and "watched again"
|
|
32
|
-
* is not sent). An answer from an older hub carries no
|
|
34
|
+
* is not sent; 2026-10-07 — nor is "ignored", D735). An answer from an older hub carries no
|
|
35
|
+
* switch and reads as off.
|
|
33
36
|
*/
|
|
34
37
|
export declare function resolveModeNotifyPolicy(settings: {
|
|
35
38
|
readonly modeDelays?: readonly NcAlarmModeDelays[];
|