import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import type * as Samsara from "../../../index.js"; export declare namespace ContactsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class ContactsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: ContactsClient.Options); /** * Returns a list of all contacts in an 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 **Read Alert Contacts** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.ListContactsRequest} request * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.contacts.listContacts() */ listContacts(request?: Samsara.ListContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise; private __listContacts; /** * Add a contact to 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 Alert Contacts** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.CreateContactRequest} request * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.contacts.createContact() */ createContact(request?: Samsara.CreateContactRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise; private __createContact; /** * Get a specific contact's information. * * **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 Alert Contacts** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.GetContactRequest} request * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.contacts.getContact({ * id: "id" * }) */ getContact(request: Samsara.GetContactRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise; private __getContact; /** * Delete the given contact. * * **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 Alert Contacts** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.DeleteContactsRequest} request * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.contacts.delete({ * id: "id" * }) */ delete(request: Samsara.DeleteContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise; private __delete; /** * Update a specific contact's information. * * **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 Alert Contacts** under the Setup & Administration category when creating or editing an API token. Learn More. * * @param {Samsara.UpdateContactRequest} request * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.contacts.updateContact({ * id: "id" * }) */ updateContact(request: Samsara.UpdateContactRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise; private __updateContact; }