Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / dialer / models / history.js
index 40a37a2..20f4368 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaa7=['name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue'];(function(_0x1cb5db,_0x50064c){var _0x5a16c6=function(_0x2b843e){while(--_0x2b843e){_0x1cb5db['push'](_0x1cb5db['shift']());}};_0x5a16c6(++_0x50064c);}(_0xbaa7,0x16d));var _0x7baa=function(_0x28947d,_0x4cc9c6){_0x28947d=_0x28947d-0x0;var _0x12d2ee=_0xbaa7[_0x28947d];return _0x12d2ee;};'use strict';var utils=require(_0x7baa('0x0'));function History(_0x365b13){this[_0x7baa('0x1')]=_0x365b13[_0x7baa('0x1')];this[_0x7baa('0x2')]=_0x365b13[_0x7baa('0x2')]||undefined;this['type']=_0x365b13[_0x7baa('0x3')];this[_0x7baa('0x4')]=_0x365b13['type']==='outbound'?'queue':_0x365b13[_0x7baa('0x3')];this[_0x7baa('0x5')]=_0x365b13['countbusyretry'];this[_0x7baa('0x6')]=_0x365b13[_0x7baa('0x6')];this[_0x7baa('0x7')]=_0x365b13[_0x7baa('0x7')];this[_0x7baa('0x8')]=_0x365b13[_0x7baa('0x5')]+_0x365b13[_0x7baa('0x6')]+_0x365b13[_0x7baa('0x7')]+_0x365b13[_0x7baa('0x9')]+_0x365b13[_0x7baa('0xa')]+_0x365b13[_0x7baa('0xb')]+_0x365b13[_0x7baa('0xc')]+_0x365b13[_0x7baa('0xd')];this[_0x7baa('0x9')]=_0x365b13['countnosuchnumberretry'];this[_0x7baa('0xa')]=_0x365b13[_0x7baa('0xa')];this['countabandonedretry']=_0x365b13[_0x7baa('0xb')];this[_0x7baa('0xc')]=_0x365b13[_0x7baa('0xc')];this[_0x7baa('0xd')]=_0x365b13['countagentrejectretry'];this[_0x7baa('0xe')]=_0x365b13['queue'];this['calleridname']=_0x365b13[_0x7baa('0xf')];this[_0x7baa('0x10')]=_0x365b13[_0x7baa('0x11')];this[_0x7baa('0x12')]=_0x365b13[_0x7baa('0x12')];this[_0x7baa('0x13')]=_0x365b13[_0x7baa('0x13')];this[_0x7baa('0x14')]=_0x365b13[_0x7baa('0x13')];this[_0x7baa('0x15')]=utils[_0x7baa('0x16')](_0x365b13[_0x7baa('0x13')],_0x365b13[_0x7baa('0x12')]);this[_0x7baa('0x17')]=0x0;this['talktime']=0x0;this['callback']=_0x365b13[_0x7baa('0x18')];this[_0x7baa('0x19')]=_0x365b13[_0x7baa('0x19')];this[_0x7baa('0x1a')]=_0x365b13[_0x7baa('0x1a')];this[_0x7baa('0x1b')]=_0x365b13[_0x7baa('0x1b')];this[_0x7baa('0x1c')]=_0x365b13['ContactId'];this[_0x7baa('0x1d')]=_0x365b13[_0x7baa('0x1d')];this[_0x7baa('0x1e')]=_0x365b13[_0x7baa('0x1e')];this['VoiceQueueId']=_0x365b13[_0x7baa('0x1f')];this[_0x7baa('0x20')]=_0x365b13[_0x7baa('0x20')];this['originatecalleridnum']=_0x365b13[_0x7baa('0x21')]||'';this['originatecalleridname']=_0x365b13[_0x7baa('0x22')]||'';this[_0x7baa('0x23')]=_0x365b13[_0x7baa('0x23')];this[_0x7baa('0x24')]=_0x365b13['statedesc'];}module[_0x7baa('0x25')]=History;
\ No newline at end of file
+var _0x97aa=['state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','queue','calleridname','calleridnum','number','starttime','responsetime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname'];(function(_0x1b7a43,_0x375ceb){var _0x501887=function(_0x25de4f){while(--_0x25de4f){_0x1b7a43['push'](_0x1b7a43['shift']());}};_0x501887(++_0x375ceb);}(_0x97aa,0x9b));var _0xa97a=function(_0x23592b,_0x5082e5){_0x23592b=_0x23592b-0x0;var _0x100e95=_0x97aa[_0x23592b];return _0x100e95;};'use strict';var utils=require(_0xa97a('0x0'));function History(_0x5313cf){this[_0xa97a('0x1')]=_0x5313cf[_0xa97a('0x1')];this[_0xa97a('0x2')]=_0x5313cf[_0xa97a('0x2')]||undefined;this[_0xa97a('0x3')]=_0x5313cf[_0xa97a('0x3')];this[_0xa97a('0x4')]=_0x5313cf[_0xa97a('0x3')]==='outbound'?'queue':_0x5313cf[_0xa97a('0x3')];this[_0xa97a('0x5')]=_0x5313cf[_0xa97a('0x5')];this[_0xa97a('0x6')]=_0x5313cf['countcongestionretry'];this[_0xa97a('0x7')]=_0x5313cf[_0xa97a('0x7')];this[_0xa97a('0x8')]=_0x5313cf[_0xa97a('0x5')]+_0x5313cf[_0xa97a('0x6')]+_0x5313cf['countnoanswerretry']+_0x5313cf[_0xa97a('0x9')]+_0x5313cf['countdropretry']+_0x5313cf[_0xa97a('0xa')]+_0x5313cf[_0xa97a('0xb')]+_0x5313cf[_0xa97a('0xc')];this[_0xa97a('0x9')]=_0x5313cf[_0xa97a('0x9')];this[_0xa97a('0xd')]=_0x5313cf[_0xa97a('0xd')];this[_0xa97a('0xa')]=_0x5313cf['countabandonedretry'];this[_0xa97a('0xb')]=_0x5313cf[_0xa97a('0xb')];this[_0xa97a('0xc')]=_0x5313cf[_0xa97a('0xc')];this['queue']=_0x5313cf[_0xa97a('0xe')];this[_0xa97a('0xf')]=_0x5313cf['name'];this[_0xa97a('0x10')]=_0x5313cf[_0xa97a('0x11')];this[_0xa97a('0x12')]=_0x5313cf[_0xa97a('0x12')];this[_0xa97a('0x13')]=_0x5313cf[_0xa97a('0x13')];this['endtime']=_0x5313cf[_0xa97a('0x13')];this[_0xa97a('0x14')]=utils[_0xa97a('0x15')](_0x5313cf[_0xa97a('0x13')],_0x5313cf[_0xa97a('0x12')]);this[_0xa97a('0x16')]=0x0;this[_0xa97a('0x17')]=0x0;this[_0xa97a('0x18')]=_0x5313cf[_0xa97a('0x18')];this[_0xa97a('0x19')]=_0x5313cf['callbackuniqueid'];this[_0xa97a('0x1a')]=_0x5313cf[_0xa97a('0x1a')];this[_0xa97a('0x1b')]=_0x5313cf['recallme'];this[_0xa97a('0x1c')]=_0x5313cf[_0xa97a('0x1c')];this[_0xa97a('0x1d')]=_0x5313cf[_0xa97a('0x1d')];this['UserId']=_0x5313cf[_0xa97a('0x1e')];this[_0xa97a('0x1f')]=_0x5313cf['VoiceQueueId'];this[_0xa97a('0x20')]=_0x5313cf[_0xa97a('0x20')];this[_0xa97a('0x21')]=_0x5313cf['originatecalleridnum']||'';this[_0xa97a('0x22')]=_0x5313cf['originatecalleridname']||'';this[_0xa97a('0x23')]=_0x5313cf[_0xa97a('0x23')];this[_0xa97a('0x24')]=_0x5313cf[_0xa97a('0x24')];}module[_0xa97a('0x25')]=History;
\ No newline at end of file