Built motion from commit 92b7db905.|1.0.30
[motion.git] / server / config / automations / fax.js
index c342496..cc99d47 100644 (file)
@@ -1 +1 @@
-var _0x8940=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x6F\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x46\x61\x78","\x69\x6E\x66\x6F","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x46\x61\x78\x20\x65\x78\x65\x63","\x65\x72\x72\x6F\x72","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x41\x6C\x6C","\x41\x6E\x79","\x6C\x65\x6E\x67\x74\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x24\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x46\x61\x78\x20\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x4D\x61\x69\x6C","\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x73\x65\x72\x76\x69\x63\x65\x20\x73\x74\x61\x72\x74\x65\x64","\x63\x68\x61\x6E\x6E\x65\x6C","\x66\x61\x78","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78","\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73","\x64\x65\x62\x75\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x4D\x61\x69\x6C\x20\x69\x6E\x69\x74","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x61\x72\x65"];_0x8940[0];var _=require(_0x8940[1]);var moment=require(_0x8940[2]);var logger=require(_0x8940[4])(_0x8940[3]);var Automation=require(_0x8940[6])[_0x8940[5]];var FaxRoom=require(_0x8940[6])[_0x8940[7]];var activeFaxAutomations={};function executeAutomation(_0xec02x8){logger[_0x8940[9]](_0x8940[8],_0xec02x8);var _0xec02x9;return Automation[_0x8940[35]](_0x8940[34])[_0x8940[33]](_0xec02x8)[_0x8940[23]](function(_0xec02xe){_0xec02x9= _0xec02xe;var _0xec02xf=[];var _0xec02x10=[];var _0xec02x11={where:{}};_0xec02xe[_0x8940[26]][_0x8940[21]](function(_0xec02x12){_0xec02x10[_0x8940[25]](getCondition(_0xec02x12[_0x8940[24]]))});_0xec02xe[_0x8940[27]][_0x8940[21]](function(_0xec02x12){_0xec02xf[_0x8940[25]](getCondition(_0xec02x12[_0x8940[24]]))});if(_0xec02x10[_0x8940[28]]){_0xec02x11[_0x8940[30]][_0x8940[29]]= _0xec02x10};if(_0xec02xf[_0x8940[28]]){_0xec02x11[_0x8940[30]][_0x8940[31]]= _0xec02xf};return FaxRoom[_0x8940[32]](_0xec02x11)})[_0x8940[23]](function(_0xec02xb){_0xec02xb[_0x8940[21]](function(_0xec02xc){_0xec02x9[_0x8940[22]][_0x8940[21]](function(_0xec02xd){switch(_0xec02xd[_0x8940[20]]){case _0x8940[19]:setStatus(_0xec02xc[_0x8940[17]],_0xec02xd[_0x8940[18]]);break;default:}})})})[_0x8940[16]](function(_0xec02xa){logger[_0x8940[11]](_0x8940[10]);logger[_0x8940[11]](_0x8940[12],_0xec02xa[_0x8940[13]]);logger[_0x8940[11]](_0x8940[14],_0xec02xa[_0x8940[15]])})}function setStatus(_0xec02x14,_0xec02x15){return FaxRoom[_0x8940[37]]({status:_0xec02x15},{where:{id:_0xec02x14}})[_0x8940[16]](function(_0xec02xa){logger[_0x8940[11]](_0x8940[36]);logger[_0x8940[11]](_0x8940[12],_0xec02xa[_0x8940[13]]);logger[_0x8940[11]](_0x8940[14],_0xec02xa[_0x8940[15]])})}function getCondition(_0xec02x12){var _0xec02x17={};switch(_0xec02x12[_0x8940[38]]){case _0x8940[19]:switch(_0xec02x12[_0x8940[42]]){case _0x8940[40]:_0xec02x17[_0xec02x12[_0x8940[38]]]= _0xec02x12[_0x8940[39]];break;case _0x8940[41]:_0xec02x17[_0xec02x12[_0x8940[38]]]= {$ne:_0xec02x12[_0x8940[39]]};break;default:};break;case _0x8940[51]:var _0xec02x18=moment()[_0x8940[46]](parseInt(_0xec02x12[_0x8940[39]],10),_0x8940[45])[_0x8940[44]](_0x8940[43]);switch(_0xec02x12[_0x8940[42]]){case _0x8940[47]:_0xec02x17[_0xec02x12[_0x8940[38]]]= {lt:_0xec02x18};break;case _0x8940[48]:_0xec02x17[_0xec02x12[_0x8940[38]]]= {$lte:_0xec02x18};break;case _0x8940[49]:_0xec02x17[_0xec02x12[_0x8940[38]]]= {$gt:_0xec02x18};break;case _0x8940[50]:_0xec02x17[_0xec02x12[_0x8940[38]]]= {$gte:_0xec02x18};break;default:};break;default:};return _0xec02x17}function createInterval(_0xec02xe){logger[_0x8940[9]](_0x8940[52],_0xec02xe[_0x8940[17]],_0x8940[53],_0xec02xe[_0x8940[54]]* 60* 1000);activeFaxAutomations[_0x8940[55]+ _0xec02xe[_0x8940[17]]]= setInterval(function(){executeAutomation(_0xec02xe[_0x8940[17]])},_0xec02xe[_0x8940[54]]* 60* 1000)}module[_0x8940[56]]= function(){logger[_0x8940[9]](_0x8940[57]);Automation[_0x8940[63]](function(_0xec02x1a,_0xec02x1b){if(_0xec02x1a[_0x8940[58]]=== _0x8940[59]){logger[_0x8940[62]](_0x8940[60],_0xec02x1a[_0x8940[17]],_0x8940[61],_0xec02x1a[_0x8940[19]]);if(_0xec02x1a[_0x8940[19]]){createInterval(_0xec02x1a)}}});Automation[_0x8940[66]](function(_0xec02x1a,_0xec02x1b){if(_0xec02x1a[_0x8940[58]]=== _0x8940[59]){logger[_0x8940[62]](_0x8940[60],_0xec02x1a[_0x8940[17]],_0x8940[64],_0xec02x1a[_0x8940[19]]);if(activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]){logger[_0x8940[62]](_0x8940[65],_0xec02x1a[_0x8940[17]]);clearInterval(activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]);delete activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]};if(_0xec02x1a[_0x8940[19]]){createInterval(_0xec02x1a)}}});Automation[_0x8940[68]](function(_0xec02x1a,_0xec02x1b){if(_0xec02x1a[_0x8940[58]]=== _0x8940[59]){logger[_0x8940[62]](_0x8940[60],_0xec02x1a[_0x8940[17]],_0x8940[67]);if(activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]){logger[_0x8940[62]](_0x8940[65],_0xec02x1a[_0x8940[17]]);clearInterval(activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]);delete activeFaxAutomations[_0x8940[55]+ _0xec02x1a[_0x8940[17]]]}}});return Automation[_0x8940[35]](_0x8940[34])[_0x8940[32]]({where:{status:true,channel:_0x8940[59]},attributes:[_0x8940[17],_0x8940[54]]})[_0x8940[23]](function(_0xec02x1c){logger[_0x8940[62]](_0x8940[70],_0xec02x1c[_0x8940[28]]);_0xec02x1c[_0x8940[21]](function(_0xec02xe){createInterval(_0xec02xe)})})[_0x8940[16]](function(_0xec02xa){logger[_0x8940[11]](_0x8940[69]);logger[_0x8940[11]](_0x8940[12],_0xec02xa[_0x8940[13]]);logger[_0x8940[11]](_0x8940[14],_0xec02xa[_0x8940[15]])})}
\ No newline at end of file
+var _0xe3df=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x6F\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x46\x61\x78","\x69\x6E\x66\x6F","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x46\x61\x78\x20\x65\x78\x65\x63","\x65\x72\x72\x6F\x72","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x41\x6C\x6C","\x41\x6E\x79","\x6C\x65\x6E\x67\x74\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x24\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x46\x61\x78\x20\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x4D\x61\x69\x6C","\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x73\x65\x72\x76\x69\x63\x65\x20\x73\x74\x61\x72\x74\x65\x64","\x63\x68\x61\x6E\x6E\x65\x6C","\x66\x61\x78","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78","\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73","\x64\x65\x62\x75\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x4D\x61\x69\x6C\x20\x69\x6E\x69\x74","\x5B\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5D\x20\x46\x61\x78\x20\x61\x72\x65"];_0xe3df[0];var _=require(_0xe3df[1]);var moment=require(_0xe3df[2]);var logger=require(_0xe3df[4])(_0xe3df[3]);var Automation=require(_0xe3df[6])[_0xe3df[5]];var FaxRoom=require(_0xe3df[6])[_0xe3df[7]];var activeFaxAutomations={};function executeAutomation(_0x3608x8){logger[_0xe3df[9]](_0xe3df[8],_0x3608x8);var _0x3608x9;return Automation[_0xe3df[35]](_0xe3df[34])[_0xe3df[33]](_0x3608x8)[_0xe3df[23]](function(_0x3608xe){_0x3608x9= _0x3608xe;var _0x3608xf=[];var _0x3608x10=[];var _0x3608x11={where:{}};_0x3608xe[_0xe3df[26]][_0xe3df[21]](function(_0x3608x12){_0x3608x10[_0xe3df[25]](getCondition(_0x3608x12[_0xe3df[24]]))});_0x3608xe[_0xe3df[27]][_0xe3df[21]](function(_0x3608x12){_0x3608xf[_0xe3df[25]](getCondition(_0x3608x12[_0xe3df[24]]))});if(_0x3608x10[_0xe3df[28]]){_0x3608x11[_0xe3df[30]][_0xe3df[29]]= _0x3608x10};if(_0x3608xf[_0xe3df[28]]){_0x3608x11[_0xe3df[30]][_0xe3df[31]]= _0x3608xf};return FaxRoom[_0xe3df[32]](_0x3608x11)})[_0xe3df[23]](function(_0x3608xb){_0x3608xb[_0xe3df[21]](function(_0x3608xc){_0x3608x9[_0xe3df[22]][_0xe3df[21]](function(_0x3608xd){switch(_0x3608xd[_0xe3df[20]]){case _0xe3df[19]:setStatus(_0x3608xc[_0xe3df[17]],_0x3608xd[_0xe3df[18]]);break;default:}})})})[_0xe3df[16]](function(_0x3608xa){logger[_0xe3df[11]](_0xe3df[10]);logger[_0xe3df[11]](_0xe3df[12],_0x3608xa[_0xe3df[13]]);logger[_0xe3df[11]](_0xe3df[14],_0x3608xa[_0xe3df[15]])})}function setStatus(_0x3608x14,_0x3608x15){return FaxRoom[_0xe3df[37]]({status:_0x3608x15},{where:{id:_0x3608x14}})[_0xe3df[16]](function(_0x3608xa){logger[_0xe3df[11]](_0xe3df[36]);logger[_0xe3df[11]](_0xe3df[12],_0x3608xa[_0xe3df[13]]);logger[_0xe3df[11]](_0xe3df[14],_0x3608xa[_0xe3df[15]])})}function getCondition(_0x3608x12){var _0x3608x17={};switch(_0x3608x12[_0xe3df[38]]){case _0xe3df[19]:switch(_0x3608x12[_0xe3df[42]]){case _0xe3df[40]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= _0x3608x12[_0xe3df[39]];break;case _0xe3df[41]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= {$ne:_0x3608x12[_0xe3df[39]]};break;default:};break;case _0xe3df[51]:var _0x3608x18=moment()[_0xe3df[46]](parseInt(_0x3608x12[_0xe3df[39]],10),_0xe3df[45])[_0xe3df[44]](_0xe3df[43]);switch(_0x3608x12[_0xe3df[42]]){case _0xe3df[47]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= {lt:_0x3608x18};break;case _0xe3df[48]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= {$lte:_0x3608x18};break;case _0xe3df[49]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= {$gt:_0x3608x18};break;case _0xe3df[50]:_0x3608x17[_0x3608x12[_0xe3df[38]]]= {$gte:_0x3608x18};break;default:};break;default:};return _0x3608x17}function createInterval(_0x3608xe){logger[_0xe3df[9]](_0xe3df[52],_0x3608xe[_0xe3df[17]],_0xe3df[53],_0x3608xe[_0xe3df[54]]* 60* 1000);activeFaxAutomations[_0xe3df[55]+ _0x3608xe[_0xe3df[17]]]= setInterval(function(){executeAutomation(_0x3608xe[_0xe3df[17]])},_0x3608xe[_0xe3df[54]]* 60* 1000)}module[_0xe3df[56]]= function(){logger[_0xe3df[9]](_0xe3df[57]);Automation[_0xe3df[63]](function(_0x3608x1a,_0x3608x1b){if(_0x3608x1a[_0xe3df[58]]=== _0xe3df[59]){logger[_0xe3df[62]](_0xe3df[60],_0x3608x1a[_0xe3df[17]],_0xe3df[61],_0x3608x1a[_0xe3df[19]]);if(_0x3608x1a[_0xe3df[19]]){createInterval(_0x3608x1a)}}});Automation[_0xe3df[66]](function(_0x3608x1a,_0x3608x1b){if(_0x3608x1a[_0xe3df[58]]=== _0xe3df[59]){logger[_0xe3df[62]](_0xe3df[60],_0x3608x1a[_0xe3df[17]],_0xe3df[64],_0x3608x1a[_0xe3df[19]]);if(activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]){logger[_0xe3df[62]](_0xe3df[65],_0x3608x1a[_0xe3df[17]]);clearInterval(activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]);delete activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]};if(_0x3608x1a[_0xe3df[19]]){createInterval(_0x3608x1a)}}});Automation[_0xe3df[68]](function(_0x3608x1a,_0x3608x1b){if(_0x3608x1a[_0xe3df[58]]=== _0xe3df[59]){logger[_0xe3df[62]](_0xe3df[60],_0x3608x1a[_0xe3df[17]],_0xe3df[67]);if(activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]){logger[_0xe3df[62]](_0xe3df[65],_0x3608x1a[_0xe3df[17]]);clearInterval(activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]);delete activeFaxAutomations[_0xe3df[55]+ _0x3608x1a[_0xe3df[17]]]}}});return Automation[_0xe3df[35]](_0xe3df[34])[_0xe3df[32]]({where:{status:true,channel:_0xe3df[59]},attributes:[_0xe3df[17],_0xe3df[54]]})[_0xe3df[23]](function(_0x3608x1c){logger[_0xe3df[62]](_0xe3df[70],_0x3608x1c[_0xe3df[28]]);_0x3608x1c[_0xe3df[21]](function(_0x3608xe){createInterval(_0x3608xe)})})[_0xe3df[16]](function(_0x3608xa){logger[_0xe3df[11]](_0xe3df[69]);logger[_0xe3df[11]](_0xe3df[12],_0x3608xa[_0xe3df[13]]);logger[_0xe3df[11]](_0xe3df[14],_0x3608xa[_0xe3df[15]])})}
\ No newline at end of file