UNPKG

fathom-typescript

Version:

Fathom's official TypeScript SDK.

19 lines 1.31 kB
import { FathomCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { FathomError } from "../sdk/models/errors/fathomerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; import * as operations from "../sdk/models/operations/index.js"; import * as shared from "../sdk/models/shared/index.js"; import { APIPromise } from "../sdk/types/async.js"; import { Result } from "../sdk/types/fp.js"; /** * Create a webhook * * @remarks * Create a webhook to receive new meeting content. * At least one of `include_transcript`, `include_crm_matches`, `include_summary`, or `include_action_items` must be true. */ export declare function createWebhook(client: FathomCore, request: operations.CreateWebhookRequest, options?: RequestOptions): APIPromise<Result<shared.Webhook | undefined, FathomError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>; //# sourceMappingURL=createWebhook.d.ts.map