import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import * as Samsara from "../../../index.mjs"; import { AttributesClient } from "../resources/attributes/client/Client.mjs"; import { CarrierProposedAssignmentsClient } from "../resources/carrierProposedAssignments/client/Client.mjs"; export declare namespace FleetClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class FleetClient { protected readonly _options: NormalizedClientOptionsWithAuth; protected _carrierProposedAssignments: CarrierProposedAssignmentsClient | undefined; protected _attributes: AttributesClient | undefined; constructor(options?: FleetClient.Options); get carrierProposedAssignments(): CarrierProposedAssignmentsClient; get attributes(): AttributesClient; /** * Get current location of vehicles. * * Rate limit: 50 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Vehicle Statistics** 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.GetFleetLocationsRequest} request * @param {FleetClient.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.fleet.getFleetLocations() */ getFleetLocations(request?: Samsara.GetFleetLocationsRequest, requestOptions?: FleetClient.RequestOptions): core.HttpResponsePromise; private __getFleetLocations; }