attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
19 lines • 1.25 kB
TypeScript
import { AttioCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { GetV2WebhooksWebhookIdNotFoundError } from "../models/errors/getv2objectsobject.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { PatchV2WebhooksWebhookIdRequest, PatchV2WebhooksWebhookIdResponse } from "../models/operations/patchv2webhookswebhookid.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
* Update a webhook
*
* @remarks
* Update a webhook and associated subscriptions.
*
* Required scopes: `webhook:read-write`.
*/
export declare function webhooksPartialUpdate(client: AttioCore, request: PatchV2WebhooksWebhookIdRequest, options?: RequestOptions): APIPromise<Result<PatchV2WebhooksWebhookIdResponse, GetV2WebhooksWebhookIdNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=webhooksPartialUpdate.d.ts.map