@camstack/types 1.2.55 → 1.2.56

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_event_category = require("./event-category-BE4PDZ_3.js");
3
- const require_sleep = require("./sleep-DfF6vKCf.js");
2
+ const require_event_category = require("./event-category-DxZbWydC.js");
3
+ const require_sleep = require("./sleep-EX1-qUVR.js");
4
4
  const require_err_msg = require("./err-msg-COpsHMw2.js");
5
5
  //#region src/generated/collection-array-methods.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as EventCategory } from "./event-category-41fKf-q9.mjs";
2
- import { C as DeviceType, F as readNodePin, L as ReadinessRegistry, O as expandCapMethods, P as nodePin, R as ReadinessTimeoutError, V as scopeKey, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as normalizeAddonInitResult, ht as BaseAddon, mt as DisposerChain, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, yt as emitReadiness } from "./sleep-CT4lN1ij.mjs";
1
+ import { t as EventCategory } from "./event-category-Cv9dO26A.mjs";
2
+ import { C as DeviceType, F as readNodePin, L as ReadinessRegistry, O as expandCapMethods, P as nodePin, R as ReadinessTimeoutError, V as scopeKey, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as normalizeAddonInitResult, ht as BaseAddon, mt as DisposerChain, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, yt as emitReadiness } from "./sleep-CeuvKr4N.mjs";
3
3
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
4
4
  //#region src/generated/collection-array-methods.ts
5
5
  /**
@@ -74,7 +74,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema,
74
74
  export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
75
75
  export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
76
76
  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';
77
- export { type INotificationRulesProvider, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, 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 NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
77
+ export { type INotificationRulesProvider, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, 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 NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
78
78
  export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
79
79
  export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, type MediaFile, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, 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';
80
80
  export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
@@ -50,8 +50,46 @@ export declare const NcDeliverySchema: z.ZodEnum<{
50
50
  immediate: "immediate";
51
51
  "track-end": "track-end";
52
52
  "package-event": "package-event";
53
+ "system-event": "system-event";
53
54
  }>;
54
55
  export type NcDelivery = z.infer<typeof NcDeliverySchema>;
56
+ /**
57
+ * Stable Notification Center vocabulary over infrastructure/liveness events.
58
+ * Bus categories are normalized into these intent-level kinds so rules do not
59
+ * depend on a provider's raw event name or payload shape.
60
+ */
61
+ export declare const NcSystemEventKindSchema: z.ZodEnum<{
62
+ "camera-online": "camera-online";
63
+ "camera-offline": "camera-offline";
64
+ "stream-online": "stream-online";
65
+ "stream-offline": "stream-offline";
66
+ "node-online": "node-online";
67
+ "node-offline": "node-offline";
68
+ "addon-update-available": "addon-update-available";
69
+ "server-update-available": "server-update-available";
70
+ }>;
71
+ export type NcSystemEventKind = z.infer<typeof NcSystemEventKindSchema>;
72
+ /**
73
+ * One coherent system-event condition. `kinds` is the required opt-in safety
74
+ * gate; the remaining lists are optional narrowing filters relevant to the
75
+ * selected kinds.
76
+ */
77
+ export declare const NcSystemEventConditionSchema: z.ZodObject<{
78
+ kinds: z.ZodArray<z.ZodEnum<{
79
+ "camera-online": "camera-online";
80
+ "camera-offline": "camera-offline";
81
+ "stream-online": "stream-online";
82
+ "stream-offline": "stream-offline";
83
+ "node-online": "node-online";
84
+ "node-offline": "node-offline";
85
+ "addon-update-available": "addon-update-available";
86
+ "server-update-available": "server-update-available";
87
+ }>>;
88
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
89
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
+ }, z.core.$strip>;
92
+ export type NcSystemEventCondition = z.infer<typeof NcSystemEventConditionSchema>;
55
93
  /**
56
94
  * `maxPerTrack` for `immediate` rules is FIXED at 1 (D-3): a single track
57
95
  * fires an immediate rule at most once, enforced durably by the outbox
@@ -347,6 +385,21 @@ export declare const NcConditionsSchema: z.ZodObject<{
347
385
  delivered: "delivered";
348
386
  "picked-up": "picked-up";
349
387
  }>>;
388
+ systemEvent: z.ZodOptional<z.ZodObject<{
389
+ kinds: z.ZodArray<z.ZodEnum<{
390
+ "camera-online": "camera-online";
391
+ "camera-offline": "camera-offline";
392
+ "stream-online": "stream-online";
393
+ "stream-offline": "stream-offline";
394
+ "node-online": "node-online";
395
+ "node-offline": "node-offline";
396
+ "addon-update-available": "addon-update-available";
397
+ "server-update-available": "server-update-available";
398
+ }>>;
399
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
400
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
401
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
402
+ }, z.core.$strip>>;
350
403
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
351
404
  kind: z.ZodLiteral<"polygon">;
352
405
  points: z.ZodArray<z.ZodObject<{
@@ -467,6 +520,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
467
520
  immediate: "immediate";
468
521
  "track-end": "track-end";
469
522
  "package-event": "package-event";
523
+ "system-event": "system-event";
470
524
  }>;
471
525
  conditions: z.ZodDefault<z.ZodObject<{
472
526
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -514,6 +568,21 @@ export declare const NcRuleInputSchema: z.ZodObject<{
514
568
  delivered: "delivered";
515
569
  "picked-up": "picked-up";
516
570
  }>>;
571
+ systemEvent: z.ZodOptional<z.ZodObject<{
572
+ kinds: z.ZodArray<z.ZodEnum<{
573
+ "camera-online": "camera-online";
574
+ "camera-offline": "camera-offline";
575
+ "stream-online": "stream-online";
576
+ "stream-offline": "stream-offline";
577
+ "node-online": "node-online";
578
+ "node-offline": "node-offline";
579
+ "addon-update-available": "addon-update-available";
580
+ "server-update-available": "server-update-available";
581
+ }>>;
582
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
583
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
584
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
585
+ }, z.core.$strip>>;
517
586
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
518
587
  kind: z.ZodLiteral<"polygon">;
519
588
  points: z.ZodArray<z.ZodObject<{
@@ -647,6 +716,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
647
716
  immediate: "immediate";
648
717
  "track-end": "track-end";
649
718
  "package-event": "package-event";
719
+ "system-event": "system-event";
650
720
  }>>;
651
721
  conditions: z.ZodOptional<z.ZodDefault<z.ZodObject<{
652
722
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -694,6 +764,21 @@ export declare const NcRulePatchSchema: z.ZodObject<{
694
764
  delivered: "delivered";
695
765
  "picked-up": "picked-up";
696
766
  }>>;
767
+ systemEvent: z.ZodOptional<z.ZodObject<{
768
+ kinds: z.ZodArray<z.ZodEnum<{
769
+ "camera-online": "camera-online";
770
+ "camera-offline": "camera-offline";
771
+ "stream-online": "stream-online";
772
+ "stream-offline": "stream-offline";
773
+ "node-online": "node-online";
774
+ "node-offline": "node-offline";
775
+ "addon-update-available": "addon-update-available";
776
+ "server-update-available": "server-update-available";
777
+ }>>;
778
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
779
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
781
+ }, z.core.$strip>>;
697
782
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
783
  kind: z.ZodLiteral<"polygon">;
699
784
  points: z.ZodArray<z.ZodObject<{
@@ -820,6 +905,7 @@ export declare const NcRuleSchema: z.ZodObject<{
820
905
  immediate: "immediate";
821
906
  "track-end": "track-end";
822
907
  "package-event": "package-event";
908
+ "system-event": "system-event";
823
909
  }>;
824
910
  conditions: z.ZodDefault<z.ZodObject<{
825
911
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -867,6 +953,21 @@ export declare const NcRuleSchema: z.ZodObject<{
867
953
  delivered: "delivered";
868
954
  "picked-up": "picked-up";
869
955
  }>>;
956
+ systemEvent: z.ZodOptional<z.ZodObject<{
957
+ kinds: z.ZodArray<z.ZodEnum<{
958
+ "camera-online": "camera-online";
959
+ "camera-offline": "camera-offline";
960
+ "stream-online": "stream-online";
961
+ "stream-offline": "stream-offline";
962
+ "node-online": "node-online";
963
+ "node-offline": "node-offline";
964
+ "addon-update-available": "addon-update-available";
965
+ "server-update-available": "server-update-available";
966
+ }>>;
967
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
968
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
969
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
970
+ }, z.core.$strip>>;
870
971
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
871
972
  kind: z.ZodLiteral<"polygon">;
872
973
  points: z.ZodArray<z.ZodObject<{
@@ -993,6 +1094,7 @@ export declare const NcTestResultSchema: z.ZodObject<{
993
1094
  recordKind: z.ZodEnum<{
994
1095
  "device-event": "device-event";
995
1096
  "package-event": "package-event";
1097
+ "system-event": "system-event";
996
1098
  "object-event": "object-event";
997
1099
  track: "track";
998
1100
  }>;
@@ -1007,6 +1109,7 @@ export type NcTestResult = z.infer<typeof NcTestResultSchema>;
1007
1109
  export declare const NcConditionDescriptorSchema: z.ZodObject<{
1008
1110
  id: z.ZodString;
1009
1111
  group: z.ZodEnum<{
1112
+ system: "system";
1010
1113
  device: "device";
1011
1114
  label: "label";
1012
1115
  scope: "scope";
@@ -1023,6 +1126,7 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
1023
1126
  deviceState: "deviceState";
1024
1127
  schedule: "schedule";
1025
1128
  packagePhase: "packagePhase";
1129
+ systemEvent: "systemEvent";
1026
1130
  occupancy: "occupancy";
1027
1131
  deviceIdList: "deviceIdList";
1028
1132
  stringList: "stringList";
@@ -1048,6 +1152,7 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
1048
1152
  immediate: "immediate";
1049
1153
  "track-end": "track-end";
1050
1154
  "package-event": "package-event";
1155
+ "system-event": "system-event";
1051
1156
  }>>;
1052
1157
  phase: z.ZodString;
1053
1158
  description: z.ZodOptional<z.ZodString>;
@@ -1086,6 +1191,7 @@ export declare const NcHistoryRecordKindSchema: z.ZodEnum<{
1086
1191
  "device-event": "device-event";
1087
1192
  "track-end": "track-end";
1088
1193
  "package-event": "package-event";
1194
+ "system-event": "system-event";
1089
1195
  "object-event": "object-event";
1090
1196
  }>;
1091
1197
  export type NcHistoryRecordKind = z.infer<typeof NcHistoryRecordKindSchema>;
@@ -1096,6 +1202,22 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
1096
1202
  confidence: z.ZodOptional<z.ZodNumber>;
1097
1203
  zones: z.ZodArray<z.ZodString>;
1098
1204
  timestamp: z.ZodNumber;
1205
+ systemEvent: z.ZodOptional<z.ZodObject<{
1206
+ kind: z.ZodEnum<{
1207
+ "camera-online": "camera-online";
1208
+ "camera-offline": "camera-offline";
1209
+ "stream-online": "stream-online";
1210
+ "stream-offline": "stream-offline";
1211
+ "node-online": "node-online";
1212
+ "node-offline": "node-offline";
1213
+ "addon-update-available": "addon-update-available";
1214
+ "server-update-available": "server-update-available";
1215
+ }>;
1216
+ subject: z.ZodString;
1217
+ title: z.ZodString;
1218
+ body: z.ZodString;
1219
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1220
+ }, z.core.$strip>>;
1099
1221
  }, z.core.$strip>;
1100
1222
  export type NcHistorySubject = z.infer<typeof NcHistorySubjectSchema>;
1101
1223
  /**
@@ -1118,6 +1240,7 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
1118
1240
  immediate: "immediate";
1119
1241
  "track-end": "track-end";
1120
1242
  "package-event": "package-event";
1243
+ "system-event": "system-event";
1121
1244
  }>;
1122
1245
  targetId: z.ZodString;
1123
1246
  deviceId: z.ZodNumber;
@@ -1125,6 +1248,7 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
1125
1248
  "device-event": "device-event";
1126
1249
  "track-end": "track-end";
1127
1250
  "package-event": "package-event";
1251
+ "system-event": "system-event";
1128
1252
  "object-event": "object-event";
1129
1253
  }>;
1130
1254
  recordId: z.ZodString;
@@ -1144,6 +1268,22 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
1144
1268
  confidence: z.ZodOptional<z.ZodNumber>;
1145
1269
  zones: z.ZodArray<z.ZodString>;
1146
1270
  timestamp: z.ZodNumber;
1271
+ systemEvent: z.ZodOptional<z.ZodObject<{
1272
+ kind: z.ZodEnum<{
1273
+ "camera-online": "camera-online";
1274
+ "camera-offline": "camera-offline";
1275
+ "stream-online": "stream-online";
1276
+ "stream-offline": "stream-offline";
1277
+ "node-online": "node-online";
1278
+ "node-offline": "node-offline";
1279
+ "addon-update-available": "addon-update-available";
1280
+ "server-update-available": "server-update-available";
1281
+ }>;
1282
+ subject: z.ZodString;
1283
+ title: z.ZodString;
1284
+ body: z.ZodString;
1285
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1286
+ }, z.core.$strip>>;
1147
1287
  }, z.core.$strip>;
1148
1288
  }, z.core.$strip>;
1149
1289
  export type NcHistoryEntry = z.infer<typeof NcHistoryEntrySchema>;
@@ -1313,6 +1453,7 @@ export declare const notificationRulesCapability: {
1313
1453
  immediate: "immediate";
1314
1454
  "track-end": "track-end";
1315
1455
  "package-event": "package-event";
1456
+ "system-event": "system-event";
1316
1457
  }>;
1317
1458
  conditions: z.ZodDefault<z.ZodObject<{
1318
1459
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -1360,6 +1501,21 @@ export declare const notificationRulesCapability: {
1360
1501
  delivered: "delivered";
1361
1502
  "picked-up": "picked-up";
1362
1503
  }>>;
1504
+ systemEvent: z.ZodOptional<z.ZodObject<{
1505
+ kinds: z.ZodArray<z.ZodEnum<{
1506
+ "camera-online": "camera-online";
1507
+ "camera-offline": "camera-offline";
1508
+ "stream-online": "stream-online";
1509
+ "stream-offline": "stream-offline";
1510
+ "node-online": "node-online";
1511
+ "node-offline": "node-offline";
1512
+ "addon-update-available": "addon-update-available";
1513
+ "server-update-available": "server-update-available";
1514
+ }>>;
1515
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1516
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1517
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1518
+ }, z.core.$strip>>;
1363
1519
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
1520
  kind: z.ZodLiteral<"polygon">;
1365
1521
  points: z.ZodArray<z.ZodObject<{
@@ -1492,6 +1648,7 @@ export declare const notificationRulesCapability: {
1492
1648
  immediate: "immediate";
1493
1649
  "track-end": "track-end";
1494
1650
  "package-event": "package-event";
1651
+ "system-event": "system-event";
1495
1652
  }>;
1496
1653
  conditions: z.ZodDefault<z.ZodObject<{
1497
1654
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -1539,6 +1696,21 @@ export declare const notificationRulesCapability: {
1539
1696
  delivered: "delivered";
1540
1697
  "picked-up": "picked-up";
1541
1698
  }>>;
1699
+ systemEvent: z.ZodOptional<z.ZodObject<{
1700
+ kinds: z.ZodArray<z.ZodEnum<{
1701
+ "camera-online": "camera-online";
1702
+ "camera-offline": "camera-offline";
1703
+ "stream-online": "stream-online";
1704
+ "stream-offline": "stream-offline";
1705
+ "node-online": "node-online";
1706
+ "node-offline": "node-offline";
1707
+ "addon-update-available": "addon-update-available";
1708
+ "server-update-available": "server-update-available";
1709
+ }>>;
1710
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1711
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1712
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1713
+ }, z.core.$strip>>;
1542
1714
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1543
1715
  kind: z.ZodLiteral<"polygon">;
1544
1716
  points: z.ZodArray<z.ZodObject<{
@@ -1669,6 +1841,7 @@ export declare const notificationRulesCapability: {
1669
1841
  immediate: "immediate";
1670
1842
  "track-end": "track-end";
1671
1843
  "package-event": "package-event";
1844
+ "system-event": "system-event";
1672
1845
  }>;
1673
1846
  conditions: z.ZodDefault<z.ZodObject<{
1674
1847
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -1716,6 +1889,21 @@ export declare const notificationRulesCapability: {
1716
1889
  delivered: "delivered";
1717
1890
  "picked-up": "picked-up";
1718
1891
  }>>;
1892
+ systemEvent: z.ZodOptional<z.ZodObject<{
1893
+ kinds: z.ZodArray<z.ZodEnum<{
1894
+ "camera-online": "camera-online";
1895
+ "camera-offline": "camera-offline";
1896
+ "stream-online": "stream-online";
1897
+ "stream-offline": "stream-offline";
1898
+ "node-online": "node-online";
1899
+ "node-offline": "node-offline";
1900
+ "addon-update-available": "addon-update-available";
1901
+ "server-update-available": "server-update-available";
1902
+ }>>;
1903
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1904
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1905
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1906
+ }, z.core.$strip>>;
1719
1907
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
1908
  kind: z.ZodLiteral<"polygon">;
1721
1909
  points: z.ZodArray<z.ZodObject<{
@@ -1840,6 +2028,7 @@ export declare const notificationRulesCapability: {
1840
2028
  immediate: "immediate";
1841
2029
  "track-end": "track-end";
1842
2030
  "package-event": "package-event";
2031
+ "system-event": "system-event";
1843
2032
  }>;
1844
2033
  conditions: z.ZodDefault<z.ZodObject<{
1845
2034
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -1887,6 +2076,21 @@ export declare const notificationRulesCapability: {
1887
2076
  delivered: "delivered";
1888
2077
  "picked-up": "picked-up";
1889
2078
  }>>;
2079
+ systemEvent: z.ZodOptional<z.ZodObject<{
2080
+ kinds: z.ZodArray<z.ZodEnum<{
2081
+ "camera-online": "camera-online";
2082
+ "camera-offline": "camera-offline";
2083
+ "stream-online": "stream-online";
2084
+ "stream-offline": "stream-offline";
2085
+ "node-online": "node-online";
2086
+ "node-offline": "node-offline";
2087
+ "addon-update-available": "addon-update-available";
2088
+ "server-update-available": "server-update-available";
2089
+ }>>;
2090
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2091
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2092
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2093
+ }, z.core.$strip>>;
1890
2094
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1891
2095
  kind: z.ZodLiteral<"polygon">;
1892
2096
  points: z.ZodArray<z.ZodObject<{
@@ -2020,6 +2224,7 @@ export declare const notificationRulesCapability: {
2020
2224
  immediate: "immediate";
2021
2225
  "track-end": "track-end";
2022
2226
  "package-event": "package-event";
2227
+ "system-event": "system-event";
2023
2228
  }>>;
2024
2229
  conditions: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2025
2230
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -2067,6 +2272,21 @@ export declare const notificationRulesCapability: {
2067
2272
  delivered: "delivered";
2068
2273
  "picked-up": "picked-up";
2069
2274
  }>>;
2275
+ systemEvent: z.ZodOptional<z.ZodObject<{
2276
+ kinds: z.ZodArray<z.ZodEnum<{
2277
+ "camera-online": "camera-online";
2278
+ "camera-offline": "camera-offline";
2279
+ "stream-online": "stream-online";
2280
+ "stream-offline": "stream-offline";
2281
+ "node-online": "node-online";
2282
+ "node-offline": "node-offline";
2283
+ "addon-update-available": "addon-update-available";
2284
+ "server-update-available": "server-update-available";
2285
+ }>>;
2286
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2287
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2288
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2289
+ }, z.core.$strip>>;
2070
2290
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2071
2291
  kind: z.ZodLiteral<"polygon">;
2072
2292
  points: z.ZodArray<z.ZodObject<{
@@ -2192,6 +2412,7 @@ export declare const notificationRulesCapability: {
2192
2412
  immediate: "immediate";
2193
2413
  "track-end": "track-end";
2194
2414
  "package-event": "package-event";
2415
+ "system-event": "system-event";
2195
2416
  }>;
2196
2417
  conditions: z.ZodDefault<z.ZodObject<{
2197
2418
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -2239,6 +2460,21 @@ export declare const notificationRulesCapability: {
2239
2460
  delivered: "delivered";
2240
2461
  "picked-up": "picked-up";
2241
2462
  }>>;
2463
+ systemEvent: z.ZodOptional<z.ZodObject<{
2464
+ kinds: z.ZodArray<z.ZodEnum<{
2465
+ "camera-online": "camera-online";
2466
+ "camera-offline": "camera-offline";
2467
+ "stream-online": "stream-online";
2468
+ "stream-offline": "stream-offline";
2469
+ "node-online": "node-online";
2470
+ "node-offline": "node-offline";
2471
+ "addon-update-available": "addon-update-available";
2472
+ "server-update-available": "server-update-available";
2473
+ }>>;
2474
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2475
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2476
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2477
+ }, z.core.$strip>>;
2242
2478
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2243
2479
  kind: z.ZodLiteral<"polygon">;
2244
2480
  points: z.ZodArray<z.ZodObject<{
@@ -2417,6 +2653,7 @@ export declare const notificationRulesCapability: {
2417
2653
  immediate: "immediate";
2418
2654
  "track-end": "track-end";
2419
2655
  "package-event": "package-event";
2656
+ "system-event": "system-event";
2420
2657
  }>;
2421
2658
  conditions: z.ZodDefault<z.ZodObject<{
2422
2659
  deviceState: z.ZodOptional<z.ZodObject<{
@@ -2464,6 +2701,21 @@ export declare const notificationRulesCapability: {
2464
2701
  delivered: "delivered";
2465
2702
  "picked-up": "picked-up";
2466
2703
  }>>;
2704
+ systemEvent: z.ZodOptional<z.ZodObject<{
2705
+ kinds: z.ZodArray<z.ZodEnum<{
2706
+ "camera-online": "camera-online";
2707
+ "camera-offline": "camera-offline";
2708
+ "stream-online": "stream-online";
2709
+ "stream-offline": "stream-offline";
2710
+ "node-online": "node-online";
2711
+ "node-offline": "node-offline";
2712
+ "addon-update-available": "addon-update-available";
2713
+ "server-update-available": "server-update-available";
2714
+ }>>;
2715
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2716
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2717
+ packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2718
+ }, z.core.$strip>>;
2467
2719
  customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2468
2720
  kind: z.ZodLiteral<"polygon">;
2469
2721
  points: z.ZodArray<z.ZodObject<{
@@ -2586,6 +2838,7 @@ export declare const notificationRulesCapability: {
2586
2838
  recordKind: z.ZodEnum<{
2587
2839
  "device-event": "device-event";
2588
2840
  "package-event": "package-event";
2841
+ "system-event": "system-event";
2589
2842
  "object-event": "object-event";
2590
2843
  track: "track";
2591
2844
  }>;
@@ -2611,6 +2864,7 @@ export declare const notificationRulesCapability: {
2611
2864
  catalog: z.ZodArray<z.ZodObject<{
2612
2865
  id: z.ZodString;
2613
2866
  group: z.ZodEnum<{
2867
+ system: "system";
2614
2868
  device: "device";
2615
2869
  label: "label";
2616
2870
  scope: "scope";
@@ -2627,6 +2881,7 @@ export declare const notificationRulesCapability: {
2627
2881
  deviceState: "deviceState";
2628
2882
  schedule: "schedule";
2629
2883
  packagePhase: "packagePhase";
2884
+ systemEvent: "systemEvent";
2630
2885
  occupancy: "occupancy";
2631
2886
  deviceIdList: "deviceIdList";
2632
2887
  stringList: "stringList";
@@ -2652,6 +2907,7 @@ export declare const notificationRulesCapability: {
2652
2907
  immediate: "immediate";
2653
2908
  "track-end": "track-end";
2654
2909
  "package-event": "package-event";
2910
+ "system-event": "system-event";
2655
2911
  }>>;
2656
2912
  phase: z.ZodString;
2657
2913
  description: z.ZodOptional<z.ZodString>;
@@ -2711,6 +2967,7 @@ export declare const notificationRulesCapability: {
2711
2967
  immediate: "immediate";
2712
2968
  "track-end": "track-end";
2713
2969
  "package-event": "package-event";
2970
+ "system-event": "system-event";
2714
2971
  }>;
2715
2972
  targetId: z.ZodString;
2716
2973
  deviceId: z.ZodNumber;
@@ -2718,6 +2975,7 @@ export declare const notificationRulesCapability: {
2718
2975
  "device-event": "device-event";
2719
2976
  "track-end": "track-end";
2720
2977
  "package-event": "package-event";
2978
+ "system-event": "system-event";
2721
2979
  "object-event": "object-event";
2722
2980
  }>;
2723
2981
  recordId: z.ZodString;
@@ -2737,6 +2995,22 @@ export declare const notificationRulesCapability: {
2737
2995
  confidence: z.ZodOptional<z.ZodNumber>;
2738
2996
  zones: z.ZodArray<z.ZodString>;
2739
2997
  timestamp: z.ZodNumber;
2998
+ systemEvent: z.ZodOptional<z.ZodObject<{
2999
+ kind: z.ZodEnum<{
3000
+ "camera-online": "camera-online";
3001
+ "camera-offline": "camera-offline";
3002
+ "stream-online": "stream-online";
3003
+ "stream-offline": "stream-offline";
3004
+ "node-online": "node-online";
3005
+ "node-offline": "node-offline";
3006
+ "addon-update-available": "addon-update-available";
3007
+ "server-update-available": "server-update-available";
3008
+ }>;
3009
+ subject: z.ZodString;
3010
+ title: z.ZodString;
3011
+ body: z.ZodString;
3012
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3013
+ }, z.core.$strip>>;
2740
3014
  }, z.core.$strip>;
2741
3015
  }, z.core.$strip>>;
2742
3016
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;