/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 59212893ffef
 */

import * as z from "zod/v4";
import * as openEnums from "../../types/enums.js";
import { OpenEnum } from "../../types/enums.js";

/**
 * Server side events sent when streaming a conversation response.
 */
export const SSETypes = {
  ConversationResponseStarted: "conversation.response.started",
  ConversationResponseDone: "conversation.response.done",
  ConversationResponseError: "conversation.response.error",
  MessageOutputDelta: "message.output.delta",
  ToolExecutionStarted: "tool.execution.started",
  ToolExecutionDelta: "tool.execution.delta",
  ToolExecutionDone: "tool.execution.done",
  AgentHandoffStarted: "agent.handoff.started",
  AgentHandoffDone: "agent.handoff.done",
  FunctionCallDelta: "function.call.delta",
} as const;
/**
 * Server side events sent when streaming a conversation response.
 */
export type SSETypes = OpenEnum<typeof SSETypes>;

/** @internal */
export const SSETypes$inboundSchema: z.ZodType<SSETypes, unknown> = openEnums
  .inboundSchema(SSETypes);
