/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { ClonePlanRequest, ClonePlanRequest$Outbound, ClonePlanRequest$outboundSchema, } from "./clone-plan-request.js"; export type ClonePlanRequestRequest = { /** * Source Plan ID */ id: string; /** * Clone configuration */ body: ClonePlanRequest; }; /** @internal */ export type ClonePlanRequestRequest$Outbound = { id: string; body: ClonePlanRequest$Outbound; }; /** @internal */ export const ClonePlanRequestRequest$outboundSchema: z.ZodMiniType< ClonePlanRequestRequest$Outbound, ClonePlanRequestRequest > = z.object({ id: z.string(), body: ClonePlanRequest$outboundSchema, }); export function clonePlanRequestRequestToJSON( clonePlanRequestRequest: ClonePlanRequestRequest, ): string { return JSON.stringify( ClonePlanRequestRequest$outboundSchema.parse(clonePlanRequestRequest), ); }