/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 43114ee20dbf */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; export type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest = { eventId: string; }; /** @internal */ export type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest$Outbound = { event_id: string; }; /** @internal */ export const GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest$outboundSchema: z.ZodType< GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest$Outbound, GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest > = z.object({ eventId: z.string(), }).transform((v) => { return remap$(v, { eventId: "event_id", }); }); export function getChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequestToJSON( getChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest: GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest, ): string { return JSON.stringify( GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest$outboundSchema .parse( getChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest, ), ); }