Built motion from commit e1760111.|2.6.18
[motion2.git] / server / services / ami / dialer / models / history.js
index 7e0da73..85d5f3d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7b4a=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','../utils','uniqueid','scheduledat','type','outbound','queue','countbusyretry','countglobal','countcongestionretry','countnoanswerretry','countdropretry','countagentrejectretry','countnosuchnumberretry','countabandonedretry','countmachineretry','calleridname','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x4e70cc,_0x34223b){var _0x36991f=function(_0x4b7020){while(--_0x4b7020){_0x4e70cc['push'](_0x4e70cc['shift']());}};_0x36991f(++_0x34223b);}(_0x7b4a,0x111));var _0xa7b4=function(_0x4333be,_0x5276a7){_0x4333be=_0x4333be-0x0;var _0x2489a0=_0x7b4a[_0x4333be];return _0x2489a0;};'use strict';var utils=require(_0xa7b4('0x0'));function History(_0x341fcf){this[_0xa7b4('0x1')]=_0x341fcf['uniqueid'];this[_0xa7b4('0x2')]=_0x341fcf[_0xa7b4('0x2')]||undefined;this[_0xa7b4('0x3')]=_0x341fcf[_0xa7b4('0x3')];this['campaigntype']=_0x341fcf[_0xa7b4('0x3')]===_0xa7b4('0x4')?_0xa7b4('0x5'):_0x341fcf[_0xa7b4('0x3')];this['countbusyretry']=_0x341fcf[_0xa7b4('0x6')];this['countcongestionretry']=_0x341fcf['countcongestionretry'];this['countnoanswerretry']=_0x341fcf['countnoanswerretry'];this[_0xa7b4('0x7')]=_0x341fcf[_0xa7b4('0x6')]+_0x341fcf[_0xa7b4('0x8')]+_0x341fcf[_0xa7b4('0x9')]+_0x341fcf['countnosuchnumberretry']+_0x341fcf[_0xa7b4('0xa')]+_0x341fcf['countabandonedretry']+_0x341fcf['countmachineretry']+_0x341fcf[_0xa7b4('0xb')];this[_0xa7b4('0xc')]=_0x341fcf[_0xa7b4('0xc')];this['countdropretry']=_0x341fcf[_0xa7b4('0xa')];this['countabandonedretry']=_0x341fcf[_0xa7b4('0xd')];this['countmachineretry']=_0x341fcf[_0xa7b4('0xe')];this[_0xa7b4('0xb')]=_0x341fcf[_0xa7b4('0xb')];this[_0xa7b4('0x5')]=_0x341fcf[_0xa7b4('0x5')];this[_0xa7b4('0xf')]=_0x341fcf[_0xa7b4('0x10')];this[_0xa7b4('0x11')]=_0x341fcf[_0xa7b4('0x12')];this['starttime']=_0x341fcf[_0xa7b4('0x13')];this[_0xa7b4('0x14')]=_0x341fcf[_0xa7b4('0x14')];this[_0xa7b4('0x15')]=_0x341fcf['responsetime'];this[_0xa7b4('0x16')]=utils[_0xa7b4('0x17')](_0x341fcf[_0xa7b4('0x14')],_0x341fcf[_0xa7b4('0x13')]);this[_0xa7b4('0x18')]=0x0;this['talktime']=0x0;this[_0xa7b4('0x19')]=_0x341fcf['callback'];this[_0xa7b4('0x1a')]=_0x341fcf[_0xa7b4('0x1a')];this['callbackat']=_0x341fcf[_0xa7b4('0x1b')];this[_0xa7b4('0x1c')]=_0x341fcf['recallme'];this[_0xa7b4('0x1d')]=_0x341fcf['ContactId'];this[_0xa7b4('0x1e')]=_0x341fcf['ListId'];this[_0xa7b4('0x1f')]=_0x341fcf['UserId'];this['VoiceQueueId']=_0x341fcf[_0xa7b4('0x20')];this[_0xa7b4('0x21')]=_0x341fcf['CampaignId'];this[_0xa7b4('0x22')]=_0x341fcf['originatecalleridnum']||'';this[_0xa7b4('0x23')]=_0x341fcf[_0xa7b4('0x23')]||'';this[_0xa7b4('0x24')]=_0x341fcf[_0xa7b4('0x24')];this[_0xa7b4('0x25')]=_0x341fcf[_0xa7b4('0x25')];}module['exports']=History;
\ No newline at end of file
+var _0x4fd1=['countagentrejectretry','countnosuchnumberretry','queue','calleridname','name','calleridnum','number','starttime','responsetime','ringtime','holdtime','callback','callbackuniqueid','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','../utils','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry'];(function(_0x4347cd,_0x562582){var _0x40c6d7=function(_0xe4c3e7){while(--_0xe4c3e7){_0x4347cd['push'](_0x4347cd['shift']());}};_0x40c6d7(++_0x562582);}(_0x4fd1,0x17f));var _0x14fd=function(_0x566753,_0x10654f){_0x566753=_0x566753-0x0;var _0x4a5ee1=_0x4fd1[_0x566753];return _0x4a5ee1;};'use strict';var utils=require(_0x14fd('0x0'));function History(_0x219a93){this[_0x14fd('0x1')]=_0x219a93[_0x14fd('0x1')];this['scheduledat']=_0x219a93[_0x14fd('0x2')]||undefined;this[_0x14fd('0x3')]=_0x219a93[_0x14fd('0x3')];this[_0x14fd('0x4')]=_0x219a93[_0x14fd('0x3')]===_0x14fd('0x5')?'queue':_0x219a93[_0x14fd('0x3')];this[_0x14fd('0x6')]=_0x219a93[_0x14fd('0x6')];this[_0x14fd('0x7')]=_0x219a93[_0x14fd('0x7')];this[_0x14fd('0x8')]=_0x219a93['countnoanswerretry'];this[_0x14fd('0x9')]=_0x219a93[_0x14fd('0x6')]+_0x219a93[_0x14fd('0x7')]+_0x219a93[_0x14fd('0x8')]+_0x219a93['countnosuchnumberretry']+_0x219a93[_0x14fd('0xa')]+_0x219a93[_0x14fd('0xb')]+_0x219a93[_0x14fd('0xc')]+_0x219a93[_0x14fd('0xd')];this[_0x14fd('0xe')]=_0x219a93[_0x14fd('0xe')];this['countdropretry']=_0x219a93[_0x14fd('0xa')];this['countabandonedretry']=_0x219a93['countabandonedretry'];this[_0x14fd('0xc')]=_0x219a93[_0x14fd('0xc')];this['countagentrejectretry']=_0x219a93[_0x14fd('0xd')];this[_0x14fd('0xf')]=_0x219a93[_0x14fd('0xf')];this[_0x14fd('0x10')]=_0x219a93[_0x14fd('0x11')];this[_0x14fd('0x12')]=_0x219a93[_0x14fd('0x13')];this[_0x14fd('0x14')]=_0x219a93['starttime'];this[_0x14fd('0x15')]=_0x219a93[_0x14fd('0x15')];this['endtime']=_0x219a93[_0x14fd('0x15')];this[_0x14fd('0x16')]=utils['getSeconds'](_0x219a93[_0x14fd('0x15')],_0x219a93['starttime']);this[_0x14fd('0x17')]=0x0;this['talktime']=0x0;this[_0x14fd('0x18')]=_0x219a93[_0x14fd('0x18')];this[_0x14fd('0x19')]=_0x219a93[_0x14fd('0x19')];this['callbackat']=_0x219a93['callbackat'];this[_0x14fd('0x1a')]=_0x219a93[_0x14fd('0x1a')];this['ContactId']=_0x219a93[_0x14fd('0x1b')];this[_0x14fd('0x1c')]=_0x219a93[_0x14fd('0x1c')];this['UserId']=_0x219a93[_0x14fd('0x1d')];this['VoiceQueueId']=_0x219a93[_0x14fd('0x1e')];this[_0x14fd('0x1f')]=_0x219a93[_0x14fd('0x1f')];this[_0x14fd('0x20')]=_0x219a93[_0x14fd('0x20')]||'';this['originatecalleridname']=_0x219a93[_0x14fd('0x21')]||'';this[_0x14fd('0x22')]=_0x219a93[_0x14fd('0x22')];this['statedesc']=_0x219a93[_0x14fd('0x23')];}module['exports']=History;
\ No newline at end of file