@camstack/types 1.2.298 → 1.2.300

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.
@@ -51,6 +51,13 @@ export declare const AlarmPanelStatusSchema: z.ZodObject<{
51
51
  disarming: "disarming";
52
52
  triggered: "triggered";
53
53
  }>;
54
+ targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
55
+ home: "home";
56
+ away: "away";
57
+ night: "night";
58
+ vacation: "vacation";
59
+ custom_bypass: "custom_bypass";
60
+ }>>>;
54
61
  availableModes: z.ZodArray<z.ZodEnum<{
55
62
  home: "home";
56
63
  away: "away";
@@ -109,6 +116,13 @@ export declare const alarmPanelCapability: {
109
116
  disarming: "disarming";
110
117
  triggered: "triggered";
111
118
  }>;
119
+ targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
120
+ home: "home";
121
+ away: "away";
122
+ night: "night";
123
+ vacation: "vacation";
124
+ custom_bypass: "custom_bypass";
125
+ }>>>;
112
126
  availableModes: z.ZodArray<z.ZodEnum<{
113
127
  home: "home";
114
128
  away: "away";
@@ -139,6 +153,13 @@ export declare const alarmPanelCapability: {
139
153
  disarming: "disarming";
140
154
  triggered: "triggered";
141
155
  }>;
156
+ targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
157
+ home: "home";
158
+ away: "away";
159
+ night: "night";
160
+ vacation: "vacation";
161
+ custom_bypass: "custom_bypass";
162
+ }>>>;
142
163
  availableModes: z.ZodArray<z.ZodEnum<{
143
164
  home: "home";
144
165
  away: "away";
@@ -7,10 +7,16 @@ import { CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema,
7
7
  *
8
8
  * Walks every `calendar-source` provider, stamps each calendar with a
9
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.
10
+ * addon's id, and fans `listEvents` out the same way.
11
+ *
12
+ * Per-user colour / visibility preferences live here (not on each source):
13
+ * the system assigns a stable default colour from the calendar id; an
14
+ * operator may override colour or hide a calendar via
15
+ * {@link calendarsCapability.methods.setCalendarPreference}.
13
16
  */
17
+ /** `#RRGGBB` — the only colour form the UI and the palette emit. */
18
+ export declare const CalendarColorSchema: z.ZodString;
19
+ export type CalendarColor = z.infer<typeof CalendarColorSchema>;
14
20
  export declare const CalendarEntrySchema: z.ZodObject<{
15
21
  name: z.ZodString;
16
22
  source: z.ZodEnum<{
@@ -20,14 +26,29 @@ export declare const CalendarEntrySchema: z.ZodObject<{
20
26
  enabled: z.ZodBoolean;
21
27
  id: z.ZodString;
22
28
  providerAddonId: z.ZodOptional<z.ZodString>;
29
+ defaultColor: z.ZodString;
30
+ color: z.ZodString;
31
+ visible: z.ZodBoolean;
23
32
  }, z.core.$strip>;
24
33
  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>;
34
+ export declare const CalendarPreferenceEntrySchema: z.ZodObject<{
35
+ visible: z.ZodOptional<z.ZodBoolean>;
36
+ color: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strip>;
38
+ export type CalendarPreferenceEntry = z.infer<typeof CalendarPreferenceEntrySchema>;
39
+ export declare const CalendarPreferencesSchema: z.ZodObject<{
40
+ calendars: z.ZodRecord<z.ZodString, z.ZodObject<{
41
+ visible: z.ZodOptional<z.ZodBoolean>;
42
+ color: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>>;
29
44
  }, z.core.$strip>;
30
- export type CalendarImportResult = z.infer<typeof CalendarImportResultSchema>;
45
+ export type CalendarPreferences = z.infer<typeof CalendarPreferencesSchema>;
46
+ export declare const CalendarSetPreferenceInputSchema: z.ZodObject<{
47
+ calendarId: z.ZodString;
48
+ visible: z.ZodOptional<z.ZodBoolean>;
49
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$strip>;
51
+ export type CalendarSetPreferenceInput = z.infer<typeof CalendarSetPreferenceInputSchema>;
31
52
  export declare const calendarsCapability: {
32
53
  readonly name: "calendars";
33
54
  readonly scope: "system";
@@ -42,6 +63,9 @@ export declare const calendarsCapability: {
42
63
  enabled: z.ZodBoolean;
43
64
  id: z.ZodString;
44
65
  providerAddonId: z.ZodOptional<z.ZodString>;
66
+ defaultColor: z.ZodString;
67
+ color: z.ZodString;
68
+ visible: z.ZodBoolean;
45
69
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
46
70
  readonly listEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
47
71
  calendarIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -57,11 +81,26 @@ export declare const calendarsCapability: {
57
81
  description: z.ZodOptional<z.ZodString>;
58
82
  location: z.ZodOptional<z.ZodString>;
59
83
  }, 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">;
84
+ readonly getPreferences: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
85
+ calendars: z.ZodRecord<z.ZodString, z.ZodObject<{
86
+ visible: z.ZodOptional<z.ZodBoolean>;
87
+ color: z.ZodOptional<z.ZodString>;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind> & {
90
+ readonly caller: "required";
91
+ };
92
+ readonly setCalendarPreference: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
93
+ calendarId: z.ZodString;
94
+ visible: z.ZodOptional<z.ZodBoolean>;
95
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ calendars: z.ZodRecord<z.ZodString, z.ZodObject<{
98
+ visible: z.ZodOptional<z.ZodBoolean>;
99
+ color: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>, "mutation"> & {
102
+ readonly caller: "required";
103
+ };
65
104
  };
66
105
  };
67
106
  export type ICalendarsProvider = InferProvider<typeof calendarsCapability>;
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { type Composition } from '../composition/composition.js';
3
3
  import { DeviceType } from '../device/device-type.js';
4
+ import type { ConfigUISchema } from '../interfaces/config-ui.js';
4
5
  import { type InferProvider } from './capability-definition.js';
5
6
  /**
6
7
  * core-blocks — user-authored TypeScript, stored in the kernel and executed in
@@ -70,15 +71,61 @@ export declare const CoreBlockStatusSchema: z.ZodEnum<{
70
71
  degraded: "degraded";
71
72
  }>;
72
73
  export type CoreBlockStatus = z.infer<typeof CoreBlockStatusSchema>;
73
- /** Client-authored fields. */
74
+ /** Default entry path when a multi-file block omits `entry`. */
75
+ export declare const DEFAULT_CORE_BLOCK_ENTRY = "main.ts";
76
+ /** path → TypeScript source for a multi-file block. */
77
+ export declare const CoreBlockFilesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
78
+ export type CoreBlockFiles = z.infer<typeof CoreBlockFilesSchema>;
79
+ /**
80
+ * Client-authored fields (plain object). Kept separate from the refined create
81
+ * schema because Zod 4 refuses `.partial()` on schemas that carry refinements —
82
+ * `update` needs a partial of these fields.
83
+ */
84
+ export declare const CoreBlockInputFieldsSchema: z.ZodObject<{
85
+ name: z.ZodString;
86
+ code: z.ZodOptional<z.ZodString>;
87
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
88
+ entry: z.ZodOptional<z.ZodString>;
89
+ enabled: z.ZodBoolean;
90
+ placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
91
+ integrationId: z.ZodOptional<z.ZodString>;
92
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
93
+ }, z.core.$strip>;
94
+ /** Client-authored fields for create — requires `code` or `files[entry]`. */
74
95
  export declare const CoreBlockInputSchema: z.ZodObject<{
75
96
  name: z.ZodString;
76
- code: z.ZodString;
97
+ code: z.ZodOptional<z.ZodString>;
98
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
99
+ entry: z.ZodOptional<z.ZodString>;
77
100
  enabled: z.ZodBoolean;
78
101
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
79
102
  integrationId: z.ZodOptional<z.ZodString>;
103
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
80
104
  }, z.core.$strip>;
81
- export type CoreBlockInput = z.infer<typeof CoreBlockInputSchema>;
105
+ export type CoreBlockInput = z.infer<typeof CoreBlockInputFieldsSchema>;
106
+ /** Resolve the entry path a block uses (default `main.ts`). */
107
+ export declare function resolveCoreBlockEntry(entry: string | undefined): string;
108
+ /**
109
+ * View a block as `{ files, entry }`. When `files` is absent, `code` is
110
+ * treated as `files[entry]` — the migration rule for every pre-multi-file row.
111
+ */
112
+ export declare function resolveCoreBlockFiles(block: {
113
+ readonly code: string;
114
+ readonly files?: Readonly<Record<string, string>>;
115
+ readonly entry?: string;
116
+ }): {
117
+ files: Record<string, string>;
118
+ entry: string;
119
+ };
120
+ /**
121
+ * Normalize a write so the stored row always has `code` (for paths that still
122
+ * read it) derived from `files[entry]` when `files` is provided.
123
+ */
124
+ export declare function normalizeCoreBlockWrite(input: Pick<CoreBlockInput, 'code' | 'files' | 'entry'>): {
125
+ code: string;
126
+ files?: Record<string, string>;
127
+ entry?: string;
128
+ };
82
129
  /**
83
130
  * What a block IS (D659). Absent means `code` — every row stored before this
84
131
  * union keeps working unchanged.
@@ -336,13 +383,16 @@ export declare const CompositionBlockInputSchema: z.ZodObject<{
336
383
  }, z.core.$strip>;
337
384
  export type CompositionBlockInput = z.infer<typeof CompositionBlockInputSchema>;
338
385
  export type CompositionBlockPatch = Partial<CompositionBlockInput>;
339
- /** A stored block. */
386
+ /** A stored block. `code` is always present after normalize (derived from files). */
340
387
  export declare const CoreBlockSchema: z.ZodObject<{
341
388
  name: z.ZodString;
342
389
  code: z.ZodString;
390
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
391
+ entry: z.ZodOptional<z.ZodString>;
343
392
  enabled: z.ZodBoolean;
344
393
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
345
394
  integrationId: z.ZodOptional<z.ZodString>;
395
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
346
396
  id: z.ZodString;
347
397
  createdAt: z.ZodNumber;
348
398
  updatedAt: z.ZodNumber;
@@ -540,9 +590,12 @@ export declare const CompositionViewSchema: z.ZodObject<{
540
590
  block: z.ZodObject<{
541
591
  name: z.ZodString;
542
592
  code: z.ZodString;
593
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
594
+ entry: z.ZodOptional<z.ZodString>;
543
595
  enabled: z.ZodBoolean;
544
596
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
545
597
  integrationId: z.ZodOptional<z.ZodString>;
598
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
546
599
  id: z.ZodString;
547
600
  createdAt: z.ZodNumber;
548
601
  updatedAt: z.ZodNumber;
@@ -738,9 +791,12 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
738
791
  block: z.ZodObject<{
739
792
  name: z.ZodString;
740
793
  code: z.ZodString;
794
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
795
+ entry: z.ZodOptional<z.ZodString>;
741
796
  enabled: z.ZodBoolean;
742
797
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
743
798
  integrationId: z.ZodOptional<z.ZodString>;
799
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
744
800
  id: z.ZodString;
745
801
  createdAt: z.ZodNumber;
746
802
  updatedAt: z.ZodNumber;
@@ -940,9 +996,12 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
940
996
  block: z.ZodObject<{
941
997
  name: z.ZodString;
942
998
  code: z.ZodString;
999
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1000
+ entry: z.ZodOptional<z.ZodString>;
943
1001
  enabled: z.ZodBoolean;
944
1002
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
945
1003
  integrationId: z.ZodOptional<z.ZodString>;
1004
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
946
1005
  id: z.ZodString;
947
1006
  createdAt: z.ZodNumber;
948
1007
  updatedAt: z.ZodNumber;
@@ -1143,9 +1202,12 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
1143
1202
  block: z.ZodObject<{
1144
1203
  name: z.ZodString;
1145
1204
  code: z.ZodString;
1205
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1206
+ entry: z.ZodOptional<z.ZodString>;
1146
1207
  enabled: z.ZodBoolean;
1147
1208
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1148
1209
  integrationId: z.ZodOptional<z.ZodString>;
1210
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1149
1211
  id: z.ZodString;
1150
1212
  createdAt: z.ZodNumber;
1151
1213
  updatedAt: z.ZodNumber;
@@ -1347,6 +1409,16 @@ export declare const CoreBlockCompileResultSchema: z.ZodObject<{
1347
1409
  column: z.ZodOptional<z.ZodNumber>;
1348
1410
  }, z.core.$strip>;
1349
1411
  export type CoreBlockCompileResult = z.infer<typeof CoreBlockCompileResultSchema>;
1412
+ /**
1413
+ * Compile input: legacy single-file `{ code }`, or a multi-file project.
1414
+ * When `files` is present, it wins over `code`.
1415
+ */
1416
+ export declare const CoreBlockCompileInputSchema: z.ZodObject<{
1417
+ code: z.ZodOptional<z.ZodString>;
1418
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1419
+ entry: z.ZodOptional<z.ZodString>;
1420
+ }, z.core.$strip>;
1421
+ export type CoreBlockCompileInput = z.infer<typeof CoreBlockCompileInputSchema>;
1350
1422
  export declare const coreBlocksCapability: {
1351
1423
  readonly name: "core-blocks";
1352
1424
  readonly scope: "system";
@@ -1356,9 +1428,12 @@ export declare const coreBlocksCapability: {
1356
1428
  blocks: z.ZodArray<z.ZodObject<{
1357
1429
  name: z.ZodString;
1358
1430
  code: z.ZodString;
1431
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1432
+ entry: z.ZodOptional<z.ZodString>;
1359
1433
  enabled: z.ZodBoolean;
1360
1434
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1361
1435
  integrationId: z.ZodOptional<z.ZodString>;
1436
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1362
1437
  id: z.ZodString;
1363
1438
  createdAt: z.ZodNumber;
1364
1439
  updatedAt: z.ZodNumber;
@@ -1519,9 +1594,12 @@ export declare const coreBlocksCapability: {
1519
1594
  block: z.ZodNullable<z.ZodObject<{
1520
1595
  name: z.ZodString;
1521
1596
  code: z.ZodString;
1597
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1598
+ entry: z.ZodOptional<z.ZodString>;
1522
1599
  enabled: z.ZodBoolean;
1523
1600
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1524
1601
  integrationId: z.ZodOptional<z.ZodString>;
1602
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1525
1603
  id: z.ZodString;
1526
1604
  createdAt: z.ZodNumber;
1527
1605
  updatedAt: z.ZodNumber;
@@ -1684,18 +1762,24 @@ export declare const coreBlocksCapability: {
1684
1762
  readonly create: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1685
1763
  block: z.ZodObject<{
1686
1764
  name: z.ZodString;
1687
- code: z.ZodString;
1765
+ code: z.ZodOptional<z.ZodString>;
1766
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1767
+ entry: z.ZodOptional<z.ZodString>;
1688
1768
  enabled: z.ZodBoolean;
1689
1769
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1690
1770
  integrationId: z.ZodOptional<z.ZodString>;
1771
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1691
1772
  }, z.core.$strip>;
1692
1773
  }, z.core.$strip>, z.ZodObject<{
1693
1774
  block: z.ZodObject<{
1694
1775
  name: z.ZodString;
1695
1776
  code: z.ZodString;
1777
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1778
+ entry: z.ZodOptional<z.ZodString>;
1696
1779
  enabled: z.ZodBoolean;
1697
1780
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1698
1781
  integrationId: z.ZodOptional<z.ZodString>;
1782
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1699
1783
  id: z.ZodString;
1700
1784
  createdAt: z.ZodNumber;
1701
1785
  updatedAt: z.ZodNumber;
@@ -1856,18 +1940,24 @@ export declare const coreBlocksCapability: {
1856
1940
  blockId: z.ZodString;
1857
1941
  block: z.ZodObject<{
1858
1942
  name: z.ZodOptional<z.ZodString>;
1859
- code: z.ZodOptional<z.ZodString>;
1943
+ code: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1944
+ files: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1945
+ entry: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1860
1946
  enabled: z.ZodOptional<z.ZodBoolean>;
1861
1947
  placement: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>>;
1862
1948
  integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1949
+ settingsSchema: z.ZodOptional<z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>>;
1863
1950
  }, z.core.$strip>;
1864
1951
  }, z.core.$strip>, z.ZodObject<{
1865
1952
  block: z.ZodObject<{
1866
1953
  name: z.ZodString;
1867
1954
  code: z.ZodString;
1955
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1956
+ entry: z.ZodOptional<z.ZodString>;
1868
1957
  enabled: z.ZodBoolean;
1869
1958
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
1870
1959
  integrationId: z.ZodOptional<z.ZodString>;
1960
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
1871
1961
  id: z.ZodString;
1872
1962
  createdAt: z.ZodNumber;
1873
1963
  updatedAt: z.ZodNumber;
@@ -2036,9 +2126,12 @@ export declare const coreBlocksCapability: {
2036
2126
  block: z.ZodObject<{
2037
2127
  name: z.ZodString;
2038
2128
  code: z.ZodString;
2129
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2130
+ entry: z.ZodOptional<z.ZodString>;
2039
2131
  enabled: z.ZodBoolean;
2040
2132
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
2041
2133
  integrationId: z.ZodOptional<z.ZodString>;
2134
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
2042
2135
  id: z.ZodString;
2043
2136
  createdAt: z.ZodNumber;
2044
2137
  updatedAt: z.ZodNumber;
@@ -2212,9 +2305,12 @@ export declare const coreBlocksCapability: {
2212
2305
  block: z.ZodObject<{
2213
2306
  name: z.ZodString;
2214
2307
  code: z.ZodString;
2308
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2309
+ entry: z.ZodOptional<z.ZodString>;
2215
2310
  enabled: z.ZodBoolean;
2216
2311
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
2217
2312
  integrationId: z.ZodOptional<z.ZodString>;
2313
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
2218
2314
  id: z.ZodString;
2219
2315
  createdAt: z.ZodNumber;
2220
2316
  updatedAt: z.ZodNumber;
@@ -2372,15 +2468,63 @@ export declare const coreBlocksCapability: {
2372
2468
  /**
2373
2469
  * Type-check without saving — what the editor calls as the author types, so
2374
2470
  * the compiler's verdict is the same one the server will reach.
2471
+ * Accepts `{ code }` or `{ files, entry }` (multi-file project).
2375
2472
  */
2376
2473
  readonly compile: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2377
- code: z.ZodString;
2474
+ code: z.ZodOptional<z.ZodString>;
2475
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2476
+ entry: z.ZodOptional<z.ZodString>;
2378
2477
  }, z.core.$strip>, z.ZodObject<{
2379
2478
  ok: z.ZodBoolean;
2380
2479
  error: z.ZodOptional<z.ZodString>;
2381
2480
  line: z.ZodOptional<z.ZodNumber>;
2382
2481
  column: z.ZodOptional<z.ZodNumber>;
2383
2482
  }, z.core.$strip>, "mutation">;
2483
+ /**
2484
+ * Hydrated settings form for one block, or null until a `settingsSchema`
2485
+ * is known (extracted from the compiled entry's named export, or set on
2486
+ * the block). Values live in the `core-blocks:settings` collection.
2487
+ */
2488
+ readonly getBlockSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2489
+ blockId: z.ZodString;
2490
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
2491
+ tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2492
+ id: z.ZodString;
2493
+ label: z.ZodString;
2494
+ icon: z.ZodString;
2495
+ order: z.ZodOptional<z.ZodNumber>;
2496
+ }, z.core.$strip>>>;
2497
+ sections: z.ZodArray<z.ZodObject<{
2498
+ id: z.ZodString;
2499
+ title: z.ZodString;
2500
+ description: z.ZodOptional<z.ZodString>;
2501
+ style: z.ZodOptional<z.ZodEnum<{
2502
+ card: "card";
2503
+ accordion: "accordion";
2504
+ }>>;
2505
+ defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
2506
+ columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2507
+ tab: z.ZodOptional<z.ZodString>;
2508
+ location: z.ZodOptional<z.ZodEnum<{
2509
+ settings: "settings";
2510
+ "top-tab": "top-tab";
2511
+ }>>;
2512
+ order: z.ZodOptional<z.ZodNumber>;
2513
+ fields: z.ZodArray<z.ZodAny>;
2514
+ }, z.core.$strip>>;
2515
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
2516
+ /**
2517
+ * Patch persisted preference values for one block. The schema is not
2518
+ * rewritten here — only values. Scripts read the same blob via
2519
+ * `ctx.settings.readAddonStore()` (mirrored into the block addon's
2520
+ * `addon-settings` namespace on every patch).
2521
+ */
2522
+ readonly updateBlockSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2523
+ blockId: z.ZodString;
2524
+ patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2525
+ }, z.core.$strip>, z.ZodObject<{
2526
+ success: z.ZodLiteral<true>;
2527
+ }, z.core.$strip>, "mutation">;
2384
2528
  /**
2385
2529
  * The declaration files the editor type-checks against.
2386
2530
  *
@@ -2505,9 +2649,12 @@ export declare const coreBlocksCapability: {
2505
2649
  block: z.ZodObject<{
2506
2650
  name: z.ZodString;
2507
2651
  code: z.ZodString;
2652
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2653
+ entry: z.ZodOptional<z.ZodString>;
2508
2654
  enabled: z.ZodBoolean;
2509
2655
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
2510
2656
  integrationId: z.ZodOptional<z.ZodString>;
2657
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
2511
2658
  id: z.ZodString;
2512
2659
  createdAt: z.ZodNumber;
2513
2660
  updatedAt: z.ZodNumber;
@@ -2775,9 +2922,12 @@ export declare const coreBlocksCapability: {
2775
2922
  block: z.ZodObject<{
2776
2923
  name: z.ZodString;
2777
2924
  code: z.ZodString;
2925
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2926
+ entry: z.ZodOptional<z.ZodString>;
2778
2927
  enabled: z.ZodBoolean;
2779
2928
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
2780
2929
  integrationId: z.ZodOptional<z.ZodString>;
2930
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
2781
2931
  id: z.ZodString;
2782
2932
  createdAt: z.ZodNumber;
2783
2933
  updatedAt: z.ZodNumber;
@@ -2943,9 +3093,12 @@ export declare const coreBlocksCapability: {
2943
3093
  block: z.ZodObject<{
2944
3094
  name: z.ZodString;
2945
3095
  code: z.ZodString;
3096
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3097
+ entry: z.ZodOptional<z.ZodString>;
2946
3098
  enabled: z.ZodBoolean;
2947
3099
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
2948
3100
  integrationId: z.ZodOptional<z.ZodString>;
3101
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
2949
3102
  id: z.ZodString;
2950
3103
  createdAt: z.ZodNumber;
2951
3104
  updatedAt: z.ZodNumber;
@@ -3144,9 +3297,12 @@ export declare const coreBlocksCapability: {
3144
3297
  block: z.ZodObject<{
3145
3298
  name: z.ZodString;
3146
3299
  code: z.ZodString;
3300
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3301
+ entry: z.ZodOptional<z.ZodString>;
3147
3302
  enabled: z.ZodBoolean;
3148
3303
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
3149
3304
  integrationId: z.ZodOptional<z.ZodString>;
3305
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
3150
3306
  id: z.ZodString;
3151
3307
  createdAt: z.ZodNumber;
3152
3308
  updatedAt: z.ZodNumber;
@@ -3352,9 +3508,12 @@ export declare const coreBlocksCapability: {
3352
3508
  block: z.ZodObject<{
3353
3509
  name: z.ZodString;
3354
3510
  code: z.ZodString;
3511
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3512
+ entry: z.ZodOptional<z.ZodString>;
3355
3513
  enabled: z.ZodBoolean;
3356
3514
  placement: z.ZodUnion<readonly [z.ZodLiteral<"hub">, z.ZodString]>;
3357
3515
  integrationId: z.ZodOptional<z.ZodString>;
3516
+ settingsSchema: z.ZodOptional<z.ZodCustom<ConfigUISchema, ConfigUISchema>>;
3358
3517
  id: z.ZodString;
3359
3518
  createdAt: z.ZodNumber;
3360
3519
  updatedAt: z.ZodNumber;
@@ -39,7 +39,7 @@ export { emitsCollectionSelector, extractNestedAddonId, isArrayOutputSchema, isC
39
39
  export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
40
40
  export { DEFAULT_RUNTIME_STATE_DURABILITY, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
41
41
  export { COMPOSER_RUNNER_ID, type ComposerApplyInput, ComposerApplyInputSchema, type ComposerApplyResult, ComposerApplyResultSchema, type ComposerBlock, ComposerBlockSchema, type ComposerBlockVerdict, ComposerBlockVerdictSchema, type ComposerUnreadableBlock, ComposerUnreadableBlockSchema, composerCapability, type IComposerProvider, } from './composer.cap.js';
42
- export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type CoreBlock, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockInput, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, type ICoreBlocksProvider, } from './core-blocks.cap.js';
42
+ export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type CoreBlock, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockCompileInput, CoreBlockCompileInputSchema, type CoreBlockFiles, CoreBlockFilesSchema, type CoreBlockInput, CoreBlockInputFieldsSchema, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, DEFAULT_CORE_BLOCK_ENTRY, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, type ICoreBlocksProvider, normalizeCoreBlockWrite, resolveCoreBlockEntry, resolveCoreBlockFiles, } from './core-blocks.cap.js';
43
43
  export * from './custom-actions.js';
44
44
  export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './custom-model-registry.cap.js';
45
45
  export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
@@ -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 NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, 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 NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, 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';
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 NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, 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 NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, 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 NcActionBinding, NcActionBindingSchema, type NcHookBindings, NcHookBindingsSchema, type NcRuleAction, NcRuleActionSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcSharedSequence, NcSharedSequenceInputSchema, type NcSharedSequenceInput, NcSharedSequenceSchema, 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';
@@ -141,8 +141,8 @@ export { type BrightnessStatus, BrightnessStatusSchema, brightnessCapability, ty
141
141
  export { buttonCapability, type IButtonProvider } from './button.cap.js';
142
142
  export type { CalendarEvent, CalendarInfo, CalendarListEventsInput, CalendarSourceKind, ICalendarSourceProvider, } from './calendar-source.cap.js';
143
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';
144
+ export type { CalendarColor, CalendarEntry, CalendarPreferenceEntry, CalendarPreferences, CalendarSetPreferenceInput, ICalendarsProvider, } from './calendars.cap.js';
145
+ export { CalendarColorSchema, CalendarEntrySchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, calendarsCapability, } from './calendars.cap.js';
146
146
  export { type CameraCredentials, CameraCredentialsSchema, type CameraCredentialsStatus, CameraCredentialsStatusSchema, cameraCredentialsCapability, type ICameraCredentialsProvider, } from './camera-credentials.cap.js';
147
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';
148
148
  export { type CarbonMonoxideStatus, CarbonMonoxideStatusSchema, carbonMonoxideCapability, type ICarbonMonoxideProvider, } from './carbon-monoxide.cap.js';