@camstack/types 1.2.256 → 1.2.257
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capabilities/consumables.cap.d.ts +10 -2
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +102 -0
- package/dist/capabilities/osd-manager.cap.d.ts +24 -0
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +193 -11
- package/dist/index.mjs +187 -12
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/system-event-filters.d.ts +11 -3
- package/dist/notification/template-vars.d.ts +24 -1
- package/package.json +1 -1
|
@@ -136,11 +136,19 @@ export declare const consumablesCapability: {
|
|
|
136
136
|
lastFetchedAt: z.ZodNumber;
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
/**
|
|
139
|
-
* Runtime-state durability: **
|
|
139
|
+
* Runtime-state durability: **restored** — nothing else holds the value
|
|
140
|
+
* (D642). A consumable can often be read only in a device's wake window (the
|
|
141
|
+
* Dreame mower's CMS counters answer only while it charges), so a restart
|
|
142
|
+
* that wiped the slice left the panel empty and the alerts blind until the
|
|
143
|
+
* next wake — 2026-09-26, mower 503 idle with `items: []`. A restored item is
|
|
144
|
+
* the previous observation, not a claim about now; the provider overwrites it
|
|
145
|
+
* the moment it reads the device again.
|
|
140
146
|
*
|
|
141
147
|
* See `RuntimeStateDurability`. Enforced by
|
|
142
148
|
* `scripts/check-runtime-state-durability.ts`.
|
|
143
149
|
*/
|
|
144
|
-
readonly durability: "
|
|
150
|
+
readonly durability: "restored";
|
|
151
|
+
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
152
|
+
readonly volatileStateFields: readonly ["lastChangedAt", "lastFetchedAt"];
|
|
145
153
|
};
|
|
146
154
|
export type IConsumablesProvider = InferProvider<typeof consumablesCapability>;
|
|
@@ -82,7 +82,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema,
|
|
|
82
82
|
export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
|
|
83
83
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
84
84
|
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';
|
|
85
|
-
export { type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, 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_DEFAULT_SNOOZE_MINUTES, 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 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, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, NC_RULE_CLEARABLE_KEYS, NcRuleKindSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, 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 NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, NcTemplatePreviewSchema, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
85
|
+
export { type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, consumableLowPercentOf, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, 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 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, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, NC_RULE_CLEARABLE_KEYS, NcRuleKindSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, 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 NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, NcTemplatePreviewSchema, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
86
86
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
87
87
|
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 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, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, type SummariesPage, type Summary, type SummaryDetail, type SummaryListItem, SummarySchema, 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';
|
|
88
88
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
@@ -74,6 +74,9 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
74
74
|
"device-battery-normal": "device-battery-normal";
|
|
75
75
|
"device-consumable-low": "device-consumable-low";
|
|
76
76
|
"device-consumable-normal": "device-consumable-normal";
|
|
77
|
+
"device-tank-low": "device-tank-low";
|
|
78
|
+
"device-tank-full": "device-tank-full";
|
|
79
|
+
"device-tank-normal": "device-tank-normal";
|
|
77
80
|
"stream-online": "stream-online";
|
|
78
81
|
"stream-offline": "stream-offline";
|
|
79
82
|
"node-online": "node-online";
|
|
@@ -132,6 +135,27 @@ export declare const NC_ALARM_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
|
132
135
|
* catalog parity spec.
|
|
133
136
|
*/
|
|
134
137
|
export declare const NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
138
|
+
/**
|
|
139
|
+
* The two kinds a RULE's consumable threshold speaks about (D642). Named once:
|
|
140
|
+
* the filter scoping (`systemEventFilterApplies`), the hub's threshold census
|
|
141
|
+
* and both editors read it.
|
|
142
|
+
*/
|
|
143
|
+
export declare const NC_CONSUMABLE_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
144
|
+
/** A vacuum's tank alerts (D642) — raised on the provider's own verdict. */
|
|
145
|
+
export declare const NC_TANK_SYSTEM_EVENT_KINDS: readonly NcSystemEventKind[];
|
|
146
|
+
/**
|
|
147
|
+
* The consumable threshold a rule that does not state one judges at (D642).
|
|
148
|
+
* The operator's number ("default 15 %, configurable on the rule"), and the
|
|
149
|
+
* value the cluster-wide setting it replaces shipped with.
|
|
150
|
+
*/
|
|
151
|
+
export declare const NC_CONSUMABLE_LOW_PERCENT_DEFAULT = 15;
|
|
152
|
+
/**
|
|
153
|
+
* The highest consumable threshold a rule may state (D642 review M1): 100 minus
|
|
154
|
+
* the band's 5-point recovery hysteresis (`consumable-band.ts`). Above it the
|
|
155
|
+
* recovery point passes 100 % and an episode could never clear, even for a
|
|
156
|
+
* part just replaced. A spec in the notification centre pins the sum.
|
|
157
|
+
*/
|
|
158
|
+
export declare const NC_CONSUMABLE_LOW_PERCENT_MAX = 95;
|
|
135
159
|
/**
|
|
136
160
|
* One coherent system-event condition. `kinds` is the required opt-in safety
|
|
137
161
|
* gate; the remaining lists are optional narrowing filters relevant to the
|
|
@@ -147,6 +171,9 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
147
171
|
"device-battery-normal": "device-battery-normal";
|
|
148
172
|
"device-consumable-low": "device-consumable-low";
|
|
149
173
|
"device-consumable-normal": "device-consumable-normal";
|
|
174
|
+
"device-tank-low": "device-tank-low";
|
|
175
|
+
"device-tank-full": "device-tank-full";
|
|
176
|
+
"device-tank-normal": "device-tank-normal";
|
|
150
177
|
"stream-online": "stream-online";
|
|
151
178
|
"stream-offline": "stream-offline";
|
|
152
179
|
"node-online": "node-online";
|
|
@@ -180,8 +207,11 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
180
207
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
181
208
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
209
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
183
211
|
}, z.core.$strip>;
|
|
184
212
|
export type NcSystemEventCondition = z.infer<typeof NcSystemEventConditionSchema>;
|
|
213
|
+
/** The consumable threshold a system-event condition judges at (D642). */
|
|
214
|
+
export declare function consumableLowPercentOf(condition: NcSystemEventCondition): number;
|
|
185
215
|
/**
|
|
186
216
|
* `maxPerTrack` for `immediate` rules is FIXED at 1 (D-3): a single track
|
|
187
217
|
* fires an immediate rule at most once, enforced durably by the outbox
|
|
@@ -657,6 +687,9 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
657
687
|
"device-battery-normal": "device-battery-normal";
|
|
658
688
|
"device-consumable-low": "device-consumable-low";
|
|
659
689
|
"device-consumable-normal": "device-consumable-normal";
|
|
690
|
+
"device-tank-low": "device-tank-low";
|
|
691
|
+
"device-tank-full": "device-tank-full";
|
|
692
|
+
"device-tank-normal": "device-tank-normal";
|
|
660
693
|
"stream-online": "stream-online";
|
|
661
694
|
"stream-offline": "stream-offline";
|
|
662
695
|
"node-online": "node-online";
|
|
@@ -690,6 +723,7 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
690
723
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
691
724
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
692
725
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
726
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
693
727
|
}, z.core.$strip>>;
|
|
694
728
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
695
729
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -978,6 +1012,9 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
978
1012
|
"device-battery-normal": "device-battery-normal";
|
|
979
1013
|
"device-consumable-low": "device-consumable-low";
|
|
980
1014
|
"device-consumable-normal": "device-consumable-normal";
|
|
1015
|
+
"device-tank-low": "device-tank-low";
|
|
1016
|
+
"device-tank-full": "device-tank-full";
|
|
1017
|
+
"device-tank-normal": "device-tank-normal";
|
|
981
1018
|
"stream-online": "stream-online";
|
|
982
1019
|
"stream-offline": "stream-offline";
|
|
983
1020
|
"node-online": "node-online";
|
|
@@ -1011,6 +1048,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1011
1048
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1012
1049
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1013
1050
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1051
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1014
1052
|
}, z.core.$strip>>;
|
|
1015
1053
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1016
1054
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -1346,6 +1384,9 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1346
1384
|
"device-battery-normal": "device-battery-normal";
|
|
1347
1385
|
"device-consumable-low": "device-consumable-low";
|
|
1348
1386
|
"device-consumable-normal": "device-consumable-normal";
|
|
1387
|
+
"device-tank-low": "device-tank-low";
|
|
1388
|
+
"device-tank-full": "device-tank-full";
|
|
1389
|
+
"device-tank-normal": "device-tank-normal";
|
|
1349
1390
|
"stream-online": "stream-online";
|
|
1350
1391
|
"stream-offline": "stream-offline";
|
|
1351
1392
|
"node-online": "node-online";
|
|
@@ -1379,6 +1420,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1379
1420
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1380
1421
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1381
1422
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1423
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1382
1424
|
}, z.core.$strip>>;
|
|
1383
1425
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1384
1426
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -1643,6 +1685,9 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1643
1685
|
"device-battery-normal": "device-battery-normal";
|
|
1644
1686
|
"device-consumable-low": "device-consumable-low";
|
|
1645
1687
|
"device-consumable-normal": "device-consumable-normal";
|
|
1688
|
+
"device-tank-low": "device-tank-low";
|
|
1689
|
+
"device-tank-full": "device-tank-full";
|
|
1690
|
+
"device-tank-normal": "device-tank-normal";
|
|
1646
1691
|
"stream-online": "stream-online";
|
|
1647
1692
|
"stream-offline": "stream-offline";
|
|
1648
1693
|
"node-online": "node-online";
|
|
@@ -1676,6 +1721,7 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1676
1721
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1677
1722
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1678
1723
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1724
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1679
1725
|
}, z.core.$strip>>;
|
|
1680
1726
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1681
1727
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -1840,6 +1886,9 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1840
1886
|
"device-battery-normal": "device-battery-normal";
|
|
1841
1887
|
"device-consumable-low": "device-consumable-low";
|
|
1842
1888
|
"device-consumable-normal": "device-consumable-normal";
|
|
1889
|
+
"device-tank-low": "device-tank-low";
|
|
1890
|
+
"device-tank-full": "device-tank-full";
|
|
1891
|
+
"device-tank-normal": "device-tank-normal";
|
|
1843
1892
|
"stream-online": "stream-online";
|
|
1844
1893
|
"stream-offline": "stream-offline";
|
|
1845
1894
|
"node-online": "node-online";
|
|
@@ -1873,6 +1922,7 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1873
1922
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1874
1923
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1875
1924
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1925
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1876
1926
|
}, z.core.$strip>>;
|
|
1877
1927
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1878
1928
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -2171,6 +2221,9 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
2171
2221
|
"device-battery-normal": "device-battery-normal";
|
|
2172
2222
|
"device-consumable-low": "device-consumable-low";
|
|
2173
2223
|
"device-consumable-normal": "device-consumable-normal";
|
|
2224
|
+
"device-tank-low": "device-tank-low";
|
|
2225
|
+
"device-tank-full": "device-tank-full";
|
|
2226
|
+
"device-tank-normal": "device-tank-normal";
|
|
2174
2227
|
"stream-online": "stream-online";
|
|
2175
2228
|
"stream-offline": "stream-offline";
|
|
2176
2229
|
"node-online": "node-online";
|
|
@@ -2244,6 +2297,9 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
2244
2297
|
"device-battery-normal": "device-battery-normal";
|
|
2245
2298
|
"device-consumable-low": "device-consumable-low";
|
|
2246
2299
|
"device-consumable-normal": "device-consumable-normal";
|
|
2300
|
+
"device-tank-low": "device-tank-low";
|
|
2301
|
+
"device-tank-full": "device-tank-full";
|
|
2302
|
+
"device-tank-normal": "device-tank-normal";
|
|
2247
2303
|
"stream-online": "stream-online";
|
|
2248
2304
|
"stream-offline": "stream-offline";
|
|
2249
2305
|
"node-online": "node-online";
|
|
@@ -2314,6 +2370,9 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
2314
2370
|
"device-battery-normal": "device-battery-normal";
|
|
2315
2371
|
"device-consumable-low": "device-consumable-low";
|
|
2316
2372
|
"device-consumable-normal": "device-consumable-normal";
|
|
2373
|
+
"device-tank-low": "device-tank-low";
|
|
2374
|
+
"device-tank-full": "device-tank-full";
|
|
2375
|
+
"device-tank-normal": "device-tank-normal";
|
|
2317
2376
|
"stream-online": "stream-online";
|
|
2318
2377
|
"stream-offline": "stream-offline";
|
|
2319
2378
|
"node-online": "node-online";
|
|
@@ -2466,6 +2525,9 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
2466
2525
|
"device-battery-normal": "device-battery-normal";
|
|
2467
2526
|
"device-consumable-low": "device-consumable-low";
|
|
2468
2527
|
"device-consumable-normal": "device-consumable-normal";
|
|
2528
|
+
"device-tank-low": "device-tank-low";
|
|
2529
|
+
"device-tank-full": "device-tank-full";
|
|
2530
|
+
"device-tank-normal": "device-tank-normal";
|
|
2469
2531
|
"stream-online": "stream-online";
|
|
2470
2532
|
"stream-offline": "stream-offline";
|
|
2471
2533
|
"node-online": "node-online";
|
|
@@ -2559,6 +2621,9 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
2559
2621
|
"device-battery-normal": "device-battery-normal";
|
|
2560
2622
|
"device-consumable-low": "device-consumable-low";
|
|
2561
2623
|
"device-consumable-normal": "device-consumable-normal";
|
|
2624
|
+
"device-tank-low": "device-tank-low";
|
|
2625
|
+
"device-tank-full": "device-tank-full";
|
|
2626
|
+
"device-tank-normal": "device-tank-normal";
|
|
2562
2627
|
"stream-online": "stream-online";
|
|
2563
2628
|
"stream-offline": "stream-offline";
|
|
2564
2629
|
"node-online": "node-online";
|
|
@@ -3187,6 +3252,9 @@ export declare const notificationRulesCapability: {
|
|
|
3187
3252
|
"device-battery-normal": "device-battery-normal";
|
|
3188
3253
|
"device-consumable-low": "device-consumable-low";
|
|
3189
3254
|
"device-consumable-normal": "device-consumable-normal";
|
|
3255
|
+
"device-tank-low": "device-tank-low";
|
|
3256
|
+
"device-tank-full": "device-tank-full";
|
|
3257
|
+
"device-tank-normal": "device-tank-normal";
|
|
3190
3258
|
"stream-online": "stream-online";
|
|
3191
3259
|
"stream-offline": "stream-offline";
|
|
3192
3260
|
"node-online": "node-online";
|
|
@@ -3220,6 +3288,7 @@ export declare const notificationRulesCapability: {
|
|
|
3220
3288
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3221
3289
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3222
3290
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3291
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
3223
3292
|
}, z.core.$strip>>;
|
|
3224
3293
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3225
3294
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -3466,6 +3535,9 @@ export declare const notificationRulesCapability: {
|
|
|
3466
3535
|
"device-battery-normal": "device-battery-normal";
|
|
3467
3536
|
"device-consumable-low": "device-consumable-low";
|
|
3468
3537
|
"device-consumable-normal": "device-consumable-normal";
|
|
3538
|
+
"device-tank-low": "device-tank-low";
|
|
3539
|
+
"device-tank-full": "device-tank-full";
|
|
3540
|
+
"device-tank-normal": "device-tank-normal";
|
|
3469
3541
|
"stream-online": "stream-online";
|
|
3470
3542
|
"stream-offline": "stream-offline";
|
|
3471
3543
|
"node-online": "node-online";
|
|
@@ -3499,6 +3571,7 @@ export declare const notificationRulesCapability: {
|
|
|
3499
3571
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3500
3572
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3501
3573
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3574
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
3502
3575
|
}, z.core.$strip>>;
|
|
3503
3576
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3504
3577
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -3743,6 +3816,9 @@ export declare const notificationRulesCapability: {
|
|
|
3743
3816
|
"device-battery-normal": "device-battery-normal";
|
|
3744
3817
|
"device-consumable-low": "device-consumable-low";
|
|
3745
3818
|
"device-consumable-normal": "device-consumable-normal";
|
|
3819
|
+
"device-tank-low": "device-tank-low";
|
|
3820
|
+
"device-tank-full": "device-tank-full";
|
|
3821
|
+
"device-tank-normal": "device-tank-normal";
|
|
3746
3822
|
"stream-online": "stream-online";
|
|
3747
3823
|
"stream-offline": "stream-offline";
|
|
3748
3824
|
"node-online": "node-online";
|
|
@@ -3776,6 +3852,7 @@ export declare const notificationRulesCapability: {
|
|
|
3776
3852
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3777
3853
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3778
3854
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3855
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
3779
3856
|
}, z.core.$strip>>;
|
|
3780
3857
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3781
3858
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -4014,6 +4091,9 @@ export declare const notificationRulesCapability: {
|
|
|
4014
4091
|
"device-battery-normal": "device-battery-normal";
|
|
4015
4092
|
"device-consumable-low": "device-consumable-low";
|
|
4016
4093
|
"device-consumable-normal": "device-consumable-normal";
|
|
4094
|
+
"device-tank-low": "device-tank-low";
|
|
4095
|
+
"device-tank-full": "device-tank-full";
|
|
4096
|
+
"device-tank-normal": "device-tank-normal";
|
|
4017
4097
|
"stream-online": "stream-online";
|
|
4018
4098
|
"stream-offline": "stream-offline";
|
|
4019
4099
|
"node-online": "node-online";
|
|
@@ -4047,6 +4127,7 @@ export declare const notificationRulesCapability: {
|
|
|
4047
4127
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4048
4128
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4049
4129
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4130
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4050
4131
|
}, z.core.$strip>>;
|
|
4051
4132
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4052
4133
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -4382,6 +4463,9 @@ export declare const notificationRulesCapability: {
|
|
|
4382
4463
|
"device-battery-normal": "device-battery-normal";
|
|
4383
4464
|
"device-consumable-low": "device-consumable-low";
|
|
4384
4465
|
"device-consumable-normal": "device-consumable-normal";
|
|
4466
|
+
"device-tank-low": "device-tank-low";
|
|
4467
|
+
"device-tank-full": "device-tank-full";
|
|
4468
|
+
"device-tank-normal": "device-tank-normal";
|
|
4385
4469
|
"stream-online": "stream-online";
|
|
4386
4470
|
"stream-offline": "stream-offline";
|
|
4387
4471
|
"node-online": "node-online";
|
|
@@ -4415,6 +4499,7 @@ export declare const notificationRulesCapability: {
|
|
|
4415
4499
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4416
4500
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4417
4501
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4502
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4418
4503
|
}, z.core.$strip>>;
|
|
4419
4504
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4420
4505
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -4577,6 +4662,9 @@ export declare const notificationRulesCapability: {
|
|
|
4577
4662
|
"device-battery-normal": "device-battery-normal";
|
|
4578
4663
|
"device-consumable-low": "device-consumable-low";
|
|
4579
4664
|
"device-consumable-normal": "device-consumable-normal";
|
|
4665
|
+
"device-tank-low": "device-tank-low";
|
|
4666
|
+
"device-tank-full": "device-tank-full";
|
|
4667
|
+
"device-tank-normal": "device-tank-normal";
|
|
4580
4668
|
"stream-online": "stream-online";
|
|
4581
4669
|
"stream-offline": "stream-offline";
|
|
4582
4670
|
"node-online": "node-online";
|
|
@@ -4610,6 +4698,7 @@ export declare const notificationRulesCapability: {
|
|
|
4610
4698
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4611
4699
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4612
4700
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4701
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4613
4702
|
}, z.core.$strip>>;
|
|
4614
4703
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4615
4704
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -4936,6 +5025,9 @@ export declare const notificationRulesCapability: {
|
|
|
4936
5025
|
"device-battery-normal": "device-battery-normal";
|
|
4937
5026
|
"device-consumable-low": "device-consumable-low";
|
|
4938
5027
|
"device-consumable-normal": "device-consumable-normal";
|
|
5028
|
+
"device-tank-low": "device-tank-low";
|
|
5029
|
+
"device-tank-full": "device-tank-full";
|
|
5030
|
+
"device-tank-normal": "device-tank-normal";
|
|
4939
5031
|
"stream-online": "stream-online";
|
|
4940
5032
|
"stream-offline": "stream-offline";
|
|
4941
5033
|
"node-online": "node-online";
|
|
@@ -4969,6 +5061,7 @@ export declare const notificationRulesCapability: {
|
|
|
4969
5061
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4970
5062
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4971
5063
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5064
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4972
5065
|
}, z.core.$strip>>;
|
|
4973
5066
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4974
5067
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -5288,6 +5381,9 @@ export declare const notificationRulesCapability: {
|
|
|
5288
5381
|
"device-battery-normal": "device-battery-normal";
|
|
5289
5382
|
"device-consumable-low": "device-consumable-low";
|
|
5290
5383
|
"device-consumable-normal": "device-consumable-normal";
|
|
5384
|
+
"device-tank-low": "device-tank-low";
|
|
5385
|
+
"device-tank-full": "device-tank-full";
|
|
5386
|
+
"device-tank-normal": "device-tank-normal";
|
|
5291
5387
|
"stream-online": "stream-online";
|
|
5292
5388
|
"stream-offline": "stream-offline";
|
|
5293
5389
|
"node-online": "node-online";
|
|
@@ -5367,6 +5463,9 @@ export declare const notificationRulesCapability: {
|
|
|
5367
5463
|
"device-battery-normal": "device-battery-normal";
|
|
5368
5464
|
"device-consumable-low": "device-consumable-low";
|
|
5369
5465
|
"device-consumable-normal": "device-consumable-normal";
|
|
5466
|
+
"device-tank-low": "device-tank-low";
|
|
5467
|
+
"device-tank-full": "device-tank-full";
|
|
5468
|
+
"device-tank-normal": "device-tank-normal";
|
|
5370
5469
|
"stream-online": "stream-online";
|
|
5371
5470
|
"stream-offline": "stream-offline";
|
|
5372
5471
|
"node-online": "node-online";
|
|
@@ -5475,6 +5574,9 @@ export declare const notificationRulesCapability: {
|
|
|
5475
5574
|
"device-battery-normal": "device-battery-normal";
|
|
5476
5575
|
"device-consumable-low": "device-consumable-low";
|
|
5477
5576
|
"device-consumable-normal": "device-consumable-normal";
|
|
5577
|
+
"device-tank-low": "device-tank-low";
|
|
5578
|
+
"device-tank-full": "device-tank-full";
|
|
5579
|
+
"device-tank-normal": "device-tank-normal";
|
|
5478
5580
|
"stream-online": "stream-online";
|
|
5479
5581
|
"stream-offline": "stream-offline";
|
|
5480
5582
|
"node-online": "node-online";
|
|
@@ -158,6 +158,9 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
158
158
|
"device-battery-normal": "device-battery-normal";
|
|
159
159
|
"device-consumable-low": "device-consumable-low";
|
|
160
160
|
"device-consumable-normal": "device-consumable-normal";
|
|
161
|
+
"device-tank-low": "device-tank-low";
|
|
162
|
+
"device-tank-full": "device-tank-full";
|
|
163
|
+
"device-tank-normal": "device-tank-normal";
|
|
161
164
|
"stream-online": "stream-online";
|
|
162
165
|
"stream-offline": "stream-offline";
|
|
163
166
|
"node-online": "node-online";
|
|
@@ -191,6 +194,7 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
191
194
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
192
195
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
193
196
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
197
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
194
198
|
}, z.core.$strip>>;
|
|
195
199
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
196
200
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -339,6 +343,9 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
339
343
|
"device-battery-normal": "device-battery-normal";
|
|
340
344
|
"device-consumable-low": "device-consumable-low";
|
|
341
345
|
"device-consumable-normal": "device-consumable-normal";
|
|
346
|
+
"device-tank-low": "device-tank-low";
|
|
347
|
+
"device-tank-full": "device-tank-full";
|
|
348
|
+
"device-tank-normal": "device-tank-normal";
|
|
342
349
|
"stream-online": "stream-online";
|
|
343
350
|
"stream-offline": "stream-offline";
|
|
344
351
|
"node-online": "node-online";
|
|
@@ -372,6 +379,7 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
372
379
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
373
380
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
374
381
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
382
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
375
383
|
}, z.core.$strip>>;
|
|
376
384
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
385
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -592,6 +600,9 @@ export declare const osdManagerCapability: {
|
|
|
592
600
|
"device-battery-normal": "device-battery-normal";
|
|
593
601
|
"device-consumable-low": "device-consumable-low";
|
|
594
602
|
"device-consumable-normal": "device-consumable-normal";
|
|
603
|
+
"device-tank-low": "device-tank-low";
|
|
604
|
+
"device-tank-full": "device-tank-full";
|
|
605
|
+
"device-tank-normal": "device-tank-normal";
|
|
595
606
|
"stream-online": "stream-online";
|
|
596
607
|
"stream-offline": "stream-offline";
|
|
597
608
|
"node-online": "node-online";
|
|
@@ -625,6 +636,7 @@ export declare const osdManagerCapability: {
|
|
|
625
636
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
626
637
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
627
638
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
628
640
|
}, z.core.$strip>>;
|
|
629
641
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
630
642
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -864,6 +876,9 @@ export declare const osdManagerCapability: {
|
|
|
864
876
|
"device-battery-normal": "device-battery-normal";
|
|
865
877
|
"device-consumable-low": "device-consumable-low";
|
|
866
878
|
"device-consumable-normal": "device-consumable-normal";
|
|
879
|
+
"device-tank-low": "device-tank-low";
|
|
880
|
+
"device-tank-full": "device-tank-full";
|
|
881
|
+
"device-tank-normal": "device-tank-normal";
|
|
867
882
|
"stream-online": "stream-online";
|
|
868
883
|
"stream-offline": "stream-offline";
|
|
869
884
|
"node-online": "node-online";
|
|
@@ -897,6 +912,7 @@ export declare const osdManagerCapability: {
|
|
|
897
912
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
898
913
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
899
914
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
915
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
900
916
|
}, z.core.$strip>>;
|
|
901
917
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
902
918
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -1044,6 +1060,9 @@ export declare const osdManagerCapability: {
|
|
|
1044
1060
|
"device-battery-normal": "device-battery-normal";
|
|
1045
1061
|
"device-consumable-low": "device-consumable-low";
|
|
1046
1062
|
"device-consumable-normal": "device-consumable-normal";
|
|
1063
|
+
"device-tank-low": "device-tank-low";
|
|
1064
|
+
"device-tank-full": "device-tank-full";
|
|
1065
|
+
"device-tank-normal": "device-tank-normal";
|
|
1047
1066
|
"stream-online": "stream-online";
|
|
1048
1067
|
"stream-offline": "stream-offline";
|
|
1049
1068
|
"node-online": "node-online";
|
|
@@ -1077,6 +1096,7 @@ export declare const osdManagerCapability: {
|
|
|
1077
1096
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1078
1097
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1079
1098
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1099
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1080
1100
|
}, z.core.$strip>>;
|
|
1081
1101
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1082
1102
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -1256,6 +1276,9 @@ export declare const osdManagerCapability: {
|
|
|
1256
1276
|
"device-battery-normal": "device-battery-normal";
|
|
1257
1277
|
"device-consumable-low": "device-consumable-low";
|
|
1258
1278
|
"device-consumable-normal": "device-consumable-normal";
|
|
1279
|
+
"device-tank-low": "device-tank-low";
|
|
1280
|
+
"device-tank-full": "device-tank-full";
|
|
1281
|
+
"device-tank-normal": "device-tank-normal";
|
|
1259
1282
|
"stream-online": "stream-online";
|
|
1260
1283
|
"stream-offline": "stream-offline";
|
|
1261
1284
|
"node-online": "node-online";
|
|
@@ -1289,6 +1312,7 @@ export declare const osdManagerCapability: {
|
|
|
1289
1312
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1290
1313
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1291
1314
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1315
|
+
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1292
1316
|
}, z.core.$strip>>;
|
|
1293
1317
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1294
1318
|
kind: z.ZodLiteral<"polygon">;
|
|
@@ -11,7 +11,7 @@ export interface RuntimeStatePolicy {
|
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
14
|
-
* `runtimeState`. 69 caps:
|
|
14
|
+
* `runtimeState`. 69 caps: 37 `restored`, 32 `session`.
|
|
15
15
|
*
|
|
16
16
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
17
17
|
* with `durability: 'session'` has one and has decided not to keep it.
|
package/dist/index.d.ts
CHANGED
|
@@ -230,7 +230,7 @@ export { conditionExclusionReason, conditionVisibleForKind, defaultDeliveryForSe
|
|
|
230
230
|
export { isScheduleActive } from './notification/schedule.js';
|
|
231
231
|
export { NC_ALARM_OPENING_EVENT_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, type NcAlarmMembershipSubject, type NcAlarmOpeningEventKind, ruleBelongsToAlarm, sensorTransitionNeverFires, } from './notification/alarm-membership.js';
|
|
232
232
|
export { NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, sensorRaisedOf, sensorTransitionOffered, } from './notification/sensor-raised.js';
|
|
233
|
-
export { NC_TEMPLATE_VARS, isKnownTemplateVar, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
|
|
233
|
+
export { NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, isKnownTemplateVar, servedTemplateVars, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
|
|
234
234
|
export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
|
|
235
235
|
export { describeSystemEventFamilyProblem, isSystemEventFamily, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, type NcSystemEventConditionFilterKey, type NcSystemEventFamily, type NcSystemEventFamilyProblem, type NcSystemEventFamilyVerdict, type NcSystemEventKindGroupSpec, systemEventFamilyOf, systemEventFamilyProblems, systemEventKindNamesOf, systemEventKindsOfFamily, } from './notification/system-event-families.js';
|
|
236
236
|
export { NC_SERVER_PACKAGE_NAME, NC_UPDATE_EVENT_PACKAGE_NAMES, type NcInstalledPackageLike, type NcScopePickerItem, nodePickerItems, packagePickerItems, } from './notification/scope-picker-items.js';
|