Built motion from commit 54a160d.|0.0.140
[motion.git] / server / api / openchannel_disposition / openchannel_disposition.controller.js
index 70eed84..c1cf31b 100644 (file)
@@ -1 +1 @@
-var _0x760a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\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\x6E\x64\x43\x6F\x75\x6E\x74\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"];_0x760a[0];var _=require(_0x760a[1]);var Util=require(_0x760a[2]);var OpenchannelDisposition=require(_0x760a[4])[_0x760a[3]];function handleError(_0xbcf6x5,_0xbcf6x6){_0xbcf6x6= _0xbcf6x6|| 500;return function(_0xbcf6x7){_0xbcf6x5[_0x760a[6]](_0xbcf6x6)[_0x760a[5]](_0xbcf6x7)}}function responseWithResult(_0xbcf6x5,_0xbcf6x6){_0xbcf6x6= _0xbcf6x6|| 200;return function(_0xbcf6x9){if(_0xbcf6x9){_0xbcf6x5[_0x760a[6]](_0xbcf6x6)[_0x760a[7]](_0xbcf6x9)}}}function handleEntityNotFound(_0xbcf6x5){return function(_0xbcf6x9){if(!_0xbcf6x9){_0xbcf6x5[_0x760a[6]](404)[_0x760a[8]]();return null};return _0xbcf6x9}}function saveUpdates(_0xbcf6xc){return function(_0xbcf6x9){return _0xbcf6x9[_0x760a[10]](_0xbcf6xc)[_0x760a[9]](function(_0xbcf6xd){return _0xbcf6xd})}}function removeEntity(_0xbcf6x5){return function(_0xbcf6x9){if(_0xbcf6x9){return _0xbcf6x9[_0x760a[11]]()[_0x760a[9]](function(){_0xbcf6x5[_0x760a[6]](204)[_0x760a[8]]()})}}}exports[_0x760a[12]]= function(_0xbcf6xf,_0xbcf6x5){OpenchannelDisposition[_0x760a[14]]()[_0x760a[9]](responseWithResult(_0xbcf6x5))[_0x760a[13]](handleError(_0xbcf6x5))};exports[_0x760a[15]]= function(_0xbcf6xf,_0xbcf6x5){OpenchannelDisposition[_0x760a[18]](_0xbcf6xf[_0x760a[17]][_0x760a[16]])[_0x760a[9]](handleEntityNotFound(_0xbcf6x5))[_0x760a[9]](responseWithResult(_0xbcf6x5))[_0x760a[13]](handleError(_0xbcf6x5))};exports[_0x760a[19]]= function(_0xbcf6xf,_0xbcf6x5){OpenchannelDisposition[_0x760a[19]](_0xbcf6xf[_0x760a[20]])[_0x760a[9]](responseWithResult(_0xbcf6x5,201))[_0x760a[13]](handleError(_0xbcf6x5))};exports[_0x760a[21]]= function(_0xbcf6xf,_0xbcf6x5){if(_0xbcf6xf[_0x760a[20]][_0x760a[16]]){delete _0xbcf6xf[_0x760a[20]][_0x760a[16]]};OpenchannelDisposition[_0x760a[18]](_0xbcf6xf[_0x760a[17]][_0x760a[16]])[_0x760a[9]](handleEntityNotFound(_0xbcf6x5))[_0x760a[9]](saveUpdates(_0xbcf6xf[_0x760a[20]]))[_0x760a[9]](responseWithResult(_0xbcf6x5))[_0x760a[13]](handleError(_0xbcf6x5))};exports[_0x760a[11]]= function(_0xbcf6xf,_0xbcf6x5){OpenchannelDisposition[_0x760a[18]](_0xbcf6xf[_0x760a[17]][_0x760a[16]])[_0x760a[9]](handleEntityNotFound(_0xbcf6x5))[_0x760a[9]](removeEntity(_0xbcf6x5))[_0x760a[13]](handleError(_0xbcf6x5))}
\ No newline at end of file
+var _0xf163=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\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\x6E\x64\x43\x6F\x75\x6E\x74\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"];_0xf163[0];var _=require(_0xf163[1]);var Util=require(_0xf163[2]);var OpenchannelDisposition=require(_0xf163[4])[_0xf163[3]];function handleError(_0x59fax5,_0x59fax6){_0x59fax6= _0x59fax6|| 500;return function(_0x59fax7){_0x59fax5[_0xf163[6]](_0x59fax6)[_0xf163[5]](_0x59fax7)}}function responseWithResult(_0x59fax5,_0x59fax6){_0x59fax6= _0x59fax6|| 200;return function(_0x59fax9){if(_0x59fax9){_0x59fax5[_0xf163[6]](_0x59fax6)[_0xf163[7]](_0x59fax9)}}}function handleEntityNotFound(_0x59fax5){return function(_0x59fax9){if(!_0x59fax9){_0x59fax5[_0xf163[6]](404)[_0xf163[8]]();return null};return _0x59fax9}}function saveUpdates(_0x59faxc){return function(_0x59fax9){return _0x59fax9[_0xf163[10]](_0x59faxc)[_0xf163[9]](function(_0x59faxd){return _0x59faxd})}}function removeEntity(_0x59fax5){return function(_0x59fax9){if(_0x59fax9){return _0x59fax9[_0xf163[11]]()[_0xf163[9]](function(){_0x59fax5[_0xf163[6]](204)[_0xf163[8]]()})}}}exports[_0xf163[12]]= function(_0x59faxf,_0x59fax5){OpenchannelDisposition[_0xf163[14]]()[_0xf163[9]](responseWithResult(_0x59fax5))[_0xf163[13]](handleError(_0x59fax5))};exports[_0xf163[15]]= function(_0x59faxf,_0x59fax5){OpenchannelDisposition[_0xf163[18]](_0x59faxf[_0xf163[17]][_0xf163[16]])[_0xf163[9]](handleEntityNotFound(_0x59fax5))[_0xf163[9]](responseWithResult(_0x59fax5))[_0xf163[13]](handleError(_0x59fax5))};exports[_0xf163[19]]= function(_0x59faxf,_0x59fax5){OpenchannelDisposition[_0xf163[19]](_0x59faxf[_0xf163[20]])[_0xf163[9]](responseWithResult(_0x59fax5,201))[_0xf163[13]](handleError(_0x59fax5))};exports[_0xf163[21]]= function(_0x59faxf,_0x59fax5){if(_0x59faxf[_0xf163[20]][_0xf163[16]]){delete _0x59faxf[_0xf163[20]][_0xf163[16]]};OpenchannelDisposition[_0xf163[18]](_0x59faxf[_0xf163[17]][_0xf163[16]])[_0xf163[9]](handleEntityNotFound(_0x59fax5))[_0xf163[9]](saveUpdates(_0x59faxf[_0xf163[20]]))[_0xf163[9]](responseWithResult(_0x59fax5))[_0xf163[13]](handleError(_0x59fax5))};exports[_0xf163[11]]= function(_0x59faxf,_0x59fax5){OpenchannelDisposition[_0xf163[18]](_0x59faxf[_0xf163[17]][_0xf163[16]])[_0xf163[9]](handleEntityNotFound(_0x59fax5))[_0xf163[9]](removeEntity(_0x59fax5))[_0xf163[13]](handleError(_0x59fax5))}
\ No newline at end of file