Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / queueCallerAbandon.js
index 9ecdb55..9895038 100644 (file)
@@ -1 +1 @@
-const a1222_0x344d=['originatecalleridnum','UserId','uniqueid','membername','callbackuniqueid','countcongestionretry','endtime','countnosuchnumberretry','countnoanswerretry','starttime','countagentrejectretry','originatecalleridname','ringtime','CampaignId','connectedlinename','number','recallme','callback','scheduledat','VoiceQueueId','ContactId','milliseconds','name','seconds','holdtime','responsetime','queue','moment','countabandonedretry','droptime','reason','type','countbusyretry','callbackat','ListId','countmachineretry','calleridnum'];(function(_0x4ba463,_0x46f02c){const _0x344d12=function(_0xe942ce){while(--_0xe942ce){_0x4ba463['push'](_0x4ba463['shift']());}};_0x344d12(++_0x46f02c);}(a1222_0x344d,0x12d));const a1222_0xe942=function(_0x4ba463,_0x46f02c){_0x4ba463=_0x4ba463-0x10e;let _0x344d12=a1222_0x344d[_0x4ba463];return _0x344d12;};const a1222_0x4a942d=a1222_0xe942;'use strict';const moment=require(a1222_0x4a942d(0x124));function getSeconds(_0x442381,_0x3f632d){const _0x5d8f18=a1222_0x4a942d,_0x30fa22=moment(_0x442381)[_0x5d8f18(0x11e)](0x0),_0x25fbda=moment(_0x3f632d)[_0x5d8f18(0x11e)](0x0);return _0x30fa22['diff'](_0x25fbda,_0x5d8f18(0x120));}function QueueCallerAbandon(_0xe985c2,_0x3d2d6a){const _0x28af8f=a1222_0x4a942d;this[_0x28af8f(0x11b)]=_0xe985c2[_0x28af8f(0x11b)],this[_0x28af8f(0x128)]=_0xe985c2[_0x28af8f(0x128)],this['campaigntype']=_0xe985c2['type']==='outbound'?_0x28af8f(0x123):_0xe985c2[_0x28af8f(0x128)],this[_0x28af8f(0x129)]=_0xe985c2[_0x28af8f(0x129)],this[_0x28af8f(0x10e)]=_0xe985c2[_0x28af8f(0x10e)],this[_0x28af8f(0x111)]=_0xe985c2[_0x28af8f(0x111)],this['countglobal']=_0xe985c2[_0x28af8f(0x129)]+_0xe985c2['countcongestionretry']+_0xe985c2[_0x28af8f(0x111)]+_0xe985c2[_0x28af8f(0x110)]+_0xe985c2['countdropretry']+_0xe985c2['countabandonedretry']+_0xe985c2['countmachineretry']+_0xe985c2[_0x28af8f(0x113)],this[_0x28af8f(0x110)]=_0xe985c2[_0x28af8f(0x110)],this['countdropretry']=_0xe985c2['countdropretry'],this[_0x28af8f(0x125)]=_0xe985c2[_0x28af8f(0x125)],this[_0x28af8f(0x12c)]=_0xe985c2[_0x28af8f(0x12c)],this[_0x28af8f(0x113)]=_0xe985c2['countagentrejectretry'],this['uniqueid']=_0x3d2d6a[_0x28af8f(0x130)],this['calleridname']=_0xe985c2[_0x28af8f(0x11f)],this[_0x28af8f(0x12d)]=_0xe985c2[_0x28af8f(0x118)],this['starttime']=_0xe985c2[_0x28af8f(0x112)],this[_0x28af8f(0x122)]=_0xe985c2[_0x28af8f(0x122)],this[_0x28af8f(0x126)]=_0xe985c2['droptime'],this[_0x28af8f(0x10f)]=this[_0x28af8f(0x126)],this[_0x28af8f(0x115)]=getSeconds(_0xe985c2[_0x28af8f(0x122)],_0xe985c2[_0x28af8f(0x112)]),this[_0x28af8f(0x121)]=getSeconds(this['droptime'],_0xe985c2[_0x28af8f(0x122)]),this['talktime']=0x0,this['queue']=_0x3d2d6a['queue'],this[_0x28af8f(0x131)]=_0x3d2d6a[_0x28af8f(0x117)],this[_0x28af8f(0x127)]=_0x3d2d6a[_0x28af8f(0x127)],this[_0x28af8f(0x11a)]=_0xe985c2['callback'],this[_0x28af8f(0x132)]=_0xe985c2[_0x28af8f(0x132)],this[_0x28af8f(0x12a)]=_0xe985c2['callbackat'],this[_0x28af8f(0x119)]=_0xe985c2[_0x28af8f(0x119)],this[_0x28af8f(0x11d)]=_0xe985c2[_0x28af8f(0x11d)],this['ListId']=_0xe985c2[_0x28af8f(0x12b)],this[_0x28af8f(0x12f)]=_0xe985c2[_0x28af8f(0x12f)],this[_0x28af8f(0x11c)]=_0xe985c2[_0x28af8f(0x11c)],this[_0x28af8f(0x116)]=_0xe985c2[_0x28af8f(0x116)],this[_0x28af8f(0x12e)]=_0xe985c2[_0x28af8f(0x12e)]||'',this[_0x28af8f(0x114)]=_0xe985c2[_0x28af8f(0x114)]||'';}module['exports']=QueueCallerAbandon;
\ No newline at end of file
+const a1226_0x32cf=['originatecalleridnum','exports','ringtime','VoiceQueueId','moment','countcongestionretry','membername','reason','talktime','callbackat','endtime','droptime','countglobal','countmachineretry','scheduledat','countdropretry','countnosuchnumberretry','diff','originatecalleridname','countbusyretry','ContactId','name','countnoanswerretry','ListId','UserId','milliseconds','outbound','queue','campaigntype','type','recallme','CampaignId','callback','connectedlinename','responsetime','number','uniqueid','callbackuniqueid','calleridnum','countabandonedretry','holdtime','starttime','countagentrejectretry'];(function(_0x188bbf,_0x1c8764){const _0x32cf11=function(_0x52a9ea){while(--_0x52a9ea){_0x188bbf['push'](_0x188bbf['shift']());}};_0x32cf11(++_0x1c8764);}(a1226_0x32cf,0x106));const a1226_0x52a9=function(_0x188bbf,_0x1c8764){_0x188bbf=_0x188bbf-0xdf;let _0x32cf11=a1226_0x32cf[_0x188bbf];return _0x32cf11;};const a1226_0x41bf4b=a1226_0x52a9;'use strict';const moment=require(a1226_0x41bf4b(0xdf));function getSeconds(_0x385630,_0x563b44){const _0x393905=a1226_0x41bf4b,_0x9159ee=moment(_0x385630)[_0x393905(0xf4)](0x0),_0x2cd76e=moment(_0x563b44)[_0x393905(0xf4)](0x0);return _0x9159ee[_0x393905(0xec)](_0x2cd76e,'seconds');}function QueueCallerAbandon(_0x16d706,_0xcf4cdf){const _0x16a8c0=a1226_0x41bf4b;this[_0x16a8c0(0xe9)]=_0x16d706['scheduledat'],this[_0x16a8c0(0xf8)]=_0x16d706[_0x16a8c0(0xf8)],this[_0x16a8c0(0xf7)]=_0x16d706['type']===_0x16a8c0(0xf5)?'queue':_0x16d706['type'],this[_0x16a8c0(0xee)]=_0x16d706[_0x16a8c0(0xee)],this[_0x16a8c0(0xe0)]=_0x16d706[_0x16a8c0(0xe0)],this['countnoanswerretry']=_0x16d706[_0x16a8c0(0xf1)],this[_0x16a8c0(0xe7)]=_0x16d706[_0x16a8c0(0xee)]+_0x16d706[_0x16a8c0(0xe0)]+_0x16d706[_0x16a8c0(0xf1)]+_0x16d706[_0x16a8c0(0xeb)]+_0x16d706[_0x16a8c0(0xea)]+_0x16d706[_0x16a8c0(0x102)]+_0x16d706[_0x16a8c0(0xe8)]+_0x16d706[_0x16a8c0(0x105)],this[_0x16a8c0(0xeb)]=_0x16d706[_0x16a8c0(0xeb)],this[_0x16a8c0(0xea)]=_0x16d706[_0x16a8c0(0xea)],this[_0x16a8c0(0x102)]=_0x16d706[_0x16a8c0(0x102)],this[_0x16a8c0(0xe8)]=_0x16d706[_0x16a8c0(0xe8)],this[_0x16a8c0(0x105)]=_0x16d706[_0x16a8c0(0x105)],this[_0x16a8c0(0xff)]=_0xcf4cdf[_0x16a8c0(0xff)],this['calleridname']=_0x16d706[_0x16a8c0(0xf0)],this[_0x16a8c0(0x101)]=_0x16d706[_0x16a8c0(0xfe)],this[_0x16a8c0(0x104)]=_0x16d706[_0x16a8c0(0x104)],this[_0x16a8c0(0xfd)]=_0x16d706[_0x16a8c0(0xfd)],this[_0x16a8c0(0xe6)]=_0x16d706[_0x16a8c0(0xe6)],this[_0x16a8c0(0xe5)]=this[_0x16a8c0(0xe6)],this[_0x16a8c0(0x108)]=getSeconds(_0x16d706[_0x16a8c0(0xfd)],_0x16d706['starttime']),this[_0x16a8c0(0x103)]=getSeconds(this[_0x16a8c0(0xe6)],_0x16d706[_0x16a8c0(0xfd)]),this[_0x16a8c0(0xe3)]=0x0,this['queue']=_0xcf4cdf[_0x16a8c0(0xf6)],this[_0x16a8c0(0xe1)]=_0xcf4cdf[_0x16a8c0(0xfc)],this[_0x16a8c0(0xe2)]=_0xcf4cdf[_0x16a8c0(0xe2)],this[_0x16a8c0(0xfb)]=_0x16d706['callback'],this[_0x16a8c0(0x100)]=_0x16d706[_0x16a8c0(0x100)],this[_0x16a8c0(0xe4)]=_0x16d706[_0x16a8c0(0xe4)],this[_0x16a8c0(0xf9)]=_0x16d706[_0x16a8c0(0xf9)],this[_0x16a8c0(0xef)]=_0x16d706[_0x16a8c0(0xef)],this[_0x16a8c0(0xf2)]=_0x16d706[_0x16a8c0(0xf2)],this[_0x16a8c0(0xf3)]=_0x16d706[_0x16a8c0(0xf3)],this[_0x16a8c0(0x109)]=_0x16d706[_0x16a8c0(0x109)],this[_0x16a8c0(0xfa)]=_0x16d706[_0x16a8c0(0xfa)],this[_0x16a8c0(0x106)]=_0x16d706['originatecalleridnum']||'',this[_0x16a8c0(0xed)]=_0x16d706[_0x16a8c0(0xed)]||'';}module[a1226_0x41bf4b(0x107)]=QueueCallerAbandon;
\ No newline at end of file