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