@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Type Alias ServerPayload<T>

    ServerPayload: T extends unknown
        ? StripWriteOnlyResponseFields<Omit<T, ProtocolEnvelopeKeys<T>>>
        : never

    Domain payload shape a server handler returns for a generated wire response.

    Use this when a generated *Response type includes protocol-envelope fields the SDK owns. Domain-level status fields are preserved unless their entire type is the protocol TaskStatus vocabulary.

    Write-only legacy webhook credentials and billing bank coordinates are also removed from nested objects. Runtime response projection already strips these; this keeps public server payload annotations aligned with what can safely appear on response wires and in adopter logs.

    Type Parameters

    • T