@camstack/types 1.2.397 → 1.2.398

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/addon.js +17 -2
  2. package/dist/addon.mjs +15 -3
  3. package/dist/capabilities/dishwasher.cap.d.ts +9 -0
  4. package/dist/capabilities/index.d.ts +2 -2
  5. package/dist/capabilities/notification-rules.cap.d.ts +92 -0
  6. package/dist/capabilities/osd-manager.cap.d.ts +24 -0
  7. package/dist/capabilities/records.cap.d.ts +67 -3
  8. package/dist/capabilities/storage-admin.cap.d.ts +0 -2
  9. package/dist/capabilities/user-management.cap.d.ts +2 -28
  10. package/dist/client.js +88 -9
  11. package/dist/client.mjs +88 -9
  12. package/dist/enums/event-category.d.ts +9 -0
  13. package/dist/enums.js +1 -1
  14. package/dist/enums.mjs +1 -1
  15. package/dist/{event-category-kpu1bZMs.js → event-category-7AwNbPjm.js} +9 -0
  16. package/dist/{event-category-7pZEBmVg.mjs → event-category-BfJwUd2S.mjs} +9 -0
  17. package/dist/generated/addon-api.d.ts +7 -14
  18. package/dist/generated/addon-cap-facts.d.ts +1 -1
  19. package/dist/generated/method-access-map.d.ts +1 -1
  20. package/dist/generated/system-proxy.d.ts +1 -1
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +181 -61
  23. package/dist/index.mjs +177 -60
  24. package/dist/interfaces/auth.d.ts +1 -1
  25. package/dist/interfaces/event-bus.d.ts +24 -5
  26. package/dist/notification/alert-episode.d.ts +7 -0
  27. package/dist/records/errors.d.ts +9 -1
  28. package/dist/records/index.d.ts +1 -0
  29. package/dist/records/record-kind.d.ts +62 -2
  30. package/dist/records/records-access.d.ts +36 -1
  31. package/dist/records/transact-rules.d.ts +7 -0
  32. package/dist/schemas/auth-records.d.ts +0 -12
  33. package/dist/{sleep-Bo7fq491.js → sleep-CD18m9HF.js} +478 -311
  34. package/dist/{sleep-CueztlR1.mjs → sleep-DJFUfKvA.mjs} +461 -312
  35. package/package.json +1 -1
package/dist/client.mjs CHANGED
@@ -22264,9 +22264,13 @@ var NcSystemEventKindSchema = z.enum([
22264
22264
  "node-updating",
22265
22265
  "node-inference-unavailable",
22266
22266
  "detection-blind",
22267
+ "motion-noisy",
22268
+ "motion-calm",
22267
22269
  "recording-stalled",
22268
22270
  "recording-healthy",
22269
22271
  "recording-degraded",
22272
+ "device-attention-required",
22273
+ "device-attention-resolved",
22270
22274
  "storage-location-low",
22271
22275
  "storage-location-critical",
22272
22276
  "storage-location-ok",
@@ -28390,8 +28394,6 @@ function createSystemProxy(api) {
28390
28394
  resetPassword: (input) => dispatch("userManagement", "resetPassword", "mutation", input),
28391
28395
  setUserScopes: (input) => dispatch("userManagement", "setUserScopes", "mutation", input),
28392
28396
  validateCredentials: (input) => dispatch("userManagement", "validateCredentials", "mutation", input),
28393
- listApiKeys: (input) => dispatch("userManagement", "listApiKeys", "query", input),
28394
- revokeApiKey: (input) => dispatch("userManagement", "revokeApiKey", "mutation", input),
28395
28397
  setupTotp: (input) => dispatch("userManagement", "setupTotp", "mutation", input),
28396
28398
  confirmTotp: (input) => dispatch("userManagement", "confirmTotp", "mutation", input),
28397
28399
  disableTotp: (input) => dispatch("userManagement", "disableTotp", "mutation", input),
@@ -28742,8 +28744,8 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
28742
28744
  */
28743
28745
  function systemEventFilterApplies(kind, filter) {
28744
28746
  switch (filter) {
28745
- case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("recording-") || kind === "alarm-triggered";
28746
- case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
28747
+ case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("recording-") || kind === "alarm-triggered";
28748
+ case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind" || kind.startsWith("motion-");
28747
28749
  case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-") || kind.startsWith("alert-");
28748
28750
  case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
28749
28751
  case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
@@ -28801,9 +28803,13 @@ var NC_SYSTEM_EVENT_FAMILY = {
28801
28803
  "stream-online": "device-events",
28802
28804
  "stream-offline": "device-events",
28803
28805
  "detection-blind": "device-events",
28806
+ "motion-noisy": "device-events",
28807
+ "motion-calm": "device-events",
28804
28808
  "recording-stalled": "device-events",
28805
28809
  "recording-healthy": "device-events",
28806
28810
  "recording-degraded": "device-events",
28811
+ "device-attention-required": "device-events",
28812
+ "device-attention-resolved": "device-events",
28807
28813
  "node-online": "system",
28808
28814
  "node-offline": "system",
28809
28815
  "node-restarting": "system",
@@ -28904,6 +28910,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
28904
28910
  label: "Detecting nothing",
28905
28911
  kinds: ["detection-blind"]
28906
28912
  },
28913
+ {
28914
+ id: "motion-noise",
28915
+ family: "device-events",
28916
+ label: "Motion without a subject",
28917
+ kinds: ["motion-noisy", "motion-calm"]
28918
+ },
28907
28919
  {
28908
28920
  id: "recording",
28909
28921
  family: "device-events",
@@ -28914,6 +28926,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
28914
28926
  "recording-degraded"
28915
28927
  ]
28916
28928
  },
28929
+ {
28930
+ id: "device-attention",
28931
+ family: "device-events",
28932
+ label: "Needs attention",
28933
+ kinds: ["device-attention-required", "device-attention-resolved"]
28934
+ },
28917
28935
  {
28918
28936
  id: "nodes",
28919
28937
  family: "system",
@@ -29869,6 +29887,7 @@ var ALERT_EPISODE = [
29869
29887
  "alert-error",
29870
29888
  "alert-critical-resolved"
29871
29889
  ];
29890
+ var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
29872
29891
  var UPDATES = [
29873
29892
  "addon-update-available",
29874
29893
  "server-update-available",
@@ -29898,9 +29917,12 @@ var DEVICE_EVENTS = [
29898
29917
  "stream-online",
29899
29918
  "stream-offline",
29900
29919
  "detection-blind",
29920
+ "motion-noisy",
29921
+ "motion-calm",
29901
29922
  "recording-stalled",
29902
29923
  "recording-healthy",
29903
29924
  "recording-degraded",
29925
+ ...DEVICE_ATTENTION,
29904
29926
  ...ALARM
29905
29927
  ];
29906
29928
  /** Every kind a summary may speak about — the two summarisable families. */
@@ -30474,7 +30496,36 @@ var NC_TEMPLATE_VARS = [
30474
30496
  families: ["rule"],
30475
30497
  fields: [...RULE_TEXT],
30476
30498
  kinds: ["system"],
30477
- systemEventKinds: ["detection-blind", "recording-stalled"]
30499
+ systemEventKinds: [
30500
+ "detection-blind",
30501
+ "motion-noisy",
30502
+ "motion-calm",
30503
+ "recording-stalled"
30504
+ ]
30505
+ },
30506
+ {
30507
+ name: "duty",
30508
+ label: "Motion share (%)",
30509
+ example: "55",
30510
+ group: "system",
30511
+ families: ["rule"],
30512
+ fields: [...RULE_TEXT],
30513
+ kinds: ["system"],
30514
+ systemEventKinds: ["motion-noisy", "motion-calm"]
30515
+ },
30516
+ {
30517
+ name: "sessions",
30518
+ label: "Detection sessions",
30519
+ example: "96",
30520
+ group: "system",
30521
+ families: ["rule"],
30522
+ fields: [...RULE_TEXT],
30523
+ kinds: ["system"],
30524
+ systemEventKinds: [
30525
+ "detection-blind",
30526
+ "motion-noisy",
30527
+ "motion-calm"
30528
+ ]
30478
30529
  },
30479
30530
  {
30480
30531
  name: "message",
@@ -30484,7 +30535,11 @@ var NC_TEMPLATE_VARS = [
30484
30535
  families: ["rule"],
30485
30536
  fields: [...RULE_TEXT],
30486
30537
  kinds: ["system"],
30487
- systemEventKinds: ["recording-degraded", ...ALERT_EPISODE]
30538
+ systemEventKinds: [
30539
+ "recording-degraded",
30540
+ ...DEVICE_ATTENTION,
30541
+ ...ALERT_EPISODE
30542
+ ]
30488
30543
  },
30489
30544
  {
30490
30545
  name: "ruleName",
@@ -30728,7 +30783,11 @@ var NC_TEMPLATE_VARS = [
30728
30783
  families: ["rule"],
30729
30784
  fields: [...RULE_TEXT],
30730
30785
  kinds: ["system"],
30731
- systemEventKinds: ["export-completed", ...ALERT_EPISODE]
30786
+ systemEventKinds: [
30787
+ "export-completed",
30788
+ ...DEVICE_ATTENTION,
30789
+ ...ALERT_EPISODE
30790
+ ]
30732
30791
  },
30733
30792
  {
30734
30793
  name: "severity",
@@ -30748,7 +30807,7 @@ var NC_TEMPLATE_VARS = [
30748
30807
  families: ["rule"],
30749
30808
  fields: [...RULE_TEXT],
30750
30809
  kinds: ["system"],
30751
- systemEventKinds: [...ALERT_EPISODE]
30810
+ systemEventKinds: [...DEVICE_ATTENTION, ...ALERT_EPISODE]
30752
30811
  },
30753
30812
  {
30754
30813
  name: "source",
@@ -30768,7 +30827,7 @@ var NC_TEMPLATE_VARS = [
30768
30827
  families: ["rule"],
30769
30828
  fields: [...RULE_TEXT],
30770
30829
  kinds: ["system"],
30771
- systemEventKinds: [...ALERT_EPISODE]
30830
+ systemEventKinds: [...DEVICE_ATTENTION, ...ALERT_EPISODE]
30772
30831
  },
30773
30832
  {
30774
30833
  name: "exportId",
@@ -30983,6 +31042,8 @@ var NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS = [
30983
31042
  "alert-critical",
30984
31043
  "alert-error",
30985
31044
  "alert-critical-resolved",
31045
+ "device-attention-required",
31046
+ "device-attention-resolved",
30986
31047
  "rule-broken",
30987
31048
  "rule-repaired"
30988
31049
  ];
@@ -31097,6 +31158,15 @@ var NC_SYSTEM_EVENT_CLASS_SPECS = [
31097
31158
  snapshotLabel: "Tanks low or full now",
31098
31159
  snapshotSection: "tanks"
31099
31160
  },
31161
+ {
31162
+ id: "motion-noise",
31163
+ family: "device-events",
31164
+ label: "Motion without a subject (constant / calm again)",
31165
+ bad: ["motion-noisy"],
31166
+ recovery: ["motion-calm"],
31167
+ snapshotLabel: "Cameras with constant motion now",
31168
+ snapshotSection: null
31169
+ },
31100
31170
  {
31101
31171
  id: "recording-health",
31102
31172
  family: "device-events",
@@ -31106,6 +31176,15 @@ var NC_SYSTEM_EVENT_CLASS_SPECS = [
31106
31176
  snapshotLabel: "Recordings stalled now",
31107
31177
  snapshotSection: null
31108
31178
  },
31179
+ {
31180
+ id: "device-attention",
31181
+ family: "device-events",
31182
+ label: "Device needs attention (raised / resolved)",
31183
+ bad: ["device-attention-required"],
31184
+ recovery: ["device-attention-resolved"],
31185
+ snapshotLabel: "Devices needing attention now",
31186
+ snapshotSection: null
31187
+ },
31109
31188
  {
31110
31189
  id: "node-connectivity",
31111
31190
  family: "system",
@@ -313,6 +313,15 @@ export declare enum EventCategory {
313
313
  * camera" produce byte-identical silence.
314
314
  */
315
315
  PipelineDetectionBlind = "pipeline.detection-blind",
316
+ /**
317
+ * A camera's motion source has fired constantly with no subject for an hour
318
+ * (motion duty or session count over the bar, zero detections) — it is not
319
+ * blind, its motion zones or sensitivity want tuning (D907). Paired with
320
+ * {@link PipelineMotionCalm}.
321
+ */
322
+ PipelineMotionNoisy = "pipeline.motion-noisy",
323
+ /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
324
+ PipelineMotionCalm = "pipeline.motion-calm",
316
325
  /**
317
326
  * Per-camera pipeline config was mutated by the orchestrator
318
327
  * (3-level settings change via `setAgentAddonDefaults` /
package/dist/enums.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_event_category = require("./event-category-kpu1bZMs.js");
2
+ const require_event_category = require("./event-category-7AwNbPjm.js");
3
3
  //#region src/enums/event-source-type.ts
4
4
  var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
5
5
  EventSourceType["Addon"] = "addon";
package/dist/enums.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as EventCategory } from "./event-category-7pZEBmVg.mjs";
1
+ import { t as EventCategory } from "./event-category-BfJwUd2S.mjs";
2
2
  //#region src/enums/event-source-type.ts
3
3
  var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
4
4
  EventSourceType["Addon"] = "addon";
@@ -315,6 +315,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
315
315
  */
316
316
  EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
317
317
  /**
318
+ * A camera's motion source has fired constantly with no subject for an hour
319
+ * (motion duty or session count over the bar, zero detections) — it is not
320
+ * blind, its motion zones or sensitivity want tuning (D907). Paired with
321
+ * {@link PipelineMotionCalm}.
322
+ */
323
+ EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
324
+ /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
325
+ EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
326
+ /**
318
327
  * Per-camera pipeline config was mutated by the orchestrator
319
328
  * (3-level settings change via `setAgentAddonDefaults` /
320
329
  * `setCameraStepToggle` / `setCameraPipelineForAgent` or a
@@ -315,6 +315,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
315
315
  */
316
316
  EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
317
317
  /**
318
+ * A camera's motion source has fired constantly with no subject for an hour
319
+ * (motion duty or session count over the bar, zero detections) — it is not
320
+ * blind, its motion zones or sensitivity want tuning (D907). Paired with
321
+ * {@link PipelineMotionCalm}.
322
+ */
323
+ EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
324
+ /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
325
+ EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
326
+ /**
318
327
  * Per-camera pipeline config was mutated by the orchestrator
319
328
  * (3-level settings change via `setAgentAddonDefaults` /
320
329
  * `setCameraStepToggle` / `setCameraPipelineForAgent` or a
@@ -8540,6 +8540,13 @@ export type AppRouter = TrpcCoreRouter<{
8540
8540
  output: z.infer<typeof recordsCapability.methods.deleteWhere.output>;
8541
8541
  meta: object;
8542
8542
  }>;
8543
+ transact: TRPCMutationProcedure<{
8544
+ input: {
8545
+ [x: string]: unknown;
8546
+ } & z.input<typeof recordsCapability.methods.transact.input>;
8547
+ output: z.infer<typeof recordsCapability.methods.transact.output>;
8548
+ meta: object;
8549
+ }>;
8543
8550
  deleteDevice: TRPCMutationProcedure<{
8544
8551
  input: {
8545
8552
  [x: string]: unknown;
@@ -10316,20 +10323,6 @@ export type AppRouter = TrpcCoreRouter<{
10316
10323
  output: z.infer<typeof userManagementCapability.methods.validateCredentials.output>;
10317
10324
  meta: object;
10318
10325
  }>;
10319
- listApiKeys: TRPCQueryProcedure<{
10320
- input: {
10321
- nodeId?: string | undefined;
10322
- } | undefined;
10323
- output: z.infer<typeof userManagementCapability.methods.listApiKeys.output>;
10324
- meta: object;
10325
- }>;
10326
- revokeApiKey: TRPCMutationProcedure<{
10327
- input: {
10328
- [x: string]: unknown;
10329
- } & z.input<typeof userManagementCapability.methods.revokeApiKey.input>;
10330
- output: z.infer<typeof userManagementCapability.methods.revokeApiKey.output>;
10331
- meta: object;
10332
- }>;
10333
10326
  setupTotp: TRPCMutationProcedure<{
10334
10327
  input: {
10335
10328
  [x: string]: unknown;
@@ -5,7 +5,7 @@
5
5
  * `ALL_CAPABILITY_DEFINITIONS` (the whole Zod schema graph, ~+100 MB heap per
6
6
  * runner). See docs/decisions/adr-0028.md.
7
7
  *
8
- * Coverage: 1 advance-derived caps, 73 caps with 370 state leaves.
8
+ * Coverage: 1 advance-derived caps, 73 caps with 373 state leaves.
9
9
  */
10
10
  /** A bindable scalar in a capability's runtime state. */
11
11
  export interface CapStateLeaf {
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 1381 method paths across 179 capabilities.
9
+ * Coverage: 1380 method paths across 179 capabilities.
10
10
  */
11
11
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
12
12
  export interface MethodAccessRecord {
@@ -114,7 +114,7 @@ export interface SystemProxy {
114
114
  readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
115
115
  readonly training: Pick<InferProvider<typeof trainingCapability>, 'listBaseModels' | 'planJob' | 'startJob' | 'startJobBatch' | 'listJobs' | 'getJob' | 'cancelJob' | 'getJobResult' | 'registerResult' | 'canaryResult' | 'rollbackCanary' | 'discardResult'>;
116
116
  readonly turnProvider: Pick<InferProvider<typeof turnProviderCapability>, 'getTurnServers'>;
117
- readonly userManagement: Pick<InferProvider<typeof userManagementCapability>, 'listUsers' | 'createUser' | 'updateUser' | 'deleteUser' | 'resetPassword' | 'setUserScopes' | 'validateCredentials' | 'listApiKeys' | 'revokeApiKey' | 'setupTotp' | 'confirmTotp' | 'disableTotp' | 'getTotpStatus' | 'migrateRawSecrets' | 'verifyTotp' | 'oauthIssueCode' | 'oauthExchangeCode' | 'oauthRefresh' | 'oauthVerifyAccessToken' | 'listExternalIdentities' | 'findUserByExternalIdentity' | 'unlinkExternalIdentity' | 'listOauthSessions' | 'revokeOauthSession'>;
117
+ readonly userManagement: Pick<InferProvider<typeof userManagementCapability>, 'listUsers' | 'createUser' | 'updateUser' | 'deleteUser' | 'resetPassword' | 'setUserScopes' | 'validateCredentials' | 'setupTotp' | 'confirmTotp' | 'disableTotp' | 'getTotpStatus' | 'migrateRawSecrets' | 'verifyTotp' | 'oauthIssueCode' | 'oauthExchangeCode' | 'oauthRefresh' | 'oauthVerifyAccessToken' | 'listExternalIdentities' | 'findUserByExternalIdentity' | 'unlinkExternalIdentity' | 'listOauthSessions' | 'revokeOauthSession'>;
118
118
  }
119
119
  /**
120
120
  * Build a `SystemProxy` that dispatches every namespace method through
package/dist/index.d.ts CHANGED
@@ -269,7 +269,7 @@ export { alarmDeviceBlocksArming, alarmDeviceSecureOnArm, type AlarmDeviceBlocks
269
269
  export { alarmPatchLanded, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyNonBlockingEdit, applySecureOnArmEdit, derivePostTriggeredAction, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_NOTIFY_FIELDS, type NcAlarmDelayField, type NcAlarmDelaySettings, type NcAlarmDelaySource, type NcAlarmModeDeviceListEditResult, type NcAlarmModeNotifyPolicy, type NcAlarmNonBlockingEditResult, type NcAlarmNotifyField, type NcAlarmResolvedDelays, resolveModeDelays, resolveModeNotifyPolicy, } from './notification/alarm-settings.js';
270
270
  export { activateAlarmProfile, alarmProfileById, cloneAlarmSettings, createAlarmProfile, deleteAlarmProfile, ensureAlarmProfiles, isDefaultAlarmProfileId, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_SYSTEM_DEFAULT_DELAYS, ncAlarmSystemDefaultSettings, type NcAlarmProfileCreateSource, type NcAlarmProfileRecord, type NcAlarmProfilesMutationResult, type NcAlarmProfilesRefuseReason, type NcAlarmProfilesState, renameAlarmProfile, syncActiveAlarmProfileSettings, } from './notification/alarm-profiles.js';
271
271
  export { NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, sensorRaisedOf, sensorTransitionOffered, } from './notification/sensor-raised.js';
272
- export { alertEpisodeId, alertEpisodeKind, alertEpisodePayload, alertNodeId, isAlertEpisodeOpen, isAlertEpisodeSeverity, parseAlertEpisodePayload, AlertEpisodePayloadSchema, type AlertEpisodePayload, type AlertEpisodePhase, } from './notification/alert-episode.js';
272
+ export { alertEpisodeId, alertEpisodeKind, alertEpisodePayload, alertNodeId, deviceAttentionKind, isAlertEpisodeOpen, isAlertEpisodeSeverity, parseAlertEpisodePayload, AlertEpisodePayloadSchema, type AlertEpisodePayload, type AlertEpisodePhase, } from './notification/alert-episode.js';
273
273
  export { NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, isHeldBackTemplateVar, isKnownTemplateVar, servedTemplateVars, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
274
274
  export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
275
275
  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';
@@ -303,7 +303,7 @@ export { DEFAULT_DETAIL_CROP_CONVENTION, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_
303
303
  export { FACE_RESCORE_INTERVAL_FIELD, FACE_RESCORE_INTERVAL_KEY, FACE_RESCORE_INTERVAL_MIN_RUNNING, FACE_RESCORE_SECTION_ID, type FaceRescoreSettingsView, pickFaceRescoreIntervalMinutes, readFaceRescoreIntervalMinutes, } from './pipeline/face-rescore-schedule.js';
304
304
  export { DEFAULT_NATIVE_LEASE_SETTINGS, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, type NativeLeaseAdmission, NativeLeaseAdmissionSchema, type NativeLeaseKnob, type NativeLeaseNumberKnob, type NativeLeaseSettings, type NativeLeaseSettingsOverride, NativeLeaseSettingsSchema, pickNativeLeaseOverride, readNativeLeaseOverride, } from './pipeline/native-lease.js';
305
305
  export { ACCESS_ROLES, type AccessRoleAssignment, type AccessRoleId, type AccessRoleSpec, buildRoleScopes, detectAccessRole, roleSpec, } from './schemas/access-roles.js';
306
- export { type ApiKeyRecord, ApiKeyRecordSchema, type CapScope, CapScopeSchema, type DeviceSelector, DeviceSelectorSchema, type DeviceTokenScope, type MethodAccess, MethodAccessSchema, type ScopedToken, ScopedTokenSchema, type TokenScope, TokenScopeSchema, type UserRecord, UserRecordSchema, } from './schemas/auth-records.js';
306
+ export { type CapScope, CapScopeSchema, type DeviceSelector, DeviceSelectorSchema, type DeviceTokenScope, type MethodAccess, MethodAccessSchema, type ScopedToken, ScopedTokenSchema, type TokenScope, TokenScopeSchema, type UserRecord, UserRecordSchema, } from './schemas/auth-records.js';
307
307
  export { type DeviceMetaLike, type DeviceReachSummary, deviceSelectorMatches, type EffectiveScope, normalizeTokenScopes, resolveViewableDeviceIds, type ScopeGrantSummary, scopeInherits, summarizeEffectiveScope, } from './schemas/device-selector.js';
308
308
  export type { CameraDetectionCapabilities, CameraMotionConfig, CameraNativeDetectionConfig, } from './types/camera-detection.js';
309
309
  export { DEVICE_TYPE_INFO, type DeviceTypeInfo } from './types/device-type.js';