@camstack/types 1.2.326 → 1.2.327

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.d.ts CHANGED
@@ -27,6 +27,7 @@ export type { IViewerUiProvider } from './capabilities/viewer-ui.cap.js';
27
27
  export { viewerUiCapability } from './capabilities/viewer-ui.cap.js';
28
28
  export { DEVICE_CHILDREN_BATCH_MAX } from './device/children-batch-max.js';
29
29
  export { DeviceType } from './device/device-type.js';
30
+ export { collectZodSecretPaths, isZodSecret } from './device/zod-secret.js';
30
31
  export { DisposerChain } from './disposer-chain.js';
31
32
  export { PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, } from './interfaces/addon-peer-bytes.js';
32
33
  export type * from './interfaces/addon-peer-bytes.js';
package/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-DPar9AHl.js");
2
+ const require_sleep = require("./sleep-az1qiFzK.js");
3
3
  const require_event_category = require("./event-category-CtBAl88K.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
@@ -413,6 +413,7 @@ exports.ReadinessTimeoutError = require_sleep.ReadinessTimeoutError;
413
413
  exports.adminUiCapability = require_sleep.adminUiCapability;
414
414
  exports.asJsonObject = require_sleep.asJsonObject;
415
415
  exports.asString = require_sleep.asString;
416
+ exports.collectZodSecretPaths = require_sleep.collectZodSecretPaths;
416
417
  exports.createDeviceProxy = require_sleep.createDeviceProxy;
417
418
  exports.createEventBusSliceSource = require_sleep.createEventBusSliceSource;
418
419
  exports.describeCustomActions = require_sleep.describeCustomActions;
@@ -423,6 +424,7 @@ exports.expandCapMethods = require_sleep.expandCapMethods;
423
424
  exports.isCollectionArrayMethodName = isCollectionArrayMethodName;
424
425
  exports.isDeviceScopedCap = require_sleep.isDeviceScopedCap;
425
426
  exports.isProviderOptionalMethodName = isProviderOptionalMethodName;
427
+ exports.isZodSecret = require_sleep.isZodSecret;
426
428
  exports.nodePin = require_sleep.nodePin;
427
429
  exports.normalizeAddonInitResult = require_sleep.normalizeAddonInitResult;
428
430
  exports.parseJsonUnknown = require_sleep.parseJsonUnknown;
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { B as nodePin, Ct as DisposerChain, D as adminUiCapability, N as expandCapMethods, S as DEVICE_CHILDREN_BATCH_MAX, T as describeCustomActions, Tt as normalizeAddonInitResult, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, _t as PEER_BYTES_MAX_OUTSTANDING, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as PEER_BYTES_CHUNK_BYTES, h as createEventBusSliceSource, kt as emitReadiness, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, vt as PEER_BYTES_STALL_MS, wt as BaseAddon, x as viewerUiCapability, xt as DATAPLANE_SECRET_HEADER, yt as PEER_BYTES_TICKET_TTL_MS } from "./sleep-BNeXenvr.mjs";
1
+ import { A as adminUiCapability, C as deviceOpsCapability, Dt as BaseAddon, Et as DisposerChain, I as expandCapMethods, K as ReadinessRegistry, Mt as emitReadiness, O as describeCustomActions, Ot as normalizeAddonInitResult, St as PEER_BYTES_TICKET_TTL_MS, T as DEVICE_CHILDREN_BATCH_MAX, U as nodePin, W as readNodePin, X as scopeKey, _ as createDeviceProxy, a as asJsonObject, bt as PEER_BYTES_MAX_OUTSTANDING, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, g as isZodSecret, h as collectZodSecretPaths, p as isDeviceScopedCap, q as ReadinessTimeoutError, s as asString, t as sleep, u as parseJsonUnknown, v as createEventBusSliceSource, w as viewerUiCapability, wt as DATAPLANE_SECRET_HEADER, xt as PEER_BYTES_STALL_MS, yt as PEER_BYTES_CHUNK_BYTES } from "./sleep-B0JG7-_F.mjs";
2
2
  import { t as EventCategory } from "./event-category-B_0XEcLF.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
@@ -392,4 +392,4 @@ function isProviderOptionalMethodName(capName, method) {
392
392
  return methods !== void 0 && methods.includes(method);
393
393
  }
394
394
  //#endregion
395
- export { BOOT_RECOVERY_BACKOFF_MS, BaseAddon, CAP_INPUT_DEFAULTS, COLLECTION_ARRAY_METHODS, DATAPLANE_SECRET_HEADER, DEVICE_CHILDREN_BATCH_MAX, DEVICE_SCOPED_CAPS, DeviceType, DisposerChain, EventCategory, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PROVIDER_OPTIONAL_METHODS, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, createEventBusSliceSource, describeCustomActions, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, isCollectionArrayMethodName, isDeviceScopedCap, isProviderOptionalMethodName, nodePin, normalizeAddonInitResult, parseJsonUnknown, readNodePin, scopeKey, sleep, viewerUiCapability, withCapInputDefaults };
395
+ export { BOOT_RECOVERY_BACKOFF_MS, BaseAddon, CAP_INPUT_DEFAULTS, COLLECTION_ARRAY_METHODS, DATAPLANE_SECRET_HEADER, DEVICE_CHILDREN_BATCH_MAX, DEVICE_SCOPED_CAPS, DeviceType, DisposerChain, EventCategory, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PROVIDER_OPTIONAL_METHODS, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, collectZodSecretPaths, createDeviceProxy, createEventBusSliceSource, describeCustomActions, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, isCollectionArrayMethodName, isDeviceScopedCap, isProviderOptionalMethodName, isZodSecret, nodePin, normalizeAddonInitResult, parseJsonUnknown, readNodePin, scopeKey, sleep, viewerUiCapability, withCapInputDefaults };
@@ -37,9 +37,9 @@ export declare const addonRoutesCapability: {
37
37
  readonly methods: {
38
38
  readonly getRoutes: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
39
39
  method: z.ZodEnum<{
40
- GET: "GET";
41
- POST: "POST";
42
40
  PUT: "PUT";
41
+ POST: "POST";
42
+ GET: "GET";
43
43
  DELETE: "DELETE";
44
44
  PATCH: "PATCH";
45
45
  }>;
@@ -74,6 +74,7 @@ export declare const DeviceInfoSchema: z.ZodObject<{
74
74
  features: z.ZodArray<z.ZodString>;
75
75
  isCamera: z.ZodBoolean;
76
76
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
77
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
78
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
79
  sourceInfo: z.ZodOptional<z.ZodObject<{
79
80
  id: z.ZodString;
@@ -292,6 +293,7 @@ export declare const DeviceRegisterPayloadSchema: z.ZodObject<{
292
293
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
294
  features: z.ZodOptional<z.ZodArray<z.ZodString>>;
294
295
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
296
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
297
  }, z.core.$strip>;
296
298
  export declare const DeviceRemovePayloadSchema: z.ZodObject<{
297
299
  deviceId: z.ZodNumber;
@@ -480,6 +482,7 @@ export declare const deviceManagerCapability: {
480
482
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
481
483
  features: z.ZodOptional<z.ZodArray<z.ZodString>>;
482
484
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
485
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
483
486
  }, z.core.$strip>, z.ZodVoid, "mutation">;
484
487
  /** Remove a device from the DB + in-memory registry. Called by DeviceManagerApi.remove(). */
485
488
  readonly removeDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -1013,6 +1016,7 @@ export declare const deviceManagerCapability: {
1013
1016
  features: z.ZodArray<z.ZodString>;
1014
1017
  isCamera: z.ZodBoolean;
1015
1018
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1019
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1016
1020
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1017
1021
  sourceInfo: z.ZodOptional<z.ZodObject<{
1018
1022
  id: z.ZodString;
@@ -1059,6 +1063,7 @@ export declare const deviceManagerCapability: {
1059
1063
  features: z.ZodArray<z.ZodString>;
1060
1064
  isCamera: z.ZodBoolean;
1061
1065
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1066
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1062
1067
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1063
1068
  sourceInfo: z.ZodOptional<z.ZodObject<{
1064
1069
  id: z.ZodString;
@@ -1105,6 +1110,7 @@ export declare const deviceManagerCapability: {
1105
1110
  features: z.ZodArray<z.ZodString>;
1106
1111
  isCamera: z.ZodBoolean;
1107
1112
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1113
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1108
1114
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1109
1115
  sourceInfo: z.ZodOptional<z.ZodObject<{
1110
1116
  id: z.ZodString;
@@ -1182,6 +1188,7 @@ export declare const deviceManagerCapability: {
1182
1188
  features: z.ZodArray<z.ZodString>;
1183
1189
  isCamera: z.ZodBoolean;
1184
1190
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1191
+ secretConfigPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1185
1192
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1186
1193
  sourceInfo: z.ZodOptional<z.ZodObject<{
1187
1194
  id: z.ZodString;
@@ -89,7 +89,7 @@ export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapabili
89
89
  export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, 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';
90
90
  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 NcActionBinding, NcActionBindingSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, 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 NcHookBindings, NcHookBindingsSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSharedSequence, type NcSharedSequenceInput, NcSharedSequenceInputSchema, NcSharedSequenceSchema, 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';
91
91
  export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
92
- 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
+ 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 RetrainArchiveResult, RetrainArchiveResultSchema, type RetrainArchiveTarget, RetrainArchiveTargetSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainExportFilter, RetrainExportFilterSchema, type RetrainExportLayout, RetrainExportLayoutSchema, 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';
93
93
  export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, SuppliedRootOutput, } from './pipeline-executor.cap.js';
94
94
  export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, SuppliedRootOutputSchema, } from './pipeline-executor.cap.js';
95
95
  export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, OccupancyLookAnswer, OccupancyLookRefusal, OccupancyLookRequest, SetCameraSensorsInput, } from './pipeline-orchestrator.cap.js';
@@ -222,7 +222,7 @@ export { type ITamperProvider, type TamperStatus, TamperStatusSchema, tamperCapa
222
222
  export { type ITemperatureSensorProvider, type TemperatureSensorStatus, TemperatureSensorStatusSchema, temperatureSensorCapability, } from './temperature-sensor.cap.js';
223
223
  export { type IToastProvider, ToastSchema, toastCapability } from './toast.cap.js';
224
224
  export { type IUpdateProvider, type UpdateStatus, UpdateStatusSchema, updateCapability, } from './update.cap.js';
225
- export { ApiKeySummarySchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, type IUserManagementProvider, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, userManagementCapability, } from './user-management.cap.js';
225
+ export { ApiKeySummarySchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, type IUserManagementProvider, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, userManagementCapability, } from './user-management.cap.js';
226
226
  export { type IVacuumControlProvider, type TankStatus, TankStatusSchema, type VacuumControlStatus, VacuumControlStatusSchema, type VacuumState, VacuumStateSchema, vacuumControlCapability, } from './vacuum-control.cap.js';
227
227
  export { type IValveProvider, type ValveState, ValveStateSchema, type ValveStatus, ValveStatusSchema, valveCapability, } from './valve.cap.js';
228
228
  export { type IVibrationProvider, type VibrationStatus, VibrationStatusSchema, vibrationCapability, } from './vibration.cap.js';
@@ -390,8 +390,8 @@ export declare const localNetworkCapability: {
390
390
  includeLoopback: z.ZodOptional<z.ZodBoolean>;
391
391
  ipv4Only: z.ZodOptional<z.ZodBoolean>;
392
392
  scheme: z.ZodOptional<z.ZodEnum<{
393
- https: "https";
394
393
  http: "http";
394
+ https: "https";
395
395
  }>>;
396
396
  includeAppLink: z.ZodOptional<z.ZodBoolean>;
397
397
  }, z.core.$strip>, z.ZodObject<{
@@ -497,8 +497,8 @@ export declare const localNetworkCapability: {
497
497
  */
498
498
  readonly getAddresses: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
499
499
  scheme: z.ZodOptional<z.ZodEnum<{
500
- https: "https";
501
500
  http: "http";
501
+ https: "https";
502
502
  }>>;
503
503
  }, z.core.$strip>>, z.ZodObject<{
504
504
  rows: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -60,6 +60,7 @@ export declare const RedirectLoginMethodSchema: z.ZodObject<{
60
60
  primary: "primary";
61
61
  "second-factor": "second-factor";
62
62
  }>;
63
+ linkable: z.ZodOptional<z.ZodBoolean>;
63
64
  }, z.core.$strip>;
64
65
  /**
65
66
  * A Module-Federation widget the login page mounts for an in-page
@@ -111,6 +112,7 @@ export declare const LoginMethodContributionSchema: z.ZodDiscriminatedUnion<[z.Z
111
112
  primary: "primary";
112
113
  "second-factor": "second-factor";
113
114
  }>;
115
+ linkable: z.ZodOptional<z.ZodBoolean>;
114
116
  }, z.core.$strip>, z.ZodObject<{
115
117
  kind: z.ZodLiteral<"widget">;
116
118
  id: z.ZodString;
@@ -152,6 +154,7 @@ export declare const loginMethodCapability: {
152
154
  primary: "primary";
153
155
  "second-factor": "second-factor";
154
156
  }>;
157
+ linkable: z.ZodOptional<z.ZodBoolean>;
155
158
  }, z.core.$strip>, z.ZodObject<{
156
159
  kind: z.ZodLiteral<"widget">;
157
160
  id: z.ZodString;
@@ -34,8 +34,8 @@ declare const MeshEndpointSchema: z.ZodObject<{
34
34
  hostname: z.ZodString;
35
35
  port: z.ZodNumber;
36
36
  protocol: z.ZodEnum<{
37
- https: "https";
38
37
  http: "http";
38
+ https: "https";
39
39
  }>;
40
40
  }, z.core.$strip>;
41
41
  export type MeshEndpoint = z.infer<typeof MeshEndpointSchema>;
@@ -80,8 +80,8 @@ export declare const MeshStatusSchema: z.ZodObject<{
80
80
  hostname: z.ZodString;
81
81
  port: z.ZodNumber;
82
82
  protocol: z.ZodEnum<{
83
- https: "https";
84
83
  http: "http";
84
+ https: "https";
85
85
  }>;
86
86
  }, z.core.$strip>>>;
87
87
  error: z.ZodOptional<z.ZodString>;
@@ -123,8 +123,8 @@ export declare const meshNetworkCapability: {
123
123
  hostname: z.ZodString;
124
124
  port: z.ZodNumber;
125
125
  protocol: z.ZodEnum<{
126
- https: "https";
127
126
  http: "http";
127
+ https: "https";
128
128
  }>;
129
129
  }, z.core.$strip>>>;
130
130
  error: z.ZodOptional<z.ZodString>;
@@ -5,8 +5,8 @@ declare const NetworkEndpointSchema: z.ZodObject<{
5
5
  hostname: z.ZodString;
6
6
  port: z.ZodNumber;
7
7
  protocol: z.ZodEnum<{
8
- https: "https";
9
8
  http: "http";
9
+ https: "https";
10
10
  }>;
11
11
  }, z.core.$strip>;
12
12
  declare const NetworkAccessStatusSchema: z.ZodObject<{
@@ -16,8 +16,8 @@ declare const NetworkAccessStatusSchema: z.ZodObject<{
16
16
  hostname: z.ZodString;
17
17
  port: z.ZodNumber;
18
18
  protocol: z.ZodEnum<{
19
- https: "https";
20
19
  http: "http";
20
+ https: "https";
21
21
  }>;
22
22
  }, z.core.$strip>>;
23
23
  error: z.ZodOptional<z.ZodString>;
@@ -37,8 +37,8 @@ declare const NetworkEndpointEntrySchema: z.ZodObject<{
37
37
  hostname: z.ZodString;
38
38
  port: z.ZodNumber;
39
39
  protocol: z.ZodEnum<{
40
- https: "https";
41
40
  http: "http";
41
+ https: "https";
42
42
  }>;
43
43
  id: z.ZodString;
44
44
  label: z.ZodString;
@@ -56,8 +56,8 @@ export declare const networkAccessCapability: {
56
56
  hostname: z.ZodString;
57
57
  port: z.ZodNumber;
58
58
  protocol: z.ZodEnum<{
59
- https: "https";
60
59
  http: "http";
60
+ https: "https";
61
61
  }>;
62
62
  }, z.core.$strip>, "mutation">;
63
63
  readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
@@ -66,8 +66,8 @@ export declare const networkAccessCapability: {
66
66
  hostname: z.ZodString;
67
67
  port: z.ZodNumber;
68
68
  protocol: z.ZodEnum<{
69
- https: "https";
70
69
  http: "http";
70
+ https: "https";
71
71
  }>;
72
72
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
73
73
  readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
@@ -77,8 +77,8 @@ export declare const networkAccessCapability: {
77
77
  hostname: z.ZodString;
78
78
  port: z.ZodNumber;
79
79
  protocol: z.ZodEnum<{
80
- https: "https";
81
80
  http: "http";
81
+ https: "https";
82
82
  }>;
83
83
  }, z.core.$strip>>;
84
84
  error: z.ZodOptional<z.ZodString>;
@@ -93,8 +93,8 @@ export declare const networkAccessCapability: {
93
93
  hostname: z.ZodString;
94
94
  port: z.ZodNumber;
95
95
  protocol: z.ZodEnum<{
96
- https: "https";
97
96
  http: "http";
97
+ https: "https";
98
98
  }>;
99
99
  id: z.ZodString;
100
100
  label: z.ZodString;
@@ -1074,6 +1074,8 @@ export declare const RetrainFrameSchema: z.ZodObject<{
1074
1074
  width: z.ZodNumber;
1075
1075
  height: z.ZodNumber;
1076
1076
  copiedAt: z.ZodNumber;
1077
+ capturedAt: z.ZodOptional<z.ZodNumber>;
1078
+ complete: z.ZodBoolean;
1077
1079
  }, z.core.$strip>;
1078
1080
  export type RetrainFrame = z.infer<typeof RetrainFrameSchema>;
1079
1081
  /** Why a copy-on-select could not be honoured — named, never a silent skip. */
@@ -1110,6 +1112,8 @@ export declare const RetrainFrameSelectionSchema: z.ZodObject<{
1110
1112
  width: z.ZodNumber;
1111
1113
  height: z.ZodNumber;
1112
1114
  copiedAt: z.ZodNumber;
1115
+ capturedAt: z.ZodOptional<z.ZodNumber>;
1116
+ complete: z.ZodBoolean;
1113
1117
  }, z.core.$strip>>>;
1114
1118
  refused: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1115
1119
  sourceMediaId: z.ZodNumber;
@@ -1173,10 +1177,63 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
1173
1177
  width: z.ZodNumber;
1174
1178
  height: z.ZodNumber;
1175
1179
  copiedAt: z.ZodNumber;
1180
+ capturedAt: z.ZodOptional<z.ZodNumber>;
1181
+ complete: z.ZodBoolean;
1176
1182
  }, z.core.$strip>>>;
1177
1183
  autoPickMediaId: z.ZodOptional<z.ZodNumber>;
1178
1184
  }, z.core.$strip>;
1179
1185
  export type RetrainFrameList = z.infer<typeof RetrainFrameListSchema>;
1186
+ /**
1187
+ * Which frames an annotated export carries. Every field narrows; an empty
1188
+ * filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
1189
+ * list owned by whoever trains (the training orchestrator), so `frameIds` is
1190
+ * the primitive a version export uses; `batchId` re-selects what an earlier
1191
+ * export carried (`exportedInBatch`).
1192
+ */
1193
+ export declare const RetrainExportFilterSchema: z.ZodObject<{
1194
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1195
+ frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1196
+ batchId: z.ZodOptional<z.ZodString>;
1197
+ completeOnly: z.ZodOptional<z.ZodBoolean>;
1198
+ }, z.core.$strip>;
1199
+ export type RetrainExportFilter = z.infer<typeof RetrainExportFilterSchema>;
1200
+ /**
1201
+ * `frames`: the full frame copies, boxes in `annotations.json`.
1202
+ * `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
1203
+ * convention — the classifier layout.
1204
+ */
1205
+ export declare const RetrainExportLayoutSchema: z.ZodEnum<{
1206
+ frames: "frames";
1207
+ crops: "crops";
1208
+ }>;
1209
+ export type RetrainExportLayout = z.infer<typeof RetrainExportLayoutSchema>;
1210
+ /**
1211
+ * Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
1212
+ * the archive, sent chunk by chunk. Covers a presigned PUT and a provider
1213
+ * addon's data-plane upload route alike. Headers are sent verbatim and never
1214
+ * logged.
1215
+ */
1216
+ export declare const RetrainArchiveTargetSchema: z.ZodObject<{
1217
+ kind: z.ZodLiteral<"http">;
1218
+ method: z.ZodEnum<{
1219
+ PUT: "PUT";
1220
+ POST: "POST";
1221
+ }>;
1222
+ url: z.ZodString;
1223
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1224
+ }, z.core.$strip>;
1225
+ export type RetrainArchiveTarget = z.infer<typeof RetrainArchiveTargetSchema>;
1226
+ export declare const RetrainArchiveResultSchema: z.ZodObject<{
1227
+ batchId: z.ZodString;
1228
+ frames: z.ZodNumber;
1229
+ crops: z.ZodNumber;
1230
+ annotations: z.ZodNumber;
1231
+ missing: z.ZodNumber;
1232
+ bytes: z.ZodNumber;
1233
+ sha256: z.ZodString;
1234
+ status: z.ZodNumber;
1235
+ }, z.core.$strip>;
1236
+ export type RetrainArchiveResult = z.infer<typeof RetrainArchiveResultSchema>;
1180
1237
  /** What the operator asked the assist to look for. */
1181
1238
  export declare const RetrainAssistSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1182
1239
  kind: z.ZodLiteral<"package">;
@@ -3700,6 +3757,8 @@ export declare const pipelineAnalyticsCapability: {
3700
3757
  width: z.ZodNumber;
3701
3758
  height: z.ZodNumber;
3702
3759
  copiedAt: z.ZodNumber;
3760
+ capturedAt: z.ZodOptional<z.ZodNumber>;
3761
+ complete: z.ZodBoolean;
3703
3762
  }, z.core.$strip>>>;
3704
3763
  autoPickMediaId: z.ZodOptional<z.ZodNumber>;
3705
3764
  }, z.core.$strip>, "query">;
@@ -3749,6 +3808,8 @@ export declare const pipelineAnalyticsCapability: {
3749
3808
  width: z.ZodNumber;
3750
3809
  height: z.ZodNumber;
3751
3810
  copiedAt: z.ZodNumber;
3811
+ capturedAt: z.ZodOptional<z.ZodNumber>;
3812
+ complete: z.ZodBoolean;
3752
3813
  }, z.core.$strip>>>;
3753
3814
  refused: z.ZodReadonly<z.ZodArray<z.ZodObject<{
3754
3815
  sourceMediaId: z.ZodNumber;
@@ -4045,9 +4106,93 @@ export declare const pipelineAnalyticsCapability: {
4045
4106
  */
4046
4107
  readonly getRetrainExportUrl: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
4047
4108
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4109
+ frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4110
+ batchId: z.ZodOptional<z.ZodString>;
4111
+ completeOnly: z.ZodOptional<z.ZodBoolean>;
4112
+ layout: z.ZodOptional<z.ZodEnum<{
4113
+ frames: "frames";
4114
+ crops: "crops";
4115
+ }>>;
4048
4116
  }, z.core.$strip>, z.ZodObject<{
4049
4117
  url: z.ZodString;
4050
4118
  }, z.core.$strip>, "query">;
4119
+ /**
4120
+ * The operator's "every subject in this frame is boxed" — set and cleared
4121
+ * by hand, never derived: a frame with no box may be a complete hard
4122
+ * negative, and a frame with three boxes may still miss a fourth person.
4123
+ */
4124
+ readonly setRetrainFrameComplete: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
4125
+ deviceId: z.ZodNumber;
4126
+ trackId: z.ZodString;
4127
+ frameId: z.ZodString;
4128
+ complete: z.ZodBoolean;
4129
+ }, z.core.$strip>, z.ZodObject<{
4130
+ frameId: z.ZodString;
4131
+ deviceId: z.ZodNumber;
4132
+ trackId: z.ZodString;
4133
+ sourceMediaId: z.ZodNumber;
4134
+ sourceKind: z.ZodEnum<{
4135
+ crop: "crop";
4136
+ thumbnail: "thumbnail";
4137
+ snapshot: "snapshot";
4138
+ firstFrame: "firstFrame";
4139
+ lastFrame: "lastFrame";
4140
+ fullFrame: "fullFrame";
4141
+ fullFrameBoxed: "fullFrameBoxed";
4142
+ faceCrop: "faceCrop";
4143
+ plateCrop: "plateCrop";
4144
+ keyFrame: "keyFrame";
4145
+ keyFrameSmall: "keyFrameSmall";
4146
+ thumbnailSmall: "thumbnailSmall";
4147
+ confirmationCrop: "confirmationCrop";
4148
+ debugCrop: "debugCrop";
4149
+ sceneFrame: "sceneFrame";
4150
+ lastSceneFrame: "lastSceneFrame";
4151
+ }>;
4152
+ sizeBytes: z.ZodNumber;
4153
+ width: z.ZodNumber;
4154
+ height: z.ZodNumber;
4155
+ copiedAt: z.ZodNumber;
4156
+ capturedAt: z.ZodOptional<z.ZodNumber>;
4157
+ complete: z.ZodBoolean;
4158
+ }, z.core.$strip>, "mutation">;
4159
+ /**
4160
+ * Stream the annotated archive to a TARGET instead of a browser — the
4161
+ * same tar `getRetrainExportUrl` serves (manifest first, one JPEG in
4162
+ * memory at a time, paced), written chunk by chunk into one HTTP request.
4163
+ * The bytes never cross this cap and never land on the hub's disk; the
4164
+ * answer is what was sent, with its sha256.
4165
+ */
4166
+ readonly writeRetrainArchive: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
4167
+ filter: z.ZodObject<{
4168
+ deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4169
+ frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4170
+ batchId: z.ZodOptional<z.ZodString>;
4171
+ completeOnly: z.ZodOptional<z.ZodBoolean>;
4172
+ }, z.core.$strip>;
4173
+ layout: z.ZodEnum<{
4174
+ frames: "frames";
4175
+ crops: "crops";
4176
+ }>;
4177
+ target: z.ZodObject<{
4178
+ kind: z.ZodLiteral<"http">;
4179
+ method: z.ZodEnum<{
4180
+ PUT: "PUT";
4181
+ POST: "POST";
4182
+ }>;
4183
+ url: z.ZodString;
4184
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4185
+ }, z.core.$strip>;
4186
+ }, z.core.$strip>, z.ZodObject<{
4187
+ batchId: z.ZodString;
4188
+ frames: z.ZodNumber;
4189
+ crops: z.ZodNumber;
4190
+ annotations: z.ZodNumber;
4191
+ missing: z.ZodNumber;
4192
+ bytes: z.ZodNumber;
4193
+ sha256: z.ZodString;
4194
+ status: z.ZodNumber;
4195
+ }, z.core.$strip>, "mutation">;
4051
4196
  /**
4052
4197
  * The media an EVENT owns.
4053
4198
  *
@@ -76,6 +76,8 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
76
76
  codeChallenge: z.ZodOptional<z.ZodString>;
77
77
  sessionId: z.ZodOptional<z.ZodString>;
78
78
  refreshTtl: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"never">]>>;
79
+ linkIntent: z.ZodOptional<z.ZodString>;
80
+ issuer: z.ZodOptional<z.ZodString>;
79
81
  }, z.core.$strip>;
80
82
  export declare const ssoBridgeCapability: {
81
83
  readonly name: "sso-bridge";
@@ -160,6 +162,8 @@ export declare const ssoBridgeCapability: {
160
162
  codeChallenge: z.ZodOptional<z.ZodString>;
161
163
  sessionId: z.ZodOptional<z.ZodString>;
162
164
  refreshTtl: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"never">]>>;
165
+ linkIntent: z.ZodOptional<z.ZodString>;
166
+ issuer: z.ZodOptional<z.ZodString>;
163
167
  }, z.core.$strip>;
164
168
  ttlSec: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"never">]>>;
165
169
  }, z.core.$strip>, z.ZodObject<{
@@ -229,6 +233,8 @@ export declare const ssoBridgeCapability: {
229
233
  codeChallenge: z.ZodOptional<z.ZodString>;
230
234
  sessionId: z.ZodOptional<z.ZodString>;
231
235
  refreshTtl: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"never">]>>;
236
+ linkIntent: z.ZodOptional<z.ZodString>;
237
+ issuer: z.ZodOptional<z.ZodString>;
232
238
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
233
239
  };
234
240
  };
@@ -124,8 +124,8 @@ declare const SetSiteLocationInputSchema: z.ZodNullable<z.ZodObject<{
124
124
  */
125
125
  declare const TransportPlaneSchema: z.ZodEnum<{
126
126
  unknown: "unknown";
127
- mesh: "mesh";
128
127
  http: "http";
128
+ mesh: "mesh";
129
129
  ws: "ws";
130
130
  }>;
131
131
  /**
@@ -152,8 +152,8 @@ declare const TransportPlaneCountsSchema: z.ZodObject<{
152
152
  declare const RequestCensusGroupSchema: z.ZodObject<{
153
153
  plane: z.ZodEnum<{
154
154
  unknown: "unknown";
155
- mesh: "mesh";
156
155
  http: "http";
156
+ mesh: "mesh";
157
157
  ws: "ws";
158
158
  }>;
159
159
  procedure: z.ZodString;
@@ -220,8 +220,8 @@ declare const RequestCensusSnapshotSchema: z.ZodObject<{
220
220
  groups: z.ZodReadonly<z.ZodArray<z.ZodObject<{
221
221
  plane: z.ZodEnum<{
222
222
  unknown: "unknown";
223
- mesh: "mesh";
224
223
  http: "http";
224
+ mesh: "mesh";
225
225
  ws: "ws";
226
226
  }>;
227
227
  procedure: z.ZodString;
@@ -277,8 +277,8 @@ declare const RequestCensusStatusSchema: z.ZodObject<{
277
277
  groups: z.ZodReadonly<z.ZodArray<z.ZodObject<{
278
278
  plane: z.ZodEnum<{
279
279
  unknown: "unknown";
280
- mesh: "mesh";
281
280
  http: "http";
281
+ mesh: "mesh";
282
282
  ws: "ws";
283
283
  }>;
284
284
  procedure: z.ZodString;
@@ -779,8 +779,8 @@ export declare const systemCapability: {
779
779
  groups: z.ZodReadonly<z.ZodArray<z.ZodObject<{
780
780
  plane: z.ZodEnum<{
781
781
  unknown: "unknown";
782
- mesh: "mesh";
783
782
  http: "http";
783
+ mesh: "mesh";
784
784
  ws: "ws";
785
785
  }>;
786
786
  procedure: z.ZodString;
@@ -433,6 +433,18 @@ declare const OauthSessionSummarySchema: z.ZodObject<{
433
433
  * delegation, structural caller-scope subset check goes inside the
434
434
  * provider.
435
435
  */
436
+ declare const ExternalIdentitySchema: z.ZodObject<{
437
+ provider: z.ZodString;
438
+ subject: z.ZodString;
439
+ issuer: z.ZodString;
440
+ userId: z.ZodString;
441
+ label: z.ZodOptional<z.ZodString>;
442
+ linkedAt: z.ZodNumber;
443
+ }, z.core.$strip>;
444
+ declare const ExternalIdentityKeySchema: z.ZodObject<{
445
+ provider: z.ZodString;
446
+ subject: z.ZodString;
447
+ }, z.core.$strip>;
436
448
  export declare const userManagementCapability: {
437
449
  readonly name: "user-management";
438
450
  readonly scope: "system";
@@ -1228,6 +1240,46 @@ export declare const userManagementCapability: {
1228
1240
  includeLinked: z.ZodOptional<z.ZodBoolean>;
1229
1241
  }, z.core.$strip>], "type">>>;
1230
1242
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
1243
+ readonly listExternalIdentities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1244
+ userId: z.ZodString;
1245
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1246
+ provider: z.ZodString;
1247
+ subject: z.ZodString;
1248
+ issuer: z.ZodString;
1249
+ userId: z.ZodString;
1250
+ label: z.ZodOptional<z.ZodString>;
1251
+ linkedAt: z.ZodNumber;
1252
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
1253
+ /** The user an identity is linked to, or `null`. */
1254
+ readonly findUserByExternalIdentity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1255
+ provider: z.ZodString;
1256
+ subject: z.ZodString;
1257
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
1258
+ userId: z.ZodString;
1259
+ issuer: z.ZodString;
1260
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
1261
+ /**
1262
+ * Link `(provider, subject)` to `userId`. Idempotent for the same user;
1263
+ * REFUSES (throws) an identity already linked to another user, and a
1264
+ * user that does not exist.
1265
+ */
1266
+ readonly linkExternalIdentity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1267
+ provider: z.ZodString;
1268
+ subject: z.ZodString;
1269
+ userId: z.ZodString;
1270
+ issuer: z.ZodString;
1271
+ label: z.ZodOptional<z.ZodString>;
1272
+ }, z.core.$strip>, z.ZodObject<{
1273
+ success: z.ZodLiteral<true>;
1274
+ }, z.core.$strip>, "mutation">;
1275
+ /** Remove one link of `userId`. `success: false` when it was not linked to that user. */
1276
+ readonly unlinkExternalIdentity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1277
+ provider: z.ZodString;
1278
+ subject: z.ZodString;
1279
+ userId: z.ZodString;
1280
+ }, z.core.$strip>, z.ZodObject<{
1281
+ success: z.ZodBoolean;
1282
+ }, z.core.$strip>, "mutation">;
1231
1283
  readonly listOauthSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
1232
1284
  id: z.ZodString;
1233
1285
  userId: z.ZodString;
@@ -1293,4 +1345,4 @@ export declare const userManagementCapability: {
1293
1345
  };
1294
1346
  };
1295
1347
  export type IUserManagementProvider = InferProvider<typeof userManagementCapability>;
1296
- export { ApiKeySummarySchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, OauthSessionSummarySchema, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, };
1348
+ export { ApiKeySummarySchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, OauthSessionSummarySchema, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, };