import { type Client } from '../../../../../seam/connect/client.js'; import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../seam/connect/options.js'; import type { NoiseThreshold } from '../../../../../seam/connect/resources/noise-threshold.js'; import { SeamHttpRequest } from '../../../../../seam/connect/seam-http-request.js'; import { SeamPaginator } from '../../../../../seam/connect/seam-paginator.js'; export declare class SeamHttpNoiseSensorsNoiseThresholds { client: Client; readonly defaults: Required; readonly ltsVersion = "1.0.0"; static ltsVersion: string; constructor(apiKeyOrOptions?: string | SeamHttpOptions); static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit): SeamHttpNoiseSensorsNoiseThresholds; static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit): SeamHttpNoiseSensorsNoiseThresholds; static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit): SeamHttpNoiseSensorsNoiseThresholds; static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise; static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit): SeamHttpNoiseSensorsNoiseThresholds; static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit): SeamHttpNoiseSensorsNoiseThresholds; createPaginator(request: SeamHttpRequest): SeamPaginator; updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise; /** * Creates a new [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. */ create(parameters: NoiseSensorsNoiseThresholdsCreateParameters, options?: NoiseSensorsNoiseThresholdsCreateOptions): NoiseSensorsNoiseThresholdsCreateRequest; /** * Deletes a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) from a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). */ delete(parameters: NoiseSensorsNoiseThresholdsDeleteParameters, options?: NoiseSensorsNoiseThresholdsDeleteOptions): NoiseSensorsNoiseThresholdsDeleteRequest; /** * Returns a specified [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). */ get(parameters: NoiseSensorsNoiseThresholdsGetParameters, options?: NoiseSensorsNoiseThresholdsGetOptions): NoiseSensorsNoiseThresholdsGetRequest; /** * Returns a list of all [noise thresholds](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). */ list(parameters: NoiseSensorsNoiseThresholdsListParameters, options?: NoiseSensorsNoiseThresholdsListOptions): NoiseSensorsNoiseThresholdsListRequest; /** * Updates 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). */ update(parameters: NoiseSensorsNoiseThresholdsUpdateParameters, options?: NoiseSensorsNoiseThresholdsUpdateOptions): NoiseSensorsNoiseThresholdsUpdateRequest; } export type NoiseSensorsNoiseThresholdsCreateParameters = { /** * ID of the device for which you want to create a noise threshold. */ device_id: string; /** * Time at which the new noise threshold should become inactive daily. */ ends_daily_at: string; /** * Name of the new noise threshold. */ name?: string | undefined; /** * Noise level in decibels for the new noise threshold. */ noise_threshold_decibels?: number | undefined; /** * Noise level in Noiseaware Noise Risk Score (NRS) for the new 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 new noise threshold should become active daily. */ starts_daily_at: string; }; /** * @deprecated Use NoiseSensorsNoiseThresholdsCreateRequest instead. */ export type NoiseSensorsNoiseThresholdsCreateResponse = { noise_threshold: NoiseThreshold; }; export type NoiseSensorsNoiseThresholdsCreateRequest = SeamHttpRequest; export interface NoiseSensorsNoiseThresholdsCreateOptions { } export type NoiseSensorsNoiseThresholdsDeleteParameters = { /** * ID of the device that contains the noise threshold that you want to delete. */ device_id: string; /** * ID of the noise threshold that you want to delete. */ noise_threshold_id: string; }; /** * @deprecated Use NoiseSensorsNoiseThresholdsDeleteRequest instead. */ export type NoiseSensorsNoiseThresholdsDeleteResponse = void; export type NoiseSensorsNoiseThresholdsDeleteRequest = SeamHttpRequest; export interface NoiseSensorsNoiseThresholdsDeleteOptions { } export type NoiseSensorsNoiseThresholdsGetParameters = { /** * ID of the noise threshold that you want to get. */ noise_threshold_id: string; }; /** * @deprecated Use NoiseSensorsNoiseThresholdsGetRequest instead. */ export type NoiseSensorsNoiseThresholdsGetResponse = { noise_threshold: NoiseThreshold; }; export type NoiseSensorsNoiseThresholdsGetRequest = SeamHttpRequest; export interface NoiseSensorsNoiseThresholdsGetOptions { } export type NoiseSensorsNoiseThresholdsListParameters = { /** * ID of the device for which you want to list noise thresholds. */ device_id: string; }; /** * @deprecated Use NoiseSensorsNoiseThresholdsListRequest instead. */ export type NoiseSensorsNoiseThresholdsListResponse = { noise_thresholds: Array; }; export type NoiseSensorsNoiseThresholdsListRequest = SeamHttpRequest; export interface NoiseSensorsNoiseThresholdsListOptions { } export type NoiseSensorsNoiseThresholdsUpdateParameters = { /** * ID of the device that contains the noise threshold that you want to update. */ device_id: string; /** * Time at which the noise threshold should become inactive daily. */ ends_daily_at?: string | undefined; /** * Name of the noise threshold that you want to update. */ name?: string | undefined; /** * Noise level in decibels for the noise threshold. */ noise_threshold_decibels?: number | undefined; /** * ID of the noise threshold that you want to update. */ 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 | undefined; }; /** * @deprecated Use NoiseSensorsNoiseThresholdsUpdateRequest instead. */ export type NoiseSensorsNoiseThresholdsUpdateResponse = void; export type NoiseSensorsNoiseThresholdsUpdateRequest = SeamHttpRequest; export interface NoiseSensorsNoiseThresholdsUpdateOptions { }