/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e117392f3711
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const WandbIntegrationResult$inboundSchema = z.object({
    type: z.literal("wandb"),
    project: z.string(),
    name: z.nullable(z.string()).optional(),
    run_name: z.nullable(z.string()).optional(),
    url: z.nullable(z.string()).optional(),
}).transform((v) => {
    return remap$(v, {
        "run_name": "runName",
    });
});
export function wandbIntegrationResultFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WandbIntegrationResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WandbIntegrationResult' from JSON`);
}
//# sourceMappingURL=wandbintegrationresult.js.map