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