c425fd12f0cfd45f05d36ea43e654c4490efdd83
[motion.git] / server / models / history / report_agent_history.js
1 var _0x90c9=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x4D\x4D\x2D\x44\x44\x2D\x59\x59\x59\x59\x20\x48\x48\x3A\x6D\x6D","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x67\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];var moment=require(_0x90c9[0]);module[_0x90c9[1]]=function(_0xf821x2,_0xf821x3){var _0xf821x4=_0xf821x2[_0x90c9[12]](_0x90c9[2],{uniqueid:_0xf821x3[_0x90c9[3]],calleridnum:_0xf821x3[_0x90c9[3]],calleridname:_0xf821x3[_0x90c9[3]],queue:_0xf821x3[_0x90c9[3]],interface:_0xf821x3[_0x90c9[3]],membername:_0xf821x3[_0x90c9[3]],agentcalledAt:_0xf821x3[_0x90c9[4]],agentconnectAt:{type:_0xf821x3[_0x90c9[4]],get:function(){return moment(this[_0x90c9[8]](_0x90c9[7]))[_0x90c9[6]](_0x90c9[5])}},holdtime:_0xf821x3[_0x90c9[9]],agentcomplete:{type:_0xf821x3[_0x90c9[10]],defaultValue:false},agentcompleteAt:_0xf821x3[_0x90c9[4]],talktime:_0xf821x3[_0x90c9[9]],agentacw:{type:_0xf821x3[_0x90c9[10]],defaultValue:false},acwtime:_0xf821x3[_0x90c9[9]],reason:_0xf821x3[_0x90c9[3]],agentringnoanswer:{type:_0xf821x3[_0x90c9[10]],defaultValue:false},agentringnoanswerAt:_0xf821x3[_0x90c9[4]],agentdump:{type:_0xf821x3[_0x90c9[10]],defaultValue:false},agentdumpAt:_0xf821x3[_0x90c9[4]],lastevent:_0xf821x3[_0x90c9[3]],channel:_0xf821x3[_0x90c9[3]],channelstate:_0xf821x3[_0x90c9[9]],channelstatedesc:_0xf821x3[_0x90c9[3]],connectedlinenum:_0xf821x3[_0x90c9[3]],connectedlinename:_0xf821x3[_0x90c9[3]],language:_0xf821x3[_0x90c9[3]],accountcode:_0xf821x3[_0x90c9[3]],context:_0xf821x3[_0x90c9[3]],exten:_0xf821x3[_0x90c9[3]],priority:_0xf821x3[_0x90c9[3]],destchannel:_0xf821x3[_0x90c9[3]],destchannelstate:_0xf821x3[_0x90c9[9]],destchannelstatedesc:_0xf821x3[_0x90c9[3]],destcalleridnum:_0xf821x3[_0x90c9[3]],destcalleridname:_0xf821x3[_0x90c9[3]],destconnectedlinenum:_0xf821x3[_0x90c9[3]],destconnectedlinename:_0xf821x3[_0x90c9[3]],destlanguage:_0xf821x3[_0x90c9[3]],destaccountcode:_0xf821x3[_0x90c9[3]],destcontext:_0xf821x3[_0x90c9[3]],destexten:_0xf821x3[_0x90c9[3]],destpriority:_0xf821x3[_0x90c9[3]],destuniqueid:_0xf821x3[_0x90c9[3]]},{tableName:_0x90c9[11]});_0xf821x4[_0x90c9[14]](_0x90c9[13]);return _0xf821x4}