/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d8e5a1aae178
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const AgentAliasResponse$inboundSchema = z.object({
    alias: z.string(),
    version: z.int(),
    created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
    updated_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
}).transform((v) => {
    return remap$(v, {
        "created_at": "createdAt",
        "updated_at": "updatedAt",
    });
});
export function agentAliasResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => AgentAliasResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentAliasResponse' from JSON`);
}
//# sourceMappingURL=agentaliasresponse.js.map