Built motion from commit e5f953e.|0.0.46
[motion.git] / server / models / report_integration.js
1 var _0x9e48=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0x9e48[0]]=function(_0x8657x1,_0x8657x2){var _0x8657x3=_0x8657x1[_0x9e48[12]](_0x9e48[1],{integration:_0x8657x2[_0x9e48[2]],eventChannel:_0x8657x2[_0x9e48[2]],exitStatus:_0x8657x2[_0x9e48[2]],ticketId:_0x8657x2[_0x9e48[2]],integrationId:_0x8657x2[_0x9e48[3]],contacts:_0x8657x2[_0x9e48[2]],uniqueid:_0x8657x2[_0x9e48[2]],calleridnum:_0x8657x2[_0x9e48[2]],calleridname:_0x8657x2[_0x9e48[2]],queue:_0x8657x2[_0x9e48[2]],interface:_0x8657x2[_0x9e48[2]],membername:_0x8657x2[_0x9e48[2]],agentcalledAt:_0x8657x2[_0x9e48[4]],agentconnectAt:_0x8657x2[_0x9e48[4]],holdtime:_0x8657x2[_0x9e48[3]],agentcomplete:{type:_0x8657x2[_0x9e48[5]],defaultValue:false},agentcompleteAt:_0x8657x2[_0x9e48[4]],talktime:_0x8657x2[_0x9e48[3]],agentacw:{type:_0x8657x2[_0x9e48[5]],defaultValue:false},acwtime:_0x8657x2[_0x9e48[3]],reason:_0x8657x2[_0x9e48[2]],agentringnoanswer:{type:_0x8657x2[_0x9e48[5]],defaultValue:false},agentringnoanswerAt:_0x8657x2[_0x9e48[4]],agentdump:{type:_0x8657x2[_0x9e48[5]],defaultValue:false},agentdumpAt:_0x8657x2[_0x9e48[4]],lastevent:_0x8657x2[_0x9e48[2]],channel:_0x8657x2[_0x9e48[2]],channelstate:_0x8657x2[_0x9e48[3]],channelstatedesc:_0x8657x2[_0x9e48[2]],connectedlinenum:_0x8657x2[_0x9e48[2]],connectedlinename:_0x8657x2[_0x9e48[2]],language:_0x8657x2[_0x9e48[2]],accountcode:_0x8657x2[_0x9e48[2]],context:_0x8657x2[_0x9e48[2]],exten:_0x8657x2[_0x9e48[2]],priority:_0x8657x2[_0x9e48[2]],destchannel:_0x8657x2[_0x9e48[2]],destchannelstate:_0x8657x2[_0x9e48[3]],destchannelstatedesc:_0x8657x2[_0x9e48[2]],destcalleridnum:_0x8657x2[_0x9e48[2]],destcalleridname:_0x8657x2[_0x9e48[2]],destconnectedlinenum:_0x8657x2[_0x9e48[2]],destconnectedlinename:_0x8657x2[_0x9e48[2]],destlanguage:_0x8657x2[_0x9e48[2]],destaccountcode:_0x8657x2[_0x9e48[2]],destcontext:_0x8657x2[_0x9e48[2]],destexten:_0x8657x2[_0x9e48[2]],destpriority:_0x8657x2[_0x9e48[2]],destuniqueid:_0x8657x2[_0x9e48[2]],messageId:_0x8657x2[_0x9e48[2]],inReplyTo:_0x8657x2[_0x9e48[2]],subject:_0x8657x2[_0x9e48[2]],from:_0x8657x2[_0x9e48[2]],to:_0x8657x2[_0x9e48[2]],cc:_0x8657x2[_0x9e48[2]],attachment:_0x8657x2[_0x9e48[6]],html:_0x8657x2[_0x9e48[6]],text:_0x8657x2[_0x9e48[6]],status:{type:_0x8657x2.ENUM(_0x9e48[7],_0x9e48[8],_0x9e48[9],_0x9e48[10])}},{tableName:_0x9e48[11]});return _0x8657x3}