/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 63d36db1118c */ import * as z from "zod/v3"; export type GetChatRequest = { /** * The id of the Chat to be retrieved. */ id: string; }; /** @internal */ export type GetChatRequest$Outbound = { id: string; }; /** @internal */ export const GetChatRequest$outboundSchema: z.ZodType< GetChatRequest$Outbound, z.ZodTypeDef, GetChatRequest > = z.object({ id: z.string(), }); export function getChatRequestToJSON(getChatRequest: GetChatRequest): string { return JSON.stringify(GetChatRequest$outboundSchema.parse(getChatRequest)); }