/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d8323e9df800
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
export const Order = {
    Asc: "asc",
    Desc: "desc",
};
/** @internal */
export const Order$outboundSchema = z.enum(Order);
/** @internal */
export const LogsRequest$outboundSchema = z.object({
    searchExpression: z.nullable(z.string()).optional(),
    order: Order$outboundSchema.default("desc"),
}).transform((v) => {
    return remap$(v, {
        searchExpression: "search_expression",
    });
});
export function logsRequestToJSON(logsRequest) {
    return JSON.stringify(LogsRequest$outboundSchema.parse(logsRequest));
}
//# sourceMappingURL=logsrequest.js.map