/* * Automatically generated by codegen/smith.ts. * Do not edit this file. */ /** * Represents a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them. */ export type NoiseThreshold = { /** * Unique identifier for the device that contains the noise threshold. */ device_id: string /** * Time at which the noise threshold should become inactive daily. */ ends_daily_at: string /** * Name of the noise threshold. */ name: string /** * Noise level in decibels for the noise threshold. */ noise_threshold_decibels: number /** * Unique identifier for the noise threshold. */ noise_threshold_id: string /** * Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/device-and-system-integration-guides/noiseaware-sensors). */ noise_threshold_nrs?: number | undefined /** * Time at which the noise threshold should become active daily. */ starts_daily_at: string }