import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PutV1VerifyWebhookSubscriptionUuidRequest, PutV1VerifyWebhookSubscriptionUuidResponse, PutV1VerifyWebhookSubscriptionUuidSecurity } from "../models/operations/putv1verifywebhooksubscriptionuuid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Verify a webhook subscription * * @remarks * When a webhook subscription is created, a `verification_token` is POSTed to the registered webhook subscription URL. This `verify` endpoint needs to be called with `verification_token` before webhook events can be sent to the registered webhook URL. * * Use the /v1/webhook_subscriptions/{webhook_subscription_uuid}/request_verification_token API to resend the `verification_token` to the Subscriber. * * 📘 System Access Authentication * * This endpoint uses the [Bearer Auth scheme with the system-level access token in the HTTP Authorization header](https://docs.gusto.com/embedded-payroll/docs/system-access) * * scope: `webhook_subscriptions:write` */ export declare function webhooksVerify(client: GustoEmbeddedCore, security: PutV1VerifyWebhookSubscriptionUuidSecurity, request: PutV1VerifyWebhookSubscriptionUuidRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=webhooksVerify.d.ts.map