Built motion from commit 7767ffc.|0.0.132
[motion.git] / server / api / fax_message / fax_message.socket.js
index e794442..49373a5 100644 (file)
@@ -1 +1 @@
-var _0xc006=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x46\x72\x6F\x6D","\x54\x6F","\x66\x69\x6E\x64\x4F\x6E\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc006[0];var FaxMessage=require(_0xc006[2])[_0xc006[1]];var Contact=require(_0xc006[2])[_0xc006[3]];var FaxRoom=require(_0xc006[2])[_0xc006[4]];var FaxAccount=require(_0xc006[2])[_0xc006[5]];exports[_0xc006[6]]=function(_0xdad8x5){FaxMessage[_0xc006[14]](function(_0xdad8x6){FaxMessage[_0xc006[13]]({where:{id:_0xdad8x6[_0xc006[10]]},include:[{model:Contact,as:_0xc006[11]},{model:Contact,as:_0xc006[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xc006[9]](function(_0xdad8x8){onSave(_0xdad8x5,_0xdad8x8)})[_0xc006[8]](function(_0xdad8x7){console[_0xc006[7]](_0xdad8x7)})});FaxMessage[_0xc006[15]](function(_0xdad8x6){FaxMessage[_0xc006[13]]({where:{id:_0xdad8x6[_0xc006[10]]},include:[{model:Contact,as:_0xc006[11]},{model:Contact,as:_0xc006[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xc006[9]](function(_0xdad8x8){onSave(_0xdad8x5,_0xdad8x8);onUpdate(_0xdad8x5,_0xdad8x8)})[_0xc006[8]](function(_0xdad8x7){console[_0xc006[7]](_0xdad8x7)})});FaxMessage[_0xc006[16]](function(_0xdad8x6){onRemove(_0xdad8x5,_0xdad8x6)})};function onSave(_0xdad8x5,_0xdad8x6,_0xdad8xa){_0xdad8x5[_0xc006[18]](_0xc006[17],_0xdad8x6)}function onUpdate(_0xdad8x5,_0xdad8x6,_0xdad8xa){_0xdad8x5[_0xc006[18]](_0xc006[19],_0xdad8x6)}function onRemove(_0xdad8x5,_0xdad8x6,_0xdad8xa){_0xdad8x5[_0xc006[18]](_0xc006[20],_0xdad8x6)}
\ No newline at end of file
+var _0x46fb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x65\x76\x65\x6E\x74\x73","\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\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x46fb[0];const FaxMessageEvents=require(_0x46fb[1]);var events=[_0x46fb[2],_0x46fb[3]];exports[_0x46fb[4]]= function(_0xf51ex3){for(var _0xf51ex4=0,_0xf51ex5=events[_0x46fb[5]];_0xf51ex4< _0xf51ex5;_0xf51ex4++){var _0xf51ex6=events[_0xf51ex4];var _0xf51ex7=createListener(_0x46fb[6]+ _0xf51ex6,_0xf51ex3);FaxMessageEvents[_0x46fb[7]](_0xf51ex6,_0xf51ex7);_0xf51ex3[_0x46fb[7]](_0x46fb[8],removeListener(_0xf51ex6,_0xf51ex7))}};function createListener(_0xf51ex6,_0xf51ex3){return function(_0xf51ex9){_0xf51ex3[_0x46fb[9]](_0xf51ex6,_0xf51ex9)}}function removeListener(_0xf51ex6,_0xf51ex7){return function(){FaxMessageEvents[_0x46fb[10]](_0xf51ex6,_0xf51ex7)}}
\ No newline at end of file