VoiceAgentLiveDecisionStoredItem type

A stored Decision item, including its service-assigned identifier.

type VoiceAgentLiveDecisionStoredItem =
  | (VoiceAgentLiveDecisionMessage & { id: string })
  | Extract<
      LiveDecisionStoredInputItemParamUnion,
      {
        type: Exclude<LiveDecisionStoredInputItemParamUnion["type"], "message">
      }
    >