import type * as Pinnacle from "../index.mjs"; /** * Webhook body delivered to subscribers of `FORM.SUBMISSION` after a recipient completes a form. Verify the `PINNACLE-SIGNING-SECRET` header matches your webhook's signing secret before trusting the payload. */ export interface FormSubmissionEvent { type: "FORM.SUBMISSION"; /** Top-level sender identifier — same value as `submission.from`. Exposed at the event root so you can route on it without digging into the submission object. */ sender: string; conversation: Pinnacle.FormSubmissionEventConversation | null; form: Pinnacle.FormSubmissionEventForm; submission: Pinnacle.FormSubmissionEventSubmission; }