UNPKG

attio-js

Version:

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

18 lines 1.03 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 { GetV2WebhooksRequest, GetV2WebhooksResponse } from "../models/operations/getv2webhooks.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List webhooks * * @remarks * Get all of the webhooks in your workspace. * * Required scopes: `webhook:read`. */ export declare function webhooksList(client: AttioCore, request: GetV2WebhooksRequest, options?: RequestOptions): APIPromise<Result<GetV2WebhooksResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=webhooksList.d.ts.map