Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / services / ami / dialer / models / history.js
index 9fda8bd..b7dcd52 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa13c=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','type','campaigntype','outbound','countbusyretry','countnoanswerretry','countcongestionretry','countdropretry','countagentrejectretry','countnosuchnumberretry','countabandonedretry','countmachineretry','queue','calleridname','name','calleridnum','number','starttime','responsetime','endtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','recallme','ContactId','ListId'];(function(_0x491a7f,_0x28bb80){var _0x3d8f44=function(_0xdaa716){while(--_0xdaa716){_0x491a7f['push'](_0x491a7f['shift']());}};_0x3d8f44(++_0x28bb80);}(_0xa13c,0x9c));var _0xca13=function(_0x317293,_0x400238){_0x317293=_0x317293-0x0;var _0x91a7ff=_0xa13c[_0x317293];return _0x91a7ff;};'use strict';var utils=require(_0xca13('0x0'));function History(_0x448ebd){this[_0xca13('0x1')]=_0x448ebd[_0xca13('0x1')];this['scheduledat']=_0x448ebd['scheduledat']||undefined;this['type']=_0x448ebd[_0xca13('0x2')];this[_0xca13('0x3')]=_0x448ebd['type']===_0xca13('0x4')?'queue':_0x448ebd[_0xca13('0x2')];this[_0xca13('0x5')]=_0x448ebd['countbusyretry'];this['countcongestionretry']=_0x448ebd['countcongestionretry'];this['countnoanswerretry']=_0x448ebd[_0xca13('0x6')];this['countglobal']=_0x448ebd['countbusyretry']+_0x448ebd[_0xca13('0x7')]+_0x448ebd[_0xca13('0x6')]+_0x448ebd['countnosuchnumberretry']+_0x448ebd[_0xca13('0x8')]+_0x448ebd['countabandonedretry']+_0x448ebd['countmachineretry']+_0x448ebd[_0xca13('0x9')];this[_0xca13('0xa')]=_0x448ebd[_0xca13('0xa')];this[_0xca13('0x8')]=_0x448ebd['countdropretry'];this[_0xca13('0xb')]=_0x448ebd[_0xca13('0xb')];this[_0xca13('0xc')]=_0x448ebd[_0xca13('0xc')];this['countagentrejectretry']=_0x448ebd['countagentrejectretry'];this[_0xca13('0xd')]=_0x448ebd[_0xca13('0xd')];this[_0xca13('0xe')]=_0x448ebd[_0xca13('0xf')];this[_0xca13('0x10')]=_0x448ebd[_0xca13('0x11')];this[_0xca13('0x12')]=_0x448ebd[_0xca13('0x12')];this['responsetime']=_0x448ebd[_0xca13('0x13')];this[_0xca13('0x14')]=_0x448ebd[_0xca13('0x13')];this['ringtime']=utils[_0xca13('0x15')](_0x448ebd[_0xca13('0x13')],_0x448ebd[_0xca13('0x12')]);this[_0xca13('0x16')]=0x0;this[_0xca13('0x17')]=0x0;this[_0xca13('0x18')]=_0x448ebd[_0xca13('0x18')];this[_0xca13('0x19')]=_0x448ebd[_0xca13('0x19')];this['callbackat']=_0x448ebd['callbackat'];this['recallme']=_0x448ebd[_0xca13('0x1a')];this[_0xca13('0x1b')]=_0x448ebd[_0xca13('0x1b')];this[_0xca13('0x1c')]=_0x448ebd[_0xca13('0x1c')];this['UserId']=_0x448ebd[_0xca13('0x1d')];this[_0xca13('0x1e')]=_0x448ebd[_0xca13('0x1e')];this[_0xca13('0x1f')]=_0x448ebd[_0xca13('0x1f')];this[_0xca13('0x20')]=_0x448ebd[_0xca13('0x20')]||'';this[_0xca13('0x21')]=_0x448ebd[_0xca13('0x21')]||'';this[_0xca13('0x22')]=_0x448ebd['state'];this[_0xca13('0x23')]=_0x448ebd[_0xca13('0x23')];}module[_0xca13('0x24')]=History;
\ No newline at end of file
+var _0x3ab1=['endtime','ringtime','getSeconds','callback','callbackuniqueid','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','scheduledat','type','campaigntype','outbound','queue','countcongestionretry','countnoanswerretry','countglobal','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','countdropretry','calleridname','name','calleridnum','starttime','responsetime'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x3ab1,0x191));var _0x13ab=function(_0x1afa26,_0x4f0cea){_0x1afa26=_0x1afa26-0x0;var _0x50215f=_0x3ab1[_0x1afa26];return _0x50215f;};'use strict';var utils=require(_0x13ab('0x0'));function History(_0xca5f9d){this['uniqueid']=_0xca5f9d['uniqueid'];this[_0x13ab('0x1')]=_0xca5f9d[_0x13ab('0x1')]||undefined;this[_0x13ab('0x2')]=_0xca5f9d[_0x13ab('0x2')];this[_0x13ab('0x3')]=_0xca5f9d[_0x13ab('0x2')]===_0x13ab('0x4')?_0x13ab('0x5'):_0xca5f9d[_0x13ab('0x2')];this['countbusyretry']=_0xca5f9d['countbusyretry'];this['countcongestionretry']=_0xca5f9d[_0x13ab('0x6')];this[_0x13ab('0x7')]=_0xca5f9d[_0x13ab('0x7')];this[_0x13ab('0x8')]=_0xca5f9d['countbusyretry']+_0xca5f9d[_0x13ab('0x6')]+_0xca5f9d[_0x13ab('0x7')]+_0xca5f9d['countnosuchnumberretry']+_0xca5f9d['countdropretry']+_0xca5f9d[_0x13ab('0x9')]+_0xca5f9d[_0x13ab('0xa')]+_0xca5f9d[_0x13ab('0xb')];this[_0x13ab('0xc')]=_0xca5f9d[_0x13ab('0xc')];this[_0x13ab('0xd')]=_0xca5f9d[_0x13ab('0xd')];this[_0x13ab('0x9')]=_0xca5f9d[_0x13ab('0x9')];this['countmachineretry']=_0xca5f9d[_0x13ab('0xa')];this[_0x13ab('0xb')]=_0xca5f9d['countagentrejectretry'];this[_0x13ab('0x5')]=_0xca5f9d[_0x13ab('0x5')];this[_0x13ab('0xe')]=_0xca5f9d[_0x13ab('0xf')];this[_0x13ab('0x10')]=_0xca5f9d['number'];this[_0x13ab('0x11')]=_0xca5f9d[_0x13ab('0x11')];this[_0x13ab('0x12')]=_0xca5f9d[_0x13ab('0x12')];this[_0x13ab('0x13')]=_0xca5f9d[_0x13ab('0x12')];this[_0x13ab('0x14')]=utils[_0x13ab('0x15')](_0xca5f9d[_0x13ab('0x12')],_0xca5f9d['starttime']);this['holdtime']=0x0;this['talktime']=0x0;this[_0x13ab('0x16')]=_0xca5f9d[_0x13ab('0x16')];this[_0x13ab('0x17')]=_0xca5f9d[_0x13ab('0x17')];this['callbackat']=_0xca5f9d['callbackat'];this[_0x13ab('0x18')]=_0xca5f9d[_0x13ab('0x18')];this[_0x13ab('0x19')]=_0xca5f9d[_0x13ab('0x19')];this[_0x13ab('0x1a')]=_0xca5f9d['ListId'];this[_0x13ab('0x1b')]=_0xca5f9d[_0x13ab('0x1b')];this[_0x13ab('0x1c')]=_0xca5f9d[_0x13ab('0x1c')];this[_0x13ab('0x1d')]=_0xca5f9d['CampaignId'];this[_0x13ab('0x1e')]=_0xca5f9d[_0x13ab('0x1e')]||'';this['originatecalleridname']=_0xca5f9d[_0x13ab('0x1f')]||'';this[_0x13ab('0x20')]=_0xca5f9d[_0x13ab('0x20')];this['statedesc']=_0xca5f9d[_0x13ab('0x21')];}module[_0x13ab('0x22')]=History;
\ No newline at end of file