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 AuthTokenForDriverClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class AuthTokenForDriverClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: AuthTokenForDriverClient.Options); /** * Creates a short-lived auth token a driver can use to login. * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write Driver Auth Token** under the Drivers 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.AuthTokenAuthTokenRequestBody} request * @param {AuthTokenForDriverClient.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.authTokenForDriver.authToken({ * code: "dp[gZc1wAigz4uGa0Hh" * }) */ authToken(request: Samsara.AuthTokenAuthTokenRequestBody, requestOptions?: AuthTokenForDriverClient.RequestOptions): core.HttpResponsePromise; private __authToken; }