Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / services / ami / dialer / history.js
index 053aea6..fa68003 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4539=['milliseconds','diff','uniqueid','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','name','number','starttime','responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment'];(function(_0x131bb1,_0x5c91cc){var _0x4b006b=function(_0x236496){while(--_0x236496){_0x131bb1['push'](_0x131bb1['shift']());}};_0x4b006b(++_0x5c91cc);}(_0x4539,0x1b9));var _0x9453=function(_0x4a5cf9,_0x272e51){_0x4a5cf9=_0x4a5cf9-0x0;var _0x6c50d0=_0x4539[_0x4a5cf9];return _0x6c50d0;};'use strict';var util=require(_0x9453('0x0'));var _=require(_0x9453('0x1'));var moment=require(_0x9453('0x2'));function getSeconds(_0x9820ab,_0x4561ad){var _0x2c6908=moment(_0x9820ab)['milliseconds'](0x0);var _0x327698=moment(_0x4561ad)[_0x9453('0x3')](0x0);return _0x2c6908[_0x9453('0x4')](_0x327698,'seconds');}function History(_0xd3bed1){this[_0x9453('0x5')]=_0xd3bed1[_0x9453('0x5')];this[_0x9453('0x6')]=_0xd3bed1[_0x9453('0x6')]||undefined;this[_0x9453('0x7')]=_0xd3bed1[_0x9453('0x7')];this['campaigntype']=_0xd3bed1[_0x9453('0x7')]===_0x9453('0x8')?_0x9453('0x9'):_0xd3bed1[_0x9453('0x7')];this[_0x9453('0xa')]=_0xd3bed1[_0x9453('0xa')];this[_0x9453('0xb')]=_0xd3bed1[_0x9453('0xb')];this['countnoanswerretry']=_0xd3bed1[_0x9453('0xc')];this['countglobal']=_0xd3bed1[_0x9453('0xa')]+_0xd3bed1['countcongestionretry']+_0xd3bed1[_0x9453('0xc')]+_0xd3bed1[_0x9453('0xd')]+_0xd3bed1[_0x9453('0xe')]+_0xd3bed1['countabandonedretry']+_0xd3bed1[_0x9453('0xf')]+_0xd3bed1[_0x9453('0x10')];this[_0x9453('0xd')]=_0xd3bed1['countnosuchnumberretry'];this[_0x9453('0xe')]=_0xd3bed1[_0x9453('0xe')];this['countabandonedretry']=_0xd3bed1[_0x9453('0x11')];this[_0x9453('0xf')]=_0xd3bed1[_0x9453('0xf')];this['countagentrejectretry']=_0xd3bed1[_0x9453('0x10')];this[_0x9453('0x9')]=_0xd3bed1[_0x9453('0x9')];this['calleridname']=_0xd3bed1[_0x9453('0x12')];this['calleridnum']=_0xd3bed1[_0x9453('0x13')];this['starttime']=_0xd3bed1[_0x9453('0x14')];this[_0x9453('0x15')]=_0xd3bed1['responsetime'];this['endtime']=_0xd3bed1[_0x9453('0x15')];this[_0x9453('0x16')]=getSeconds(_0xd3bed1[_0x9453('0x15')],_0xd3bed1[_0x9453('0x14')]);this[_0x9453('0x17')]=0x0;this[_0x9453('0x18')]=0x0;this[_0x9453('0x19')]=_0xd3bed1[_0x9453('0x19')];this[_0x9453('0x1a')]=_0xd3bed1[_0x9453('0x1a')];this[_0x9453('0x1b')]=_0xd3bed1[_0x9453('0x1b')];this[_0x9453('0x1c')]=_0xd3bed1[_0x9453('0x1c')];this[_0x9453('0x1d')]=_0xd3bed1[_0x9453('0x1d')];this['ListId']=_0xd3bed1[_0x9453('0x1e')];this[_0x9453('0x1f')]=_0xd3bed1['UserId'];this[_0x9453('0x20')]=_0xd3bed1['VoiceQueueId'];this['CampaignId']=_0xd3bed1[_0x9453('0x21')];this[_0x9453('0x22')]=_0xd3bed1[_0x9453('0x22')]||'';this[_0x9453('0x23')]=_0xd3bed1[_0x9453('0x23')]||'';}module[_0x9453('0x24')]=History;
\ No newline at end of file
+var _0xcd6b=['starttime','responsetime','endtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countdropretry','countabandonedretry','countmachineretry','countnosuchnumberretry','countagentrejectretry','calleridname','name','calleridnum','number'];(function(_0x1cb8e8,_0x8c1cd8){var _0x8fca7f=function(_0x5e4f14){while(--_0x5e4f14){_0x1cb8e8['push'](_0x1cb8e8['shift']());}};_0x8fca7f(++_0x8c1cd8);}(_0xcd6b,0x1bc));var _0xbcd6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xcd6b[_0x3dd15e];return _0x231fd0;};'use strict';var util=require(_0xbcd6('0x0'));var _=require(_0xbcd6('0x1'));var moment=require(_0xbcd6('0x2'));function getSeconds(_0xa67e99,_0x3a46b9){var _0x221275=moment(_0xa67e99)[_0xbcd6('0x3')](0x0);var _0x2a6c5c=moment(_0x3a46b9)['milliseconds'](0x0);return _0x221275[_0xbcd6('0x4')](_0x2a6c5c,_0xbcd6('0x5'));}function History(_0x4f4b50){this['uniqueid']=_0x4f4b50[_0xbcd6('0x6')];this[_0xbcd6('0x7')]=_0x4f4b50['scheduledat']||undefined;this[_0xbcd6('0x8')]=_0x4f4b50[_0xbcd6('0x8')];this[_0xbcd6('0x9')]=_0x4f4b50[_0xbcd6('0x8')]===_0xbcd6('0xa')?_0xbcd6('0xb'):_0x4f4b50[_0xbcd6('0x8')];this['countbusyretry']=_0x4f4b50[_0xbcd6('0xc')];this[_0xbcd6('0xd')]=_0x4f4b50['countcongestionretry'];this[_0xbcd6('0xe')]=_0x4f4b50[_0xbcd6('0xe')];this['countglobal']=_0x4f4b50[_0xbcd6('0xc')]+_0x4f4b50[_0xbcd6('0xd')]+_0x4f4b50['countnoanswerretry']+_0x4f4b50['countnosuchnumberretry']+_0x4f4b50[_0xbcd6('0xf')]+_0x4f4b50[_0xbcd6('0x10')]+_0x4f4b50[_0xbcd6('0x11')]+_0x4f4b50['countagentrejectretry'];this[_0xbcd6('0x12')]=_0x4f4b50['countnosuchnumberretry'];this[_0xbcd6('0xf')]=_0x4f4b50[_0xbcd6('0xf')];this[_0xbcd6('0x10')]=_0x4f4b50[_0xbcd6('0x10')];this[_0xbcd6('0x11')]=_0x4f4b50['countmachineretry'];this[_0xbcd6('0x13')]=_0x4f4b50[_0xbcd6('0x13')];this[_0xbcd6('0xb')]=_0x4f4b50[_0xbcd6('0xb')];this[_0xbcd6('0x14')]=_0x4f4b50[_0xbcd6('0x15')];this[_0xbcd6('0x16')]=_0x4f4b50[_0xbcd6('0x17')];this[_0xbcd6('0x18')]=_0x4f4b50['starttime'];this[_0xbcd6('0x19')]=_0x4f4b50[_0xbcd6('0x19')];this[_0xbcd6('0x1a')]=_0x4f4b50[_0xbcd6('0x19')];this['ringtime']=getSeconds(_0x4f4b50[_0xbcd6('0x19')],_0x4f4b50[_0xbcd6('0x18')]);this['holdtime']=0x0;this['talktime']=0x0;this[_0xbcd6('0x1b')]=_0x4f4b50[_0xbcd6('0x1b')];this[_0xbcd6('0x1c')]=_0x4f4b50[_0xbcd6('0x1c')];this[_0xbcd6('0x1d')]=_0x4f4b50['callbackat'];this[_0xbcd6('0x1e')]=_0x4f4b50['recallme'];this[_0xbcd6('0x1f')]=_0x4f4b50[_0xbcd6('0x1f')];this[_0xbcd6('0x20')]=_0x4f4b50[_0xbcd6('0x20')];this[_0xbcd6('0x21')]=_0x4f4b50[_0xbcd6('0x21')];this[_0xbcd6('0x22')]=_0x4f4b50['VoiceQueueId'];this[_0xbcd6('0x23')]=_0x4f4b50['CampaignId'];this[_0xbcd6('0x24')]=_0x4f4b50[_0xbcd6('0x24')]||'';this[_0xbcd6('0x25')]=_0x4f4b50[_0xbcd6('0x25')]||'';}module[_0xbcd6('0x26')]=History;
\ No newline at end of file