import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import type * as Samsara from "../../../index.js"; export declare namespace SensorsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class SensorsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: SensorsClient.Options); /** * > 🚧 This endpoint is still on our legacy API. * * Get cargo monitor status (empty / full) for requested sensors. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {Samsara.InlineObject4} request * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensorsCargo({ * sensors: [122] * }) */ v1GetSensorsCargo(request: Samsara.InlineObject4, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensorsCargo; /** * > 🚧 This endpoint is still on our legacy API. * * Get door monitor status (closed / open) for requested sensors. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {Samsara.InlineObject5} request * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensorsDoor({ * sensors: [122] * }) */ v1GetSensorsDoor(request: Samsara.InlineObject5, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensorsDoor; /** * > 🚧 This endpoint is still on our legacy API. * * Get historical data for specified sensors. This method returns a set of historical data for the specified sensors in the specified time range and at the specified time resolution. * * Rate limit: 100 requests/min (learn more about rate limits here). * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {Samsara.InlineObject6} request * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensorsHistory({ * endMs: 1462881998034, * series: [{ * field: "ambientTemperature", * widgetId: 1 * }], * startMs: 1462878398034, * stepMs: 3600000 * }) */ v1GetSensorsHistory(request: Samsara.InlineObject6, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensorsHistory; /** * > 🚧 This endpoint is still on our legacy API. * * Get humidity for requested sensors. This method returns the current relative humidity for the requested sensors. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {Samsara.InlineObject7} request * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensorsHumidity({ * sensors: [122] * }) */ v1GetSensorsHumidity(request: Samsara.InlineObject7, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensorsHumidity; /** * > 🚧 This endpoint is still on our legacy API. * * Get sensor objects. This method returns a list of the sensor objects in the Samsara Cloud and information about them. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensors() */ v1GetSensors(requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensors; /** * > 🚧 This endpoint is still on our legacy API. * * Get temperature for requested sensors. This method returns the current ambient temperature (and probe temperature if applicable) for the requested sensors. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. Learn More. * * @param {Samsara.InlineObject8} request * @param {SensorsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.sensors.v1GetSensorsTemperature({ * sensors: [122] * }) */ v1GetSensorsTemperature(request: Samsara.InlineObject8, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise; private __v1GetSensorsTemperature; }