/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 51a941689548
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { FilterPayload$outboundSchema, } from "./filterpayload.js";
/** @internal */
export const SearchChatCompletionEventsRequest$outboundSchema = z.object({
    searchParams: FilterPayload$outboundSchema,
    extraFields: z.nullable(z.array(z.string())).optional(),
}).transform((v) => {
    return remap$(v, {
        searchParams: "search_params",
        extraFields: "extra_fields",
    });
});
export function searchChatCompletionEventsRequestToJSON(searchChatCompletionEventsRequest) {
    return JSON.stringify(SearchChatCompletionEventsRequest$outboundSchema.parse(searchChatCompletionEventsRequest));
}
//# sourceMappingURL=searchchatcompletioneventsrequest.js.map