UNPKG

attio-js

Version:

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

19 lines 1.28 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 { PostV2ListsListEntriesQueryRequest, PostV2ListsListEntriesQueryResponse } from "../models/operations/postv2listslistentriesquery.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List entries * * @remarks * Lists entries in a given list, with the option to filter and sort results. * * Required scopes: `list_entry:read`, `list_configuration:read`. */ export declare function entriesQuery(client: AttioCore, request: PostV2ListsListEntriesQueryRequest, options?: RequestOptions): APIPromise<Result<PostV2ListsListEntriesQueryResponse, GetV2ListsListNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=entriesQuery.d.ts.map