Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / dialer / models / history.js
index 5bfdf1b..c7f9e78 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2c6a=['starttime','responsetime','endtime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid','type','queue','countbusyretry','countcongestionretry','countglobal','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','number'];(function(_0x1caf6a,_0x26a5bf){var _0x1bf493=function(_0x3982f5){while(--_0x3982f5){_0x1caf6a['push'](_0x1caf6a['shift']());}};_0x1bf493(++_0x26a5bf);}(_0x2c6a,0x187));var _0xa2c6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2c6a[_0x3dd15e];return _0x231fd0;};'use strict';var utils=require(_0xa2c6('0x0'));function History(_0x4aa183){this['uniqueid']=_0x4aa183[_0xa2c6('0x1')];this['scheduledat']=_0x4aa183['scheduledat']||undefined;this[_0xa2c6('0x2')]=_0x4aa183[_0xa2c6('0x2')];this['campaigntype']=_0x4aa183['type']==='outbound'?_0xa2c6('0x3'):_0x4aa183[_0xa2c6('0x2')];this[_0xa2c6('0x4')]=_0x4aa183['countbusyretry'];this[_0xa2c6('0x5')]=_0x4aa183['countcongestionretry'];this['countnoanswerretry']=_0x4aa183['countnoanswerretry'];this[_0xa2c6('0x6')]=_0x4aa183[_0xa2c6('0x4')]+_0x4aa183['countcongestionretry']+_0x4aa183[_0xa2c6('0x7')]+_0x4aa183[_0xa2c6('0x8')]+_0x4aa183[_0xa2c6('0x9')]+_0x4aa183[_0xa2c6('0xa')]+_0x4aa183[_0xa2c6('0xb')]+_0x4aa183[_0xa2c6('0xc')];this[_0xa2c6('0x8')]=_0x4aa183['countnosuchnumberretry'];this[_0xa2c6('0x9')]=_0x4aa183[_0xa2c6('0x9')];this['countabandonedretry']=_0x4aa183['countabandonedretry'];this['countmachineretry']=_0x4aa183['countmachineretry'];this['countagentrejectretry']=_0x4aa183[_0xa2c6('0xc')];this[_0xa2c6('0x3')]=_0x4aa183[_0xa2c6('0x3')];this[_0xa2c6('0xd')]=_0x4aa183['name'];this[_0xa2c6('0xe')]=_0x4aa183[_0xa2c6('0xf')];this[_0xa2c6('0x10')]=_0x4aa183[_0xa2c6('0x10')];this[_0xa2c6('0x11')]=_0x4aa183[_0xa2c6('0x11')];this[_0xa2c6('0x12')]=_0x4aa183[_0xa2c6('0x11')];this[_0xa2c6('0x13')]=utils[_0xa2c6('0x14')](_0x4aa183[_0xa2c6('0x11')],_0x4aa183[_0xa2c6('0x10')]);this[_0xa2c6('0x15')]=0x0;this[_0xa2c6('0x16')]=0x0;this['callback']=_0x4aa183[_0xa2c6('0x17')];this[_0xa2c6('0x18')]=_0x4aa183[_0xa2c6('0x18')];this[_0xa2c6('0x19')]=_0x4aa183['callbackat'];this[_0xa2c6('0x1a')]=_0x4aa183[_0xa2c6('0x1a')];this['ContactId']=_0x4aa183[_0xa2c6('0x1b')];this[_0xa2c6('0x1c')]=_0x4aa183[_0xa2c6('0x1c')];this[_0xa2c6('0x1d')]=_0x4aa183['UserId'];this[_0xa2c6('0x1e')]=_0x4aa183[_0xa2c6('0x1e')];this['CampaignId']=_0x4aa183[_0xa2c6('0x1f')];this['originatecalleridnum']=_0x4aa183[_0xa2c6('0x20')]||'';this[_0xa2c6('0x21')]=_0x4aa183['originatecalleridname']||'';this[_0xa2c6('0x22')]=_0x4aa183['state'];this[_0xa2c6('0x23')]=_0x4aa183[_0xa2c6('0x23')];}module[_0xa2c6('0x24')]=History;
\ No newline at end of file
+var _0x0a0a=['countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','../utils','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry'];(function(_0x30b159,_0x3fbb50){var _0x23c3f9=function(_0xa21305){while(--_0xa21305){_0x30b159['push'](_0x30b159['shift']());}};_0x23c3f9(++_0x3fbb50);}(_0x0a0a,0xc9));var _0xa0a0=function(_0x1bc4ac,_0x297a7f){_0x1bc4ac=_0x1bc4ac-0x0;var _0x42938f=_0x0a0a[_0x1bc4ac];return _0x42938f;};'use strict';var utils=require(_0xa0a0('0x0'));function History(_0x3b752e){this['uniqueid']=_0x3b752e[_0xa0a0('0x1')];this[_0xa0a0('0x2')]=_0x3b752e[_0xa0a0('0x2')]||undefined;this[_0xa0a0('0x3')]=_0x3b752e[_0xa0a0('0x3')];this[_0xa0a0('0x4')]=_0x3b752e['type']===_0xa0a0('0x5')?_0xa0a0('0x6'):_0x3b752e[_0xa0a0('0x3')];this[_0xa0a0('0x7')]=_0x3b752e[_0xa0a0('0x7')];this[_0xa0a0('0x8')]=_0x3b752e[_0xa0a0('0x8')];this['countnoanswerretry']=_0x3b752e[_0xa0a0('0x9')];this['countglobal']=_0x3b752e['countbusyretry']+_0x3b752e[_0xa0a0('0x8')]+_0x3b752e[_0xa0a0('0x9')]+_0x3b752e[_0xa0a0('0xa')]+_0x3b752e[_0xa0a0('0xb')]+_0x3b752e[_0xa0a0('0xc')]+_0x3b752e[_0xa0a0('0xd')]+_0x3b752e[_0xa0a0('0xe')];this[_0xa0a0('0xa')]=_0x3b752e[_0xa0a0('0xa')];this['countdropretry']=_0x3b752e[_0xa0a0('0xb')];this[_0xa0a0('0xc')]=_0x3b752e['countabandonedretry'];this[_0xa0a0('0xd')]=_0x3b752e[_0xa0a0('0xd')];this[_0xa0a0('0xe')]=_0x3b752e[_0xa0a0('0xe')];this[_0xa0a0('0x6')]=_0x3b752e[_0xa0a0('0x6')];this['calleridname']=_0x3b752e[_0xa0a0('0xf')];this[_0xa0a0('0x10')]=_0x3b752e[_0xa0a0('0x11')];this[_0xa0a0('0x12')]=_0x3b752e[_0xa0a0('0x12')];this[_0xa0a0('0x13')]=_0x3b752e[_0xa0a0('0x13')];this[_0xa0a0('0x14')]=_0x3b752e[_0xa0a0('0x13')];this[_0xa0a0('0x15')]=utils[_0xa0a0('0x16')](_0x3b752e[_0xa0a0('0x13')],_0x3b752e[_0xa0a0('0x12')]);this['holdtime']=0x0;this['talktime']=0x0;this[_0xa0a0('0x17')]=_0x3b752e[_0xa0a0('0x17')];this[_0xa0a0('0x18')]=_0x3b752e[_0xa0a0('0x18')];this[_0xa0a0('0x19')]=_0x3b752e['callbackat'];this[_0xa0a0('0x1a')]=_0x3b752e[_0xa0a0('0x1a')];this['ContactId']=_0x3b752e['ContactId'];this[_0xa0a0('0x1b')]=_0x3b752e['ListId'];this[_0xa0a0('0x1c')]=_0x3b752e['UserId'];this[_0xa0a0('0x1d')]=_0x3b752e['VoiceQueueId'];this[_0xa0a0('0x1e')]=_0x3b752e['CampaignId'];this[_0xa0a0('0x1f')]=_0x3b752e['originatecalleridnum']||'';this[_0xa0a0('0x20')]=_0x3b752e[_0xa0a0('0x20')]||'';this[_0xa0a0('0x21')]=_0x3b752e[_0xa0a0('0x21')];this[_0xa0a0('0x22')]=_0x3b752e['statedesc'];}module['exports']=History;
\ No newline at end of file