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 LiveSharingLinksClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class LiveSharingLinksClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: LiveSharingLinksClient.Options); /** * Returns all non-expired Live Sharing Links. * * Rate limit: 5 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Live Sharing Links** under the Driver Workflow 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.GetLiveSharingLinksRequest} request * @param {LiveSharingLinksClient.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.liveSharingLinks.getLiveSharingLinks() */ getLiveSharingLinks(request?: Samsara.GetLiveSharingLinksRequest, requestOptions?: LiveSharingLinksClient.RequestOptions): core.HttpResponsePromise; private __getLiveSharingLinks; /** * Create Live Sharing Link. * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write Live Sharing Links** under the Driver Workflow 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.LiveSharingLinksCreateLiveSharingLinkRequestBody} request * @param {LiveSharingLinksClient.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.liveSharingLinks.createLiveSharingLink({ * name: "Example Live Sharing Link name", * type: "assetsLocation" * }) */ createLiveSharingLink(request: Samsara.LiveSharingLinksCreateLiveSharingLinkRequestBody, requestOptions?: LiveSharingLinksClient.RequestOptions): core.HttpResponsePromise; private __createLiveSharingLink; /** * Delete Live Sharing Link. * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write Live Sharing Links** under the Driver Workflow 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.DeleteLiveSharingLinkRequest} request * @param {LiveSharingLinksClient.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.liveSharingLinks.deleteLiveSharingLink({ * id: "id" * }) */ deleteLiveSharingLink(request: Samsara.DeleteLiveSharingLinkRequest, requestOptions?: LiveSharingLinksClient.RequestOptions): core.HttpResponsePromise; private __deleteLiveSharingLink; /** * Update Live Sharing Link. * * Rate limit: 100 requests/min (learn more about rate limits here). * * To use this endpoint, select **Write Live Sharing Links** under the Driver Workflow 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.LiveSharingLinksUpdateLiveSharingLinkRequestBody} request * @param {LiveSharingLinksClient.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.liveSharingLinks.updateLiveSharingLink({ * id: "id", * name: "Example Live Sharing Link name" * }) */ updateLiveSharingLink(request: Samsara.LiveSharingLinksUpdateLiveSharingLinkRequestBody, requestOptions?: LiveSharingLinksClient.RequestOptions): core.HttpResponsePromise; private __updateLiveSharingLink; }