Built motion from commit 16cc8f1.|1.0.14
[motion.git] / server / config / routing / fidelity.js
index 40d0c36..a811e0d 100644 (file)
@@ -1 +1 @@
-var _0xf089=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x73\x74\x72\x75\x63\x74\x75\x72\x65","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x70\x70","\x64\x61\x74\x61","\x6E\x65\x78\x74","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x70\x61\x75\x73\x65\x73","\x6C\x61\x62\x65\x6C\x73","\x77\x68\x65\x72\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x41\x43\x54\x49\x4F\x4E\x20\x53\x54\x41\x52\x54\x45\x44","\x6C\x6F\x67","\x74\x68\x65\x6E","\x72\x6F\x6F\x6D\x69\x64","\x75\x70\x64\x61\x74\x65","\x72\x6F\x6F\x6D\x73","\x6D\x6F\x64\x65\x6C\x73","\x5F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x41\x50\x50\x20\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x54\x49\x4D\x45\x4F\x55\x54","\x74\x69\x6D\x65\x6F\x75\x74","\x53\x45\x43","\x69\x6E\x66\x6F","\x6C\x65\x6E\x67\x74\x68","\x77\x72\x69\x74\x65\x52\x65\x70\x6F\x72\x74","\x41\x50\x50\x20\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x53\x4B\x49\x50\x20\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x67\x65\x74\x55\x73\x65\x72\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x64\x65\x6C\x69\x74\x79","\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","\x6D\x65\x72\x67\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x73","\x73\x65\x73\x73\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xf089[0];const _=require(_0xf089[1]);const config=require(_0xf089[2]);const structure=require(_0xf089[3]);const cp=require(_0xf089[4]);const util=require(_0xf089[5]);const moment=require(_0xf089[6]);const Agent=require(_0xf089[8])[_0xf089[7]];function Fidelity(_0xc8f5x9,_0xc8f5xa,_0xc8f5xb){this[_0xf089[9]]= _0xc8f5x9;this[_0xf089[10]]= _0xc8f5xa;this[_0xf089[11]]= _0xc8f5xb}Fidelity[_0xf089[13]][_0xf089[12]]= function init(){var _0xc8f5xd=this;var _0xc8f5xe={where:{online:true},attributes:[_0xf089[14],_0xf089[15],_0xf089[16]],raw:true};_0xc8f5xe[_0xf089[20]][structure[_0xf089[19]][_0xf089[18]][_0xc8f5xd[_0xf089[10]][_0xf089[17]]]]= false;return structure[_0xf089[29]][_0xf089[28]][_0xc8f5xd[_0xf089[10]][_0xf089[17]]][_0xf089[41]](_0xc8f5xd[_0xf089[10]][_0xf089[26]])[_0xf089[25]](function(_0xc8f5x11){return _0xc8f5x11[_0xf089[40]](_0xc8f5xe)})[_0xf089[25]](function(_0xc8f5x10){_0xc8f5xd[_0xf089[30]]= _0xc8f5x10;console[_0xf089[36]](_0xc8f5xd[_0xf089[10]][_0xf089[17]][_0xf089[31]](),_0xf089[32],_0xc8f5xd[_0xf089[10]][_0xf089[26]],_0xf089[33],_0xc8f5xd[_0xf089[9]][_0xf089[34]],_0xf089[35]);if(_0xc8f5xd[_0xf089[30]][_0xf089[37]]){_0xc8f5xd[_0xf089[38]]();_0xc8f5xd[_0xf089[34]]= setTimeout(function(){_0xc8f5xd[_0xf089[11]]()},_0xc8f5xd[_0xf089[9]][_0xf089[34]]* 1000)}else {console[_0xf089[36]](_0xc8f5xd[_0xf089[10]][_0xf089[17]][_0xf089[31]](),_0xf089[39],_0xc8f5xd[_0xf089[10]][_0xf089[26]]);_0xc8f5xd[_0xf089[11]]()}})[_0xf089[25]](function(){return structure[_0xf089[29]][_0xf089[28]][_0xc8f5xd[_0xf089[10]][_0xf089[17]]][_0xf089[27]]({waiting:true},{where:{id:_0xc8f5xd[_0xf089[10]][_0xf089[26]]},individualHooks:true})[_0xf089[25]](function(){console[_0xf089[24]](_0xf089[23])})[_0xf089[22]](function(_0xc8f5xf){console[_0xf089[21]]()})})};Fidelity[_0xf089[13]][_0xf089[38]]= function writeReport(){var _0xc8f5xd=this;var _0xc8f5x13=_[_0xf089[46]](_0xc8f5xd._agents,function(_0xc8f5x14){return _[_0xf089[45]](_0xc8f5xd[_0xf089[10]],{timeslot:_0xc8f5xd[_0xf089[9]][_0xf089[34]],application:_0xf089[42],membername:_0xc8f5x14[_0xf089[15]],memberid:_0xc8f5x14[_0xf089[14]],calledAt:moment()[_0xf089[44]](_0xf089[43]),joinAt:moment()[_0xf089[44]](_0xf089[43]),fidelity:_0xc8f5xd[_0xf089[9]][_0xf089[34]]})});return structure[_0xf089[29]][_0xf089[49]][_0xc8f5xd[_0xf089[10]][_0xf089[17]]][_0xf089[47]](_0xc8f5x13,{individualHooks:true})[_0xf089[25]](function(){return structure[_0xf089[29]][_0xf089[48]][_0xc8f5xd[_0xf089[10]][_0xf089[17]]][_0xf089[47]](_0xc8f5x13,{individualHooks:true})})[_0xf089[22]](function(_0xc8f5xf){console[_0xf089[21]](_0xc8f5xf)})};module[_0xf089[50]]= Fidelity
\ No newline at end of file
+var _0x478e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x73\x74\x72\x75\x63\x74\x75\x72\x65","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x70\x70","\x64\x61\x74\x61","\x6E\x65\x78\x74","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x70\x61\x75\x73\x65\x73","\x6C\x61\x62\x65\x6C\x73","\x77\x68\x65\x72\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x41\x43\x54\x49\x4F\x4E\x20\x53\x54\x41\x52\x54\x45\x44","\x6C\x6F\x67","\x74\x68\x65\x6E","\x72\x6F\x6F\x6D\x69\x64","\x75\x70\x64\x61\x74\x65","\x72\x6F\x6F\x6D\x73","\x6D\x6F\x64\x65\x6C\x73","\x5F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x41\x50\x50\x20\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x54\x49\x4D\x45\x4F\x55\x54","\x74\x69\x6D\x65\x6F\x75\x74","\x53\x45\x43","\x69\x6E\x66\x6F","\x6C\x65\x6E\x67\x74\x68","\x77\x72\x69\x74\x65\x52\x65\x70\x6F\x72\x74","\x41\x50\x50\x20\x46\x49\x44\x45\x4C\x49\x54\x59\x20\x53\x4B\x49\x50\x20\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x67\x65\x74\x55\x73\x65\x72\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x64\x65\x6C\x69\x74\x79","\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","\x6D\x65\x72\x67\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x73","\x73\x65\x73\x73\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x478e[0];const _=require(_0x478e[1]);const config=require(_0x478e[2]);const structure=require(_0x478e[3]);const cp=require(_0x478e[4]);const util=require(_0x478e[5]);const moment=require(_0x478e[6]);const Agent=require(_0x478e[8])[_0x478e[7]];function Fidelity(_0x3425x9,_0x3425xa,_0x3425xb){this[_0x478e[9]]= _0x3425x9;this[_0x478e[10]]= _0x3425xa;this[_0x478e[11]]= _0x3425xb}Fidelity[_0x478e[13]][_0x478e[12]]= function init(){var _0x3425xd=this;var _0x3425xe={where:{online:true},attributes:[_0x478e[14],_0x478e[15],_0x478e[16]],raw:true};_0x3425xe[_0x478e[20]][structure[_0x478e[19]][_0x478e[18]][_0x3425xd[_0x478e[10]][_0x478e[17]]]]= false;return structure[_0x478e[29]][_0x478e[28]][_0x3425xd[_0x478e[10]][_0x478e[17]]][_0x478e[41]](_0x3425xd[_0x478e[10]][_0x478e[26]])[_0x478e[25]](function(_0x3425x11){return _0x3425x11[_0x478e[40]](_0x3425xe)})[_0x478e[25]](function(_0x3425x10){_0x3425xd[_0x478e[30]]= _0x3425x10;console[_0x478e[36]](_0x3425xd[_0x478e[10]][_0x478e[17]][_0x478e[31]](),_0x478e[32],_0x3425xd[_0x478e[10]][_0x478e[26]],_0x478e[33],_0x3425xd[_0x478e[9]][_0x478e[34]],_0x478e[35]);if(_0x3425xd[_0x478e[30]][_0x478e[37]]){_0x3425xd[_0x478e[38]]();_0x3425xd[_0x478e[34]]= setTimeout(function(){_0x3425xd[_0x478e[11]]()},_0x3425xd[_0x478e[9]][_0x478e[34]]* 1000)}else {console[_0x478e[36]](_0x3425xd[_0x478e[10]][_0x478e[17]][_0x478e[31]](),_0x478e[39],_0x3425xd[_0x478e[10]][_0x478e[26]]);_0x3425xd[_0x478e[11]]()}})[_0x478e[25]](function(){return structure[_0x478e[29]][_0x478e[28]][_0x3425xd[_0x478e[10]][_0x478e[17]]][_0x478e[27]]({waiting:true},{where:{id:_0x3425xd[_0x478e[10]][_0x478e[26]]},individualHooks:true})[_0x478e[25]](function(){console[_0x478e[24]](_0x478e[23])})[_0x478e[22]](function(_0x3425xf){console[_0x478e[21]]()})})};Fidelity[_0x478e[13]][_0x478e[38]]= function writeReport(){var _0x3425xd=this;var _0x3425x13=_[_0x478e[46]](_0x3425xd._agents,function(_0x3425x14){return _[_0x478e[45]](_0x3425xd[_0x478e[10]],{timeslot:_0x3425xd[_0x478e[9]][_0x478e[34]],application:_0x478e[42],membername:_0x3425x14[_0x478e[15]],memberid:_0x3425x14[_0x478e[14]],calledAt:moment()[_0x478e[44]](_0x478e[43]),joinAt:moment()[_0x478e[44]](_0x478e[43]),fidelity:_0x3425xd[_0x478e[9]][_0x478e[34]]})});return structure[_0x478e[29]][_0x478e[49]][_0x3425xd[_0x478e[10]][_0x478e[17]]][_0x478e[47]](_0x3425x13,{individualHooks:true})[_0x478e[25]](function(){return structure[_0x478e[29]][_0x478e[48]][_0x3425xd[_0x478e[10]][_0x478e[17]]][_0x478e[47]](_0x3425x13,{individualHooks:true})})[_0x478e[22]](function(_0x3425xf){console[_0x478e[21]](_0x3425xf)})};module[_0x478e[50]]= Fidelity
\ No newline at end of file