Built motion from commit de2cb856.|2.0.37
[motion2.git] / server / api / version / version.controller.js
index ace1a97..9873ffc 100644 (file)
@@ -1 +1 @@
-var _0x3a49=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x6D\x7A\x75\x67","\x70\x61\x74\x68","\x76\x65\x72\x73\x69\x6F\x6E","\x70\x6B\x67\x69\x6E\x66\x6F","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x79\x73\x71\x6C\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x70\x6D\x32","\x75\x70\x64\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72","\x72\x6F\x6F\x74","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x69\x6E\x64\x65\x78","\x65\x78\x70\x6F\x72\x74\x73","\x71\x75\x65\x72\x79","\x6C\x61\x74\x65\x73\x74","\x32\x2E\x30\x2E\x30","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x74\x61\x67\x73","\x66\x65\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E","\x6D\x61\x73\x74\x65\x72","\x65\x72\x72\x6F\x72","\x67\x69\x74\x20\x66\x65\x74\x63\x68","\x69\x6E\x66\x6F","\x67\x69\x74\x20\x66\x65\x74\x63\x68\x20\x6F\x72\x69\x67\x69\x6E\x20\x6D\x61\x73\x74\x65\x72","\x72\x65\x73\x65\x74","\x2D\x2D\x68\x61\x72\x64","\x46\x45\x54\x43\x48\x5F\x48\x45\x41\x44","\x67\x69\x74\x20\x72\x65\x73\x65\x74\x20\x2D\x2D\x68\x61\x72\x64\x20\x46\x45\x54\x43\x48\x5F\x48\x45\x41\x44","\x67\x69\x74\x20\x72\x65\x73\x65\x74\x20\x2D\x2D\x68\x61\x72\x64","\x70\x75\x6C\x6C","\x6E\x70\x6D\x20\x69\x6E\x73\x74\x61\x6C\x6C\x20\x2D\x2D\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x72\x65\x73\x74\x61\x72\x74","\x63\x61\x74\x63\x68","\x70\x6D\x32\x20\x72\x65\x73\x74\x61\x72\x74\x20\x6D\x6F\x74\x69\x6F\x6E\x20\x25\x73","\x59\x6F\x75\x72\x20\x73\x79\x73\x74\x65\x6D\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x73\x74\x61\x72\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79","\x74\x68\x65\x6E","\x6D\x6F\x74\x69\x6F\x6E\x32","\x6D\x69\x67\x72\x61\x74\x69\x6F\x6E\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E","\x67\x65\x74\x51\x75\x65\x72\x79\x49\x6E\x74\x65\x72\x66\x61\x63\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E\x20\x74\x72\x69\x65\x64\x20\x74\x6F\x20\x75\x73\x65\x20\x6F\x6C\x64\x20\x73\x74\x79\x6C\x65\x20\x22\x64\x6F\x6E\x65\x22\x20\x63\x61\x6C\x6C\x62\x61\x63\x6B\x2E\x20\x50\x6C\x65\x61\x73\x65\x20\x75\x70\x67\x72\x61\x64\x65\x20\x74\x6F\x20\x22\x75\x6D\x7A\x75\x67\x22\x20\x61\x6E\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x20\x70\x72\x6F\x6D\x69\x73\x65\x20\x69\x6E\x73\x74\x65\x61\x64\x2E","\x73\x65\x72\x76\x65\x72","\x6A\x6F\x69\x6E","\x44\x61\x74\x61\x62\x61\x73\x65\x20\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x2E\x6A\x73","\x75\x70"];_0x3a49[0];var Umzug=require(_0x3a49[1]);var path=require(_0x3a49[2]);var pkginfo=require(_0x3a49[4])(module,_0x3a49[3]);var exec=require(_0x3a49[6])[_0x3a49[5]];var db=require(_0x3a49[8])[_0x3a49[7]];var config=require(_0x3a49[9]);var pm2=require(_0x3a49[10]);var logger=require(_0x3a49[12])(_0x3a49[11]);var git=require(_0x3a49[14])(config[_0x3a49[13]]);exports[_0x3a49[15]]= function(_0x2c1dxa,_0x2c1dxb){var _0x2c1dxc={current:module[_0x3a49[16]][_0x3a49[3]],phonebar:2};if(_0x2c1dxa[_0x3a49[17]]&& _0x2c1dxa[_0x3a49[17]][_0x3a49[18]]){return git[_0x3a49[23]]()[_0x3a49[22]](function(_0x2c1dxd,_0x2c1dxe){_0x2c1dxc[_0x3a49[18]]= (_0x2c1dxd?module[_0x3a49[16]][_0x3a49[3]]:_0x2c1dxe[_0x3a49[18]])|| _0x3a49[19];return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]](_0x2c1dxc)})}else {return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]](_0x2c1dxc)}};exports[_0x3a49[23]]= function(_0x2c1dxa,_0x2c1dxb){return git[_0x3a49[23]]([_0x3a49[24],_0x3a49[25]],function(_0x2c1dxd){if(_0x2c1dxd){logger[_0x3a49[26]](_0x2c1dxd);return _0x2c1dxb[_0x3a49[21]](500)[_0x3a49[20]](_0x2c1dxd)};logger[_0x3a49[28]](_0x3a49[27]);return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]]({output:_0x3a49[29]})})};exports[_0x3a49[30]]= function(_0x2c1dxa,_0x2c1dxb){return git[_0x3a49[30]]([_0x3a49[31],_0x3a49[32]],function(_0x2c1dxd){if(_0x2c1dxd){logger[_0x3a49[26]](_0x2c1dxd);return _0x2c1dxb[_0x3a49[21]](500)[_0x3a49[20]](_0x2c1dxd)};logger[_0x3a49[28]](_0x3a49[33]);return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]]({output:_0x3a49[34]})})};exports[_0x3a49[35]]= function(_0x2c1dxa,_0x2c1dxb){exec(_0x3a49[36],function(_0x2c1dxd,_0x2c1dxf,_0x2c1dx10){logger[_0x3a49[28]](_0x2c1dxf);logger[_0x3a49[28]](_0x2c1dx10);if(_0x2c1dxd){logger[_0x3a49[26]](_0x2c1dxd);return _0x2c1dxb[_0x3a49[21]](500)[_0x3a49[20]](_0x2c1dxd)};return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]]({output:_0x2c1dxf})})};exports[_0x3a49[37]]= function(_0x2c1dxa,_0x2c1dxb){return pm2[_0x3a49[37]](_0x3a49[42])[_0x3a49[41]](function(_0x2c1dx11){logger[_0x3a49[28]](_0x3a49[39],_0x2c1dx11);return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]]({output:_0x3a49[40]})})[_0x3a49[38]](function(_0x2c1dxd){logger[_0x3a49[26]](_0x2c1dxd);return _0x2c1dxb[_0x3a49[21]](500)[_0x3a49[20]](_0x2c1dxd)})};exports[_0x3a49[43]]= function(_0x2c1dxa,_0x2c1dxb){var _0x2c1dx12= new Umzug({storage:_0x3a49[44],storageOptions:{model:db[_0x3a49[45]],modelName:_0x3a49[45],columnName:_0x3a49[3]},migrations:{params:[db[_0x3a49[44]][_0x3a49[46]](),db[_0x3a49[44]][_0x3a49[47]],function(){throw  new Error(_0x3a49[48])}],path:path[_0x3a49[50]](config[_0x3a49[13]],_0x3a49[49],_0x3a49[43]),pattern:/\.js$/}});_0x2c1dx12[_0x3a49[53]]({from:module[_0x3a49[16]][_0x3a49[3]]+ _0x3a49[52]})[_0x3a49[41]](function(){return _0x2c1dxb[_0x3a49[21]](200)[_0x3a49[20]]({output:_0x3a49[51]})})[_0x3a49[38]](function(_0x2c1dxd){return _0x2c1dxb[_0x3a49[21]](500)[_0x3a49[20]](_0x2c1dxd)})}
\ No newline at end of file
+var _0x9c90=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x6D\x7A\x75\x67","\x70\x61\x74\x68","\x76\x65\x72\x73\x69\x6F\x6E","\x70\x6B\x67\x69\x6E\x66\x6F","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x79\x73\x71\x6C\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x70\x6D\x32","\x75\x70\x64\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72","\x72\x6F\x6F\x74","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x69\x6E\x64\x65\x78","\x65\x78\x70\x6F\x72\x74\x73","\x71\x75\x65\x72\x79","\x6C\x61\x74\x65\x73\x74","\x32\x2E\x30\x2E\x30","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x74\x61\x67\x73","\x66\x65\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E","\x6D\x61\x73\x74\x65\x72","\x65\x72\x72\x6F\x72","\x67\x69\x74\x20\x66\x65\x74\x63\x68","\x69\x6E\x66\x6F","\x67\x69\x74\x20\x66\x65\x74\x63\x68\x20\x6F\x72\x69\x67\x69\x6E\x20\x6D\x61\x73\x74\x65\x72","\x72\x65\x73\x65\x74","\x2D\x2D\x68\x61\x72\x64","\x46\x45\x54\x43\x48\x5F\x48\x45\x41\x44","\x67\x69\x74\x20\x72\x65\x73\x65\x74\x20\x2D\x2D\x68\x61\x72\x64\x20\x46\x45\x54\x43\x48\x5F\x48\x45\x41\x44","\x67\x69\x74\x20\x72\x65\x73\x65\x74\x20\x2D\x2D\x68\x61\x72\x64","\x70\x75\x6C\x6C","\x6E\x70\x6D\x20\x69\x6E\x73\x74\x61\x6C\x6C\x20\x2D\x2D\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x72\x65\x73\x74\x61\x72\x74","\x63\x61\x74\x63\x68","\x70\x6D\x32\x20\x72\x65\x73\x74\x61\x72\x74\x20\x6D\x6F\x74\x69\x6F\x6E\x20\x25\x73","\x59\x6F\x75\x72\x20\x73\x79\x73\x74\x65\x6D\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x73\x74\x61\x72\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79","\x74\x68\x65\x6E","\x6D\x6F\x74\x69\x6F\x6E\x32","\x6D\x69\x67\x72\x61\x74\x69\x6F\x6E\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E","\x67\x65\x74\x51\x75\x65\x72\x79\x49\x6E\x74\x65\x72\x66\x61\x63\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E\x20\x74\x72\x69\x65\x64\x20\x74\x6F\x20\x75\x73\x65\x20\x6F\x6C\x64\x20\x73\x74\x79\x6C\x65\x20\x22\x64\x6F\x6E\x65\x22\x20\x63\x61\x6C\x6C\x62\x61\x63\x6B\x2E\x20\x50\x6C\x65\x61\x73\x65\x20\x75\x70\x67\x72\x61\x64\x65\x20\x74\x6F\x20\x22\x75\x6D\x7A\x75\x67\x22\x20\x61\x6E\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x20\x70\x72\x6F\x6D\x69\x73\x65\x20\x69\x6E\x73\x74\x65\x61\x64\x2E","\x73\x65\x72\x76\x65\x72","\x6A\x6F\x69\x6E","\x44\x61\x74\x61\x62\x61\x73\x65\x20\x4D\x69\x67\x72\x61\x74\x69\x6F\x6E\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x2E\x6A\x73","\x75\x70"];_0x9c90[0];var Umzug=require(_0x9c90[1]);var path=require(_0x9c90[2]);var pkginfo=require(_0x9c90[4])(module,_0x9c90[3]);var exec=require(_0x9c90[6])[_0x9c90[5]];var db=require(_0x9c90[8])[_0x9c90[7]];var config=require(_0x9c90[9]);var pm2=require(_0x9c90[10]);var logger=require(_0x9c90[12])(_0x9c90[11]);var git=require(_0x9c90[14])(config[_0x9c90[13]]);exports[_0x9c90[15]]= function(_0xec05xa,_0xec05xb){var _0xec05xc={current:module[_0x9c90[16]][_0x9c90[3]],phonebar:2};if(_0xec05xa[_0x9c90[17]]&& _0xec05xa[_0x9c90[17]][_0x9c90[18]]){return git[_0x9c90[23]]()[_0x9c90[22]](function(_0xec05xd,_0xec05xe){_0xec05xc[_0x9c90[18]]= (_0xec05xd?module[_0x9c90[16]][_0x9c90[3]]:_0xec05xe[_0x9c90[18]])|| _0x9c90[19];return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]](_0xec05xc)})}else {return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]](_0xec05xc)}};exports[_0x9c90[23]]= function(_0xec05xa,_0xec05xb){return git[_0x9c90[23]]([_0x9c90[24],_0x9c90[25]],function(_0xec05xd){if(_0xec05xd){logger[_0x9c90[26]](_0xec05xd);return _0xec05xb[_0x9c90[21]](500)[_0x9c90[20]](_0xec05xd)};logger[_0x9c90[28]](_0x9c90[27]);return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]]({output:_0x9c90[29]})})};exports[_0x9c90[30]]= function(_0xec05xa,_0xec05xb){return git[_0x9c90[30]]([_0x9c90[31],_0x9c90[32]],function(_0xec05xd){if(_0xec05xd){logger[_0x9c90[26]](_0xec05xd);return _0xec05xb[_0x9c90[21]](500)[_0x9c90[20]](_0xec05xd)};logger[_0x9c90[28]](_0x9c90[33]);return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]]({output:_0x9c90[34]})})};exports[_0x9c90[35]]= function(_0xec05xa,_0xec05xb){exec(_0x9c90[36],function(_0xec05xd,_0xec05xf,_0xec05x10){logger[_0x9c90[28]](_0xec05xf);logger[_0x9c90[28]](_0xec05x10);if(_0xec05xd){logger[_0x9c90[26]](_0xec05xd);return _0xec05xb[_0x9c90[21]](500)[_0x9c90[20]](_0xec05xd)};return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]]({output:_0xec05xf})})};exports[_0x9c90[37]]= function(_0xec05xa,_0xec05xb){return pm2[_0x9c90[37]](_0x9c90[42])[_0x9c90[41]](function(_0xec05x11){logger[_0x9c90[28]](_0x9c90[39],_0xec05x11);return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]]({output:_0x9c90[40]})})[_0x9c90[38]](function(_0xec05xd){logger[_0x9c90[26]](_0xec05xd);return _0xec05xb[_0x9c90[21]](500)[_0x9c90[20]](_0xec05xd)})};exports[_0x9c90[43]]= function(_0xec05xa,_0xec05xb){var _0xec05x12= new Umzug({storage:_0x9c90[44],storageOptions:{model:db[_0x9c90[45]],modelName:_0x9c90[45],columnName:_0x9c90[3]},migrations:{params:[db[_0x9c90[44]][_0x9c90[46]](),db[_0x9c90[44]][_0x9c90[47]],function(){throw  new Error(_0x9c90[48])}],path:path[_0x9c90[50]](config[_0x9c90[13]],_0x9c90[49],_0x9c90[43]),pattern:/\.js$/}});_0xec05x12[_0x9c90[53]]({from:module[_0x9c90[16]][_0x9c90[3]]+ _0x9c90[52]})[_0x9c90[41]](function(){return _0xec05xb[_0x9c90[21]](200)[_0x9c90[20]]({output:_0x9c90[51]})})[_0x9c90[38]](function(_0xec05xd){return _0xec05xb[_0x9c90[21]](500)[_0x9c90[20]](_0xec05xd)})}
\ No newline at end of file