@transcend-io/typescript-webhook-example
Version:
Example of a webhook that can be integrated with Transcend.
11 lines • 463 B
TypeScript
import { Request, Response } from 'express';
/**
* DSR webhook handler
* Receives the DSR notification and schedules an async job.
*
* @param req - request object
* @param res - response object
* @see https://docs.transcend.io/docs/api-reference/webhook/new-privacy-request-job
*/
export default function handleDSRWebhook(req: Request, res: Response): Promise<Response<number, Record<string, number>> | null>;
//# sourceMappingURL=handleDSRWebhook.d.ts.map