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