/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 5dc9624182b1
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { PaginatedResultChatCompletionEventPreview$inboundSchema, } from "./paginatedresultchatcompletioneventpreview.js";
/** @internal */
export const ListCampaignSelectedEventsResponse$inboundSchema = z.object({
    completion_events: PaginatedResultChatCompletionEventPreview$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "completion_events": "completionEvents",
    });
});
export function listCampaignSelectedEventsResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ListCampaignSelectedEventsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCampaignSelectedEventsResponse' from JSON`);
}
//# sourceMappingURL=listcampaignselectedeventsresponse.js.map