SentEvent: {
    consentCategory: ConsentCategory;
    headers?: EventHeaders;
    name: string;
    payload: Record<string, unknown>;
}

This is an incoming raw event.

Type declaration