import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import type * as Samsara from "../../../index.mjs"; export declare namespace AttributesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class AttributesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: AttributesClient.Options); /** * Fetch all attributes in an organization associated with either drivers or assets. * * **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 Attributes** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.GetAttributesByEntityTypeRequest} request * @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.attributes.getAttributesByEntityType({ * entityType: "driver" * }) */ getAttributesByEntityType(request: Samsara.GetAttributesByEntityTypeRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise; private __getAttributesByEntityType; /** * Creates a new attribute in the organization. * * **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 Attributes** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.CreateAttributeRequest} request * @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.attributes.createAttribute({ * attributeType: "single-select", * entityType: "driver", * name: "License Certifications" * }) */ createAttribute(request: Samsara.CreateAttributeRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise; private __createAttribute; /** * Fetch an attribute by id, including all of its applications. * * **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 Attributes** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.GetAttributeRequest} request * @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.attributes.getAttribute({ * id: "id", * entityType: "driver" * }) */ getAttribute(request: Samsara.GetAttributeRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise; private __getAttribute; /** * Delete an attribute by id, including all of its applications. * * **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 Attributes** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.DeleteAttributesRequest} request * @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.attributes.delete({ * id: "id", * entityType: "driver" * }) */ delete(request: Samsara.DeleteAttributesRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise; private __delete; /** * Updates an attribute in the organization. * * **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 Attributes** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.UpdateAttributeRequest} request * @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.attributes.updateAttribute({ * id: "id", * entityType: "driver" * }) */ updateAttribute(request: Samsara.UpdateAttributeRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise; private __updateAttribute; }