Built motion from commit 8d1370ff4.|1.0.34
[motion.git] / server / api / fax_queue / fax_queue.socket.js
index d381dcf..2eb5c4b 100644 (file)
@@ -1 +1 @@
-var _0xc0da=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xc0da[0];var FaxQueueEvents=require(_0xc0da[1]);var FaxQueue=require(_0xc0da[3])[_0xc0da[2]];var User=require(_0xc0da[3])[_0xc0da[4]];var Util=require(_0xc0da[5]);var _=require(_0xc0da[6]);var Promise=require(_0xc0da[7]);var events=[_0xc0da[8],_0xc0da[9]];exports[_0xc0da[10]]= function(_0xfb98x8){for(var _0xfb98x9=0,_0xfb98xa=events[_0xc0da[11]];_0xfb98x9< _0xfb98xa;_0xfb98x9++){var _0xfb98xb=events[_0xfb98x9];var _0xfb98xc=createListener(_0xc0da[12]+ _0xfb98xb,_0xfb98x8);FaxQueueEvents[_0xc0da[13]](_0xfb98xb,_0xfb98xc);_0xfb98x8[_0xc0da[13]](_0xc0da[14],removeListener(_0xfb98xb,_0xfb98xc))}};function createListener(_0xfb98xb,_0xfb98x8){return function(_0xfb98xe){switch(_0xfb98xb){case _0xc0da[20]:if(_0xfb98x8[_0xc0da[15]]=== _0xc0da[16]){_0xfb98x8[_0xc0da[18]](_0xfb98xe[_0xc0da[17]]);_0xfb98x8[_0xc0da[19]](_0xfb98xb,_0xfb98xe)};break;case _0xc0da[27]:return Promise[_0xc0da[26]]()[_0xc0da[25]](getFaxQueues(_0xfb98x8))[_0xc0da[25]](function(_0xfb98x10){if(_[_0xc0da[24]](_0xfb98x10,_0xfb98xe[_0xc0da[17]])){_0xfb98x8[_0xc0da[19]](_0xfb98xb,_0xfb98xe)}})[_0xc0da[23]](function(_0xfb98xf){console[_0xc0da[22]](_0xc0da[21],_0xfb98xf)});break;case _0xc0da[29]:_0xfb98x8[_0xc0da[28]](_0xfb98xe[_0xc0da[17]]);_0xfb98x8[_0xc0da[19]](_0xfb98xb,_0xfb98xe);break;default:}}}function removeListener(_0xfb98xb,_0xfb98xc){return function(){FaxQueueEvents[_0xc0da[30]](_0xfb98xb,_0xfb98xc)}}function getFaxQueues(_0xfb98x13){return function(){switch(_0xfb98x13[_0xc0da[15]]){case _0xc0da[37]:return User[_0xc0da[36]](_0xfb98x13[_0xc0da[34]],{attributes:[_0xc0da[35]]})[_0xc0da[25]](Util[_0xc0da[33]]())[_0xc0da[25]](function(_0xfb98x10){return _[_0xc0da[32]](_0xfb98x10[_0xc0da[31]],_0xc0da[17])});case _0xc0da[16]:return FaxQueue[_0xc0da[38]]()[_0xc0da[25]](function(_0xfb98x14){return {rows:_0xfb98x14}})[_0xc0da[25]](function(_0xfb98x10){return _[_0xc0da[32]](_0xfb98x10[_0xc0da[31]],_0xc0da[17])});default:return []}}}
\ No newline at end of file
+var _0x641a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x641a[0];var FaxQueueEvents=require(_0x641a[1]);var FaxQueue=require(_0x641a[3])[_0x641a[2]];var User=require(_0x641a[3])[_0x641a[4]];var Util=require(_0x641a[5]);var _=require(_0x641a[6]);var Promise=require(_0x641a[7]);var events=[_0x641a[8],_0x641a[9]];exports[_0x641a[10]]= function(_0xb21fx8){for(var _0xb21fx9=0,_0xb21fxa=events[_0x641a[11]];_0xb21fx9< _0xb21fxa;_0xb21fx9++){var _0xb21fxb=events[_0xb21fx9];var _0xb21fxc=createListener(_0x641a[12]+ _0xb21fxb,_0xb21fx8);FaxQueueEvents[_0x641a[13]](_0xb21fxb,_0xb21fxc);_0xb21fx8[_0x641a[13]](_0x641a[14],removeListener(_0xb21fxb,_0xb21fxc))}};function createListener(_0xb21fxb,_0xb21fx8){return function(_0xb21fxe){switch(_0xb21fxb){case _0x641a[20]:if(_0xb21fx8[_0x641a[15]]=== _0x641a[16]){_0xb21fx8[_0x641a[18]](_0xb21fxe[_0x641a[17]]);_0xb21fx8[_0x641a[19]](_0xb21fxb,_0xb21fxe)};break;case _0x641a[27]:return Promise[_0x641a[26]]()[_0x641a[25]](getFaxQueues(_0xb21fx8))[_0x641a[25]](function(_0xb21fx10){if(_[_0x641a[24]](_0xb21fx10,_0xb21fxe[_0x641a[17]])){_0xb21fx8[_0x641a[19]](_0xb21fxb,_0xb21fxe)}})[_0x641a[23]](function(_0xb21fxf){console[_0x641a[22]](_0x641a[21],_0xb21fxf)});break;case _0x641a[29]:_0xb21fx8[_0x641a[28]](_0xb21fxe[_0x641a[17]]);_0xb21fx8[_0x641a[19]](_0xb21fxb,_0xb21fxe);break;default:}}}function removeListener(_0xb21fxb,_0xb21fxc){return function(){FaxQueueEvents[_0x641a[30]](_0xb21fxb,_0xb21fxc)}}function getFaxQueues(_0xb21fx13){return function(){switch(_0xb21fx13[_0x641a[15]]){case _0x641a[37]:return User[_0x641a[36]](_0xb21fx13[_0x641a[34]],{attributes:[_0x641a[35]]})[_0x641a[25]](Util[_0x641a[33]]())[_0x641a[25]](function(_0xb21fx10){return _[_0x641a[32]](_0xb21fx10[_0x641a[31]],_0x641a[17])});case _0x641a[16]:return FaxQueue[_0x641a[38]]()[_0x641a[25]](function(_0xb21fx14){return {rows:_0xb21fx14}})[_0x641a[25]](function(_0xb21fx10){return _[_0x641a[32]](_0xb21fx10[_0x641a[31]],_0x641a[17])});default:return []}}}
\ No newline at end of file