Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / history.js
index f4f4245..c54a14b 100644 (file)
@@ -1 +1 @@
-'use strict';const a1240_0xfa5e=['campaigntype','holdtime','scheduledat','countmachineretry','ContactId','starttime','name','countbusyretry','568311FLLmTS','countcongestionretry','talktime','originatecalleridnum','countdropretry','1JdpCqQ','262496DZJLtq','callbackat','512150KetORz','milliseconds','calleridname','177691IjSLQp','ringtime','callback','VoiceQueueId','responsetime','moment','outbound','type','ListId','729825yRxSfA','originatecalleridname','countnoanswerretry','CampaignId','countnosuchnumberretry','number','endtime','calleridnum','exports','492642RcJrab','callbackuniqueid','queue','countglobal','countabandonedretry','580710KFUAOQ','countagentrejectretry','diff','uniqueid','recallme'];const a1240_0x423a=function(_0x96a074,_0x496282){_0x96a074=_0x96a074-0xf4;let _0xfa5e17=a1240_0xfa5e[_0x96a074];return _0xfa5e17;};const a1240_0x4d3786=a1240_0x423a;(function(_0x135348,_0x388714){const _0x2ae530=a1240_0x423a;while(!![]){try{const _0x458833=-parseInt(_0x2ae530(0xfe))*-parseInt(_0x2ae530(0xf8))+parseInt(_0x2ae530(0x115))+-parseInt(_0x2ae530(0xf9))+parseInt(_0x2ae530(0x122))+-parseInt(_0x2ae530(0x110))+parseInt(_0x2ae530(0xfb))+-parseInt(_0x2ae530(0x107));if(_0x458833===_0x388714)break;else _0x135348['push'](_0x135348['shift']());}catch(_0x51a14e){_0x135348['push'](_0x135348['shift']());}}}(a1240_0xfa5e,0x5666b));const moment=require(a1240_0x4d3786(0x103));function getSeconds(_0x257c58,_0x2f6ece){const _0x1aaae9=a1240_0x4d3786,_0x35bc5b=moment(_0x257c58)[_0x1aaae9(0xfc)](0x0),_0x1db63a=moment(_0x2f6ece)[_0x1aaae9(0xfc)](0x0);return _0x35bc5b[_0x1aaae9(0x117)](_0x1db63a,'seconds');}function History(_0xeb3b85){const _0x24880b=a1240_0x4d3786;this[_0x24880b(0x118)]=_0xeb3b85[_0x24880b(0x118)],this[_0x24880b(0x11c)]=_0xeb3b85[_0x24880b(0x11c)]||undefined,this[_0x24880b(0x105)]=_0xeb3b85[_0x24880b(0x105)],this[_0x24880b(0x11a)]=_0xeb3b85[_0x24880b(0x105)]===_0x24880b(0x104)?'queue':_0xeb3b85['type'],this[_0x24880b(0x121)]=_0xeb3b85['countbusyretry'],this[_0x24880b(0xf4)]=_0xeb3b85[_0x24880b(0xf4)],this[_0x24880b(0x109)]=_0xeb3b85[_0x24880b(0x109)],this[_0x24880b(0x113)]=_0xeb3b85['countbusyretry']+_0xeb3b85[_0x24880b(0xf4)]+_0xeb3b85[_0x24880b(0x109)]+_0xeb3b85[_0x24880b(0x10b)]+_0xeb3b85[_0x24880b(0xf7)]+_0xeb3b85[_0x24880b(0x114)]+_0xeb3b85['countmachineretry']+_0xeb3b85[_0x24880b(0x116)],this['countnosuchnumberretry']=_0xeb3b85[_0x24880b(0x10b)],this[_0x24880b(0xf7)]=_0xeb3b85['countdropretry'],this[_0x24880b(0x114)]=_0xeb3b85[_0x24880b(0x114)],this[_0x24880b(0x11d)]=_0xeb3b85[_0x24880b(0x11d)],this[_0x24880b(0x116)]=_0xeb3b85[_0x24880b(0x116)],this['queue']=_0xeb3b85[_0x24880b(0x112)],this[_0x24880b(0xfd)]=_0xeb3b85[_0x24880b(0x120)],this[_0x24880b(0x10e)]=_0xeb3b85[_0x24880b(0x10c)],this[_0x24880b(0x11f)]=_0xeb3b85[_0x24880b(0x11f)],this[_0x24880b(0x102)]=_0xeb3b85[_0x24880b(0x102)],this[_0x24880b(0x10d)]=_0xeb3b85[_0x24880b(0x102)],this[_0x24880b(0xff)]=getSeconds(_0xeb3b85['responsetime'],_0xeb3b85[_0x24880b(0x11f)]),this[_0x24880b(0x11b)]=0x0,this[_0x24880b(0xf5)]=0x0,this['callback']=_0xeb3b85[_0x24880b(0x100)],this[_0x24880b(0x111)]=_0xeb3b85[_0x24880b(0x111)],this[_0x24880b(0xfa)]=_0xeb3b85[_0x24880b(0xfa)],this[_0x24880b(0x119)]=_0xeb3b85[_0x24880b(0x119)],this[_0x24880b(0x11e)]=_0xeb3b85[_0x24880b(0x11e)],this['ListId']=_0xeb3b85[_0x24880b(0x106)],this['UserId']=_0xeb3b85['UserId'],this[_0x24880b(0x101)]=_0xeb3b85[_0x24880b(0x101)],this['CampaignId']=_0xeb3b85[_0x24880b(0x10a)],this['originatecalleridnum']=_0xeb3b85[_0x24880b(0xf6)]||'',this['originatecalleridname']=_0xeb3b85[_0x24880b(0x108)]||'';}module[a1240_0x4d3786(0x10f)]=History;
\ No newline at end of file
+'use strict';const a1248_0x5880=['outbound','holdtime','type','queue','725rJkLAV','talktime','campaigntype','originatecalleridname','originatecalleridnum','73533BZejoc','seconds','9cufxCm','UserId','uniqueid','597970kVOZTB','diff','countagentrejectretry','1NAMSio','382388moehdm','countnoanswerretry','countnosuchnumberretry','callbackuniqueid','3UZFJPm','moment','ListId','27604mUCVka','countcongestionretry','callbackat','countglobal','countabandonedretry','146DGHikn','countdropretry','countbusyretry','milliseconds','calleridname','recallme','endtime','ContactId','exports','scheduledat','starttime','VoiceQueueId','1olIVLx','439329ZbHzmR','callback','responsetime','countmachineretry','308736ypuNmP'];const a1248_0x18b2=function(_0x47af19,_0xc1c70d){_0x47af19=_0x47af19-0x133;let _0x588082=a1248_0x5880[_0x47af19];return _0x588082;};const a1248_0x126088=a1248_0x18b2;(function(_0x4806c9,_0x338d16){const _0x3261d7=a1248_0x18b2;while(!![]){try{const _0x244a68=parseInt(_0x3261d7(0x139))+parseInt(_0x3261d7(0x145))*parseInt(_0x3261d7(0x143))+parseInt(_0x3261d7(0x135))+-parseInt(_0x3261d7(0x134))*parseInt(_0x3261d7(0x14c))+parseInt(_0x3261d7(0x150))*-parseInt(_0x3261d7(0x153))+-parseInt(_0x3261d7(0x148))*parseInt(_0x3261d7(0x14b))+parseInt(_0x3261d7(0x158))*parseInt(_0x3261d7(0x13e));if(_0x244a68===_0x338d16)break;else _0x4806c9['push'](_0x4806c9['shift']());}catch(_0x4ef6b7){_0x4806c9['push'](_0x4806c9['shift']());}}}(a1248_0x5880,0x6e7be));const moment=require(a1248_0x126088(0x151));function getSeconds(_0x579f04,_0x1357ee){const _0xdeddf3=a1248_0x126088,_0x4eb71e=moment(_0x579f04)['milliseconds'](0x0),_0x29a888=moment(_0x1357ee)[_0xdeddf3(0x15b)](0x0);return _0x4eb71e[_0xdeddf3(0x149)](_0x29a888,_0xdeddf3(0x144));}function History(_0x324eba){const _0x544a12=a1248_0x126088;this['uniqueid']=_0x324eba[_0x544a12(0x147)],this['scheduledat']=_0x324eba[_0x544a12(0x161)]||undefined,this['type']=_0x324eba[_0x544a12(0x13c)],this[_0x544a12(0x140)]=_0x324eba[_0x544a12(0x13c)]===_0x544a12(0x13a)?_0x544a12(0x13d):_0x324eba[_0x544a12(0x13c)],this[_0x544a12(0x15a)]=_0x324eba[_0x544a12(0x15a)],this[_0x544a12(0x154)]=_0x324eba[_0x544a12(0x154)],this[_0x544a12(0x14d)]=_0x324eba[_0x544a12(0x14d)],this[_0x544a12(0x156)]=_0x324eba[_0x544a12(0x15a)]+_0x324eba[_0x544a12(0x154)]+_0x324eba[_0x544a12(0x14d)]+_0x324eba[_0x544a12(0x14e)]+_0x324eba[_0x544a12(0x159)]+_0x324eba[_0x544a12(0x157)]+_0x324eba['countmachineretry']+_0x324eba[_0x544a12(0x14a)],this[_0x544a12(0x14e)]=_0x324eba[_0x544a12(0x14e)],this[_0x544a12(0x159)]=_0x324eba[_0x544a12(0x159)],this[_0x544a12(0x157)]=_0x324eba['countabandonedretry'],this['countmachineretry']=_0x324eba[_0x544a12(0x138)],this[_0x544a12(0x14a)]=_0x324eba[_0x544a12(0x14a)],this[_0x544a12(0x13d)]=_0x324eba[_0x544a12(0x13d)],this[_0x544a12(0x15c)]=_0x324eba['name'],this['calleridnum']=_0x324eba['number'],this['starttime']=_0x324eba[_0x544a12(0x162)],this[_0x544a12(0x137)]=_0x324eba[_0x544a12(0x137)],this[_0x544a12(0x15e)]=_0x324eba['responsetime'],this['ringtime']=getSeconds(_0x324eba[_0x544a12(0x137)],_0x324eba[_0x544a12(0x162)]),this[_0x544a12(0x13b)]=0x0,this[_0x544a12(0x13f)]=0x0,this['callback']=_0x324eba[_0x544a12(0x136)],this[_0x544a12(0x14f)]=_0x324eba[_0x544a12(0x14f)],this[_0x544a12(0x155)]=_0x324eba[_0x544a12(0x155)],this[_0x544a12(0x15d)]=_0x324eba['recallme'],this[_0x544a12(0x15f)]=_0x324eba[_0x544a12(0x15f)],this['ListId']=_0x324eba[_0x544a12(0x152)],this[_0x544a12(0x146)]=_0x324eba[_0x544a12(0x146)],this[_0x544a12(0x133)]=_0x324eba[_0x544a12(0x133)],this['CampaignId']=_0x324eba['CampaignId'],this[_0x544a12(0x142)]=_0x324eba[_0x544a12(0x142)]||'',this['originatecalleridname']=_0x324eba[_0x544a12(0x141)]||'';}module[a1248_0x126088(0x160)]=History;
\ No newline at end of file