public function downloadUpdateFile(UpdateInfo $update, string $apiEndpoint = 'download') : UpdateFile;