/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as models from "../index.js"; export type ItemsUpdateRequest = { id: string; body: models.MemoryItemUpdateRequest; }; /** @internal */ export type ItemsUpdateRequest$Outbound = { id: string; body: models.MemoryItemUpdateRequest$Outbound; }; /** @internal */ export const ItemsUpdateRequest$outboundSchema: z.ZodMiniType< ItemsUpdateRequest$Outbound, ItemsUpdateRequest > = z.object({ id: z.string(), body: models.MemoryItemUpdateRequest$outboundSchema, }); export function itemsUpdateRequestToJSON( itemsUpdateRequest: ItemsUpdateRequest, ): string { return JSON.stringify( ItemsUpdateRequest$outboundSchema.parse(itemsUpdateRequest), ); }