@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface WebhookParseSuccess

    interface WebhookParseSuccess {
        ok: true;
        protocol: "mcp" | "a2a";
        envelope:
            | MCPWebhookPayload
            | MediaBuyDeliveryWebhookEnvelope
            | A2ATask
            | TaskStatusUpdateEvent;
        result: unknown;
        metadata: {
            taskId: string;
            taskType: string;
            operationId: string;
            contextId?: string;
            idempotencyKey?: string;
            notificationId?: string;
            status: TaskStatus;
            timestamp?: string;
            message?: string;
            previewHandler?: "legacy"
            | "canonical";
            requiresDurableSettlement?: boolean;
        };
    }
    Index
    ok: true
    protocol: "mcp" | "a2a"
    envelope:
        | MCPWebhookPayload
        | MediaBuyDeliveryWebhookEnvelope
        | A2ATask
        | TaskStatusUpdateEvent
    result: unknown
    metadata: {
        taskId: string;
        taskType: string;
        operationId: string;
        contextId?: string;
        idempotencyKey?: string;
        notificationId?: string;
        status: TaskStatus;
        timestamp?: string;
        message?: string;
        previewHandler?: "legacy" | "canonical";
        requiresDurableSettlement?: boolean;
    }