Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / dialer / models / history.js
index 790ff8f..c7f9e78 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x0a0a=['countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','../utils','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry'];(function(_0x30b159,_0x3fbb50){var _0x23c3f9=function(_0xa21305){while(--_0xa21305){_0x30b159['push'](_0x30b159['shift']());}};_0x23c3f9(++_0x3fbb50);}(_0x0a0a,0xc9));var _0xa0a0=function(_0x1bc4ac,_0x297a7f){_0x1bc4ac=_0x1bc4ac-0x0;var _0x42938f=_0x0a0a[_0x1bc4ac];return _0x42938f;};'use strict';var utils=require(_0xa0a0('0x0'));function History(_0x3b752e){this['uniqueid']=_0x3b752e[_0xa0a0('0x1')];this[_0xa0a0('0x2')]=_0x3b752e[_0xa0a0('0x2')]||undefined;this[_0xa0a0('0x3')]=_0x3b752e[_0xa0a0('0x3')];this[_0xa0a0('0x4')]=_0x3b752e['type']===_0xa0a0('0x5')?_0xa0a0('0x6'):_0x3b752e[_0xa0a0('0x3')];this[_0xa0a0('0x7')]=_0x3b752e[_0xa0a0('0x7')];this[_0xa0a0('0x8')]=_0x3b752e[_0xa0a0('0x8')];this['countnoanswerretry']=_0x3b752e[_0xa0a0('0x9')];this['countglobal']=_0x3b752e['countbusyretry']+_0x3b752e[_0xa0a0('0x8')]+_0x3b752e[_0xa0a0('0x9')]+_0x3b752e[_0xa0a0('0xa')]+_0x3b752e[_0xa0a0('0xb')]+_0x3b752e[_0xa0a0('0xc')]+_0x3b752e[_0xa0a0('0xd')]+_0x3b752e[_0xa0a0('0xe')];this[_0xa0a0('0xa')]=_0x3b752e[_0xa0a0('0xa')];this['countdropretry']=_0x3b752e[_0xa0a0('0xb')];this[_0xa0a0('0xc')]=_0x3b752e['countabandonedretry'];this[_0xa0a0('0xd')]=_0x3b752e[_0xa0a0('0xd')];this[_0xa0a0('0xe')]=_0x3b752e[_0xa0a0('0xe')];this[_0xa0a0('0x6')]=_0x3b752e[_0xa0a0('0x6')];this['calleridname']=_0x3b752e[_0xa0a0('0xf')];this[_0xa0a0('0x10')]=_0x3b752e[_0xa0a0('0x11')];this[_0xa0a0('0x12')]=_0x3b752e[_0xa0a0('0x12')];this[_0xa0a0('0x13')]=_0x3b752e[_0xa0a0('0x13')];this[_0xa0a0('0x14')]=_0x3b752e[_0xa0a0('0x13')];this[_0xa0a0('0x15')]=utils[_0xa0a0('0x16')](_0x3b752e[_0xa0a0('0x13')],_0x3b752e[_0xa0a0('0x12')]);this['holdtime']=0x0;this['talktime']=0x0;this[_0xa0a0('0x17')]=_0x3b752e[_0xa0a0('0x17')];this[_0xa0a0('0x18')]=_0x3b752e[_0xa0a0('0x18')];this[_0xa0a0('0x19')]=_0x3b752e['callbackat'];this[_0xa0a0('0x1a')]=_0x3b752e[_0xa0a0('0x1a')];this['ContactId']=_0x3b752e['ContactId'];this[_0xa0a0('0x1b')]=_0x3b752e['ListId'];this[_0xa0a0('0x1c')]=_0x3b752e['UserId'];this[_0xa0a0('0x1d')]=_0x3b752e['VoiceQueueId'];this[_0xa0a0('0x1e')]=_0x3b752e['CampaignId'];this[_0xa0a0('0x1f')]=_0x3b752e['originatecalleridnum']||'';this[_0xa0a0('0x20')]=_0x3b752e[_0xa0a0('0x20')]||'';this[_0xa0a0('0x21')]=_0x3b752e[_0xa0a0('0x21')];this[_0xa0a0('0x22')]=_0x3b752e['statedesc'];}module['exports']=History;
\ No newline at end of file