UNPKG

attio-js

Version:

Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.

18 lines 1.06 kB
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetV2ListsResponse } from "../models/operations/getv2lists.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List all lists * * @remarks * List all lists that your access token has access to. lists are returned in the order that they are sorted in the sidebar. * * Required scopes: `list_configuration:read`. */ export declare function listsListAll(client: AttioCore, options?: RequestOptions): APIPromise<Result<GetV2ListsResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=listsListAll.d.ts.map