@camstack/types 1.2.295 → 1.2.297
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -1
- package/dist/capabilities/calendar-source.cap.d.ts +75 -0
- package/dist/capabilities/calendars.cap.d.ts +68 -0
- package/dist/capabilities/index.d.ts +8 -2
- package/dist/capabilities/notification-rules.cap.d.ts +241 -1
- package/dist/generated/addon-api.d.ts +52 -0
- package/dist/generated/capability-router-map.d.ts +10 -4
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +321 -14
- package/dist/index.mjs +300 -15
- 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
package/dist/addon.js
CHANGED
|
@@ -308,13 +308,14 @@ function materialise(defaults) {
|
|
|
308
308
|
* barrel (`ALL_CAPABILITY_DEFINITIONS`), which would cost ~144MB RSS per
|
|
309
309
|
* forked runner. See docs/decisions/adr-0028.md.
|
|
310
310
|
*
|
|
311
|
-
* Coverage:
|
|
311
|
+
* Coverage: 25 collection caps, 41 array methods.
|
|
312
312
|
*/
|
|
313
313
|
var COLLECTION_ARRAY_METHODS = Object.freeze({
|
|
314
314
|
"addon-pages-source": ["listPages"],
|
|
315
315
|
"addon-routes": ["getRoutes"],
|
|
316
316
|
"addon-widgets-source": ["listWidgets"],
|
|
317
317
|
"broker": ["list", "listProviders"],
|
|
318
|
+
"calendar-source": ["listCalendars", "listEvents"],
|
|
318
319
|
"custom-model-registry": ["listModels"],
|
|
319
320
|
"data-store-provider": ["histogram", "query"],
|
|
320
321
|
"device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
|
package/dist/addon.mjs
CHANGED
|
@@ -307,13 +307,14 @@ function materialise(defaults) {
|
|
|
307
307
|
* barrel (`ALL_CAPABILITY_DEFINITIONS`), which would cost ~144MB RSS per
|
|
308
308
|
* forked runner. See docs/decisions/adr-0028.md.
|
|
309
309
|
*
|
|
310
|
-
* Coverage:
|
|
310
|
+
* Coverage: 25 collection caps, 41 array methods.
|
|
311
311
|
*/
|
|
312
312
|
var COLLECTION_ARRAY_METHODS = Object.freeze({
|
|
313
313
|
"addon-pages-source": ["listPages"],
|
|
314
314
|
"addon-routes": ["getRoutes"],
|
|
315
315
|
"addon-widgets-source": ["listWidgets"],
|
|
316
316
|
"broker": ["list", "listProviders"],
|
|
317
|
+
"calendar-source": ["listCalendars", "listEvents"],
|
|
317
318
|
"custom-model-registry": ["listModels"],
|
|
318
319
|
"data-store-provider": ["histogram", "query"],
|
|
319
320
|
"device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
/**
|
|
4
|
+
* `calendar-source` — collection cap exposing per-provider calendars and
|
|
5
|
+
* their events. Every addon that contributes calendars (Home Assistant,
|
|
6
|
+
* a future Google Calendar addon, …) registers a provider here. The hub
|
|
7
|
+
* singleton `calendars` walks the collection and merges the answers.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors `addon-pages-source`: the public listing is a different shape
|
|
10
|
+
* (source-stamped ids) and lives on the aggregator.
|
|
11
|
+
*/
|
|
12
|
+
export declare const CalendarSourceKindSchema: z.ZodEnum<{
|
|
13
|
+
addon: "addon";
|
|
14
|
+
ha: "ha";
|
|
15
|
+
}>;
|
|
16
|
+
export type CalendarSourceKind = z.infer<typeof CalendarSourceKindSchema>;
|
|
17
|
+
export declare const CalendarInfoSchema: z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
source: z.ZodEnum<{
|
|
21
|
+
addon: "addon";
|
|
22
|
+
ha: "ha";
|
|
23
|
+
}>;
|
|
24
|
+
enabled: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type CalendarInfo = z.infer<typeof CalendarInfoSchema>;
|
|
27
|
+
export declare const CalendarEventSchema: z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
calendarId: z.ZodString;
|
|
30
|
+
title: z.ZodString;
|
|
31
|
+
startMs: z.ZodNumber;
|
|
32
|
+
endMs: z.ZodNumber;
|
|
33
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
description: z.ZodOptional<z.ZodString>;
|
|
35
|
+
location: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type CalendarEvent = z.infer<typeof CalendarEventSchema>;
|
|
38
|
+
export declare const CalendarListEventsInputSchema: z.ZodObject<{
|
|
39
|
+
calendarIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
startMs: z.ZodNumber;
|
|
41
|
+
endMs: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type CalendarListEventsInput = z.infer<typeof CalendarListEventsInputSchema>;
|
|
44
|
+
export declare const calendarSourceCapability: {
|
|
45
|
+
readonly name: "calendar-source";
|
|
46
|
+
readonly scope: "system";
|
|
47
|
+
readonly mode: "collection";
|
|
48
|
+
readonly internal: true;
|
|
49
|
+
readonly methods: {
|
|
50
|
+
readonly listCalendars: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
source: z.ZodEnum<{
|
|
54
|
+
addon: "addon";
|
|
55
|
+
ha: "ha";
|
|
56
|
+
}>;
|
|
57
|
+
enabled: z.ZodBoolean;
|
|
58
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
59
|
+
readonly listEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
60
|
+
calendarIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
+
startMs: z.ZodNumber;
|
|
62
|
+
endMs: z.ZodNumber;
|
|
63
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
calendarId: z.ZodString;
|
|
66
|
+
title: z.ZodString;
|
|
67
|
+
startMs: z.ZodNumber;
|
|
68
|
+
endMs: z.ZodNumber;
|
|
69
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
description: z.ZodOptional<z.ZodString>;
|
|
71
|
+
location: z.ZodOptional<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export type ICalendarSourceProvider = InferProvider<typeof calendarSourceCapability>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
import { CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarSourceKindSchema } from './calendar-source.cap.js';
|
|
4
|
+
/**
|
|
5
|
+
* `calendars` — system-scoped singleton. Public surface admin-ui and the
|
|
6
|
+
* notification-center calendar-events producer consume.
|
|
7
|
+
*
|
|
8
|
+
* Walks every `calendar-source` provider, stamps each calendar with a
|
|
9
|
+
* cluster-stable id (`<sourceAddonId>:<localId>`) and the providing
|
|
10
|
+
* addon's id, and fans `listEvents` out the same way. Home Assistant
|
|
11
|
+
* import is a built-in refresh of the HA source rather than a second
|
|
12
|
+
* registry — `importFromHomeAssistant` asks that source to re-discover.
|
|
13
|
+
*/
|
|
14
|
+
export declare const CalendarEntrySchema: z.ZodObject<{
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
source: z.ZodEnum<{
|
|
17
|
+
addon: "addon";
|
|
18
|
+
ha: "ha";
|
|
19
|
+
}>;
|
|
20
|
+
enabled: z.ZodBoolean;
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
providerAddonId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type CalendarEntry = z.infer<typeof CalendarEntrySchema>;
|
|
25
|
+
export declare const CalendarImportResultSchema: z.ZodObject<{
|
|
26
|
+
imported: z.ZodNumber;
|
|
27
|
+
providerAddonId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
error: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export type CalendarImportResult = z.infer<typeof CalendarImportResultSchema>;
|
|
31
|
+
export declare const calendarsCapability: {
|
|
32
|
+
readonly name: "calendars";
|
|
33
|
+
readonly scope: "system";
|
|
34
|
+
readonly mode: "singleton";
|
|
35
|
+
readonly methods: {
|
|
36
|
+
readonly listCalendars: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
source: z.ZodEnum<{
|
|
39
|
+
addon: "addon";
|
|
40
|
+
ha: "ha";
|
|
41
|
+
}>;
|
|
42
|
+
enabled: z.ZodBoolean;
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
providerAddonId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
46
|
+
readonly listEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
47
|
+
calendarIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
+
startMs: z.ZodNumber;
|
|
49
|
+
endMs: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
calendarId: z.ZodString;
|
|
53
|
+
title: z.ZodString;
|
|
54
|
+
startMs: z.ZodNumber;
|
|
55
|
+
endMs: z.ZodNumber;
|
|
56
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
description: z.ZodOptional<z.ZodString>;
|
|
58
|
+
location: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
60
|
+
readonly importFromHomeAssistant: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
61
|
+
imported: z.ZodNumber;
|
|
62
|
+
providerAddonId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
error: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>, "mutation">;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export type ICalendarsProvider = InferProvider<typeof calendarsCapability>;
|
|
68
|
+
export { CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarSourceKindSchema, };
|
|
@@ -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';
|
|
@@ -139,6 +139,10 @@ export { type BatteryStatus, BatteryStatusSchema, batteryCapability, type IBatte
|
|
|
139
139
|
export { type BinaryStatus, BinaryStatusSchema, binaryCapability, type IBinaryProvider, } from './binary.cap.js';
|
|
140
140
|
export { type BrightnessStatus, BrightnessStatusSchema, brightnessCapability, type IBrightnessProvider, } from './brightness.cap.js';
|
|
141
141
|
export { buttonCapability, type IButtonProvider } from './button.cap.js';
|
|
142
|
+
export type { CalendarEvent, CalendarInfo, CalendarListEventsInput, CalendarSourceKind, ICalendarSourceProvider, } from './calendar-source.cap.js';
|
|
143
|
+
export { CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarSourceKindSchema, calendarSourceCapability, } from './calendar-source.cap.js';
|
|
144
|
+
export type { CalendarEntry, CalendarImportResult, ICalendarsProvider, } from './calendars.cap.js';
|
|
145
|
+
export { CalendarEntrySchema, CalendarImportResultSchema, calendarsCapability, } from './calendars.cap.js';
|
|
142
146
|
export { type CameraCredentials, CameraCredentialsSchema, type CameraCredentialsStatus, CameraCredentialsStatusSchema, cameraCredentialsCapability, type ICameraCredentialsProvider, } from './camera-credentials.cap.js';
|
|
143
147
|
export { cameraGridLayoutCapability, type GridLayoutCell, type GridLayoutPatch, GridLayoutPatchSchema, type GridLayoutView, GridLayoutViewSchema, type GridNormalizedRect, type GridProfileOffer, type ICameraGridLayoutProvider, type ICameraGridLayoutSettingsProvider, } from './camera-grid-layout.cap.js';
|
|
144
148
|
export { type CarbonMonoxideStatus, CarbonMonoxideStatusSchema, carbonMonoxideCapability, type ICarbonMonoxideProvider, } from './carbon-monoxide.cap.js';
|
|
@@ -251,6 +255,8 @@ import type { binaryCapability } from './binary.cap.js';
|
|
|
251
255
|
import type { brightnessCapability } from './brightness.cap.js';
|
|
252
256
|
import type { brokerCapability } from './broker.cap.js';
|
|
253
257
|
import type { buttonCapability } from './button.cap.js';
|
|
258
|
+
import type { calendarSourceCapability } from './calendar-source.cap.js';
|
|
259
|
+
import type { calendarsCapability } from './calendars.cap.js';
|
|
254
260
|
import type { cameraCredentialsCapability } from './camera-credentials.cap.js';
|
|
255
261
|
import type { cameraGridLayoutCapability } from './camera-grid-layout.cap.js';
|
|
256
262
|
import type { cameraPipelineConfigCapability } from './camera-pipeline-config.cap.js';
|
|
@@ -389,6 +395,6 @@ import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
|
389
395
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
390
396
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
391
397
|
import type { zonesCapability } from './zones.cap.js';
|
|
392
|
-
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability | typeof deviceExtensionCapability;
|
|
398
|
+
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof calendarSourceCapability | typeof calendarsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability | typeof deviceExtensionCapability;
|
|
393
399
|
export type CapabilityName = AnyCapability['name'];
|
|
394
400
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -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>;
|