import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Samsara from "../../../index.js"; export declare namespace VehiclesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class VehiclesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: VehiclesClient.Options); /** * Returns a list of all vehicles. * * Rate limit: 25 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Vehicles** under the Vehicles category when creating or editing an API token. Learn More. * * * **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. * * @param {Samsara.ListVehiclesRequest} request * @param {VehiclesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Samsara.UnauthorizedError} * @throws {@link Samsara.NotFoundError} * @throws {@link Samsara.MethodNotAllowedError} * @throws {@link Samsara.ContentTooLargeError} * @throws {@link Samsara.TooManyRequestsError} * @throws {@link Samsara.InternalServerError} * @throws {@link Samsara.NotImplementedError} * @throws {@link Samsara.BadGatewayError} * @throws {@link Samsara.ServiceUnavailableError} * @throws {@link Samsara.GatewayTimeoutError} * * @example * await client.vehicles.list() */ list(request?: Samsara.ListVehiclesRequest, requestOptions?: VehiclesClient.RequestOptions): Promise>; /** * Get information about a specific vehicle. * * **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 **Read Vehicles** under the Vehicles category when creating or editing an API token. Learn More. * * @param {Samsara.GetVehiclesRequest} request * @param {VehiclesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.vehicles.get({ * id: "id" * }) */ get(request: Samsara.GetVehiclesRequest, requestOptions?: VehiclesClient.RequestOptions): core.HttpResponsePromise; private __get; /** * Updates the given Vehicle object. * * **Note:** Vehicle objects are automatically created when Samsara Vehicle Gateways are installed. You cannot create a Vehicle object via API. * * You are able to *update* many of the fields of a Vehicle. * * **Note**: There are no required fields in the request body, and you only need to provide the fields you wish to update. * * **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 Vehicles** under the Vehicles category when creating or editing an API token. Learn More. * * @param {Samsara.UpdateVehicleRequest} request * @param {VehiclesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.vehicles.update({ * id: "id" * }) */ update(request: Samsara.UpdateVehicleRequest, requestOptions?: VehiclesClient.RequestOptions): core.HttpResponsePromise; private __update; }