/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 4cda3995f3b4
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { FilterPayload$outboundSchema, } from "./filterpayload.js";
/** @internal */
export const FetchFieldOptionCountsRequest$outboundSchema = z.object({
    filterParams: z.nullable(FilterPayload$outboundSchema).optional(),
}).transform((v) => {
    return remap$(v, {
        filterParams: "filter_params",
    });
});
export function fetchFieldOptionCountsRequestToJSON(fetchFieldOptionCountsRequest) {
    return JSON.stringify(FetchFieldOptionCountsRequest$outboundSchema.parse(fetchFieldOptionCountsRequest));
}
//# sourceMappingURL=fetchfieldoptioncountsrequest.js.map