/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 69e481510704
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetTraceFieldOptionsV1ObservabilityTracesFieldsFieldNameOptionsGetRequest$outboundSchema = z.object({
    fieldName: z.string(),
    from: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    to: z.nullable(z.date().transform(v => v.toISOString())).optional(),
}).transform((v) => {
    return remap$(v, {
        fieldName: "field_name",
    });
});
export function getTraceFieldOptionsV1ObservabilityTracesFieldsFieldNameOptionsGetRequestToJSON(getTraceFieldOptionsV1ObservabilityTracesFieldsFieldNameOptionsGetRequest) {
    return JSON.stringify(GetTraceFieldOptionsV1ObservabilityTracesFieldsFieldNameOptionsGetRequest$outboundSchema
        .parse(getTraceFieldOptionsV1ObservabilityTracesFieldsFieldNameOptionsGetRequest));
}
//# sourceMappingURL=gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.js.map