Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / services / ami / dialer / models / history.js
index 6903913..f7de138 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x92ce=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','name','calleridnum','starttime','responsetime','endtime','ringtime','getSeconds','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x49846c,_0x28581c){var _0x4fffa9=function(_0x4476ce){while(--_0x4476ce){_0x49846c['push'](_0x49846c['shift']());}};_0x4fffa9(++_0x28581c);}(_0x92ce,0xa0));var _0xe92c=function(_0x1fd594,_0x596a93){_0x1fd594=_0x1fd594-0x0;var _0x4b6a8f=_0x92ce[_0x1fd594];return _0x4b6a8f;};'use strict';var utils=require(_0xe92c('0x0'));function History(_0x4432ed){this[_0xe92c('0x1')]=_0x4432ed[_0xe92c('0x1')];this[_0xe92c('0x2')]=_0x4432ed[_0xe92c('0x2')]||undefined;this[_0xe92c('0x3')]=_0x4432ed[_0xe92c('0x3')];this[_0xe92c('0x4')]=_0x4432ed[_0xe92c('0x3')]===_0xe92c('0x5')?_0xe92c('0x6'):_0x4432ed[_0xe92c('0x3')];this['countbusyretry']=_0x4432ed[_0xe92c('0x7')];this[_0xe92c('0x8')]=_0x4432ed[_0xe92c('0x8')];this[_0xe92c('0x9')]=_0x4432ed['countnoanswerretry'];this[_0xe92c('0xa')]=_0x4432ed[_0xe92c('0x7')]+_0x4432ed[_0xe92c('0x8')]+_0x4432ed[_0xe92c('0x9')]+_0x4432ed[_0xe92c('0xb')]+_0x4432ed['countdropretry']+_0x4432ed[_0xe92c('0xc')]+_0x4432ed[_0xe92c('0xd')]+_0x4432ed[_0xe92c('0xe')];this['countnosuchnumberretry']=_0x4432ed[_0xe92c('0xb')];this[_0xe92c('0xf')]=_0x4432ed[_0xe92c('0xf')];this[_0xe92c('0xc')]=_0x4432ed[_0xe92c('0xc')];this['countmachineretry']=_0x4432ed[_0xe92c('0xd')];this['countagentrejectretry']=_0x4432ed[_0xe92c('0xe')];this['queue']=_0x4432ed[_0xe92c('0x6')];this['calleridname']=_0x4432ed[_0xe92c('0x10')];this[_0xe92c('0x11')]=_0x4432ed['number'];this[_0xe92c('0x12')]=_0x4432ed[_0xe92c('0x12')];this[_0xe92c('0x13')]=_0x4432ed[_0xe92c('0x13')];this[_0xe92c('0x14')]=_0x4432ed[_0xe92c('0x13')];this[_0xe92c('0x15')]=utils[_0xe92c('0x16')](_0x4432ed[_0xe92c('0x13')],_0x4432ed['starttime']);this[_0xe92c('0x17')]=0x0;this['talktime']=0x0;this[_0xe92c('0x18')]=_0x4432ed[_0xe92c('0x18')];this[_0xe92c('0x19')]=_0x4432ed[_0xe92c('0x19')];this[_0xe92c('0x1a')]=_0x4432ed['callbackat'];this[_0xe92c('0x1b')]=_0x4432ed[_0xe92c('0x1b')];this[_0xe92c('0x1c')]=_0x4432ed[_0xe92c('0x1c')];this[_0xe92c('0x1d')]=_0x4432ed[_0xe92c('0x1d')];this[_0xe92c('0x1e')]=_0x4432ed[_0xe92c('0x1e')];this[_0xe92c('0x1f')]=_0x4432ed[_0xe92c('0x1f')];this['CampaignId']=_0x4432ed[_0xe92c('0x20')];this[_0xe92c('0x21')]=_0x4432ed[_0xe92c('0x21')]||'';this[_0xe92c('0x22')]=_0x4432ed['originatecalleridname']||'';this[_0xe92c('0x23')]=_0x4432ed[_0xe92c('0x23')];this['statedesc']=_0x4432ed[_0xe92c('0x24')];}module[_0xe92c('0x25')]=History;
\ No newline at end of file
+var _0x347b=['holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','state','statedesc','exports','../utils','scheduledat','type','campaigntype','countcongestionretry','countnoanswerretry','countbusyretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds'];(function(_0x4eb0cb,_0x3b00ad){var _0xf38fd3=function(_0x2be515){while(--_0x2be515){_0x4eb0cb['push'](_0x4eb0cb['shift']());}};_0xf38fd3(++_0x3b00ad);}(_0x347b,0x112));var _0xb347=function(_0x46e68b,_0x48e7aa){_0x46e68b=_0x46e68b-0x0;var _0x44cdae=_0x347b[_0x46e68b];return _0x44cdae;};'use strict';var utils=require(_0xb347('0x0'));function History(_0x2b0cb1){this['uniqueid']=_0x2b0cb1['uniqueid'];this['scheduledat']=_0x2b0cb1[_0xb347('0x1')]||undefined;this[_0xb347('0x2')]=_0x2b0cb1[_0xb347('0x2')];this[_0xb347('0x3')]=_0x2b0cb1[_0xb347('0x2')]==='outbound'?'queue':_0x2b0cb1[_0xb347('0x2')];this['countbusyretry']=_0x2b0cb1['countbusyretry'];this[_0xb347('0x4')]=_0x2b0cb1[_0xb347('0x4')];this['countnoanswerretry']=_0x2b0cb1[_0xb347('0x5')];this['countglobal']=_0x2b0cb1[_0xb347('0x6')]+_0x2b0cb1['countcongestionretry']+_0x2b0cb1['countnoanswerretry']+_0x2b0cb1[_0xb347('0x7')]+_0x2b0cb1[_0xb347('0x8')]+_0x2b0cb1[_0xb347('0x9')]+_0x2b0cb1[_0xb347('0xa')]+_0x2b0cb1[_0xb347('0xb')];this[_0xb347('0x7')]=_0x2b0cb1[_0xb347('0x7')];this[_0xb347('0x8')]=_0x2b0cb1['countdropretry'];this['countabandonedretry']=_0x2b0cb1['countabandonedretry'];this[_0xb347('0xa')]=_0x2b0cb1[_0xb347('0xa')];this['countagentrejectretry']=_0x2b0cb1[_0xb347('0xb')];this[_0xb347('0xc')]=_0x2b0cb1['queue'];this[_0xb347('0xd')]=_0x2b0cb1[_0xb347('0xe')];this[_0xb347('0xf')]=_0x2b0cb1[_0xb347('0x10')];this['starttime']=_0x2b0cb1[_0xb347('0x11')];this[_0xb347('0x12')]=_0x2b0cb1[_0xb347('0x12')];this[_0xb347('0x13')]=_0x2b0cb1[_0xb347('0x12')];this[_0xb347('0x14')]=utils[_0xb347('0x15')](_0x2b0cb1['responsetime'],_0x2b0cb1[_0xb347('0x11')]);this[_0xb347('0x16')]=0x0;this[_0xb347('0x17')]=0x0;this[_0xb347('0x18')]=_0x2b0cb1['callback'];this[_0xb347('0x19')]=_0x2b0cb1['callbackuniqueid'];this[_0xb347('0x1a')]=_0x2b0cb1[_0xb347('0x1a')];this[_0xb347('0x1b')]=_0x2b0cb1[_0xb347('0x1b')];this[_0xb347('0x1c')]=_0x2b0cb1[_0xb347('0x1c')];this[_0xb347('0x1d')]=_0x2b0cb1[_0xb347('0x1d')];this[_0xb347('0x1e')]=_0x2b0cb1[_0xb347('0x1e')];this['VoiceQueueId']=_0x2b0cb1[_0xb347('0x1f')];this[_0xb347('0x20')]=_0x2b0cb1[_0xb347('0x20')];this['originatecalleridnum']=_0x2b0cb1['originatecalleridnum']||'';this[_0xb347('0x21')]=_0x2b0cb1['originatecalleridname']||'';this['state']=_0x2b0cb1[_0xb347('0x22')];this[_0xb347('0x23')]=_0x2b0cb1[_0xb347('0x23')];}module[_0xb347('0x24')]=History;
\ No newline at end of file