/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 17846eb6ce8d
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest$outboundSchema = z.object({
    pageSize: z.int().default(50),
    cursor: z.nullable(z.string()).optional(),
    searchChatCompletionEventsRequest: components.SearchChatCompletionEventsRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        pageSize: "page_size",
        searchChatCompletionEventsRequest: "SearchChatCompletionEventsRequest",
    });
});
export function getChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestToJSON(getChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest) {
    return JSON.stringify(GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest$outboundSchema
        .parse(getChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest));
}
//# sourceMappingURL=getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.js.map