UNPKG

attio-js

Version:

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

18 lines 1.01 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 { GetV2ObjectsResponse } from "../models/operations/getv2objects.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List objects * * @remarks * Lists all system-defined and user-defined objects in your workspace. * * Required scopes: `object_configuration:read`. */ export declare function objectsList(client: AttioCore, options?: RequestOptions): APIPromise<Result<GetV2ObjectsResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=objectsList.d.ts.map