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