Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / services / ami / dialer / models / history.js
index 280da90..790ff8f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc8b1=['ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','calleridname','calleridnum','number','starttime','responsetime','endtime','getSeconds','holdtime','callback','callbackuniqueid','callbackat','recallme'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0xc8b1,0x10d));var _0x1c8b=function(_0xbfca16,_0xeb44ec){_0xbfca16=_0xbfca16-0x0;var _0x34fcd8=_0xc8b1[_0xbfca16];return _0x34fcd8;};'use strict';var utils=require(_0x1c8b('0x0'));function History(_0x52d4b8){this[_0x1c8b('0x1')]=_0x52d4b8[_0x1c8b('0x1')];this[_0x1c8b('0x2')]=_0x52d4b8[_0x1c8b('0x2')]||undefined;this[_0x1c8b('0x3')]=_0x52d4b8['type'];this[_0x1c8b('0x4')]=_0x52d4b8[_0x1c8b('0x3')]==='outbound'?_0x1c8b('0x5'):_0x52d4b8[_0x1c8b('0x3')];this[_0x1c8b('0x6')]=_0x52d4b8[_0x1c8b('0x6')];this['countcongestionretry']=_0x52d4b8[_0x1c8b('0x7')];this[_0x1c8b('0x8')]=_0x52d4b8['countnoanswerretry'];this[_0x1c8b('0x9')]=_0x52d4b8['countbusyretry']+_0x52d4b8[_0x1c8b('0x7')]+_0x52d4b8[_0x1c8b('0x8')]+_0x52d4b8[_0x1c8b('0xa')]+_0x52d4b8[_0x1c8b('0xb')]+_0x52d4b8['countabandonedretry']+_0x52d4b8[_0x1c8b('0xc')]+_0x52d4b8[_0x1c8b('0xd')];this[_0x1c8b('0xa')]=_0x52d4b8[_0x1c8b('0xa')];this[_0x1c8b('0xb')]=_0x52d4b8[_0x1c8b('0xb')];this[_0x1c8b('0xe')]=_0x52d4b8[_0x1c8b('0xe')];this['countmachineretry']=_0x52d4b8['countmachineretry'];this[_0x1c8b('0xd')]=_0x52d4b8[_0x1c8b('0xd')];this[_0x1c8b('0x5')]=_0x52d4b8[_0x1c8b('0x5')];this[_0x1c8b('0xf')]=_0x52d4b8['name'];this[_0x1c8b('0x10')]=_0x52d4b8[_0x1c8b('0x11')];this['starttime']=_0x52d4b8[_0x1c8b('0x12')];this[_0x1c8b('0x13')]=_0x52d4b8[_0x1c8b('0x13')];this[_0x1c8b('0x14')]=_0x52d4b8[_0x1c8b('0x13')];this['ringtime']=utils[_0x1c8b('0x15')](_0x52d4b8[_0x1c8b('0x13')],_0x52d4b8[_0x1c8b('0x12')]);this[_0x1c8b('0x16')]=0x0;this['talktime']=0x0;this[_0x1c8b('0x17')]=_0x52d4b8[_0x1c8b('0x17')];this['callbackuniqueid']=_0x52d4b8[_0x1c8b('0x18')];this[_0x1c8b('0x19')]=_0x52d4b8[_0x1c8b('0x19')];this[_0x1c8b('0x1a')]=_0x52d4b8[_0x1c8b('0x1a')];this[_0x1c8b('0x1b')]=_0x52d4b8[_0x1c8b('0x1b')];this[_0x1c8b('0x1c')]=_0x52d4b8[_0x1c8b('0x1c')];this['UserId']=_0x52d4b8[_0x1c8b('0x1d')];this[_0x1c8b('0x1e')]=_0x52d4b8[_0x1c8b('0x1e')];this['CampaignId']=_0x52d4b8[_0x1c8b('0x1f')];this[_0x1c8b('0x20')]=_0x52d4b8[_0x1c8b('0x20')]||'';this[_0x1c8b('0x21')]=_0x52d4b8[_0x1c8b('0x21')]||'';this['state']=_0x52d4b8[_0x1c8b('0x22')];this['statedesc']=_0x52d4b8[_0x1c8b('0x23')];}module[_0x1c8b('0x24')]=History;
\ No newline at end of file
+var _0xf8d7=['countdropretry','countmachineretry','countnosuchnumberretry','countabandonedretry','countagentrejectretry','queue','calleridname','name','calleridnum','starttime','endtime','responsetime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','state','statedesc','exports','../utils','uniqueid','scheduledat','type','countbusyretry','countcongestionretry','countnoanswerretry','countglobal'];(function(_0x26395f,_0xf88153){var _0x2697be=function(_0x3d3c51){while(--_0x3d3c51){_0x26395f['push'](_0x26395f['shift']());}};_0x2697be(++_0xf88153);}(_0xf8d7,0x1b4));var _0x7f8d=function(_0x5311e8,_0x57c5bb){_0x5311e8=_0x5311e8-0x0;var _0x582ad8=_0xf8d7[_0x5311e8];return _0x582ad8;};'use strict';var utils=require(_0x7f8d('0x0'));function History(_0x2b9cda){this[_0x7f8d('0x1')]=_0x2b9cda[_0x7f8d('0x1')];this[_0x7f8d('0x2')]=_0x2b9cda['scheduledat']||undefined;this[_0x7f8d('0x3')]=_0x2b9cda[_0x7f8d('0x3')];this['campaigntype']=_0x2b9cda[_0x7f8d('0x3')]==='outbound'?'queue':_0x2b9cda['type'];this['countbusyretry']=_0x2b9cda[_0x7f8d('0x4')];this[_0x7f8d('0x5')]=_0x2b9cda[_0x7f8d('0x5')];this[_0x7f8d('0x6')]=_0x2b9cda['countnoanswerretry'];this[_0x7f8d('0x7')]=_0x2b9cda[_0x7f8d('0x4')]+_0x2b9cda['countcongestionretry']+_0x2b9cda[_0x7f8d('0x6')]+_0x2b9cda['countnosuchnumberretry']+_0x2b9cda[_0x7f8d('0x8')]+_0x2b9cda['countabandonedretry']+_0x2b9cda[_0x7f8d('0x9')]+_0x2b9cda['countagentrejectretry'];this[_0x7f8d('0xa')]=_0x2b9cda[_0x7f8d('0xa')];this['countdropretry']=_0x2b9cda[_0x7f8d('0x8')];this[_0x7f8d('0xb')]=_0x2b9cda['countabandonedretry'];this['countmachineretry']=_0x2b9cda[_0x7f8d('0x9')];this['countagentrejectretry']=_0x2b9cda[_0x7f8d('0xc')];this[_0x7f8d('0xd')]=_0x2b9cda[_0x7f8d('0xd')];this[_0x7f8d('0xe')]=_0x2b9cda[_0x7f8d('0xf')];this[_0x7f8d('0x10')]=_0x2b9cda['number'];this['starttime']=_0x2b9cda[_0x7f8d('0x11')];this['responsetime']=_0x2b9cda['responsetime'];this[_0x7f8d('0x12')]=_0x2b9cda[_0x7f8d('0x13')];this[_0x7f8d('0x14')]=utils[_0x7f8d('0x15')](_0x2b9cda[_0x7f8d('0x13')],_0x2b9cda[_0x7f8d('0x11')]);this[_0x7f8d('0x16')]=0x0;this[_0x7f8d('0x17')]=0x0;this[_0x7f8d('0x18')]=_0x2b9cda['callback'];this[_0x7f8d('0x19')]=_0x2b9cda['callbackuniqueid'];this['callbackat']=_0x2b9cda[_0x7f8d('0x1a')];this['recallme']=_0x2b9cda[_0x7f8d('0x1b')];this[_0x7f8d('0x1c')]=_0x2b9cda[_0x7f8d('0x1c')];this[_0x7f8d('0x1d')]=_0x2b9cda['ListId'];this[_0x7f8d('0x1e')]=_0x2b9cda[_0x7f8d('0x1e')];this['VoiceQueueId']=_0x2b9cda[_0x7f8d('0x1f')];this[_0x7f8d('0x20')]=_0x2b9cda['CampaignId'];this[_0x7f8d('0x21')]=_0x2b9cda[_0x7f8d('0x21')]||'';this['originatecalleridname']=_0x2b9cda['originatecalleridname']||'';this[_0x7f8d('0x22')]=_0x2b9cda[_0x7f8d('0x22')];this['statedesc']=_0x2b9cda[_0x7f8d('0x23')];}module[_0x7f8d('0x24')]=History;
\ No newline at end of file