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