Built motion from commit 53e9689.|0.0.63
[motion.git] / server / models / history / report_agent_history.js
1 var _0xe594=["\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(_0xe594[0]);module[_0xe594[1]]=function(_0x4a68x2,_0x4a68x3){var _0x4a68x4=_0x4a68x2[_0xe594[12]](_0xe594[2],{uniqueid:_0x4a68x3[_0xe594[3]],calleridnum:_0x4a68x3[_0xe594[3]],calleridname:_0x4a68x3[_0xe594[3]],queue:_0x4a68x3[_0xe594[3]],interface:_0x4a68x3[_0xe594[3]],membername:_0x4a68x3[_0xe594[3]],agentcalledAt:_0x4a68x3[_0xe594[4]],agentconnectAt:{type:_0x4a68x3[_0xe594[4]],get:function(){return moment(this[_0xe594[8]](_0xe594[7]))[_0xe594[6]](_0xe594[5])}},holdtime:_0x4a68x3[_0xe594[9]],agentcomplete:{type:_0x4a68x3[_0xe594[10]],defaultValue:false},agentcompleteAt:_0x4a68x3[_0xe594[4]],talktime:_0x4a68x3[_0xe594[9]],agentacw:{type:_0x4a68x3[_0xe594[10]],defaultValue:false},acwtime:_0x4a68x3[_0xe594[9]],reason:_0x4a68x3[_0xe594[3]],agentringnoanswer:{type:_0x4a68x3[_0xe594[10]],defaultValue:false},agentringnoanswerAt:_0x4a68x3[_0xe594[4]],agentdump:{type:_0x4a68x3[_0xe594[10]],defaultValue:false},agentdumpAt:_0x4a68x3[_0xe594[4]],lastevent:_0x4a68x3[_0xe594[3]],channel:_0x4a68x3[_0xe594[3]],channelstate:_0x4a68x3[_0xe594[9]],channelstatedesc:_0x4a68x3[_0xe594[3]],connectedlinenum:_0x4a68x3[_0xe594[3]],connectedlinename:_0x4a68x3[_0xe594[3]],language:_0x4a68x3[_0xe594[3]],accountcode:_0x4a68x3[_0xe594[3]],context:_0x4a68x3[_0xe594[3]],exten:_0x4a68x3[_0xe594[3]],priority:_0x4a68x3[_0xe594[3]],destchannel:_0x4a68x3[_0xe594[3]],destchannelstate:_0x4a68x3[_0xe594[9]],destchannelstatedesc:_0x4a68x3[_0xe594[3]],destcalleridnum:_0x4a68x3[_0xe594[3]],destcalleridname:_0x4a68x3[_0xe594[3]],destconnectedlinenum:_0x4a68x3[_0xe594[3]],destconnectedlinename:_0x4a68x3[_0xe594[3]],destlanguage:_0x4a68x3[_0xe594[3]],destaccountcode:_0x4a68x3[_0xe594[3]],destcontext:_0x4a68x3[_0xe594[3]],destexten:_0x4a68x3[_0xe594[3]],destpriority:_0x4a68x3[_0xe594[3]],destuniqueid:_0x4a68x3[_0xe594[3]]},{tableName:_0xe594[11]});_0x4a68x4[_0xe594[14]](_0xe594[13]);return _0x4a68x4}