UNPKG

attio-js

Version:

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

19 lines 1.19 kB
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { GetV2ListsListNotFoundError } from "../models/errors/getv2objectsobject.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetV2ListsListRequest, GetV2ListsListResponse } from "../models/operations/getv2listslist.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get a list * * @remarks * Gets a single list in your workspace that your access token has access to. * * Required scopes: `list_configuration:read`. */ export declare function listsGet(client: AttioCore, request: GetV2ListsListRequest, options?: RequestOptions): APIPromise<Result<GetV2ListsListResponse, GetV2ListsListNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=listsGet.d.ts.map