X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fopenchannel_disposition%2Fopenchannel_disposition.controller.js;h=c3b1498ef8bc9fad0d6e21d0443d682dc25309af;hb=e949cd39da7cfbf73c65ea99c4a7b02cad8bcdee;hp=d905d93d0bd1241d559abcd67044ffb5d86ef439;hpb=4a2787f50c315de798d62cc0d6ceee6712bc35f6;p=motion.git diff --git a/server/api/openchannel_disposition/openchannel_disposition.controller.js b/server/api/openchannel_disposition/openchannel_disposition.controller.js index d905d93..c3b1498 100644 --- a/server/api/openchannel_disposition/openchannel_disposition.controller.js +++ b/server/api/openchannel_disposition/openchannel_disposition.controller.js @@ -1 +1 @@ -var _0x9204=["\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"];_0x9204[0];var _=require(_0x9204[1]);var Util=require(_0x9204[2]);var OpenchannelDisposition=require(_0x9204[4])[_0x9204[3]];function handleError(_0xf710x5,_0xf710x6){_0xf710x6= _0xf710x6|| 500;return function(_0xf710x7){_0xf710x5[_0x9204[6]](_0xf710x6)[_0x9204[5]](_0xf710x7)}}function responseWithResult(_0xf710x5,_0xf710x6){_0xf710x6= _0xf710x6|| 200;return function(_0xf710x9){if(_0xf710x9){_0xf710x5[_0x9204[6]](_0xf710x6)[_0x9204[7]](_0xf710x9)}}}function handleEntityNotFound(_0xf710x5){return function(_0xf710x9){if(!_0xf710x9){_0xf710x5[_0x9204[6]](404)[_0x9204[8]]();return null};return _0xf710x9}}function saveUpdates(_0xf710xc){return function(_0xf710x9){return _0xf710x9[_0x9204[10]](_0xf710xc)[_0x9204[9]](function(_0xf710xd){return _0xf710xd})}}function removeEntity(_0xf710x5){return function(_0xf710x9){if(_0xf710x9){return _0xf710x9[_0x9204[11]]()[_0x9204[9]](function(){_0xf710x5[_0x9204[6]](204)[_0x9204[8]]()})}}}exports[_0x9204[12]]= function(_0xf710xf,_0xf710x5){OpenchannelDisposition[_0x9204[14]]()[_0x9204[9]](responseWithResult(_0xf710x5))[_0x9204[13]](handleError(_0xf710x5))};exports[_0x9204[15]]= function(_0xf710xf,_0xf710x5){OpenchannelDisposition[_0x9204[18]](_0xf710xf[_0x9204[17]][_0x9204[16]])[_0x9204[9]](handleEntityNotFound(_0xf710x5))[_0x9204[9]](responseWithResult(_0xf710x5))[_0x9204[13]](handleError(_0xf710x5))};exports[_0x9204[19]]= function(_0xf710xf,_0xf710x5){OpenchannelDisposition[_0x9204[19]](_0xf710xf[_0x9204[20]])[_0x9204[9]](responseWithResult(_0xf710x5,201))[_0x9204[13]](handleError(_0xf710x5))};exports[_0x9204[21]]= function(_0xf710xf,_0xf710x5){if(_0xf710xf[_0x9204[20]][_0x9204[16]]){delete _0xf710xf[_0x9204[20]][_0x9204[16]]};OpenchannelDisposition[_0x9204[18]](_0xf710xf[_0x9204[17]][_0x9204[16]])[_0x9204[9]](handleEntityNotFound(_0xf710x5))[_0x9204[9]](saveUpdates(_0xf710xf[_0x9204[20]]))[_0x9204[9]](responseWithResult(_0xf710x5))[_0x9204[13]](handleError(_0xf710x5))};exports[_0x9204[11]]= function(_0xf710xf,_0xf710x5){OpenchannelDisposition[_0x9204[18]](_0xf710xf[_0x9204[17]][_0x9204[16]])[_0x9204[9]](handleEntityNotFound(_0xf710x5))[_0x9204[9]](removeEntity(_0xf710x5))[_0x9204[13]](handleError(_0xf710x5))} \ No newline at end of file +var _0x23fc=["\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"];_0x23fc[0];var _=require(_0x23fc[1]);var Util=require(_0x23fc[2]);var OpenchannelDisposition=require(_0x23fc[4])[_0x23fc[3]];function handleError(_0xceebx5,_0xceebx6){_0xceebx6= _0xceebx6|| 500;return function(_0xceebx7){_0xceebx5[_0x23fc[6]](_0xceebx6)[_0x23fc[5]](_0xceebx7)}}function responseWithResult(_0xceebx5,_0xceebx6){_0xceebx6= _0xceebx6|| 200;return function(_0xceebx9){if(_0xceebx9){_0xceebx5[_0x23fc[6]](_0xceebx6)[_0x23fc[7]](_0xceebx9)}}}function handleEntityNotFound(_0xceebx5){return function(_0xceebx9){if(!_0xceebx9){_0xceebx5[_0x23fc[6]](404)[_0x23fc[8]]();return null};return _0xceebx9}}function saveUpdates(_0xceebxc){return function(_0xceebx9){return _0xceebx9[_0x23fc[10]](_0xceebxc)[_0x23fc[9]](function(_0xceebxd){return _0xceebxd})}}function removeEntity(_0xceebx5){return function(_0xceebx9){if(_0xceebx9){return _0xceebx9[_0x23fc[11]]()[_0x23fc[9]](function(){_0xceebx5[_0x23fc[6]](204)[_0x23fc[8]]()})}}}exports[_0x23fc[12]]= function(_0xceebxf,_0xceebx5){OpenchannelDisposition[_0x23fc[14]]()[_0x23fc[9]](responseWithResult(_0xceebx5))[_0x23fc[13]](handleError(_0xceebx5))};exports[_0x23fc[15]]= function(_0xceebxf,_0xceebx5){OpenchannelDisposition[_0x23fc[18]](_0xceebxf[_0x23fc[17]][_0x23fc[16]])[_0x23fc[9]](handleEntityNotFound(_0xceebx5))[_0x23fc[9]](responseWithResult(_0xceebx5))[_0x23fc[13]](handleError(_0xceebx5))};exports[_0x23fc[19]]= function(_0xceebxf,_0xceebx5){OpenchannelDisposition[_0x23fc[19]](_0xceebxf[_0x23fc[20]])[_0x23fc[9]](responseWithResult(_0xceebx5,201))[_0x23fc[13]](handleError(_0xceebx5))};exports[_0x23fc[21]]= function(_0xceebxf,_0xceebx5){if(_0xceebxf[_0x23fc[20]][_0x23fc[16]]){delete _0xceebxf[_0x23fc[20]][_0x23fc[16]]};OpenchannelDisposition[_0x23fc[18]](_0xceebxf[_0x23fc[17]][_0x23fc[16]])[_0x23fc[9]](handleEntityNotFound(_0xceebx5))[_0x23fc[9]](saveUpdates(_0xceebxf[_0x23fc[20]]))[_0x23fc[9]](responseWithResult(_0xceebx5))[_0x23fc[13]](handleError(_0xceebx5))};exports[_0x23fc[11]]= function(_0xceebxf,_0xceebx5){OpenchannelDisposition[_0x23fc[18]](_0xceebxf[_0x23fc[17]][_0x23fc[16]])[_0x23fc[9]](handleEntityNotFound(_0xceebx5))[_0x23fc[9]](removeEntity(_0xceebx5))[_0x23fc[13]](handleError(_0xceebx5))} \ No newline at end of file