/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type DestroyRoomDeprecatedGlobals = { appId?: string | undefined; }; export type DestroyRoomDeprecatedRequest = { appId?: string | undefined; roomId: string; }; /** @internal */ export type DestroyRoomDeprecatedRequest$Outbound = { appId?: string | undefined; roomId: string; }; /** @internal */ export const DestroyRoomDeprecatedRequest$outboundSchema: z.ZodType< DestroyRoomDeprecatedRequest$Outbound, z.ZodTypeDef, DestroyRoomDeprecatedRequest > = z.object({ appId: z.string().optional(), roomId: z.string(), }); export function destroyRoomDeprecatedRequestToJSON( destroyRoomDeprecatedRequest: DestroyRoomDeprecatedRequest, ): string { return JSON.stringify( DestroyRoomDeprecatedRequest$outboundSchema.parse( destroyRoomDeprecatedRequest, ), ); }