StreamEndReason type

Reason for the end of a streaming message

type StreamEndReason = "completed" | "expired" | "canceled"