Built motion from commit f3d513ea8.|1.0.25
[motion.git] / server / api / openchannel_disposition / openchannel_disposition.controller.js
index a133551..076a3b6 100644 (file)
@@ -1 +1 @@
-var _0xc502=["\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","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\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"];_0xc502[0];var _=require(_0xc502[1]);var Util=require(_0xc502[2]);var logger=require(_0xc502[4])(_0xc502[3]);var OpenchannelDisposition=require(_0xc502[6])[_0xc502[5]];function handleError(_0xb18cx6,_0xb18cx7){_0xb18cx7= _0xb18cx7|| 500;return function(_0xb18cx8){logger[_0xc502[8]](_0xb18cx8[_0xc502[7]]);_0xb18cx6[_0xc502[10]](_0xb18cx7)[_0xc502[9]](_0xb18cx8)}}function responseWithResult(_0xb18cx6,_0xb18cx7){_0xb18cx7= _0xb18cx7|| 200;return function(_0xb18cxa){if(_0xb18cxa){_0xb18cx6[_0xc502[10]](_0xb18cx7)[_0xc502[11]](_0xb18cxa)}}}function handleEntityNotFound(_0xb18cx6){return function(_0xb18cxa){if(!_0xb18cxa){_0xb18cx6[_0xc502[10]](404)[_0xc502[12]]();return null};return _0xb18cxa}}function saveUpdates(_0xb18cxd){return function(_0xb18cxa){return _0xb18cxa[_0xc502[14]](_0xb18cxd)[_0xc502[13]](function(_0xb18cxe){return _0xb18cxe})}}function removeEntity(_0xb18cx6){return function(_0xb18cxa){if(_0xb18cxa){return _0xb18cxa[_0xc502[15]]()[_0xc502[13]](function(){_0xb18cx6[_0xc502[10]](204)[_0xc502[12]]()})}}}exports[_0xc502[16]]= function(_0xb18cx10,_0xb18cx6){OpenchannelDisposition[_0xc502[18]]()[_0xc502[13]](responseWithResult(_0xb18cx6))[_0xc502[17]](handleError(_0xb18cx6))};exports[_0xc502[19]]= function(_0xb18cx10,_0xb18cx6){OpenchannelDisposition[_0xc502[22]](_0xb18cx10[_0xc502[21]][_0xc502[20]])[_0xc502[13]](handleEntityNotFound(_0xb18cx6))[_0xc502[13]](responseWithResult(_0xb18cx6))[_0xc502[17]](handleError(_0xb18cx6))};exports[_0xc502[23]]= function(_0xb18cx10,_0xb18cx6){OpenchannelDisposition[_0xc502[23]](_0xb18cx10[_0xc502[24]])[_0xc502[13]](responseWithResult(_0xb18cx6,201))[_0xc502[17]](handleError(_0xb18cx6))};exports[_0xc502[25]]= function(_0xb18cx10,_0xb18cx6){if(_0xb18cx10[_0xc502[24]][_0xc502[20]]){delete _0xb18cx10[_0xc502[24]][_0xc502[20]]};OpenchannelDisposition[_0xc502[22]](_0xb18cx10[_0xc502[21]][_0xc502[20]])[_0xc502[13]](handleEntityNotFound(_0xb18cx6))[_0xc502[13]](saveUpdates(_0xb18cx10[_0xc502[24]]))[_0xc502[13]](responseWithResult(_0xb18cx6))[_0xc502[17]](handleError(_0xb18cx6))};exports[_0xc502[15]]= function(_0xb18cx10,_0xb18cx6){OpenchannelDisposition[_0xc502[22]](_0xb18cx10[_0xc502[21]][_0xc502[20]])[_0xc502[13]](handleEntityNotFound(_0xb18cx6))[_0xc502[13]](removeEntity(_0xb18cx6))[_0xc502[17]](handleError(_0xb18cx6))}
\ No newline at end of file
+var _0xa927=["\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","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\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"];_0xa927[0];var _=require(_0xa927[1]);var Util=require(_0xa927[2]);var logger=require(_0xa927[4])(_0xa927[3]);var OpenchannelDisposition=require(_0xa927[6])[_0xa927[5]];function handleError(_0x77eax6,_0x77eax7){_0x77eax7= _0x77eax7|| 500;return function(_0x77eax8){logger[_0xa927[8]](_0x77eax8[_0xa927[7]]);_0x77eax6[_0xa927[10]](_0x77eax7)[_0xa927[9]](_0x77eax8)}}function responseWithResult(_0x77eax6,_0x77eax7){_0x77eax7= _0x77eax7|| 200;return function(_0x77eaxa){if(_0x77eaxa){_0x77eax6[_0xa927[10]](_0x77eax7)[_0xa927[11]](_0x77eaxa)}}}function handleEntityNotFound(_0x77eax6){return function(_0x77eaxa){if(!_0x77eaxa){_0x77eax6[_0xa927[10]](404)[_0xa927[12]]();return null};return _0x77eaxa}}function saveUpdates(_0x77eaxd){return function(_0x77eaxa){return _0x77eaxa[_0xa927[14]](_0x77eaxd)[_0xa927[13]](function(_0x77eaxe){return _0x77eaxe})}}function removeEntity(_0x77eax6){return function(_0x77eaxa){if(_0x77eaxa){return _0x77eaxa[_0xa927[15]]()[_0xa927[13]](function(){_0x77eax6[_0xa927[10]](204)[_0xa927[12]]()})}}}exports[_0xa927[16]]= function(_0x77eax10,_0x77eax6){OpenchannelDisposition[_0xa927[18]]()[_0xa927[13]](responseWithResult(_0x77eax6))[_0xa927[17]](handleError(_0x77eax6))};exports[_0xa927[19]]= function(_0x77eax10,_0x77eax6){OpenchannelDisposition[_0xa927[22]](_0x77eax10[_0xa927[21]][_0xa927[20]])[_0xa927[13]](handleEntityNotFound(_0x77eax6))[_0xa927[13]](responseWithResult(_0x77eax6))[_0xa927[17]](handleError(_0x77eax6))};exports[_0xa927[23]]= function(_0x77eax10,_0x77eax6){OpenchannelDisposition[_0xa927[23]](_0x77eax10[_0xa927[24]])[_0xa927[13]](responseWithResult(_0x77eax6,201))[_0xa927[17]](handleError(_0x77eax6))};exports[_0xa927[25]]= function(_0x77eax10,_0x77eax6){if(_0x77eax10[_0xa927[24]][_0xa927[20]]){delete _0x77eax10[_0xa927[24]][_0xa927[20]]};OpenchannelDisposition[_0xa927[22]](_0x77eax10[_0xa927[21]][_0xa927[20]])[_0xa927[13]](handleEntityNotFound(_0x77eax6))[_0xa927[13]](saveUpdates(_0x77eax10[_0xa927[24]]))[_0xa927[13]](responseWithResult(_0x77eax6))[_0xa927[17]](handleError(_0x77eax6))};exports[_0xa927[15]]= function(_0x77eax10,_0x77eax6){OpenchannelDisposition[_0xa927[22]](_0x77eax10[_0xa927[21]][_0xa927[20]])[_0xa927[13]](handleEntityNotFound(_0x77eax6))[_0xa927[13]](removeEntity(_0x77eax6))[_0xa927[17]](handleError(_0x77eax6))}
\ No newline at end of file