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 SettingsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class SettingsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: SettingsClient.Options); /** * Get organization's compliance settings, including carrier name, office address, and DOT number * * Rate limit: 5 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read ELD Compliance Settings (US)** under the Compliance 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 {SettingsClient.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.settings.getComplianceSettings() */ getComplianceSettings(requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise; private __getComplianceSettings; /** * Update organization's compliance settings, including carrier name, office address, and DOT number * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write ELD Compliance Settings (US)** under the Compliance 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.SettingsPatchComplianceSettingsRequestBody} request * @param {SettingsClient.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.settings.patchComplianceSettings() */ patchComplianceSettings(request?: Samsara.SettingsPatchComplianceSettingsRequestBody, requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise; private __patchComplianceSettings; /** * Get driver app settings. * * Rate limit: 5 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Driver App Settings** 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 {SettingsClient.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.settings.getDriverAppSettings() */ getDriverAppSettings(requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise; private __getDriverAppSettings; /** * Update driver app settings. * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write Driver App Settings** 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.SettingsPatchDriverAppSettingsRequestBody} request * @param {SettingsClient.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.settings.patchDriverAppSettings() */ patchDriverAppSettings(request?: Samsara.SettingsPatchDriverAppSettingsRequestBody, requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise; private __patchDriverAppSettings; /** * Get safety settings * * Rate limit: 5 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras 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 {SettingsClient.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.settings.getSafetySettings() */ getSafetySettings(requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise; private __getSafetySettings; }