/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type SetLobbyStateParams = { /** * JSON blob to store metadata for a room. Must be smaller than 1MB. */ state?: any | undefined; }; /** @internal */ export type SetLobbyStateParams$Outbound = { state?: any | undefined; }; /** @internal */ export const SetLobbyStateParams$outboundSchema: z.ZodType< SetLobbyStateParams$Outbound, z.ZodTypeDef, SetLobbyStateParams > = z.object({ state: z.any().optional(), }); export function setLobbyStateParamsToJSON( setLobbyStateParams: SetLobbyStateParams, ): string { return JSON.stringify( SetLobbyStateParams$outboundSchema.parse(setLobbyStateParams), ); }