export interface CommandRequest { requestId: string deviceId?: string method: string params: CommandRequestParams } export interface CommandRequestParams { payload: string } export interface CommandSuccessResponse { requestId: string result: any } export interface CommandFailureResponse { requestId: string error: { payload: any } }