/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 0ee18e593b57
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetCampaignsV1ObservabilityCampaignsGetRequest$outboundSchema = z.object({
    pageSize: z.int().default(50),
    page: z.int().default(1),
    q: z.nullable(z.string()).optional(),
}).transform((v) => {
    return remap$(v, {
        pageSize: "page_size",
    });
});
export function getCampaignsV1ObservabilityCampaignsGetRequestToJSON(getCampaignsV1ObservabilityCampaignsGetRequest) {
    return JSON.stringify(GetCampaignsV1ObservabilityCampaignsGetRequest$outboundSchema.parse(getCampaignsV1ObservabilityCampaignsGetRequest));
}
//# sourceMappingURL=getcampaignsv1observabilitycampaignsget.js.map