Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / services / ami / dialer / models / history.js
index 25afb34..fd35255 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd5fc=['scheduledat','type','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countmachineretry','countabandonedretry','countagentrejectretry','queue','calleridname','name','calleridnum','number','starttime','responsetime','ringtime','getSeconds','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid'];(function(_0x5f5ac5,_0x526505){var _0x3697f2=function(_0x49cec5){while(--_0x49cec5){_0x5f5ac5['push'](_0x5f5ac5['shift']());}};_0x3697f2(++_0x526505);}(_0xd5fc,0xf4));var _0xcd5f=function(_0x565919,_0x42a861){_0x565919=_0x565919-0x0;var _0x23e3f9=_0xd5fc[_0x565919];return _0x23e3f9;};'use strict';var utils=require('../utils');function History(_0x48c24a){this[_0xcd5f('0x0')]=_0x48c24a[_0xcd5f('0x0')];this[_0xcd5f('0x1')]=_0x48c24a['scheduledat']||undefined;this[_0xcd5f('0x2')]=_0x48c24a[_0xcd5f('0x2')];this['campaigntype']=_0x48c24a[_0xcd5f('0x2')]===_0xcd5f('0x3')?'queue':_0x48c24a[_0xcd5f('0x2')];this[_0xcd5f('0x4')]=_0x48c24a['countbusyretry'];this['countcongestionretry']=_0x48c24a[_0xcd5f('0x5')];this[_0xcd5f('0x6')]=_0x48c24a[_0xcd5f('0x6')];this[_0xcd5f('0x7')]=_0x48c24a[_0xcd5f('0x4')]+_0x48c24a[_0xcd5f('0x5')]+_0x48c24a[_0xcd5f('0x6')]+_0x48c24a['countnosuchnumberretry']+_0x48c24a[_0xcd5f('0x8')]+_0x48c24a['countabandonedretry']+_0x48c24a[_0xcd5f('0x9')]+_0x48c24a['countagentrejectretry'];this['countnosuchnumberretry']=_0x48c24a['countnosuchnumberretry'];this[_0xcd5f('0x8')]=_0x48c24a['countdropretry'];this[_0xcd5f('0xa')]=_0x48c24a[_0xcd5f('0xa')];this[_0xcd5f('0x9')]=_0x48c24a['countmachineretry'];this['countagentrejectretry']=_0x48c24a[_0xcd5f('0xb')];this[_0xcd5f('0xc')]=_0x48c24a[_0xcd5f('0xc')];this[_0xcd5f('0xd')]=_0x48c24a[_0xcd5f('0xe')];this[_0xcd5f('0xf')]=_0x48c24a[_0xcd5f('0x10')];this[_0xcd5f('0x11')]=_0x48c24a['starttime'];this[_0xcd5f('0x12')]=_0x48c24a['responsetime'];this['endtime']=_0x48c24a[_0xcd5f('0x12')];this[_0xcd5f('0x13')]=utils[_0xcd5f('0x14')](_0x48c24a['responsetime'],_0x48c24a[_0xcd5f('0x11')]);this[_0xcd5f('0x15')]=0x0;this['talktime']=0x0;this[_0xcd5f('0x16')]=_0x48c24a[_0xcd5f('0x16')];this['callbackuniqueid']=_0x48c24a[_0xcd5f('0x17')];this[_0xcd5f('0x18')]=_0x48c24a[_0xcd5f('0x18')];this['recallme']=_0x48c24a[_0xcd5f('0x19')];this[_0xcd5f('0x1a')]=_0x48c24a[_0xcd5f('0x1a')];this[_0xcd5f('0x1b')]=_0x48c24a['ListId'];this['UserId']=_0x48c24a['UserId'];this[_0xcd5f('0x1c')]=_0x48c24a['VoiceQueueId'];this['CampaignId']=_0x48c24a[_0xcd5f('0x1d')];this['originatecalleridnum']=_0x48c24a[_0xcd5f('0x1e')]||'';this[_0xcd5f('0x1f')]=_0x48c24a[_0xcd5f('0x1f')]||'';this[_0xcd5f('0x20')]=_0x48c24a[_0xcd5f('0x20')];this['statedesc']=_0x48c24a[_0xcd5f('0x21')];}module[_0xcd5f('0x22')]=History;
\ No newline at end of file
+var _0xc8df=['ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','calleridname','name','calleridnum','number','responsetime','endtime','getSeconds','starttime','holdtime','talktime','callback','callbackat','recallme','ContactId'];(function(_0x54f348,_0x522a67){var _0x1963bd=function(_0x4c0878){while(--_0x4c0878){_0x54f348['push'](_0x54f348['shift']());}};_0x1963bd(++_0x522a67);}(_0xc8df,0x1cf));var _0xfc8d=function(_0x1f9f37,_0x18776e){_0x1f9f37=_0x1f9f37-0x0;var _0x21c080=_0xc8df[_0x1f9f37];return _0x21c080;};'use strict';var utils=require('../utils');function History(_0x5dddca){this[_0xfc8d('0x0')]=_0x5dddca[_0xfc8d('0x0')];this[_0xfc8d('0x1')]=_0x5dddca[_0xfc8d('0x1')]||undefined;this[_0xfc8d('0x2')]=_0x5dddca[_0xfc8d('0x2')];this[_0xfc8d('0x3')]=_0x5dddca[_0xfc8d('0x2')]===_0xfc8d('0x4')?_0xfc8d('0x5'):_0x5dddca['type'];this['countbusyretry']=_0x5dddca[_0xfc8d('0x6')];this[_0xfc8d('0x7')]=_0x5dddca['countcongestionretry'];this[_0xfc8d('0x8')]=_0x5dddca['countnoanswerretry'];this['countglobal']=_0x5dddca[_0xfc8d('0x6')]+_0x5dddca[_0xfc8d('0x7')]+_0x5dddca[_0xfc8d('0x8')]+_0x5dddca[_0xfc8d('0x9')]+_0x5dddca[_0xfc8d('0xa')]+_0x5dddca['countabandonedretry']+_0x5dddca['countmachineretry']+_0x5dddca[_0xfc8d('0xb')];this[_0xfc8d('0x9')]=_0x5dddca['countnosuchnumberretry'];this['countdropretry']=_0x5dddca[_0xfc8d('0xa')];this[_0xfc8d('0xc')]=_0x5dddca[_0xfc8d('0xc')];this['countmachineretry']=_0x5dddca['countmachineretry'];this['countagentrejectretry']=_0x5dddca['countagentrejectretry'];this[_0xfc8d('0x5')]=_0x5dddca['queue'];this[_0xfc8d('0xd')]=_0x5dddca[_0xfc8d('0xe')];this[_0xfc8d('0xf')]=_0x5dddca[_0xfc8d('0x10')];this['starttime']=_0x5dddca['starttime'];this[_0xfc8d('0x11')]=_0x5dddca['responsetime'];this[_0xfc8d('0x12')]=_0x5dddca['responsetime'];this['ringtime']=utils[_0xfc8d('0x13')](_0x5dddca[_0xfc8d('0x11')],_0x5dddca[_0xfc8d('0x14')]);this[_0xfc8d('0x15')]=0x0;this[_0xfc8d('0x16')]=0x0;this[_0xfc8d('0x17')]=_0x5dddca['callback'];this['callbackuniqueid']=_0x5dddca['callbackuniqueid'];this['callbackat']=_0x5dddca[_0xfc8d('0x18')];this['recallme']=_0x5dddca[_0xfc8d('0x19')];this[_0xfc8d('0x1a')]=_0x5dddca[_0xfc8d('0x1a')];this[_0xfc8d('0x1b')]=_0x5dddca[_0xfc8d('0x1b')];this['UserId']=_0x5dddca[_0xfc8d('0x1c')];this[_0xfc8d('0x1d')]=_0x5dddca['VoiceQueueId'];this[_0xfc8d('0x1e')]=_0x5dddca[_0xfc8d('0x1e')];this[_0xfc8d('0x1f')]=_0x5dddca['originatecalleridnum']||'';this[_0xfc8d('0x20')]=_0x5dddca[_0xfc8d('0x20')]||'';this[_0xfc8d('0x21')]=_0x5dddca[_0xfc8d('0x21')];this[_0xfc8d('0x22')]=_0x5dddca[_0xfc8d('0x22')];}module['exports']=History;
\ No newline at end of file