desktopMessageSchema
constdesktopMessageSchema:ZodDiscriminatedUnion<"type", [ZodObject<{controller:ZodNullable<ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>>;error:ZodOptional<ZodString>;screen:ZodObject<{height:ZodNumber;width:ZodNumber; },"strip",ZodTypeAny, {height:number;width:number; }, {height:number;width:number; }>;status:ZodEnum<["starting","running","stopped","unavailable"]>;streamUrl:ZodNullable<ZodString>;type:ZodLiteral<"desktop_status">; },"strip",ZodTypeAny, {controller: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; } |null;error?:string;screen: {height:number;width:number; };status:"starting"|"running"|"stopped"|"unavailable";streamUrl:string|null;type:"desktop_status"; }, {controller: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; } |null;error?:string;screen: {height:number;width:number; };status:"starting"|"running"|"stopped"|"unavailable";streamUrl:string|null;type:"desktop_status"; }>,ZodObject<{heldBy:ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>;type:ZodLiteral<"desktop_denied">; },"strip",ZodTypeAny, {heldBy: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };type:"desktop_denied"; }, {heldBy: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };type:"desktop_denied"; }>]>
Defined in: index.ts:1187