Built motion from commit 48095ee.|0.0.102
[motion.git] / server / api / desk_field / desk_field.controller.js
index 37821c0..3dfc30f 100644 (file)
@@ -1 +1 @@
-var _0x4d6f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x4d6f[0];var _=require(_0x4d6f[1]);var DeskField=require(_0x4d6f[3])[_0x4d6f[2]];function handleError(_0xbf69x4,_0xbf69x5){_0xbf69x5=_0xbf69x5||500;return function(_0xbf69x6){_0xbf69x4[_0x4d6f[5]](_0xbf69x5)[_0x4d6f[4]](_0xbf69x6)}}function responseWithResult(_0xbf69x4,_0xbf69x5){_0xbf69x5=_0xbf69x5||200;return function(_0xbf69x8){if(_0xbf69x8){_0xbf69x4[_0x4d6f[5]](_0xbf69x5)[_0x4d6f[6]](_0xbf69x8)}}}function handleEntityNotFound(_0xbf69x4){return function(_0xbf69x8){if(!_0xbf69x8){_0xbf69x4[_0x4d6f[5]](404)[_0x4d6f[7]]();return null};return _0xbf69x8}}function saveUpdates(_0xbf69xb){return function(_0xbf69x8){return _0xbf69x8[_0x4d6f[9]](_0xbf69xb)[_0x4d6f[8]](function(_0xbf69xc){return _0xbf69xc})}}function removeEntity(_0xbf69x4){return function(_0xbf69x8){if(_0xbf69x8){return _0xbf69x8[_0x4d6f[10]]()[_0x4d6f[8]](function(){_0xbf69x4[_0x4d6f[5]](204)[_0x4d6f[7]]()})}}}exports[_0x4d6f[11]]=function(_0xbf69xe,_0xbf69x4){DeskField[_0x4d6f[13]]()[_0x4d6f[8]](responseWithResult(_0xbf69x4))[_0x4d6f[12]](handleError(_0xbf69x4))};exports[_0x4d6f[14]]=function(_0xbf69xe,_0xbf69x4){DeskField[_0x4d6f[17]](_0xbf69xe[_0x4d6f[16]][_0x4d6f[15]])[_0x4d6f[8]](handleEntityNotFound(_0xbf69x4))[_0x4d6f[8]](responseWithResult(_0xbf69x4))[_0x4d6f[12]](handleError(_0xbf69x4))};exports[_0x4d6f[18]]=function(_0xbf69xe,_0xbf69x4){DeskField[_0x4d6f[18]](_0xbf69xe[_0x4d6f[19]])[_0x4d6f[8]](responseWithResult(_0xbf69x4,201))[_0x4d6f[12]](handleError(_0xbf69x4))};exports[_0x4d6f[20]]=function(_0xbf69xe,_0xbf69x4){if(_0xbf69xe[_0x4d6f[19]][_0x4d6f[15]]){delete _0xbf69xe[_0x4d6f[19]][_0x4d6f[15]]};DeskField[_0x4d6f[17]](_0xbf69xe[_0x4d6f[16]][_0x4d6f[15]])[_0x4d6f[8]](handleEntityNotFound(_0xbf69x4))[_0x4d6f[8]](saveUpdates(_0xbf69xe[_0x4d6f[19]]))[_0x4d6f[8]](responseWithResult(_0xbf69x4))[_0x4d6f[12]](handleError(_0xbf69x4))};exports[_0x4d6f[10]]=function(_0xbf69xe,_0xbf69x4){DeskField[_0x4d6f[17]](_0xbf69xe[_0x4d6f[16]][_0x4d6f[15]])[_0x4d6f[8]](handleEntityNotFound(_0xbf69x4))[_0x4d6f[8]](removeEntity(_0xbf69x4))[_0x4d6f[12]](handleError(_0xbf69x4))}
\ No newline at end of file
+var _0xd8c5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xd8c5[0];var _=require(_0xd8c5[1]);var DeskField=require(_0xd8c5[3])[_0xd8c5[2]];function handleError(_0x66d3x4,_0x66d3x5){_0x66d3x5=_0x66d3x5||500;return function(_0x66d3x6){_0x66d3x4[_0xd8c5[5]](_0x66d3x5)[_0xd8c5[4]](_0x66d3x6)}}function responseWithResult(_0x66d3x4,_0x66d3x5){_0x66d3x5=_0x66d3x5||200;return function(_0x66d3x8){if(_0x66d3x8){_0x66d3x4[_0xd8c5[5]](_0x66d3x5)[_0xd8c5[6]](_0x66d3x8)}}}function handleEntityNotFound(_0x66d3x4){return function(_0x66d3x8){if(!_0x66d3x8){_0x66d3x4[_0xd8c5[5]](404)[_0xd8c5[7]]();return null};return _0x66d3x8}}function saveUpdates(_0x66d3xb){return function(_0x66d3x8){return _0x66d3x8[_0xd8c5[9]](_0x66d3xb)[_0xd8c5[8]](function(_0x66d3xc){return _0x66d3xc})}}function removeEntity(_0x66d3x4){return function(_0x66d3x8){if(_0x66d3x8){return _0x66d3x8[_0xd8c5[10]]()[_0xd8c5[8]](function(){_0x66d3x4[_0xd8c5[5]](204)[_0xd8c5[7]]()})}}}exports[_0xd8c5[11]]=function(_0x66d3xe,_0x66d3x4){DeskField[_0xd8c5[13]]()[_0xd8c5[8]](responseWithResult(_0x66d3x4))[_0xd8c5[12]](handleError(_0x66d3x4))};exports[_0xd8c5[14]]=function(_0x66d3xe,_0x66d3x4){DeskField[_0xd8c5[17]](_0x66d3xe[_0xd8c5[16]][_0xd8c5[15]])[_0xd8c5[8]](handleEntityNotFound(_0x66d3x4))[_0xd8c5[8]](responseWithResult(_0x66d3x4))[_0xd8c5[12]](handleError(_0x66d3x4))};exports[_0xd8c5[18]]=function(_0x66d3xe,_0x66d3x4){DeskField[_0xd8c5[18]](_0x66d3xe[_0xd8c5[19]])[_0xd8c5[8]](responseWithResult(_0x66d3x4,201))[_0xd8c5[12]](handleError(_0x66d3x4))};exports[_0xd8c5[20]]=function(_0x66d3xe,_0x66d3x4){if(_0x66d3xe[_0xd8c5[19]][_0xd8c5[15]]){delete _0x66d3xe[_0xd8c5[19]][_0xd8c5[15]]};DeskField[_0xd8c5[17]](_0x66d3xe[_0xd8c5[16]][_0xd8c5[15]])[_0xd8c5[8]](handleEntityNotFound(_0x66d3x4))[_0xd8c5[8]](saveUpdates(_0x66d3xe[_0xd8c5[19]]))[_0xd8c5[8]](responseWithResult(_0x66d3x4))[_0xd8c5[12]](handleError(_0x66d3x4))};exports[_0xd8c5[10]]=function(_0x66d3xe,_0x66d3x4){DeskField[_0xd8c5[17]](_0x66d3xe[_0xd8c5[16]][_0xd8c5[15]])[_0xd8c5[8]](handleEntityNotFound(_0x66d3x4))[_0xd8c5[8]](removeEntity(_0x66d3x4))[_0xd8c5[12]](handleError(_0x66d3x4))}
\ No newline at end of file