Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / services / ami / dialer / models / history.js
index 7b460e7..176e023 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x46f2=['countglobal','countbusyretry','countdropretry','countagentrejectretry','countnosuchnumberretry','countabandonedretry','countmachineretry','calleridname','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','scheduledat','campaigntype','type','queue','countcongestionretry','countnoanswerretry'];(function(_0x149d1e,_0x353a03){var _0x3125c6=function(_0x2349e3){while(--_0x2349e3){_0x149d1e['push'](_0x149d1e['shift']());}};_0x3125c6(++_0x353a03);}(_0x46f2,0x1b6));var _0x246f=function(_0x143b9a,_0x23a500){_0x143b9a=_0x143b9a-0x0;var _0x204b8d=_0x46f2[_0x143b9a];return _0x204b8d;};'use strict';var utils=require('../utils');function History(_0x2590f1){this['uniqueid']=_0x2590f1['uniqueid'];this['scheduledat']=_0x2590f1[_0x246f('0x0')]||undefined;this['type']=_0x2590f1['type'];this[_0x246f('0x1')]=_0x2590f1[_0x246f('0x2')]==='outbound'?_0x246f('0x3'):_0x2590f1['type'];this['countbusyretry']=_0x2590f1['countbusyretry'];this['countcongestionretry']=_0x2590f1[_0x246f('0x4')];this[_0x246f('0x5')]=_0x2590f1[_0x246f('0x5')];this[_0x246f('0x6')]=_0x2590f1[_0x246f('0x7')]+_0x2590f1[_0x246f('0x4')]+_0x2590f1[_0x246f('0x5')]+_0x2590f1['countnosuchnumberretry']+_0x2590f1[_0x246f('0x8')]+_0x2590f1['countabandonedretry']+_0x2590f1['countmachineretry']+_0x2590f1[_0x246f('0x9')];this[_0x246f('0xa')]=_0x2590f1['countnosuchnumberretry'];this[_0x246f('0x8')]=_0x2590f1[_0x246f('0x8')];this['countabandonedretry']=_0x2590f1[_0x246f('0xb')];this[_0x246f('0xc')]=_0x2590f1['countmachineretry'];this[_0x246f('0x9')]=_0x2590f1[_0x246f('0x9')];this[_0x246f('0x3')]=_0x2590f1[_0x246f('0x3')];this[_0x246f('0xd')]=_0x2590f1['name'];this[_0x246f('0xe')]=_0x2590f1[_0x246f('0xf')];this[_0x246f('0x10')]=_0x2590f1[_0x246f('0x10')];this[_0x246f('0x11')]=_0x2590f1['responsetime'];this[_0x246f('0x12')]=_0x2590f1[_0x246f('0x11')];this[_0x246f('0x13')]=utils[_0x246f('0x14')](_0x2590f1[_0x246f('0x11')],_0x2590f1['starttime']);this[_0x246f('0x15')]=0x0;this[_0x246f('0x16')]=0x0;this[_0x246f('0x17')]=_0x2590f1['callback'];this[_0x246f('0x18')]=_0x2590f1[_0x246f('0x18')];this[_0x246f('0x19')]=_0x2590f1[_0x246f('0x19')];this[_0x246f('0x1a')]=_0x2590f1['recallme'];this[_0x246f('0x1b')]=_0x2590f1[_0x246f('0x1b')];this[_0x246f('0x1c')]=_0x2590f1[_0x246f('0x1c')];this[_0x246f('0x1d')]=_0x2590f1[_0x246f('0x1d')];this[_0x246f('0x1e')]=_0x2590f1['VoiceQueueId'];this[_0x246f('0x1f')]=_0x2590f1[_0x246f('0x1f')];this[_0x246f('0x20')]=_0x2590f1[_0x246f('0x20')]||'';this[_0x246f('0x21')]=_0x2590f1[_0x246f('0x21')]||'';this[_0x246f('0x22')]=_0x2590f1[_0x246f('0x22')];this['statedesc']=_0x2590f1[_0x246f('0x23')];}module[_0x246f('0x24')]=History;
\ No newline at end of file
+var _0x8806=['countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','name','calleridnum','number','starttime','responsetime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal'];(function(_0x51c623,_0x568a00){var _0x4b98ad=function(_0x3db399){while(--_0x3db399){_0x51c623['push'](_0x51c623['shift']());}};_0x4b98ad(++_0x568a00);}(_0x8806,0x1f1));var _0x6880=function(_0x24f31b,_0x44b8f3){_0x24f31b=_0x24f31b-0x0;var _0x488401=_0x8806[_0x24f31b];return _0x488401;};'use strict';var utils=require(_0x6880('0x0'));function History(_0x2bf4bd){this[_0x6880('0x1')]=_0x2bf4bd[_0x6880('0x1')];this['scheduledat']=_0x2bf4bd[_0x6880('0x2')]||undefined;this[_0x6880('0x3')]=_0x2bf4bd[_0x6880('0x3')];this['campaigntype']=_0x2bf4bd[_0x6880('0x3')]===_0x6880('0x4')?_0x6880('0x5'):_0x2bf4bd[_0x6880('0x3')];this[_0x6880('0x6')]=_0x2bf4bd[_0x6880('0x6')];this[_0x6880('0x7')]=_0x2bf4bd[_0x6880('0x7')];this['countnoanswerretry']=_0x2bf4bd[_0x6880('0x8')];this[_0x6880('0x9')]=_0x2bf4bd[_0x6880('0x6')]+_0x2bf4bd[_0x6880('0x7')]+_0x2bf4bd[_0x6880('0x8')]+_0x2bf4bd[_0x6880('0xa')]+_0x2bf4bd[_0x6880('0xb')]+_0x2bf4bd[_0x6880('0xc')]+_0x2bf4bd[_0x6880('0xd')]+_0x2bf4bd[_0x6880('0xe')];this['countnosuchnumberretry']=_0x2bf4bd[_0x6880('0xa')];this[_0x6880('0xb')]=_0x2bf4bd[_0x6880('0xb')];this[_0x6880('0xc')]=_0x2bf4bd[_0x6880('0xc')];this['countmachineretry']=_0x2bf4bd[_0x6880('0xd')];this['countagentrejectretry']=_0x2bf4bd[_0x6880('0xe')];this[_0x6880('0x5')]=_0x2bf4bd['queue'];this[_0x6880('0xf')]=_0x2bf4bd[_0x6880('0x10')];this[_0x6880('0x11')]=_0x2bf4bd[_0x6880('0x12')];this['starttime']=_0x2bf4bd[_0x6880('0x13')];this[_0x6880('0x14')]=_0x2bf4bd['responsetime'];this['endtime']=_0x2bf4bd['responsetime'];this[_0x6880('0x15')]=utils[_0x6880('0x16')](_0x2bf4bd[_0x6880('0x14')],_0x2bf4bd['starttime']);this[_0x6880('0x17')]=0x0;this[_0x6880('0x18')]=0x0;this[_0x6880('0x19')]=_0x2bf4bd[_0x6880('0x19')];this[_0x6880('0x1a')]=_0x2bf4bd[_0x6880('0x1a')];this['callbackat']=_0x2bf4bd[_0x6880('0x1b')];this[_0x6880('0x1c')]=_0x2bf4bd['recallme'];this['ContactId']=_0x2bf4bd[_0x6880('0x1d')];this[_0x6880('0x1e')]=_0x2bf4bd[_0x6880('0x1e')];this[_0x6880('0x1f')]=_0x2bf4bd['UserId'];this[_0x6880('0x20')]=_0x2bf4bd[_0x6880('0x20')];this['CampaignId']=_0x2bf4bd[_0x6880('0x21')];this['originatecalleridnum']=_0x2bf4bd[_0x6880('0x22')]||'';this[_0x6880('0x23')]=_0x2bf4bd[_0x6880('0x23')]||'';this[_0x6880('0x24')]=_0x2bf4bd[_0x6880('0x24')];this['statedesc']=_0x2bf4bd[_0x6880('0x25')];}module[_0x6880('0x26')]=History;
\ No newline at end of file