Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / dialer / models / history.js
index e2fab5d..b19404a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xda1c=['originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','calleridname','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum'];(function(_0x2f4c1c,_0x5a3dd4){var _0x25e0f2=function(_0x46ea31){while(--_0x46ea31){_0x2f4c1c['push'](_0x2f4c1c['shift']());}};_0x25e0f2(++_0x5a3dd4);}(_0xda1c,0x16c));var _0xcda1=function(_0x58c9d0,_0x570f54){_0x58c9d0=_0x58c9d0-0x0;var _0x6dd7c2=_0xda1c[_0x58c9d0];return _0x6dd7c2;};'use strict';var utils=require(_0xcda1('0x0'));function History(_0x2c2948){this[_0xcda1('0x1')]=_0x2c2948[_0xcda1('0x1')];this[_0xcda1('0x2')]=_0x2c2948['scheduledat']||undefined;this[_0xcda1('0x3')]=_0x2c2948[_0xcda1('0x3')];this[_0xcda1('0x4')]=_0x2c2948['type']===_0xcda1('0x5')?_0xcda1('0x6'):_0x2c2948[_0xcda1('0x3')];this[_0xcda1('0x7')]=_0x2c2948[_0xcda1('0x7')];this[_0xcda1('0x8')]=_0x2c2948[_0xcda1('0x8')];this[_0xcda1('0x9')]=_0x2c2948['countnoanswerretry'];this[_0xcda1('0xa')]=_0x2c2948['countbusyretry']+_0x2c2948[_0xcda1('0x8')]+_0x2c2948[_0xcda1('0x9')]+_0x2c2948[_0xcda1('0xb')]+_0x2c2948['countdropretry']+_0x2c2948[_0xcda1('0xc')]+_0x2c2948[_0xcda1('0xd')]+_0x2c2948[_0xcda1('0xe')];this[_0xcda1('0xb')]=_0x2c2948['countnosuchnumberretry'];this[_0xcda1('0xf')]=_0x2c2948[_0xcda1('0xf')];this[_0xcda1('0xc')]=_0x2c2948[_0xcda1('0xc')];this[_0xcda1('0xd')]=_0x2c2948[_0xcda1('0xd')];this['countagentrejectretry']=_0x2c2948[_0xcda1('0xe')];this[_0xcda1('0x6')]=_0x2c2948[_0xcda1('0x6')];this[_0xcda1('0x10')]=_0x2c2948[_0xcda1('0x11')];this[_0xcda1('0x12')]=_0x2c2948[_0xcda1('0x13')];this[_0xcda1('0x14')]=_0x2c2948[_0xcda1('0x14')];this[_0xcda1('0x15')]=_0x2c2948[_0xcda1('0x15')];this[_0xcda1('0x16')]=_0x2c2948['responsetime'];this[_0xcda1('0x17')]=utils[_0xcda1('0x18')](_0x2c2948[_0xcda1('0x15')],_0x2c2948[_0xcda1('0x14')]);this[_0xcda1('0x19')]=0x0;this[_0xcda1('0x1a')]=0x0;this[_0xcda1('0x1b')]=_0x2c2948[_0xcda1('0x1b')];this[_0xcda1('0x1c')]=_0x2c2948['callbackuniqueid'];this['callbackat']=_0x2c2948[_0xcda1('0x1d')];this['recallme']=_0x2c2948['recallme'];this[_0xcda1('0x1e')]=_0x2c2948[_0xcda1('0x1e')];this[_0xcda1('0x1f')]=_0x2c2948['ListId'];this[_0xcda1('0x20')]=_0x2c2948[_0xcda1('0x20')];this[_0xcda1('0x21')]=_0x2c2948[_0xcda1('0x21')];this['CampaignId']=_0x2c2948[_0xcda1('0x22')];this[_0xcda1('0x23')]=_0x2c2948[_0xcda1('0x23')]||'';this[_0xcda1('0x24')]=_0x2c2948[_0xcda1('0x24')]||'';this[_0xcda1('0x25')]=_0x2c2948['state'];this[_0xcda1('0x26')]=_0x2c2948[_0xcda1('0x26')];}module[_0xcda1('0x27')]=History;
\ No newline at end of file
+var _0xb9fd=['queue','countcongestionretry','countnoanswerretry','countglobal','countbusyretry','countnosuchnumberretry','countmachineretry','countagentrejectretry','countdropretry','countabandonedretry','calleridname','name','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','outbound'];(function(_0x49e80d,_0x523385){var _0x391939=function(_0x589a94){while(--_0x589a94){_0x49e80d['push'](_0x49e80d['shift']());}};_0x391939(++_0x523385);}(_0xb9fd,0x104));var _0xdb9f=function(_0x58a4ac,_0x43fd42){_0x58a4ac=_0x58a4ac-0x0;var _0x545810=_0xb9fd[_0x58a4ac];return _0x545810;};'use strict';var utils=require(_0xdb9f('0x0'));function History(_0x29974b){this['uniqueid']=_0x29974b[_0xdb9f('0x1')];this[_0xdb9f('0x2')]=_0x29974b[_0xdb9f('0x2')]||undefined;this[_0xdb9f('0x3')]=_0x29974b[_0xdb9f('0x3')];this[_0xdb9f('0x4')]=_0x29974b[_0xdb9f('0x3')]===_0xdb9f('0x5')?_0xdb9f('0x6'):_0x29974b[_0xdb9f('0x3')];this['countbusyretry']=_0x29974b['countbusyretry'];this[_0xdb9f('0x7')]=_0x29974b[_0xdb9f('0x7')];this[_0xdb9f('0x8')]=_0x29974b['countnoanswerretry'];this[_0xdb9f('0x9')]=_0x29974b[_0xdb9f('0xa')]+_0x29974b[_0xdb9f('0x7')]+_0x29974b[_0xdb9f('0x8')]+_0x29974b[_0xdb9f('0xb')]+_0x29974b['countdropretry']+_0x29974b['countabandonedretry']+_0x29974b[_0xdb9f('0xc')]+_0x29974b[_0xdb9f('0xd')];this[_0xdb9f('0xb')]=_0x29974b[_0xdb9f('0xb')];this[_0xdb9f('0xe')]=_0x29974b['countdropretry'];this[_0xdb9f('0xf')]=_0x29974b['countabandonedretry'];this[_0xdb9f('0xc')]=_0x29974b[_0xdb9f('0xc')];this['countagentrejectretry']=_0x29974b['countagentrejectretry'];this[_0xdb9f('0x6')]=_0x29974b[_0xdb9f('0x6')];this[_0xdb9f('0x10')]=_0x29974b[_0xdb9f('0x11')];this[_0xdb9f('0x12')]=_0x29974b['number'];this[_0xdb9f('0x13')]=_0x29974b['starttime'];this['responsetime']=_0x29974b[_0xdb9f('0x14')];this[_0xdb9f('0x15')]=_0x29974b[_0xdb9f('0x14')];this[_0xdb9f('0x16')]=utils['getSeconds'](_0x29974b[_0xdb9f('0x14')],_0x29974b[_0xdb9f('0x13')]);this[_0xdb9f('0x17')]=0x0;this[_0xdb9f('0x18')]=0x0;this[_0xdb9f('0x19')]=_0x29974b[_0xdb9f('0x19')];this['callbackuniqueid']=_0x29974b[_0xdb9f('0x1a')];this['callbackat']=_0x29974b[_0xdb9f('0x1b')];this[_0xdb9f('0x1c')]=_0x29974b[_0xdb9f('0x1c')];this[_0xdb9f('0x1d')]=_0x29974b[_0xdb9f('0x1d')];this[_0xdb9f('0x1e')]=_0x29974b['ListId'];this['UserId']=_0x29974b['UserId'];this[_0xdb9f('0x1f')]=_0x29974b['VoiceQueueId'];this['CampaignId']=_0x29974b[_0xdb9f('0x20')];this[_0xdb9f('0x21')]=_0x29974b[_0xdb9f('0x21')]||'';this[_0xdb9f('0x22')]=_0x29974b[_0xdb9f('0x22')]||'';this[_0xdb9f('0x23')]=_0x29974b[_0xdb9f('0x23')];this[_0xdb9f('0x24')]=_0x29974b[_0xdb9f('0x24')];}module[_0xdb9f('0x25')]=History;
\ No newline at end of file