@camstack/types 1.2.300 → 1.2.303

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,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-G4F3X9X_.js");
2
+ const require_sleep = require("./sleep-C3gDpn7G.js");
3
3
  const require_event_category = require("./event-category-DmS_tLsU.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-CDCONfkt.mjs";
1
+ import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-DXKLNFvA.mjs";
2
2
  import { t as EventCategory } from "./event-category-BGmz_oxW.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
@@ -133,7 +133,7 @@ export declare const AutomationActionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
133
133
  seconds: z.ZodNumber;
134
134
  }, z.core.$strip>, z.ZodObject<{
135
135
  kind: z.ZodLiteral<"cap">;
136
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
136
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
137
137
  $var: z.ZodString;
138
138
  }, z.core.$strip>]>;
139
139
  cap: z.ZodString;
@@ -170,7 +170,7 @@ export declare const AutomationRecipeSchema: z.ZodObject<{
170
170
  seconds: z.ZodNumber;
171
171
  }, z.core.$strip>, z.ZodObject<{
172
172
  kind: z.ZodLiteral<"cap">;
173
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
173
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
174
174
  $var: z.ZodString;
175
175
  }, z.core.$strip>]>;
176
176
  cap: z.ZodString;
@@ -163,7 +163,7 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
163
163
  seconds: z.ZodNumber;
164
164
  }, z.core.$strip>, z.ZodObject<{
165
165
  kind: z.ZodLiteral<"cap">;
166
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
166
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
167
167
  $var: z.ZodString;
168
168
  }, z.core.$strip>]>;
169
169
  cap: z.ZodString;
@@ -436,7 +436,7 @@ export declare const CoreBlockSchema: z.ZodObject<{
436
436
  seconds: z.ZodNumber;
437
437
  }, z.core.$strip>, z.ZodObject<{
438
438
  kind: z.ZodLiteral<"cap">;
439
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
439
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
440
440
  $var: z.ZodString;
441
441
  }, z.core.$strip>]>;
442
442
  cap: z.ZodString;
@@ -639,7 +639,7 @@ export declare const CompositionViewSchema: z.ZodObject<{
639
639
  seconds: z.ZodNumber;
640
640
  }, z.core.$strip>, z.ZodObject<{
641
641
  kind: z.ZodLiteral<"cap">;
642
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
642
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
643
643
  $var: z.ZodString;
644
644
  }, z.core.$strip>]>;
645
645
  cap: z.ZodString;
@@ -840,7 +840,7 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
840
840
  seconds: z.ZodNumber;
841
841
  }, z.core.$strip>, z.ZodObject<{
842
842
  kind: z.ZodLiteral<"cap">;
843
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
843
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
844
844
  $var: z.ZodString;
845
845
  }, z.core.$strip>]>;
846
846
  cap: z.ZodString;
@@ -1045,7 +1045,7 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
1045
1045
  seconds: z.ZodNumber;
1046
1046
  }, z.core.$strip>, z.ZodObject<{
1047
1047
  kind: z.ZodLiteral<"cap">;
1048
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1048
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
1049
1049
  $var: z.ZodString;
1050
1050
  }, z.core.$strip>]>;
1051
1051
  cap: z.ZodString;
@@ -1251,7 +1251,7 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
1251
1251
  seconds: z.ZodNumber;
1252
1252
  }, z.core.$strip>, z.ZodObject<{
1253
1253
  kind: z.ZodLiteral<"cap">;
1254
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1254
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
1255
1255
  $var: z.ZodString;
1256
1256
  }, z.core.$strip>]>;
1257
1257
  cap: z.ZodString;
@@ -1477,7 +1477,7 @@ export declare const coreBlocksCapability: {
1477
1477
  seconds: z.ZodNumber;
1478
1478
  }, z.core.$strip>, z.ZodObject<{
1479
1479
  kind: z.ZodLiteral<"cap">;
1480
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1480
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
1481
1481
  $var: z.ZodString;
1482
1482
  }, z.core.$strip>]>;
1483
1483
  cap: z.ZodString;
@@ -1643,7 +1643,7 @@ export declare const coreBlocksCapability: {
1643
1643
  seconds: z.ZodNumber;
1644
1644
  }, z.core.$strip>, z.ZodObject<{
1645
1645
  kind: z.ZodLiteral<"cap">;
1646
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1646
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
1647
1647
  $var: z.ZodString;
1648
1648
  }, z.core.$strip>]>;
1649
1649
  cap: z.ZodString;
@@ -1823,7 +1823,7 @@ export declare const coreBlocksCapability: {
1823
1823
  seconds: z.ZodNumber;
1824
1824
  }, z.core.$strip>, z.ZodObject<{
1825
1825
  kind: z.ZodLiteral<"cap">;
1826
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1826
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
1827
1827
  $var: z.ZodString;
1828
1828
  }, z.core.$strip>]>;
1829
1829
  cap: z.ZodString;
@@ -2001,7 +2001,7 @@ export declare const coreBlocksCapability: {
2001
2001
  seconds: z.ZodNumber;
2002
2002
  }, z.core.$strip>, z.ZodObject<{
2003
2003
  kind: z.ZodLiteral<"cap">;
2004
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2004
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
2005
2005
  $var: z.ZodString;
2006
2006
  }, z.core.$strip>]>;
2007
2007
  cap: z.ZodString;
@@ -2175,7 +2175,7 @@ export declare const coreBlocksCapability: {
2175
2175
  seconds: z.ZodNumber;
2176
2176
  }, z.core.$strip>, z.ZodObject<{
2177
2177
  kind: z.ZodLiteral<"cap">;
2178
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2178
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
2179
2179
  $var: z.ZodString;
2180
2180
  }, z.core.$strip>]>;
2181
2181
  cap: z.ZodString;
@@ -2354,7 +2354,7 @@ export declare const coreBlocksCapability: {
2354
2354
  seconds: z.ZodNumber;
2355
2355
  }, z.core.$strip>, z.ZodObject<{
2356
2356
  kind: z.ZodLiteral<"cap">;
2357
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2357
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
2358
2358
  $var: z.ZodString;
2359
2359
  }, z.core.$strip>]>;
2360
2360
  cap: z.ZodString;
@@ -2698,7 +2698,7 @@ export declare const coreBlocksCapability: {
2698
2698
  seconds: z.ZodNumber;
2699
2699
  }, z.core.$strip>, z.ZodObject<{
2700
2700
  kind: z.ZodLiteral<"cap">;
2701
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2701
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
2702
2702
  $var: z.ZodString;
2703
2703
  }, z.core.$strip>]>;
2704
2704
  cap: z.ZodString;
@@ -2971,7 +2971,7 @@ export declare const coreBlocksCapability: {
2971
2971
  seconds: z.ZodNumber;
2972
2972
  }, z.core.$strip>, z.ZodObject<{
2973
2973
  kind: z.ZodLiteral<"cap">;
2974
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2974
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
2975
2975
  $var: z.ZodString;
2976
2976
  }, z.core.$strip>]>;
2977
2977
  cap: z.ZodString;
@@ -3142,7 +3142,7 @@ export declare const coreBlocksCapability: {
3142
3142
  seconds: z.ZodNumber;
3143
3143
  }, z.core.$strip>, z.ZodObject<{
3144
3144
  kind: z.ZodLiteral<"cap">;
3145
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3145
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
3146
3146
  $var: z.ZodString;
3147
3147
  }, z.core.$strip>]>;
3148
3148
  cap: z.ZodString;
@@ -3346,7 +3346,7 @@ export declare const coreBlocksCapability: {
3346
3346
  seconds: z.ZodNumber;
3347
3347
  }, z.core.$strip>, z.ZodObject<{
3348
3348
  kind: z.ZodLiteral<"cap">;
3349
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3349
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
3350
3350
  $var: z.ZodString;
3351
3351
  }, z.core.$strip>]>;
3352
3352
  cap: z.ZodString;
@@ -3557,7 +3557,7 @@ export declare const coreBlocksCapability: {
3557
3557
  seconds: z.ZodNumber;
3558
3558
  }, z.core.$strip>, z.ZodObject<{
3559
3559
  kind: z.ZodLiteral<"cap">;
3560
- deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3560
+ deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
3561
3561
  $var: z.ZodString;
3562
3562
  }, z.core.$strip>]>;
3563
3563
  cap: z.ZodString;
@@ -12,7 +12,7 @@
12
12
  * they sit next to each other in the same device config (`{ host, port,
13
13
  * username, password }` on Hikvision, Reolink, Amcrest, ONVIF alike). A
14
14
  * convenience that "pre-fills the login" is one template literal away, and
15
- * `http://admin:hunter2@192.168.50.139/` is a working URL that browsers accept,
15
+ * `http://admin:hunter2@192.168.x.x/` is a working URL that browsers accept,
16
16
  * that lands in the DOM, in a right-click → copy, in a screenshot, and in any
17
17
  * log line that prints what was opened. `scripts/check-no-credential-urls-in-
18
18
  * fixtures.ts` already exists because this repo shipped exactly that leak on
@@ -35,7 +35,7 @@ export interface DeviceAdminUrlParts {
35
35
  *
36
36
  * Not the vendor's control port. Reolink's device config carries `port: 9000`
37
37
  * — the Baichuan media port — and `http://<reolink>:9000/` answers nothing
38
- * (verified against 192.168.50.226 on 2026-09-22: `:9000` refuses the
38
+ * (verified against 192.168.x.x on 2026-09-22: `:9000` refuses the
39
39
  * connection, `:80` returns 200 text/html). A provider that reads a port
40
40
  * field without knowing what that port IS produces a button that opens a
41
41
  * browser error.
@@ -49,7 +49,7 @@
49
49
  * This matters here more than anywhere else in the repo, because every provider
50
50
  * that knows a device's host knows its PASSWORD too: `{ host, port, username,
51
51
  * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
52
- * and `http://admin:hunter2@192.168.50.139/` is a URL a browser accepts. The
52
+ * and `http://admin:hunter2@192.168.x.x/` is a URL a browser accepts. The
53
53
  * camera's own page will ask for its own login. That is correct, and pre-
54
54
  * filling it is the operator's business, not ours.
55
55
  *
@@ -85,8 +85,8 @@ export type { BrokerConnectionDetails, BrokerInfo as MqttBrokerInfo, BrokerStatu
85
85
  export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema as MqttBrokerInfoSchema, MqttBrokerStatusSchema, mqttBrokerCapability, StartEmbeddedInputSchema, } from './mqtt-broker.cap.js';
86
86
  export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
87
87
  export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
88
- export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
89
- export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcActionBinding, NcActionBindingSchema, type NcHookBindings, NcHookBindingsSchema, type NcRuleAction, NcRuleActionSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcSharedSequence, NcSharedSequenceInputSchema, type NcSharedSequenceInput, NcSharedSequenceSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
88
+ export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
89
+ export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcActionBinding, NcActionBindingSchema, type NcHookBindings, NcHookBindingsSchema, type NcRuleAction, NcRuleActionSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcSharedSequence, NcSharedSequenceInputSchema, type NcSharedSequenceInput, NcSharedSequenceSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
90
90
  export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
91
91
  export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
92
92
  export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
@@ -185,7 +185,7 @@ export declare const localNetworkCapability: {
185
185
  * every client a second authority on a socket only the hub binds. A viewer
186
186
  * configured with a port-less public URL (`https://camstack.example.top`)
187
187
  * infers 443 from the scheme, asks with 443, and was handed
188
- * `https://192.168.1.9:443` for a hub listening on 4443. That candidate
188
+ * `https://192.168.x.x:443` for a hub listening on 4443. That candidate
189
189
  * cannot ever answer, and losing its race reads in the log exactly like
190
190
  * "the LAN was tried and it was slower" — so an operator sitting on his own
191
191
  * WiFi stayed on the public tunnel for weeks, with the LAN candidate born
@@ -426,6 +426,18 @@ export declare const TestResultSchema: z.ZodObject<{
426
426
  }, z.core.$strip>>;
427
427
  }, z.core.$strip>;
428
428
  export type TestResult = SendResult;
429
+ /**
430
+ * Pre-save credential probe against a partial (unsaved) target config.
431
+ * `resolvedUrl` never includes secrets (token stripped from path).
432
+ */
433
+ export declare const ProbeTargetConfigResultSchema: z.ZodObject<{
434
+ ok: z.ZodBoolean;
435
+ resolvedUrl: z.ZodString;
436
+ httpStatus: z.ZodOptional<z.ZodNumber>;
437
+ stateInstance: z.ZodOptional<z.ZodString>;
438
+ error: z.ZodOptional<z.ZodString>;
439
+ }, z.core.$strip>;
440
+ export type ProbeTargetConfigResult = z.infer<typeof ProbeTargetConfigResultSchema>;
429
441
  export declare const notificationOutputCapability: {
430
442
  readonly name: "notification-output";
431
443
  readonly scope: "system";
@@ -491,14 +503,42 @@ export declare const notificationOutputCapability: {
491
503
  enabled: z.ZodBoolean;
492
504
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
493
505
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
506
+ /**
507
+ * One target WITH secrets — admin edit / duplicate hydration only.
508
+ * `listTargets` stays redacted; the editor loads this so password fields
509
+ * are filled (masked in the input) and a save can round-trip the token
510
+ * when a destination changes (Duplicate with a new chatId, etc.).
511
+ */
512
+ readonly getTarget: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
513
+ targetId: z.ZodString;
514
+ }, z.core.$strip>, z.ZodObject<{
515
+ id: z.ZodString;
516
+ name: z.ZodString;
517
+ kind: z.ZodString;
518
+ addonId: z.ZodString;
519
+ enabled: z.ZodBoolean;
520
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
521
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
494
522
  readonly discoverTargets: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
495
523
  kind: z.ZodString;
496
524
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
525
+ targetId: z.ZodOptional<z.ZodString>;
497
526
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
498
527
  kind: z.ZodString;
499
528
  suggestedName: z.ZodString;
500
529
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
501
530
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
531
+ readonly probeTargetConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
532
+ kind: z.ZodString;
533
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
534
+ targetId: z.ZodOptional<z.ZodString>;
535
+ }, z.core.$strip>, z.ZodObject<{
536
+ ok: z.ZodBoolean;
537
+ resolvedUrl: z.ZodString;
538
+ httpStatus: z.ZodOptional<z.ZodNumber>;
539
+ stateInstance: z.ZodOptional<z.ZodString>;
540
+ error: z.ZodOptional<z.ZodString>;
541
+ }, z.core.$strip>, "mutation">;
502
542
  readonly send: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
503
543
  targetId: z.ZodString;
504
544
  notification: z.ZodObject<{
@@ -666,6 +706,7 @@ export declare const notificationOutputCapability: {
666
706
  enabled: z.ZodBoolean;
667
707
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
668
708
  }, z.core.$strip>;
709
+ cloneSecretsFrom: z.ZodOptional<z.ZodString>;
669
710
  }, z.core.$strip>, z.ZodObject<{
670
711
  id: z.ZodString;
671
712
  name: z.ZodString;