Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / history.js
index a742bf1..3f01a18 100644 (file)
@@ -1 +1 @@
-const a1055_0x44de=['moment','countmachineretry','name','callback','holdtime','VoiceQueueId','UserId','endtime','originatecalleridname','talktime','countbusyretry','countnosuchnumberretry','callbackuniqueid','originatecalleridnum','starttime','countnoanswerretry','milliseconds','seconds','CampaignId','countcongestionretry','countagentrejectretry','responsetime','exports','type','ContactId','recallme','uniqueid','countdropretry','callbackat','scheduledat','ListId','number','queue','outbound'];(function(_0x56ee2a,_0x44de4b){const _0x18e0f9=function(_0x2b06b2){while(--_0x2b06b2){_0x56ee2a['push'](_0x56ee2a['shift']());}};_0x18e0f9(++_0x44de4b);}(a1055_0x44de,0xa9));const a1055_0x18e0=function(_0x56ee2a,_0x44de4b){_0x56ee2a=_0x56ee2a-0x0;let _0x18e0f9=a1055_0x44de[_0x56ee2a];return _0x18e0f9;};const _0x5d3471=a1055_0x18e0;'use strict';const moment=require(_0x5d3471('0x1'));function getSeconds(_0x2b06b2,_0x28b3bf){const _0x5cb466=_0x5d3471,_0x5277b5=moment(_0x2b06b2)[_0x5cb466('0x11')](0x0),_0x5ad7ce=moment(_0x28b3bf)['milliseconds'](0x0);return _0x5277b5['diff'](_0x5ad7ce,_0x5cb466('0x12'));}function History(_0x451eda){const _0x6bd76d=_0x5d3471;this[_0x6bd76d('0x1b')]=_0x451eda[_0x6bd76d('0x1b')],this[_0x6bd76d('0x1e')]=_0x451eda[_0x6bd76d('0x1e')]||undefined,this['type']=_0x451eda[_0x6bd76d('0x18')],this['campaigntype']=_0x451eda[_0x6bd76d('0x18')]===_0x6bd76d('0x0')?_0x6bd76d('0x21'):_0x451eda[_0x6bd76d('0x18')],this[_0x6bd76d('0xb')]=_0x451eda['countbusyretry'],this[_0x6bd76d('0x14')]=_0x451eda[_0x6bd76d('0x14')],this[_0x6bd76d('0x10')]=_0x451eda[_0x6bd76d('0x10')],this['countglobal']=_0x451eda['countbusyretry']+_0x451eda['countcongestionretry']+_0x451eda[_0x6bd76d('0x10')]+_0x451eda[_0x6bd76d('0xc')]+_0x451eda[_0x6bd76d('0x1c')]+_0x451eda['countabandonedretry']+_0x451eda[_0x6bd76d('0x2')]+_0x451eda['countagentrejectretry'],this[_0x6bd76d('0xc')]=_0x451eda['countnosuchnumberretry'],this[_0x6bd76d('0x1c')]=_0x451eda[_0x6bd76d('0x1c')],this['countabandonedretry']=_0x451eda['countabandonedretry'],this['countmachineretry']=_0x451eda[_0x6bd76d('0x2')],this[_0x6bd76d('0x15')]=_0x451eda[_0x6bd76d('0x15')],this[_0x6bd76d('0x21')]=_0x451eda[_0x6bd76d('0x21')],this['calleridname']=_0x451eda[_0x6bd76d('0x3')],this['calleridnum']=_0x451eda[_0x6bd76d('0x20')],this[_0x6bd76d('0xf')]=_0x451eda[_0x6bd76d('0xf')],this['responsetime']=_0x451eda[_0x6bd76d('0x16')],this[_0x6bd76d('0x8')]=_0x451eda['responsetime'],this['ringtime']=getSeconds(_0x451eda[_0x6bd76d('0x16')],_0x451eda[_0x6bd76d('0xf')]),this[_0x6bd76d('0x5')]=0x0,this[_0x6bd76d('0xa')]=0x0,this[_0x6bd76d('0x4')]=_0x451eda[_0x6bd76d('0x4')],this['callbackuniqueid']=_0x451eda[_0x6bd76d('0xd')],this[_0x6bd76d('0x1d')]=_0x451eda[_0x6bd76d('0x1d')],this[_0x6bd76d('0x1a')]=_0x451eda[_0x6bd76d('0x1a')],this['ContactId']=_0x451eda[_0x6bd76d('0x19')],this['ListId']=_0x451eda[_0x6bd76d('0x1f')],this[_0x6bd76d('0x7')]=_0x451eda['UserId'],this[_0x6bd76d('0x6')]=_0x451eda[_0x6bd76d('0x6')],this[_0x6bd76d('0x13')]=_0x451eda[_0x6bd76d('0x13')],this[_0x6bd76d('0xe')]=_0x451eda[_0x6bd76d('0xe')]||'',this[_0x6bd76d('0x9')]=_0x451eda[_0x6bd76d('0x9')]||'';}module[_0x5d3471('0x17')]=History;
\ No newline at end of file
+const a1055_0x30d6=['starttime','holdtime','campaigntype','UserId','ListId','originatecalleridname','countcongestionretry','number','countbusyretry','countglobal','recallme','responsetime','seconds','ContactId','talktime','queue','endtime','CampaignId','scheduledat','countmachineretry','type','callbackuniqueid','countabandonedretry','countnosuchnumberretry','countnoanswerretry','originatecalleridnum','milliseconds','countdropretry','countagentrejectretry','ringtime','callback','calleridnum','VoiceQueueId','exports'];(function(_0x47fbd8,_0x30d66f){const _0x47ab27=function(_0x4613d7){while(--_0x4613d7){_0x47fbd8['push'](_0x47fbd8['shift']());}};_0x47ab27(++_0x30d66f);}(a1055_0x30d6,0x151));const a1055_0x47ab=function(_0x47fbd8,_0x30d66f){_0x47fbd8=_0x47fbd8-0x0;let _0x47ab27=a1055_0x30d6[_0x47fbd8];return _0x47ab27;};const _0x169859=a1055_0x47ab;'use strict';const moment=require('moment');function getSeconds(_0x4613d7,_0x18788e){const _0x24a378=a1055_0x47ab,_0x4b1833=moment(_0x4613d7)['milliseconds'](0x0),_0x520906=moment(_0x18788e)[_0x24a378('0x1d')](0x0);return _0x4b1833['diff'](_0x520906,_0x24a378('0xf'));}function History(_0x94dd72){const _0x156965=a1055_0x47ab;this['uniqueid']=_0x94dd72['uniqueid'],this[_0x156965('0x15')]=_0x94dd72[_0x156965('0x15')]||undefined,this[_0x156965('0x17')]=_0x94dd72[_0x156965('0x17')],this[_0x156965('0x5')]=_0x94dd72[_0x156965('0x17')]==='outbound'?_0x156965('0x12'):_0x94dd72['type'],this[_0x156965('0xb')]=_0x94dd72[_0x156965('0xb')],this[_0x156965('0x9')]=_0x94dd72[_0x156965('0x9')],this[_0x156965('0x1b')]=_0x94dd72['countnoanswerretry'],this[_0x156965('0xc')]=_0x94dd72[_0x156965('0xb')]+_0x94dd72[_0x156965('0x9')]+_0x94dd72['countnoanswerretry']+_0x94dd72[_0x156965('0x1a')]+_0x94dd72[_0x156965('0x1e')]+_0x94dd72[_0x156965('0x19')]+_0x94dd72[_0x156965('0x16')]+_0x94dd72[_0x156965('0x1f')],this[_0x156965('0x1a')]=_0x94dd72[_0x156965('0x1a')],this[_0x156965('0x1e')]=_0x94dd72['countdropretry'],this[_0x156965('0x19')]=_0x94dd72[_0x156965('0x19')],this[_0x156965('0x16')]=_0x94dd72[_0x156965('0x16')],this[_0x156965('0x1f')]=_0x94dd72['countagentrejectretry'],this['queue']=_0x94dd72[_0x156965('0x12')],this['calleridname']=_0x94dd72['name'],this[_0x156965('0x0')]=_0x94dd72[_0x156965('0xa')],this['starttime']=_0x94dd72[_0x156965('0x3')],this[_0x156965('0xe')]=_0x94dd72['responsetime'],this[_0x156965('0x13')]=_0x94dd72[_0x156965('0xe')],this[_0x156965('0x20')]=getSeconds(_0x94dd72[_0x156965('0xe')],_0x94dd72[_0x156965('0x3')]),this[_0x156965('0x4')]=0x0,this[_0x156965('0x11')]=0x0,this[_0x156965('0x21')]=_0x94dd72[_0x156965('0x21')],this['callbackuniqueid']=_0x94dd72[_0x156965('0x18')],this['callbackat']=_0x94dd72['callbackat'],this[_0x156965('0xd')]=_0x94dd72[_0x156965('0xd')],this[_0x156965('0x10')]=_0x94dd72[_0x156965('0x10')],this[_0x156965('0x7')]=_0x94dd72[_0x156965('0x7')],this['UserId']=_0x94dd72[_0x156965('0x6')],this['VoiceQueueId']=_0x94dd72[_0x156965('0x1')],this['CampaignId']=_0x94dd72[_0x156965('0x14')],this[_0x156965('0x1c')]=_0x94dd72[_0x156965('0x1c')]||'',this[_0x156965('0x8')]=_0x94dd72['originatecalleridname']||'';}module[_0x169859('0x2')]=History;
\ No newline at end of file