/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 0bdc7eb8915b
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { FilterPayload$outboundSchema, } from "./filterpayload.js";
/** @internal */
export const CreateCampaignRequest$outboundSchema = z.object({
    searchParams: FilterPayload$outboundSchema,
    judgeId: z.string(),
    name: z.string(),
    description: z.string(),
    maxNbEvents: z.int(),
}).transform((v) => {
    return remap$(v, {
        searchParams: "search_params",
        judgeId: "judge_id",
        maxNbEvents: "max_nb_events",
    });
});
export function createCampaignRequestToJSON(createCampaignRequest) {
    return JSON.stringify(CreateCampaignRequest$outboundSchema.parse(createCampaignRequest));
}
//# sourceMappingURL=createcampaignrequest.js.map