module.exports = function(syno) {
  return {
  };
};

@@ -1,48 +1,1891 @@
-module.exports = function(syno) %7B%0A  return %7B
+'use strict';%0A%0Avar util = require('util');%0A%0Afunction info() %7B%0A  /*jshint validthis:true */%0A  var%0A    userParams =%0A      typeof arguments%5B0%5D === 'object' ? arguments%5B0%5D :%0A      %7B%7D,%0A    callback =%0A      typeof arguments%5B1%5D === 'function' ? arguments%5B1%5D :%0A      typeof arguments%5B0%5D === 'function' ? arguments%5B0%5D :%0A      null%0A  ;%0A  var params = %7B%0A    api    : 'SYNO.DownloadStation.Info',%0A    version: 1,%0A    method : 'getinfo'%0A  %7D;%0A  util._extend(params, userParams);%0A%0A  var query = this.query(%7B%0A    path: '/webapi/DownloadStation/info.cgi',%0A    params: params%0A  %7D, callback %7C%7C null);%0A%0A  return query;%0A%7D%0A%0Afunction getConfig() %7B%0A  /*jshint validthis:true */%0A  var%0A    userParams =%0A      typeof arguments%5B0%5D === 'object' ? arguments%5B0%5D :%0A      %7B%7D,%0A    callback =%0A      typeof arguments%5B1%5D === 'function' ? arguments%5B1%5D :%0A      typeof arguments%5B0%5D === 'function' ? arguments%5B0%5D :%0A      null%0A  ;%0A  var params = %7B%0A    api    : 'SYNO.DownloadStation.Info',%0A    version: 1,%0A    method : 'getconfig'%0A  %7D;%0A  util._extend(params, userParams);%0A%0A  var query = this.query(%7B%0A    path: '/webapi/DownloadStation/info.cgi',%0A    params: params%0A  %7D, callback %7C%7C null);%0A%0A  return query;%0A%7D%0A%0Afunction setConfig() %7B%0A  /*jshint validthis:true */%0A  var%0A    userParams =%0A      typeof arguments%5B0%5D === 'object' ? arguments%5B0%5D :%0A      %7B%7D,%0A    callback =%0A      typeof arguments%5B1%5D === 'function' ? arguments%5B1%5D :%0A      typeof arguments%5B0%5D === 'function' ? arguments%5B0%5D :%0A      null%0A  ;%0A  var params = %7B%0A    api    : 'SYNO.DownloadStation.Info',%0A    version: 1,%0A    method : 'setserverconfig'%0A  %7D;%0A  util._extend(params, userParams);%0A%0A  var query = this.query(%7B%0A    path: '/webapi/DownloadStation/info.cgi',%0A    params: params%0A  %7D, callback %7C%7C null);%0A%0A  return query;%0A%7D%0A%0Amodule.exports = function(syno) %7B%0A  return %7B%0A    info     : info.bind(syno),%0A    getConfig: getConfig.bind(syno),%0A    setConfig: setConfig.bind(syno)
 %0A  %7D

Add Synology.downloadStation.info, Synology.downloadStation.getConfig and Synology.downloadStation.setConfig