Dominevo
ReferenceHTTP APIShapes

Shapes: N

Named input and output shapes starting with N, referenced from the router pages.

Each shape is a TypeScript-style rendering of the validation schema. ? marks an optional field; self is a recursive reference.

NativeCropBboxSchema

{
  x: number
  y: number
  w: number
  h: number
}

NativeCropRefSchema

{
  handle: FrameHandleSchema
  cropFrameSpace: { x: number; y: number; w: number; h: number }
}

NativeCropResultSchema

{
  bytes?: <custom>
  jpeg?: string
  jpegBytes?: <custom>
  width: number
  height: number
  tier?: "native" | "ram-fullframe"
}

NativeDetectionSchema

{
  class: NativeObjectClassEnum
  timestamp: number
  confidence?: number
}

NativeObjectClassEnum

"person" | "vehicle" | "animal" | "face" | "package" | "other"

NativeObjectDetectionOptionsSchema

{
  supportedClasses: NativeObjectClassEnum[]
  geometry: NativeObjectGeometryEnum
}

NativeObjectDetectionRuntimeStateSchema

{
  lastByClass: Record<"person" | "vehicle" | "animal" | "face" | "package" | "other", NativeDetectionSchema | null>
  supportedClasses: NativeObjectClassEnum[]
  enabled: boolean
  lastFetchedAt: number
}

NativeObjectDetectionSettingsPatchSchema

{
  enabled?: boolean
}

NativeObjectDetectionStatusSchema

{
  lastByClass: Record<"person" | "vehicle" | "animal" | "face" | "package" | "other", NativeDetectionSchema | null>
  supportedClasses: NativeObjectClassEnum[]
  enabled: boolean
}

NativeObjectGeometryEnum

"boxed" | "while-streaming" | "flag-only"
{
  id: string
  kind: NavigationEntryKindSchema
  label: string
  icon: string
  soundId?: number
  enabled: boolean
}
"goHome" | "locate" | "spotClean" | "findPet" | "personFollow" | "stop" | "startClean" | "pauseClean" | "dockWash" | "autoEmpty" | "flashOn" | "flashOff"
"action" | "sound"
{
  move: boolean
  stop: boolean
  goToPoint: boolean
  runAction: boolean
  playSound: boolean
  light: boolean
  lightMode: boolean
}
"auto" | "manual"
"idle" | "cleaning" | "spot" | "following" | "goto" | "returning" | "paused" | "unknown"
{
  mode: NavigationModeSchema
  following: boolean
  flash: boolean
  lightMode: NavigationLightModeSchema
  lightLevel: number
  lastChangedAt: number
  lastFetchedAt: number
}
{
  mode: NavigationModeSchema
  following: boolean
  flash: boolean
  lightMode: NavigationLightModeSchema
  lightLevel: number
  lastChangedAt: number
}

NcAlarmBlockingEditSchema

{
  mode: AlarmArmModeSchema
  deviceId: number
  blocking: boolean
}

NcAlarmBlockingSchema

{
  mode: AlarmArmModeSchema
  deviceIds: number[]
}

NcAlarmConfigSchema

{
  deviceId: number | null
  settings: NcAlarmSettingsSchema
  profiles?: NcAlarmProfilesViewSchema
  coverage: NcAlarmModeCoverageSchema[]
  live?: { state: AlarmStateSchema; targetMode: AlarmArmModeSchema | null; availableModes: AlarmArmModeSchema[]; openings: ({ mode: AlarmArmModeSchema; devices: ({ deviceId: number; name: string; state: string; blocking: boolean })[]; unknown: number[] })[]; exclusions: ({ deviceId: number; name: string; phase: "open" | "closed" })[]; bypassedInputs?: ({ ruleId: string; ruleName: string; deviceId: number; name: string; since: number; dropped: number })[] = [] }
}

NcAlarmCreateProfileInputSchema

{
  name: string
  cloneFromId?: string
}

NcAlarmModeCoverageSchema

{
  mode: AlarmArmModeSchema
  ruleCount: number
  allDevices: boolean
  deviceIds: number[]
  allDevicesExcept?: number[] = []
  skippedDevices?: NcAlarmSkippedDeviceSchema[] = []
}

NcAlarmModeDelaysEditSchema

{
  mode: AlarmArmModeSchema
  exitDelaySec?: number | null
  entryDelaySec?: number | null
  triggeredDurationSec?: number | null
  postTriggeredAction?: NcAlarmPostTriggeredActionSchema | null
  schedule?: NcScheduleSchema | null
  notifyDuringEntryDelay?: boolean | null
  notifySensorRewatched?: boolean | null
  notifySensorIgnored?: boolean | null
}

NcAlarmModeDelaysSchema

{
  mode: AlarmArmModeSchema
  exitDelaySec?: number
  entryDelaySec?: number
  triggeredDurationSec?: number
  postTriggeredAction?: NcAlarmPostTriggeredActionSchema
  schedule?: NcScheduleSchema
  notifyDuringEntryDelay?: boolean
  notifySensorRewatched?: boolean
  notifySensorIgnored?: boolean
}

NcAlarmNonBlockingEditSchema

{
  mode: AlarmArmModeSchema
  deviceId: number
  nonBlocking: boolean
}

NcAlarmPostTriggeredActionSchema

"rearmAfter" | "disableAfter" | "doNothing"

NcAlarmProfileIdInputSchema

{
  id: string
}

NcAlarmProfileMetaSchema

{
  id: string
  name: string
  isDefault: boolean
}

NcAlarmProfilesViewSchema

{
  activeId: string
  items: NcAlarmProfileMetaSchema[]
}

NcAlarmRenameProfileInputSchema

{
  id: string
  name: string
}

NcAlarmSecureOnArmEditSchema

{
  mode: AlarmArmModeSchema
  deviceId: number
  secureOnArm: boolean
}

NcAlarmSensorReadingSchema

"open" | "closed" | "unknown" | "not-opening"

NcAlarmSensorsInputSchema

{
  deviceIds: number[]
}

NcAlarmSensorsSchema

{
  sensors: NcAlarmSensorStateSchema[]
  readAt: number
}

NcAlarmSensorStateSchema

{
  deviceId: number
  reading: NcAlarmSensorReadingSchema
  state: string | null
  unknownWhy: "read-failed" | "unknown-word" | null
  online: boolean | null
  controllable?: boolean = false
}

NcAlarmSettingsPatchSchema

{
  exitDelaySec?: number
  entryDelaySec?: number
  triggeredDurationSec?: number
  postTriggeredAction?: NcAlarmPostTriggeredActionSchema
  announceArm?: boolean
  announceTargets?: string[]
  nonBlocking?: NcAlarmBlockingSchema[]
  blocking?: NcAlarmBlockingSchema[]
  secureOnArmOff?: NcAlarmBlockingSchema[]
  modeDelays?: NcAlarmModeDelaysEditSchema[]
  nonBlockingEdit?: NcAlarmNonBlockingEditSchema
  blockingEdit?: NcAlarmBlockingEditSchema
  secureOnArmEdit?: NcAlarmSecureOnArmEditSchema
}

NcAlarmSettingsSchema

{
  exitDelaySec: number
  entryDelaySec: number
  triggeredDurationSec: number
  postTriggeredAction?: NcAlarmPostTriggeredActionSchema
  announceArm?: boolean
  announceTargets: string[]
  nonBlocking?: NcAlarmBlockingSchema[] = []
  blocking?: NcAlarmBlockingSchema[] = []
  secureOnArmOff?: NcAlarmBlockingSchema[] = []
  modeDelays?: NcAlarmModeDelaysSchema[] = []
}

NcAlarmSkippedDeviceSchema

{
  deviceId: number
  reason: NcAlarmSkipReasonSchema
}

NcAlarmSkipReasonSchema

"muted" | "detection-off" | "offline"

NcAudioConditionSchema

{
  labels?: string[]
  dbThreshold?: number
  hitPercent?: number = 60
  samplingSeconds?: number = 10
  confirmHits?: number
  confirmWindowSec?: number
}

NcClipRetentionAskSchema

{
  deviceId?: number
  seconds: number
  profile?: CamProfileSchema
  ruleId: string
  ruleName: string
  reason: "window" | "occupancy"
}

NcClipRetentionPlanSchema

{
  rulesLoaded: boolean
  asks: NcClipRetentionAskSchema[]
}

NcConditionDescriptorSchema

{
  id: string
  group: "scope" | "class" | "zones" | "quality" | "label" | "schedule" | "device" | "package" | "occupancy" | "audio" | "system"
  label: string
  valueType: "deviceIdList" | "deviceIdExcludeList" | "stringList" | "number01" | "number" | "sourceSelect" | "zoneSelection" | "zoneIdList" | "schedule" | "plateMatcher" | "packagePhase" | "crossingSelect" | "sensorTransition" | "polygonDraw" | "occupancy" | "audio" | "deviceState" | "scene" | "systemEvent"
  operator: "in" | "notIn" | "anyOf" | "allOf" | "gte" | "fuzzyIn" | "withinSchedule"
  appliesTo: NcDeliverySchema[]
  phase: string
  description?: string
  options?: ({ value: string; label: string; hint?: string })[]
}

NcConditionsSchema

{
  deviceState?: NcDeviceStateConditionSchema
  scene?: NcSceneConditionSchema
  devices?: number[]
  devicesExclude?: number[]
  classes?: string[]
  classesExclude?: string[]
  minConfidence?: number
  zones?: NcZoneConditionSchema
  zonesExclude?: string[]
  crossing?: NcCrossingSchema
  labelEquals?: string[]
  identities?: string[]
  plates?: NcPlateMatcherSchema
  identitiesExclude?: string[]
  minImportance?: number
  minDwellSeconds?: number
  source?: "pipeline" | "onboard" | "sensor" | "audio" | "any"
  minLabelConfidence?: number
  eventTypeTokens?: string[]
  sensorKinds?: string[]
  sensorTransition?: NcSensorTransitionSchema
  packagePhase?: "delivered" | "picked-up" | "both"
  systemEvent?: NcSystemEventConditionSchema
  customZones?: MaskPolygonShapeSchema[]
  occupancy?: NcOccupancyConditionSchema
  audio?: NcAudioConditionSchema
}

NcConfirmExpectSchema

{
  op: ">=" | ">" | "<=" | "<" | "=="
  count: number
}

NcConfirmSchema

{
  enabled?: boolean = false
  profileId?: string
  prompt?: string
  expect?: NcConfirmExpectSchema
  timeoutMs?: number = 8000
  onTimeout?: "fire" | "suppress" = "fire"
  maxImagePx?: number = 448
}

NcCrossingSchema

"enter" | "exit" | "any"

NcDeliverySchema

"immediate" | "track-end" | "device-event" | "package-event" | "system-event"

NcDeviceStateConditionSchema

{
  deviceId: number
  states: string[]
}

NcHistoryEntrySchema

{
  id: string
  ruleId: string
  ruleName: string
  delivery: NcDeliverySchema
  targetId: string
  deviceId: number
  recordKind: NcHistoryRecordKindSchema
  recordId: string
  trackId?: string
  status: NcHistoryStatusSchema
  attempts: number
  createdAt: number
  updatedAt: number
  error?: string
  subject: NcHistorySubjectSchema
  title?: string
  body?: string
  artifactIds?: string[]
  groupedInto?: string
}

NcHistoryFilterSchema

{
  ruleId?: string
  deviceId?: number
  status?: NcHistoryStatusSchema
  since?: number
  until?: number
  limit?: number = 100
}

NcHistoryRecordKindSchema

"object-event" | "track-end" | "device-event" | "package-event" | "system-event"

NcHistoryStatusSchema

"pending" | "sent" | "dead"

NcHistorySubjectSchema

{
  className: string
  label?: string
  confidence?: number
  zones: string[]
  timestamp: number
  systemEvent?: { kind: NcSystemEventKindSchema; subject: string; title: string; body: string; data: Record<string, unknown> }
}

NcHookActionIdsSchema

Array of string

NcLinkedCameraModeSchema

"mosaic" | "each"

NcMediaFrameSchema

"cropped" | "full" | "boxed"

NcMediaImageSchema

"scene-boxes" | "crop" | "clean" | "none"

NcMediaPolicySchema

{
  image?: NcMediaImageSchema
  showTriggerZone?: boolean
  showSubjectPath?: boolean
  attach?: "best" | "best-matching" | "keyFrame" | "none"
  frame?: NcMediaFrameSchema
  zoneCrop?: boolean
  gif?: boolean
  clip?: boolean
  clipPreRollSec?: number
  clipPostRollSec?: number
  clipSpeed?: number
  profile?: CamProfileSchema
  linkedCameras?: NcLinkedCameraModeSchema
  wakeSleepingCamera?: boolean
}

NcOccupancyConditionSchema

{
  zoneId?: string
  className?: string
  op?: "became-occupied" | "became-free" | ">=" | "<=" = "became-occupied"
  count?: number = 1
  sustainSeconds?: number = 15
}

NcPlateMatcherSchema

{
  values: string[]
  maxDistance?: number = 1
}

NcRuleActionsSchema

{
  onActivation?: NcHookActionIdsSchema
  onDeactivation?: NcHookActionIdsSchema
  onTrigger?: NcHookActionIdsSchema
  onTriggerOff?: NcHookActionIdsSchema
  buttons?: NcRuleNotificationButtonSchema[]
}

NcRuleClearableKeySchema

"template" | "schedule" | "targetUsers" | "snoozeOptions" | "snoozeAllowGlobal" | "actions" | "confirm" | "groupingSec" | "waitForEnhancement" | "groupIdleSec"

NcRuleInputSchema

{
  name: string
  enabled?: boolean = true
  delivery: NcDeliverySchema
  conditions?: NcConditionsSchema = {}
  schedule?: NcScheduleSchema
  systemEventDelivery?: NcSystemEventDeliverySchema
  targets: NcRuleTargetSchema[]
  targetUsers?: string[]
  targetOverrides?: NcTargetOverridesSchema
  media?: NcMediaPolicySchema = {}
  throttle?: NcThrottleSchema = {"cooldownSec":60,"scope":"rule-device"}
  template?: { title?: string; body?: string }
  priority?: number = 3
  ownerUserId?: string
  snoozeAllowGlobal?: boolean
  snoozeOptions?: number[]
  actions?: NcRuleActionsSchema
  confirm?: NcConfirmSchema
  groupingSec?: number
  groupWithinSec?: number
  askVerdict?: boolean
  offerAlertAction?: boolean
  tags?: string[]
  tagIds?: string[]
}

NcRuleKindSchema

"detection" | "sensor" | "occupancy" | "sound" | "device-events" | "system" | "alarm" | "mixed"

NcRuleLastRunSchema

{
  ruleId: string
  lastAt: number
  status: NcHistoryStatusSchema
  deviceId: number
}

NcRuleLastRunsSchema

{
  runs: NcRuleLastRunSchema[]
  horizonMs: number | null
}

NcRuleNotificationButtonSchema

{
  id: string
  label: string
  actionId: string
  icon?: NotificationActionIconSchema
  destructive?: boolean
  confirm?: boolean
}

NcRulePatchSchema

{
  name?: string
  enabled?: boolean
  delivery?: NcDeliverySchema
  conditions?: NcConditionsSchema
  schedule?: NcScheduleSchema
  systemEventDelivery?: NcSystemEventDeliverySchema
  targets?: NcRuleTargetSchema[]
  targetUsers?: string[]
  targetOverrides?: NcTargetOverridesSchema
  media?: NcMediaPolicySchema
  throttle?: NcThrottleSchema
  template?: { title?: string; body?: string }
  priority?: number
  ownerUserId?: string
  snoozeAllowGlobal?: boolean
  snoozeOptions?: number[]
  actions?: NcRuleActionsSchema
  confirm?: NcConfirmSchema
  groupingSec?: number
  groupWithinSec?: number
  askVerdict?: boolean
  offerAlertAction?: boolean
  tags?: string[]
  tagIds?: string[]
  disabledTargetIds?: string[]
}

NcRuleSchema

{
  name: string
  enabled?: boolean = true
  delivery: NcDeliverySchema
  conditions?: NcConditionsSchema = {}
  schedule?: NcScheduleSchema
  systemEventDelivery?: NcSystemEventDeliverySchema
  targets: NcRuleTargetSchema[]
  targetUsers?: string[]
  targetOverrides?: NcTargetOverridesSchema
  media?: NcMediaPolicySchema = {}
  throttle?: NcThrottleSchema = {"cooldownSec":60,"scope":"rule-device"}
  template?: { title?: string; body?: string }
  priority?: number = 3
  ownerUserId?: string
  snoozeAllowGlobal?: boolean
  snoozeOptions?: number[]
  actions?: NcRuleActionsSchema
  confirm?: NcConfirmSchema
  groupingSec?: number
  groupWithinSec?: number
  askVerdict?: boolean
  offerAlertAction?: boolean
  tags?: string[]
  tagIds?: string[]
  id: string
  createdBy: string
  createdAt: number
  updatedAt: number
  disabledTargetIds?: string[] = []
}

NcRuleTagsEntrySchema

{
  kind: NcTaggedRuleKindSchema
  ruleId: string
  tags: string[]
  tagIds: string[]
}

NcRuleTargetSchema

{
  targetId: string
  params?: Record<string, unknown>
}

NcRuleUpdateInputSchema

{
  ruleId: string
  patch: NcRulePatchSchema
  clear?: NcRuleClearableKeySchema[]
}

NcSceneConditionSchema

{
  sceneId: string
  deviceId?: number
  requiredState: "matched" | "diverged"
  latched?: boolean
}

NcScheduleSchema

{
  windows: NcScheduleWindowSchema[]
  timezone?: string
  invert?: boolean
}

NcScheduleWindowSchema

{
  days: number[]
  startMinute: number
  endMinute: number
}

NcSensorTransitionSchema

"raised" | "cleared"

NcSnoozeInputSchema

{
  scope: NcSnoozeScopeSchema
  ruleId?: string
  deviceId?: number
  classes?: string[]
  durationMinutes: number
  global?: boolean
  summary?: boolean
}

NcSnoozeSchema

{
  id: string
  userId: string
  scope: NcSnoozeScopeSchema
  ruleId?: string
  deviceId?: number
  classes?: string[]
  startedAt: number
  expiresAt: number
  global: boolean
  summary: boolean
  digestSentAt?: number
}

NcSnoozeScopeSchema

"rule" | "device" | "all"

NcStateSummaryPreviewRowSchema

{
  section?: NcStateSummarySectionIdSchema
  title: string
  text: string
  count: number
}

NcStateSummaryPreviewSchema

{
  empty: boolean
  count: number
  text: string
  sections: NcStateSummaryPreviewSectionSchema[]
  dropped: Record<string, number>
  excludedGroups: string[]
  split?: NcStateSummarySplitSchema
  rows?: NcStateSummaryPreviewRowSchema[]
}

NcStateSummaryPreviewSectionSchema

{
  id: NcStateSummarySectionIdSchema
  status: "read" | "unavailable"
  items: number
  reason?: string
}

NcStateSummarySectionIdSchema

"device-state" | "streams" | "battery" | "consumables" | "detection-blind" | "nodes" | "addons" | "addon-updates" | "updates"

NcStateSummarySplitSchema

"rule" | "section"

NcSystemEventConditionSchema

{
  kinds: NcSystemEventKindSchema[]
  deviceIds?: number[]
  deviceTypes?: string[]
  excludeDeviceIds?: number[]
  nodeIds?: string[]
  packageNames?: string[]
  commandActions?: string[]
  faultCodes?: string[]
  faultSeverities?: DeviceErrorSeveritySchema[]
  commandOutcomes?: ("ok" | "failed")[]
  commandActorKinds?: ("user" | "addon" | "action" | "scheduler" | "composition" | "node")[]
  consumableLowPercent?: number
}

NcSystemEventDeliveryModeSchema

"instant" | "summary"

NcSystemEventDeliverySchema

| { mode: "instant" }
| { mode: "summary"; schedule: NcScheduleSchema; split?: NcStateSummarySplitSchema }
| { mode: "modes"; onActivation: boolean; onDeactivation: boolean; onSchedule?: { schedule: NcScheduleSchema; grouping: NcStateSummarySplitSchema } }

NcSystemEventKindSchema

"device-online" | "device-offline" | "device-disabled" | "device-enabled" | "device-battery-low" | "device-battery-normal" | "device-consumable-low" | "device-consumable-normal" | "stream-online" | "stream-offline" | "node-online" | "node-offline" | "node-restarting" | "node-updating" | "node-inference-unavailable" | "detection-blind" | "motion-noisy" | "motion-calm" | "package-llm-silent" | "package-llm-answered" | "recording-stalled" | "recording-healthy" | "recording-degraded" | "device-attention-required" | "device-attention-resolved" | "device-command" | "storage-location-low" | "storage-location-critical" | "storage-location-ok" | "storage-drain-progress" | "storage-drain-complete" | "addon-crash-loop" | "addon-update-available" | "server-update-available" | "wrapper-update-available" | "alarm-triggered" | "alarm-armed" | "alarm-disarmed" | "alarm-arming" | "alarm-arm-refused" | "alarm-pending" | "alarm-rearmed" | "alarm-sensor-bypass" | "alarm-check-failed" | "addon-updated" | "server-updated" | "export-completed" | "backup-completed" | "alert-critical" | "alert-error" | "alert-critical-resolved" | "rule-broken" | "rule-repaired" | "camera-online" | "camera-offline" | "camera-disabled" | "camera-enabled"

NcTaggedRuleKindSchema

"event" | "summary" | "timelapse" | "calendar-events"

NcTargetAttachmentSchema

"none" | "image" | "clip" | "gif"

NcTargetOverrideSchema

{
  template?: { title?: string; body?: string }
  schedule?: NcScheduleSchema
  priority?: number
  attachment?: NcTargetAttachmentSchema
  actions?: boolean
}

NcTargetOverridesSchema

Record<string, NcTargetOverrideSchema>

NcTemplateDefaultSchema

{
  id: "appliance-cycle"
  kind: NcRuleKindSchema
  title: string
  body: string
}

NcTemplateFamilySchema

"rule" | "timelapse" | "summary"

NcTemplateFieldSchema

"title" | "body" | "previewText" | "captionText"

NcTemplatePreviewInputSchema

{
  context: NcTemplateVarContextSchema
  template: { title?: string; body?: string }
}

NcTemplatePreviewSchema

{
  title: string | null
  body: string | null
  unknown: string[]
}

NcTemplateVarContextSchema

{
  family: NcTemplateFamilySchema
  field: NcTemplateFieldSchema
  kind?: NcRuleKindSchema
  delivery?: NcDeliverySchema
  systemEventKinds?: NcSystemEventKindSchema[]
  systemEventDelivery?: NcSystemEventDeliveryModeSchema
}

NcTemplateVarDescriptorSchema

{
  name: string
  label: string
  description?: string
  example: string
  group: NcTemplateVarGroupSchema
  families: NcTemplateFamilySchema[]
  fields?: NcTemplateFieldSchema[]
  kinds?: NcTemplateVarKindSchema[]
  deliveries?: NcDeliverySchema[]
  systemEventKinds?: NcSystemEventKindSchema[]
  systemEventDeliveries?: NcSystemEventDeliveryModeSchema[]
  dynamic?: { prefix: "count_"; from: "classes" }
}

NcTemplateVarGroupSchema

"subject" | "place" | "time" | "rule" | "occupancy" | "sound" | "sensor" | "system" | "digest" | "ai"

NcTemplateVarKindSchema

"detection" | "sensor" | "occupancy" | "sound" | "system"

NcTestResultSchema

{
  recordId: string
  recordKind: "object-event" | "track" | "device-event" | "package-event" | "system-event"
  deviceId: number
  timestamp: number
  wouldFire: boolean
  failedCondition?: string
  className?: string
  label?: string
}

NcThrottleGranularitySchema

"shared" | "per-class"

NcThrottleSchema

{
  cooldownSec?: number = 60
  scope?: "rule" | "rule-device" = "rule-device"
  granularity?: NcThrottleGranularitySchema
}

NcZoneConditionSchema

{
  ids: string[]
  match?: "any" | "all"
}

NetworkAccessStatusSchema

{
  connected: boolean
  endpoint: NetworkEndpointSchema | null
  error?: string
}

NetworkAddressSchema

{
  name: string
  address: string
  family: string
  internal: boolean
}

NetworkEndpointSchema

{
  url: string
  hostname: string
  port: number
  protocol: "http" | "https"
  stable?: boolean
}

NetworkLinkStatusSchema

{
  type: "wifi" | "ethernet" | "cellular" | "unknown"
  signal: number | null
  rssi?: number
  ssid?: string
  speedKbps?: number | null
  linkUp?: boolean | null
  lastUpdated: number
}

NodeDirectoryEntrySchema

{
  id: string
  name: string
  isHub: boolean
  isOnline: boolean
}

NodeDirectorySchema

{
  nodes: NodeDirectoryEntrySchema[]
  complete: boolean
}

NodeHttpsStateSchema

| { state: "served"; leaf: HttpsLeafInfoSchema }
| { state: "not-issued"; reason: string }

NodeRemovedInputSchema

{
  nodeId: string
  removedAt: number
}

NodeRemovedResultSchema

{
  counts: Record<string, number>
}

NormalizedRectSchema

{
  x: number
  y: number
  w: number
  h: number
}

NotificationActionIconSchema

"acknowledge" | "dismiss" | "silence" | "snooze" | "view" | "play" | "open" | "close" | "lock" | "unlock" | "arm" | "arm-home" | "arm-away" | "arm-night" | "disarm" | "light" | "alert" | "camera"

NotificationActionSchema

{
  id: string
  label: string
  url?: string
  icon?: NotificationActionIconSchema
  destructive?: boolean
  mode?: "navigate" | "background"
}

NotificationFormatSchema

"text" | "markdown" | "html"

NotificationSchema

{
  body: string
  title?: string
  format?: NotificationFormatSchema = "text"
  priority?: number = 3
  level?: string
  attachments?: AttachmentSchema[]
  clickUrl?: string
  actions?: NotificationActionSchema[]
  sound?: string
  ttl?: number
  tag?: string
  deviceId?: number
  eventId?: string
  metadata?: Record<string, unknown>
  delivery?: Record<string, DeliveryParamValueSchema>
}

NotifierStatusSchema

{
  lastSentAt: number
  lastError: string | null
  queueDepth: number
  supports: { image: boolean; priority: boolean; data: boolean; actions: boolean; recipients: boolean }
}

NumericSensorStatusSchema

{
  value: number | null
  lastFetchedAt: number
}

On this page

NativeCropBboxSchemaNativeCropRefSchemaNativeCropResultSchemaNativeDetectionSchemaNativeObjectClassEnumNativeObjectDetectionOptionsSchemaNativeObjectDetectionRuntimeStateSchemaNativeObjectDetectionSettingsPatchSchemaNativeObjectDetectionStatusSchemaNativeObjectGeometryEnumNavigationActionEntrySchemaNavigationActionIdSchemaNavigationEntryKindSchemaNavigationFeaturesSchemaNavigationLightModeSchemaNavigationModeSchemaNavigationRuntimeStateSchemaNavigationStatusSchemaNcAlarmBlockingEditSchemaNcAlarmBlockingSchemaNcAlarmConfigSchemaNcAlarmCreateProfileInputSchemaNcAlarmModeCoverageSchemaNcAlarmModeDelaysEditSchemaNcAlarmModeDelaysSchemaNcAlarmNonBlockingEditSchemaNcAlarmPostTriggeredActionSchemaNcAlarmProfileIdInputSchemaNcAlarmProfileMetaSchemaNcAlarmProfilesViewSchemaNcAlarmRenameProfileInputSchemaNcAlarmSecureOnArmEditSchemaNcAlarmSensorReadingSchemaNcAlarmSensorsInputSchemaNcAlarmSensorsSchemaNcAlarmSensorStateSchemaNcAlarmSettingsPatchSchemaNcAlarmSettingsSchemaNcAlarmSkippedDeviceSchemaNcAlarmSkipReasonSchemaNcAudioConditionSchemaNcClipRetentionAskSchemaNcClipRetentionPlanSchemaNcConditionDescriptorSchemaNcConditionsSchemaNcConfirmExpectSchemaNcConfirmSchemaNcCrossingSchemaNcDeliverySchemaNcDeviceStateConditionSchemaNcHistoryEntrySchemaNcHistoryFilterSchemaNcHistoryRecordKindSchemaNcHistoryStatusSchemaNcHistorySubjectSchemaNcHookActionIdsSchemaNcLinkedCameraModeSchemaNcMediaFrameSchemaNcMediaImageSchemaNcMediaPolicySchemaNcOccupancyConditionSchemaNcPlateMatcherSchemaNcRuleActionsSchemaNcRuleClearableKeySchemaNcRuleInputSchemaNcRuleKindSchemaNcRuleLastRunSchemaNcRuleLastRunsSchemaNcRuleNotificationButtonSchemaNcRulePatchSchemaNcRuleSchemaNcRuleTagsEntrySchemaNcRuleTargetSchemaNcRuleUpdateInputSchemaNcSceneConditionSchemaNcScheduleSchemaNcScheduleWindowSchemaNcSensorTransitionSchemaNcSnoozeInputSchemaNcSnoozeSchemaNcSnoozeScopeSchemaNcStateSummaryPreviewRowSchemaNcStateSummaryPreviewSchemaNcStateSummaryPreviewSectionSchemaNcStateSummarySectionIdSchemaNcStateSummarySplitSchemaNcSystemEventConditionSchemaNcSystemEventDeliveryModeSchemaNcSystemEventDeliverySchemaNcSystemEventKindSchemaNcTaggedRuleKindSchemaNcTargetAttachmentSchemaNcTargetOverrideSchemaNcTargetOverridesSchemaNcTemplateDefaultSchemaNcTemplateFamilySchemaNcTemplateFieldSchemaNcTemplatePreviewInputSchemaNcTemplatePreviewSchemaNcTemplateVarContextSchemaNcTemplateVarDescriptorSchemaNcTemplateVarGroupSchemaNcTemplateVarKindSchemaNcTestResultSchemaNcThrottleGranularitySchemaNcThrottleSchemaNcZoneConditionSchemaNetworkAccessStatusSchemaNetworkAddressSchemaNetworkEndpointSchemaNetworkLinkStatusSchemaNodeDirectoryEntrySchemaNodeDirectorySchemaNodeHttpsStateSchemaNodeRemovedInputSchemaNodeRemovedResultSchemaNormalizedRectSchemaNotificationActionIconSchemaNotificationActionSchemaNotificationFormatSchemaNotificationSchemaNotifierStatusSchemaNumericSensorStatusSchema