attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
18 lines • 1.12 kB
TypeScript
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 { GetV2TasksRequest, GetV2TasksResponse } from "../models/operations/getv2tasks.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
* List tasks
*
* @remarks
* List all tasks. Results are sorted by creation date, from oldest to newest.
*
* Required scopes: `task:read`, `object_configuration:read`, `record_permission:read`, `user_management:read`.
*/
export declare function tasksList(client: AttioCore, request: GetV2TasksRequest, options?: RequestOptions): APIPromise<Result<GetV2TasksResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=tasksList.d.ts.map