@seamapi/http - v1.70.0
    Preparing search index...

    Class SeamHttpNoiseSensorsNoiseThresholds

    Index

    Constructors

    Properties

    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    ltsVersion: "1.0.0" = seamApiLtsVersion
    ltsVersion: string = seamApiLtsVersion

    Methods

    • Parameters

      • Optionalparameters: {
            device_id: string;
            ends_daily_at: string;
            name?: string;
            noise_threshold_decibels?: number;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
            sync?: boolean;
        }
        • device_id: string

          ID of the device for which you want to create a noise threshold.

        • ends_daily_at: string

          Time at which the new noise threshold should become inactive daily.

        • Optionalname?: string

          Name of the new noise threshold.

        • Optionalnoise_threshold_decibels?: number

          Noise level in decibels for the new noise threshold.

        • Optionalnoise_threshold_nrs?: number

          Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for Noiseaware sensors.

        • starts_daily_at: string

          Time at which the new noise threshold should become active daily.

        • Optionalsync?: boolean
      • options: NoiseSensorsNoiseThresholdsCreateOptions = {}

      Returns NoiseSensorsNoiseThresholdsCreateRequest

    • Parameters

      • Optionalparameters: { device_id: string; is_programmed?: boolean }
        • device_id: string

          ID of the device for which you want to list noise thresholds.

        • Optionalis_programmed?: boolean

          Enables you to limit the returned noise thresholds by whether they are programmed on the noise sensor. To list only noise thresholds that are programmed on the noise sensor, set this parameter to true. To list only noise thresholds that are not programmed on the noise sensor, se this parameter to false.

      • options: NoiseSensorsNoiseThresholdsListOptions = {}

      Returns NoiseSensorsNoiseThresholdsListRequest

    • Parameters

      • Optionalparameters: {
            device_id: string;
            ends_daily_at?: string;
            name?: string;
            noise_threshold_decibels?: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at?: string;
            sync?: boolean;
        }
        • device_id: string

          ID of the device that contains the noise threshold that you want to update.

        • Optionalends_daily_at?: string

          Time at which the noise threshold should become inactive daily.

        • Optionalname?: string

          Name of the noise threshold that you want to update.

        • Optionalnoise_threshold_decibels?: number

          Noise level in decibels for the noise threshold.

        • noise_threshold_id: string

          ID of the noise threshold that you want to update.

        • Optionalnoise_threshold_nrs?: number

          Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for Noiseaware sensors.

        • Optionalstarts_daily_at?: string

          Time at which the noise threshold should become active daily.

        • Optionalsync?: boolean
      • options: NoiseSensorsNoiseThresholdsUpdateOptions = {}

      Returns NoiseSensorsNoiseThresholdsUpdateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>