import {z} from 'zod'
export type Html = {value: string};
export type Markdown = {value: string};
export type Text = {value: string};
export type Content = Html | Markdown | Text;
export type File = {url: string, prettyName?: string | undefined};
export type Inbound = {content: Content, attachments?: Array | undefined, integrationEmail?: string | undefined, externalId?: string | undefined};
export type Outbound = {content?: Content | undefined, agentId: string, attachments?: Array | undefined, integrationEmail?: string | undefined, externalId?: string | undefined, cc?: Array | undefined, bcc?: Array | undefined};
export type CreateMessageInput = Inbound | Outbound;
export type CreateApiBetaConversationsConversationIdMessagesArgs = {conversationId: number, body: CreateMessageInput};
export type CreateApiBetaConversationsConversationIdMessagesOptions = {baseUrl?: string | undefined, ApiKeyAuth?: string | undefined, fetch?: typeof fetch | undefined};
export const html = z.object({value: z.string()});
export const markdown = z.object({value: z.string()});
export const text = z.object({value: z.string()});
export const content = z.union([html, markdown, text]);
export const createMessageOutputData = z.object({content: content.optional(), direction: z.string(), authorId: z.string(), externalId: z.string().optional(), messageId: z.string().optional(), createdAt: z.string().optional()});
export const createMessageOutput = z.object({data: createMessageOutputData});
export const validateResponse = async