@camstack/types 1.2.386 → 1.2.388

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.
Files changed (41) hide show
  1. package/dist/addon.js +26 -16
  2. package/dist/addon.mjs +26 -16
  3. package/dist/auth/credential-scope.d.ts +37 -5
  4. package/dist/auth/principal-scope.d.ts +1 -1
  5. package/dist/capabilities/alarm-panel.cap.d.ts +10 -2
  6. package/dist/capabilities/capability-definition.d.ts +21 -3
  7. package/dist/capabilities/connectivity.cap.d.ts +10 -2
  8. package/dist/capabilities/device-history.cap.d.ts +195 -3
  9. package/dist/capabilities/dishwasher.cap.d.ts +17 -0
  10. package/dist/capabilities/enum-sensor.cap.d.ts +12 -2
  11. package/dist/capabilities/index.d.ts +6 -5
  12. package/dist/capabilities/llm.cap.d.ts +252 -309
  13. package/dist/capabilities/lock-control.cap.d.ts +9 -2
  14. package/dist/capabilities/log-destination.cap.d.ts +148 -19
  15. package/dist/capabilities/media-player.cap.d.ts +15 -2
  16. package/dist/capabilities/notification-rules.cap.d.ts +213 -13
  17. package/dist/capabilities/stream-params.cap.d.ts +24 -2
  18. package/dist/capabilities/user-management.cap.d.ts +4 -409
  19. package/dist/client.js +76 -11
  20. package/dist/client.mjs +76 -11
  21. package/dist/device/base-device.d.ts +34 -1
  22. package/dist/device/index.d.ts +2 -2
  23. package/dist/generated/addon-api.d.ts +548 -187
  24. package/dist/generated/cap-input-defaults.d.ts +1 -1
  25. package/dist/generated/collection-array-methods.d.ts +2 -2
  26. package/dist/generated/history-catalog.d.ts +1 -1
  27. package/dist/generated/method-access-map.d.ts +1 -1
  28. package/dist/generated/method-device-selectors.d.ts +2 -2
  29. package/dist/generated/system-proxy.d.ts +2 -2
  30. package/dist/index.d.ts +5 -3
  31. package/dist/index.js +861 -164
  32. package/dist/index.mjs +815 -162
  33. package/dist/interfaces/addon-data-plane.d.ts +4 -4
  34. package/dist/interfaces/addon-peer-bytes.d.ts +1 -1
  35. package/dist/interfaces/logging.d.ts +16 -1
  36. package/dist/notification/media-image.d.ts +67 -0
  37. package/dist/schemas/auth-records.d.ts +1 -1
  38. package/dist/schemas/user-preferences.d.ts +103 -0
  39. package/dist/{sleep-BxjU_fJM.mjs → sleep-BSuCCFjf.mjs} +34 -5
  40. package/dist/{sleep-BE7_6UnC.js → sleep-DKtoyk6X.js} +34 -5
  41. package/package.json +1 -1
@@ -19,6 +19,90 @@ declare const LogEntrySchema: z.ZodObject<{
19
19
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
20
  tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21
21
  }, z.core.$strip>;
22
+ /**
23
+ * A history READ against one destination (D898).
24
+ *
25
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
26
+ * browser applied after the limit is what made a rare device's lines
27
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
28
+ * minted (opaque to everyone else): a file position for the rotated files, a
29
+ * nanosecond timestamp for Loki.
30
+ *
31
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
32
+ * store answers `done: false` with the cursor it reached and the bytes it
33
+ * scanned, and the caller decides whether to go on. That is what makes a long
34
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
35
+ * flight, and not asking for the next slice ends the scan.
36
+ */
37
+ declare const LogReadQuerySchema: z.ZodObject<{
38
+ requestId: z.ZodOptional<z.ZodString>;
39
+ deviceId: z.ZodOptional<z.ZodNumber>;
40
+ fromAddonId: z.ZodOptional<z.ZodString>;
41
+ fromNodeId: z.ZodOptional<z.ZodString>;
42
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
43
+ level: z.ZodOptional<z.ZodEnum<{
44
+ debug: "debug";
45
+ error: "error";
46
+ info: "info";
47
+ warn: "warn";
48
+ }>>;
49
+ text: z.ZodOptional<z.ZodString>;
50
+ since: z.ZodOptional<z.ZodNumber>;
51
+ until: z.ZodOptional<z.ZodNumber>;
52
+ before: z.ZodOptional<z.ZodString>;
53
+ after: z.ZodOptional<z.ZodString>;
54
+ limit: z.ZodOptional<z.ZodNumber>;
55
+ budgetMs: z.ZodOptional<z.ZodNumber>;
56
+ }, z.core.$strip>;
57
+ declare const LogReadEntrySchema: z.ZodObject<{
58
+ id: z.ZodOptional<z.ZodString>;
59
+ timestamp: z.ZodNumber;
60
+ level: z.ZodEnum<{
61
+ debug: "debug";
62
+ error: "error";
63
+ info: "info";
64
+ warn: "warn";
65
+ }>;
66
+ scope: z.ZodOptional<z.ZodString>;
67
+ message: z.ZodString;
68
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
69
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
70
+ }, z.core.$strip>;
71
+ declare const LogReadResultSchema: z.ZodObject<{
72
+ entries: z.ZodArray<z.ZodObject<{
73
+ id: z.ZodOptional<z.ZodString>;
74
+ timestamp: z.ZodNumber;
75
+ level: z.ZodEnum<{
76
+ debug: "debug";
77
+ error: "error";
78
+ info: "info";
79
+ warn: "warn";
80
+ }>;
81
+ scope: z.ZodOptional<z.ZodString>;
82
+ message: z.ZodString;
83
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
84
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
+ }, z.core.$strip>>;
86
+ nextBefore: z.ZodNullable<z.ZodString>;
87
+ nextAfter: z.ZodNullable<z.ZodString>;
88
+ scannedBytes: z.ZodNumber;
89
+ done: z.ZodBoolean;
90
+ cancelled: z.ZodOptional<z.ZodBoolean>;
91
+ }, z.core.$strip>;
92
+ declare const LogReadCapabilitiesSchema: z.ZodObject<{
93
+ readable: z.ZodBoolean;
94
+ reason: z.ZodNullable<z.ZodString>;
95
+ filters: z.ZodObject<{
96
+ deviceId: z.ZodBoolean;
97
+ addonId: z.ZodBoolean;
98
+ nodeId: z.ZodBoolean;
99
+ tags: z.ZodBoolean;
100
+ level: z.ZodBoolean;
101
+ text: z.ZodBoolean;
102
+ timeRange: z.ZodBoolean;
103
+ }, z.core.$strip>;
104
+ retentionDays: z.ZodNullable<z.ZodNumber>;
105
+ }, z.core.$strip>;
22
106
  export declare const logDestinationCapability: {
23
107
  readonly name: 'log-destination';
24
108
  readonly scope: 'system';
@@ -38,31 +122,72 @@ export declare const logDestinationCapability: {
38
122
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
123
  tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
124
  }, z.core.$strip>, z.ZodVoid, "mutation">;
41
- readonly query: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
42
- scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
+ /** Absent ⇒ the destination cannot read back (same as `readable: false`). */
126
+ readonly describeRead: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
127
+ readable: z.ZodBoolean;
128
+ reason: z.ZodNullable<z.ZodString>;
129
+ filters: z.ZodObject<{
130
+ deviceId: z.ZodBoolean;
131
+ addonId: z.ZodBoolean;
132
+ nodeId: z.ZodBoolean;
133
+ tags: z.ZodBoolean;
134
+ level: z.ZodBoolean;
135
+ text: z.ZodBoolean;
136
+ timeRange: z.ZodBoolean;
137
+ }, z.core.$strip>;
138
+ retentionDays: z.ZodNullable<z.ZodNumber>;
139
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind> & {
140
+ readonly providerOptional: true;
141
+ };
142
+ readonly read: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
143
+ requestId: z.ZodOptional<z.ZodString>;
144
+ deviceId: z.ZodOptional<z.ZodNumber>;
145
+ fromAddonId: z.ZodOptional<z.ZodString>;
146
+ fromNodeId: z.ZodOptional<z.ZodString>;
147
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
43
148
  level: z.ZodOptional<z.ZodEnum<{
44
149
  debug: "debug";
45
150
  error: "error";
46
151
  info: "info";
47
152
  warn: "warn";
48
153
  }>>;
49
- since: z.ZodOptional<z.ZodDate>;
50
- until: z.ZodOptional<z.ZodDate>;
154
+ text: z.ZodOptional<z.ZodString>;
155
+ since: z.ZodOptional<z.ZodNumber>;
156
+ until: z.ZodOptional<z.ZodNumber>;
157
+ before: z.ZodOptional<z.ZodString>;
158
+ after: z.ZodOptional<z.ZodString>;
51
159
  limit: z.ZodOptional<z.ZodNumber>;
52
- tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
- }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
54
- timestamp: z.ZodDate;
55
- level: z.ZodEnum<{
56
- debug: "debug";
57
- error: "error";
58
- info: "info";
59
- warn: "warn";
60
- }>;
61
- scope: z.ZodArray<z.ZodString>;
62
- message: z.ZodString;
63
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
64
- tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
- }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
160
+ budgetMs: z.ZodOptional<z.ZodNumber>;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ entries: z.ZodArray<z.ZodObject<{
163
+ id: z.ZodOptional<z.ZodString>;
164
+ timestamp: z.ZodNumber;
165
+ level: z.ZodEnum<{
166
+ debug: "debug";
167
+ error: "error";
168
+ info: "info";
169
+ warn: "warn";
170
+ }>;
171
+ scope: z.ZodOptional<z.ZodString>;
172
+ message: z.ZodString;
173
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
174
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
175
+ }, z.core.$strip>>;
176
+ nextBefore: z.ZodNullable<z.ZodString>;
177
+ nextAfter: z.ZodNullable<z.ZodString>;
178
+ scannedBytes: z.ZodNumber;
179
+ done: z.ZodBoolean;
180
+ cancelled: z.ZodOptional<z.ZodBoolean>;
181
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind> & {
182
+ readonly providerOptional: true;
183
+ };
184
+ readonly cancelRead: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
185
+ requestId: z.ZodString;
186
+ }, z.core.$strip>, z.ZodObject<{
187
+ cancelled: z.ZodBoolean;
188
+ }, z.core.$strip>, "mutation"> & {
189
+ readonly providerOptional: true;
190
+ };
66
191
  };
67
192
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
68
193
  readonly mount: {
@@ -70,4 +195,8 @@ export declare const logDestinationCapability: {
70
195
  };
71
196
  };
72
197
  export type ILogDestinationProvider = InferProvider<typeof logDestinationCapability>;
73
- export { LogEntrySchema, LogLevelSchema };
198
+ export type LogReadQuery = z.infer<typeof LogReadQuerySchema>;
199
+ export type LogReadEntry = z.infer<typeof LogReadEntrySchema>;
200
+ export type LogReadResult = z.infer<typeof LogReadResultSchema>;
201
+ export type LogReadCapabilities = z.infer<typeof LogReadCapabilitiesSchema>;
202
+ export { LogEntrySchema, LogLevelSchema, LogReadQuerySchema, LogReadEntrySchema, LogReadResultSchema, LogReadCapabilitiesSchema, };
@@ -203,9 +203,22 @@ export declare const mediaPlayerCapability: {
203
203
  */
204
204
  readonly durability: 'session';
205
205
  /**
206
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
206
+ * History (D850): volume (a level an operator or an automation sets; the
207
+ * default 10 s floor folds a slider drag into its end value) and mute.
208
+ * `positionMs` is not recorded: it moves continuously while playing.
207
209
  */
208
- readonly history: 'none';
210
+ readonly history: {
211
+ readonly fields: {
212
+ readonly volumeLevel: {
213
+ readonly kind: 'gauge';
214
+ readonly unit: '%';
215
+ readonly deadband: 1;
216
+ };
217
+ readonly isMuted: {
218
+ readonly kind: 'boolean';
219
+ };
220
+ };
221
+ };
209
222
  };
210
223
  export type IMediaPlayerProvider = InferProvider<typeof mediaPlayerCapability>;
211
224
  export {};
@@ -996,6 +996,34 @@ export declare const NcRuleTargetSchema: z.ZodObject<{
996
996
  }, z.core.$strip>;
997
997
  export type NcRuleTarget = z.infer<typeof NcRuleTargetSchema>;
998
998
  /**
999
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
1000
+ *
1001
+ * Every mode starts from the same CLEAN source frame of the trigger moment
1002
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
1003
+ * to the zone that fired the rule) and renders it once at send time:
1004
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
1005
+ * colour and every OTHER track visible at that instant outlined thin, each
1006
+ * labelled with class and confidence ("dog 87%").
1007
+ * - `crop` — the subject cut out of that frame around its box at that instant.
1008
+ * - `clean` — the whole scene with nothing drawn on it.
1009
+ * - `none` — no picture.
1010
+ *
1011
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
1012
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
1013
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
1014
+ * ship a crop on one event and a boxed scene on the next depending on which
1015
+ * stored kind had landed.
1016
+ */
1017
+ export declare const NcMediaImageSchema: z.ZodEnum<{
1018
+ clean: "clean";
1019
+ crop: "crop";
1020
+ none: "none";
1021
+ "scene-boxes": "scene-boxes";
1022
+ }>;
1023
+ export type NcMediaImage = z.infer<typeof NcMediaImageSchema>;
1024
+ /**
1025
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
1026
+ *
999
1027
  * Media attachment policy (P1 still-image subset).
1000
1028
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
1001
1029
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -1009,6 +1037,8 @@ export type NcRuleTarget = z.infer<typeof NcRuleTargetSchema>;
1009
1037
  * - `none` — no attachment.
1010
1038
  */
1011
1039
  /**
1040
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
1041
+ *
1012
1042
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
1013
1043
  * conflate it with the selection strategy and betray the request: asking for
1014
1044
  * the clean scene frame on an object-event owner used to start at
@@ -1060,7 +1090,14 @@ export type NcLinkedCameraMode = z.infer<typeof NcLinkedCameraModeSchema>;
1060
1090
  export declare const NC_CLIP_PRE_ROLL_DEFAULT_SEC = 4;
1061
1091
  export declare const NC_CLIP_POST_ROLL_DEFAULT_SEC = 6;
1062
1092
  export declare const NcMediaPolicySchema: z.ZodObject<{
1063
- attach: z.ZodDefault<z.ZodEnum<{
1093
+ image: z.ZodOptional<z.ZodEnum<{
1094
+ clean: "clean";
1095
+ crop: "crop";
1096
+ none: "none";
1097
+ "scene-boxes": "scene-boxes";
1098
+ }>>;
1099
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
1100
+ attach: z.ZodOptional<z.ZodEnum<{
1064
1101
  best: "best";
1065
1102
  "best-matching": "best-matching";
1066
1103
  keyFrame: "keyFrame";
@@ -1390,7 +1427,14 @@ export declare const NcRuleInputSchema: z.ZodObject<{
1390
1427
  }, z.core.$strip>>;
1391
1428
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1392
1429
  media: z.ZodDefault<z.ZodObject<{
1393
- attach: z.ZodDefault<z.ZodEnum<{
1430
+ image: z.ZodOptional<z.ZodEnum<{
1431
+ clean: "clean";
1432
+ crop: "crop";
1433
+ none: "none";
1434
+ "scene-boxes": "scene-boxes";
1435
+ }>>;
1436
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
1437
+ attach: z.ZodOptional<z.ZodEnum<{
1394
1438
  best: "best";
1395
1439
  "best-matching": "best-matching";
1396
1440
  keyFrame: "keyFrame";
@@ -1873,7 +1917,14 @@ export declare const NcRulePatchSchema: z.ZodObject<{
1873
1917
  }, z.core.$strip>>;
1874
1918
  }, z.core.$strip>>;
1875
1919
  media: z.ZodOptional<z.ZodObject<{
1876
- attach: z.ZodDefault<z.ZodEnum<{
1920
+ image: z.ZodOptional<z.ZodEnum<{
1921
+ clean: "clean";
1922
+ crop: "crop";
1923
+ none: "none";
1924
+ "scene-boxes": "scene-boxes";
1925
+ }>>;
1926
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
1927
+ attach: z.ZodOptional<z.ZodEnum<{
1877
1928
  best: "best";
1878
1929
  "best-matching": "best-matching";
1879
1930
  keyFrame: "keyFrame";
@@ -2265,7 +2316,14 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
2265
2316
  }, z.core.$strip>>;
2266
2317
  }, z.core.$strip>>;
2267
2318
  media: z.ZodOptional<z.ZodObject<{
2268
- attach: z.ZodDefault<z.ZodEnum<{
2319
+ image: z.ZodOptional<z.ZodEnum<{
2320
+ clean: "clean";
2321
+ crop: "crop";
2322
+ none: "none";
2323
+ "scene-boxes": "scene-boxes";
2324
+ }>>;
2325
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
2326
+ attach: z.ZodOptional<z.ZodEnum<{
2269
2327
  best: "best";
2270
2328
  "best-matching": "best-matching";
2271
2329
  keyFrame: "keyFrame";
@@ -2510,7 +2568,14 @@ export declare const NcRuleSchema: z.ZodObject<{
2510
2568
  }, z.core.$strip>>;
2511
2569
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2512
2570
  media: z.ZodDefault<z.ZodObject<{
2513
- attach: z.ZodDefault<z.ZodEnum<{
2571
+ image: z.ZodOptional<z.ZodEnum<{
2572
+ clean: "clean";
2573
+ crop: "crop";
2574
+ none: "none";
2575
+ "scene-boxes": "scene-boxes";
2576
+ }>>;
2577
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
2578
+ attach: z.ZodOptional<z.ZodEnum<{
2514
2579
  best: "best";
2515
2580
  "best-matching": "best-matching";
2516
2581
  keyFrame: "keyFrame";
@@ -4075,6 +4140,21 @@ export declare const NcAlarmModeOpeningsSchema: z.ZodObject<{
4075
4140
  unknown: z.ZodArray<z.ZodNumber>;
4076
4141
  }, z.core.$strip>;
4077
4142
  export type NcAlarmModeOpenings = z.infer<typeof NcAlarmModeOpeningsSchema>;
4143
+ /**
4144
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
4145
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
4146
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
4147
+ * never looks fully armed (D62: off must never look like broken).
4148
+ */
4149
+ export declare const NcAlarmInputBypassViewSchema: z.ZodObject<{
4150
+ ruleId: z.ZodString;
4151
+ ruleName: z.ZodString;
4152
+ deviceId: z.ZodNumber;
4153
+ name: z.ZodString;
4154
+ since: z.ZodNumber;
4155
+ dropped: z.ZodNumber;
4156
+ }, z.core.$strip>;
4157
+ export type NcAlarmInputBypassView = z.infer<typeof NcAlarmInputBypassViewSchema>;
4078
4158
  export declare const NcAlarmLiveSchema: z.ZodObject<{
4079
4159
  state: z.ZodEnum<{
4080
4160
  armed_away: "armed_away";
@@ -4126,6 +4206,14 @@ export declare const NcAlarmLiveSchema: z.ZodObject<{
4126
4206
  open: "open";
4127
4207
  }>;
4128
4208
  }, z.core.$strip>>;
4209
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
4210
+ ruleId: z.ZodString;
4211
+ ruleName: z.ZodString;
4212
+ deviceId: z.ZodNumber;
4213
+ name: z.ZodString;
4214
+ since: z.ZodNumber;
4215
+ dropped: z.ZodNumber;
4216
+ }, z.core.$strip>>>;
4129
4217
  }, z.core.$strip>;
4130
4218
  export type NcAlarmLive = z.infer<typeof NcAlarmLiveSchema>;
4131
4219
  export declare const NcAlarmConfigSchema: z.ZodObject<{
@@ -4281,6 +4369,14 @@ export declare const NcAlarmConfigSchema: z.ZodObject<{
4281
4369
  open: "open";
4282
4370
  }>;
4283
4371
  }, z.core.$strip>>;
4372
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
4373
+ ruleId: z.ZodString;
4374
+ ruleName: z.ZodString;
4375
+ deviceId: z.ZodNumber;
4376
+ name: z.ZodString;
4377
+ since: z.ZodNumber;
4378
+ dropped: z.ZodNumber;
4379
+ }, z.core.$strip>>>;
4284
4380
  }, z.core.$strip>>;
4285
4381
  }, z.core.$strip>;
4286
4382
  export type NcAlarmConfig = z.infer<typeof NcAlarmConfigSchema>;
@@ -4603,7 +4699,14 @@ export declare const notificationRulesCapability: {
4603
4699
  }, z.core.$strip>>;
4604
4700
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4605
4701
  media: z.ZodDefault<z.ZodObject<{
4606
- attach: z.ZodDefault<z.ZodEnum<{
4702
+ image: z.ZodOptional<z.ZodEnum<{
4703
+ clean: "clean";
4704
+ crop: "crop";
4705
+ none: "none";
4706
+ "scene-boxes": "scene-boxes";
4707
+ }>>;
4708
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
4709
+ attach: z.ZodOptional<z.ZodEnum<{
4607
4710
  best: "best";
4608
4711
  "best-matching": "best-matching";
4609
4712
  keyFrame: "keyFrame";
@@ -4963,7 +5066,14 @@ export declare const notificationRulesCapability: {
4963
5066
  }, z.core.$strip>>;
4964
5067
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4965
5068
  media: z.ZodDefault<z.ZodObject<{
4966
- attach: z.ZodDefault<z.ZodEnum<{
5069
+ image: z.ZodOptional<z.ZodEnum<{
5070
+ clean: "clean";
5071
+ crop: "crop";
5072
+ none: "none";
5073
+ "scene-boxes": "scene-boxes";
5074
+ }>>;
5075
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
5076
+ attach: z.ZodOptional<z.ZodEnum<{
4967
5077
  best: "best";
4968
5078
  "best-matching": "best-matching";
4969
5079
  keyFrame: "keyFrame";
@@ -5321,7 +5431,14 @@ export declare const notificationRulesCapability: {
5321
5431
  }, z.core.$strip>>;
5322
5432
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5323
5433
  media: z.ZodDefault<z.ZodObject<{
5324
- attach: z.ZodDefault<z.ZodEnum<{
5434
+ image: z.ZodOptional<z.ZodEnum<{
5435
+ clean: "clean";
5436
+ crop: "crop";
5437
+ none: "none";
5438
+ "scene-boxes": "scene-boxes";
5439
+ }>>;
5440
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
5441
+ attach: z.ZodOptional<z.ZodEnum<{
5325
5442
  best: "best";
5326
5443
  "best-matching": "best-matching";
5327
5444
  keyFrame: "keyFrame";
@@ -5673,7 +5790,14 @@ export declare const notificationRulesCapability: {
5673
5790
  }, z.core.$strip>>;
5674
5791
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5675
5792
  media: z.ZodDefault<z.ZodObject<{
5676
- attach: z.ZodDefault<z.ZodEnum<{
5793
+ image: z.ZodOptional<z.ZodEnum<{
5794
+ clean: "clean";
5795
+ crop: "crop";
5796
+ none: "none";
5797
+ "scene-boxes": "scene-boxes";
5798
+ }>>;
5799
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
5800
+ attach: z.ZodOptional<z.ZodEnum<{
5677
5801
  best: "best";
5678
5802
  "best-matching": "best-matching";
5679
5803
  keyFrame: "keyFrame";
@@ -6156,7 +6280,14 @@ export declare const notificationRulesCapability: {
6156
6280
  }, z.core.$strip>>;
6157
6281
  }, z.core.$strip>>;
6158
6282
  media: z.ZodOptional<z.ZodObject<{
6159
- attach: z.ZodDefault<z.ZodEnum<{
6283
+ image: z.ZodOptional<z.ZodEnum<{
6284
+ clean: "clean";
6285
+ crop: "crop";
6286
+ none: "none";
6287
+ "scene-boxes": "scene-boxes";
6288
+ }>>;
6289
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
6290
+ attach: z.ZodOptional<z.ZodEnum<{
6160
6291
  best: "best";
6161
6292
  "best-matching": "best-matching";
6162
6293
  keyFrame: "keyFrame";
@@ -6399,7 +6530,14 @@ export declare const notificationRulesCapability: {
6399
6530
  }, z.core.$strip>>;
6400
6531
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
6401
6532
  media: z.ZodDefault<z.ZodObject<{
6402
- attach: z.ZodDefault<z.ZodEnum<{
6533
+ image: z.ZodOptional<z.ZodEnum<{
6534
+ clean: "clean";
6535
+ crop: "crop";
6536
+ none: "none";
6537
+ "scene-boxes": "scene-boxes";
6538
+ }>>;
6539
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
6540
+ attach: z.ZodOptional<z.ZodEnum<{
6403
6541
  best: "best";
6404
6542
  "best-matching": "best-matching";
6405
6543
  keyFrame: "keyFrame";
@@ -6950,7 +7088,14 @@ export declare const notificationRulesCapability: {
6950
7088
  }, z.core.$strip>>;
6951
7089
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
6952
7090
  media: z.ZodDefault<z.ZodObject<{
6953
- attach: z.ZodDefault<z.ZodEnum<{
7091
+ image: z.ZodOptional<z.ZodEnum<{
7092
+ clean: "clean";
7093
+ crop: "crop";
7094
+ none: "none";
7095
+ "scene-boxes": "scene-boxes";
7096
+ }>>;
7097
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
7098
+ attach: z.ZodOptional<z.ZodEnum<{
6954
7099
  best: "best";
6955
7100
  "best-matching": "best-matching";
6956
7101
  keyFrame: "keyFrame";
@@ -7327,7 +7472,14 @@ export declare const notificationRulesCapability: {
7327
7472
  }, z.core.$strip>>;
7328
7473
  targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
7329
7474
  media: z.ZodDefault<z.ZodObject<{
7330
- attach: z.ZodDefault<z.ZodEnum<{
7475
+ image: z.ZodOptional<z.ZodEnum<{
7476
+ clean: "clean";
7477
+ crop: "crop";
7478
+ none: "none";
7479
+ "scene-boxes": "scene-boxes";
7480
+ }>>;
7481
+ showTriggerZone: z.ZodOptional<z.ZodBoolean>;
7482
+ attach: z.ZodOptional<z.ZodEnum<{
7331
7483
  best: "best";
7332
7484
  "best-matching": "best-matching";
7333
7485
  keyFrame: "keyFrame";
@@ -8240,6 +8392,14 @@ export declare const notificationRulesCapability: {
8240
8392
  open: "open";
8241
8393
  }>;
8242
8394
  }, z.core.$strip>>;
8395
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
8396
+ ruleId: z.ZodString;
8397
+ ruleName: z.ZodString;
8398
+ deviceId: z.ZodNumber;
8399
+ name: z.ZodString;
8400
+ since: z.ZodNumber;
8401
+ dropped: z.ZodNumber;
8402
+ }, z.core.$strip>>>;
8243
8403
  }, z.core.$strip>>;
8244
8404
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
8245
8405
  /**
@@ -8509,6 +8669,14 @@ export declare const notificationRulesCapability: {
8509
8669
  open: "open";
8510
8670
  }>;
8511
8671
  }, z.core.$strip>>;
8672
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
8673
+ ruleId: z.ZodString;
8674
+ ruleName: z.ZodString;
8675
+ deviceId: z.ZodNumber;
8676
+ name: z.ZodString;
8677
+ since: z.ZodNumber;
8678
+ dropped: z.ZodNumber;
8679
+ }, z.core.$strip>>>;
8512
8680
  }, z.core.$strip>>;
8513
8681
  }, z.core.$strip>, "mutation">;
8514
8682
  /**
@@ -8672,6 +8840,14 @@ export declare const notificationRulesCapability: {
8672
8840
  open: "open";
8673
8841
  }>;
8674
8842
  }, z.core.$strip>>;
8843
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
8844
+ ruleId: z.ZodString;
8845
+ ruleName: z.ZodString;
8846
+ deviceId: z.ZodNumber;
8847
+ name: z.ZodString;
8848
+ since: z.ZodNumber;
8849
+ dropped: z.ZodNumber;
8850
+ }, z.core.$strip>>>;
8675
8851
  }, z.core.$strip>>;
8676
8852
  }, z.core.$strip>, "mutation">;
8677
8853
  /** Rename a profile (Default included — only the name, never the id). */
@@ -8831,6 +9007,14 @@ export declare const notificationRulesCapability: {
8831
9007
  open: "open";
8832
9008
  }>;
8833
9009
  }, z.core.$strip>>;
9010
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
9011
+ ruleId: z.ZodString;
9012
+ ruleName: z.ZodString;
9013
+ deviceId: z.ZodNumber;
9014
+ name: z.ZodString;
9015
+ since: z.ZodNumber;
9016
+ dropped: z.ZodNumber;
9017
+ }, z.core.$strip>>>;
8834
9018
  }, z.core.$strip>>;
8835
9019
  }, z.core.$strip>, "mutation">;
8836
9020
  /**
@@ -8992,6 +9176,14 @@ export declare const notificationRulesCapability: {
8992
9176
  open: "open";
8993
9177
  }>;
8994
9178
  }, z.core.$strip>>;
9179
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
9180
+ ruleId: z.ZodString;
9181
+ ruleName: z.ZodString;
9182
+ deviceId: z.ZodNumber;
9183
+ name: z.ZodString;
9184
+ since: z.ZodNumber;
9185
+ dropped: z.ZodNumber;
9186
+ }, z.core.$strip>>>;
8995
9187
  }, z.core.$strip>>;
8996
9188
  }, z.core.$strip>, "mutation">;
8997
9189
  /**
@@ -9153,6 +9345,14 @@ export declare const notificationRulesCapability: {
9153
9345
  open: "open";
9154
9346
  }>;
9155
9347
  }, z.core.$strip>>;
9348
+ bypassedInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
9349
+ ruleId: z.ZodString;
9350
+ ruleName: z.ZodString;
9351
+ deviceId: z.ZodNumber;
9352
+ name: z.ZodString;
9353
+ since: z.ZodNumber;
9354
+ dropped: z.ZodNumber;
9355
+ }, z.core.$strip>>>;
9156
9356
  }, z.core.$strip>>;
9157
9357
  }, z.core.$strip>, "mutation">;
9158
9358
  /**
@@ -489,9 +489,31 @@ export declare const streamParamsCapability: {
489
489
  */
490
490
  readonly durability: 'restored';
491
491
  /**
492
- * History (D850): none — encoder configuration.
492
+ * History (D850): the configured bitrate and frame rate of the main and sub
493
+ * profiles. Configuration, so change-only on the default floor: a point is an
494
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
495
+ * quality over time must show.
493
496
  */
494
- readonly history: 'none';
497
+ readonly history: {
498
+ readonly fields: {
499
+ readonly 'main.bitrate': {
500
+ readonly kind: 'gauge';
501
+ readonly unit: 'kbps';
502
+ };
503
+ readonly 'main.framerate': {
504
+ readonly kind: 'gauge';
505
+ readonly unit: 'fps';
506
+ };
507
+ readonly 'sub.bitrate': {
508
+ readonly kind: 'gauge';
509
+ readonly unit: 'kbps';
510
+ };
511
+ readonly 'sub.framerate': {
512
+ readonly kind: 'gauge';
513
+ readonly unit: 'fps';
514
+ };
515
+ };
516
+ };
495
517
  /** Clock fields: written, but excluded from the compare that decides
496
518
  * whether persisting is worth a SQLite commit. */
497
519
  readonly volatileStateFields: readonly ["lastFetchedAt"];