import { x as ApiCallOptions } from "./chunks/auth-types-DjJJgiRF.js"; //#region src/public/rest/automation-connectors.d.ts type AutomationConnectorsList = { data?: AutomationConnectorsListObject[]; links?: Links; }; type AutomationConnectorsListObject = { /** Indicates if the connector is billable. */billable?: boolean; /** Indicates if the connector supports webhooks. */ hasWebhooks?: boolean; readonly id?: string; /** The URL to the large logo of the connector. */ logoLarge?: string; /** The URL to the medium logo of the connector. */ logoMedium?: string; /** The URL to the small logo of the connector. */ logoSmall?: string; /** The name of an automation connector. */ name?: string; }; type Error = { /** The unique code for the error */code: string; /** May be used to provide additional details */ detail?: string; /** A summary of what went wrong */ title: string; }; type ErrorResponse = { errors?: Error[]; /** A way to trace the source of the error. */ traceId?: string; }; type Links = { next?: PaginationLink; prev?: PaginationLink; }; type PaginationLink = { /** The URL to a resource request */href?: string; }; /** * Retrieves a list of automation connectors. * * @param query an object with query parameters * @throws GetAutomationConnectorsHttpError */ declare function getAutomationConnectors(query: { /** Filters the result based on the specified criteria: name. */filter?: string; /** The number of automation connectors to retrieve. */ limit?: number; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */ sort?: "id" | "-id" | "+id" | "name" | "+name" | "-name"; }, options?: ApiCallOptions): Promise; type GetAutomationConnectorsHttpResponse = { data: AutomationConnectorsList; headers: Headers; status: 200; prev?: (options?: ApiCallOptions) => Promise; next?: (options?: ApiCallOptions) => Promise; }; type GetAutomationConnectorsHttpError = { data: ErrorResponse; headers: Headers; status: 400 | 401 | 403 | 500 | 503; }; /** * Clears the cache for automation-connectors api requests. */ declare function clearCache(): void; type AutomationConnectorsAPI = { /** * Retrieves a list of automation connectors. * * @param query an object with query parameters * @throws GetAutomationConnectorsHttpError */ getAutomationConnectors: typeof getAutomationConnectors; /** * Clears the cache for automation-connectors api requests. */ clearCache: typeof clearCache; }; /** * Functions for the automation-connectors api */ declare const automationConnectorsExport: AutomationConnectorsAPI; //#endregion export { AutomationConnectorsAPI, AutomationConnectorsList, AutomationConnectorsListObject, Error, ErrorResponse, GetAutomationConnectorsHttpError, GetAutomationConnectorsHttpResponse, Links, PaginationLink, clearCache, automationConnectorsExport as default, getAutomationConnectors };