Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / dialer / models / final.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe542=['callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','calleridname','calleridnum','starttime','ringtime','holdtime','talktime','callback'];(function(_0x372c30,_0x5ba108){var _0x42791f=function(_0x5cbcec){while(--_0x5cbcec){_0x372c30['push'](_0x372c30['shift']());}};_0x42791f(++_0x5ba108);}(_0xe542,0x10c));var _0x2e54=function(_0x584bcd,_0x59c4b7){_0x584bcd=_0x584bcd-0x0;var _0x146bc7=_0xe542[_0x584bcd];return _0x146bc7;};'use strict';function Final(_0x8461e7){this[_0x2e54('0x0')]=_0x8461e7['uniqueid'];this[_0x2e54('0x1')]=_0x8461e7['scheduledat'];this[_0x2e54('0x2')]=_0x8461e7[_0x2e54('0x2')];this[_0x2e54('0x3')]=_0x8461e7[_0x2e54('0x2')]==='outbound'?_0x2e54('0x4'):_0x8461e7['type'];this[_0x2e54('0x5')]=_0x8461e7['countbusyretry'];this['countcongestionretry']=_0x8461e7[_0x2e54('0x6')];this[_0x2e54('0x7')]=_0x8461e7[_0x2e54('0x7')];this['countglobal']=_0x8461e7[_0x2e54('0x5')]+_0x8461e7[_0x2e54('0x6')]+_0x8461e7[_0x2e54('0x7')]+_0x8461e7[_0x2e54('0x8')]+_0x8461e7['countdropretry']+_0x8461e7[_0x2e54('0x9')]+_0x8461e7[_0x2e54('0xa')]+_0x8461e7[_0x2e54('0xb')];this[_0x2e54('0x8')]=_0x8461e7[_0x2e54('0x8')];this[_0x2e54('0xc')]=_0x8461e7[_0x2e54('0xc')];this[_0x2e54('0x9')]=_0x8461e7['countabandonedretry'];this[_0x2e54('0xa')]=_0x8461e7[_0x2e54('0xa')];this[_0x2e54('0xb')]=_0x8461e7[_0x2e54('0xb')];this[_0x2e54('0x4')]=_0x8461e7['queue'];this[_0x2e54('0xd')]=_0x8461e7[_0x2e54('0xd')];this[_0x2e54('0xe')]=_0x8461e7[_0x2e54('0xe')];this[_0x2e54('0xf')]=_0x8461e7[_0x2e54('0xf')];this['responsetime']=_0x8461e7['responsetime'];this['endtime']=_0x8461e7['responsetime'];this['ringtime']=_0x8461e7[_0x2e54('0x10')]||0x0;this[_0x2e54('0x11')]=_0x8461e7[_0x2e54('0x11')]||0x0;this[_0x2e54('0x12')]=_0x8461e7[_0x2e54('0x12')]||0x0;this['callback']=_0x8461e7[_0x2e54('0x13')];this[_0x2e54('0x14')]=_0x8461e7[_0x2e54('0x14')];this[_0x2e54('0x15')]=_0x8461e7[_0x2e54('0x15')];this[_0x2e54('0x16')]=_0x8461e7[_0x2e54('0x16')];this[_0x2e54('0x17')]=_0x8461e7[_0x2e54('0x17')];this[_0x2e54('0x18')]=_0x8461e7[_0x2e54('0x18')];this['UserId']=_0x8461e7[_0x2e54('0x19')];this[_0x2e54('0x1a')]=_0x8461e7[_0x2e54('0x1a')];this[_0x2e54('0x1b')]=_0x8461e7['CampaignId'];this[_0x2e54('0x1c')]=_0x8461e7[_0x2e54('0x1c')]||'';this['originatecalleridname']=_0x8461e7['originatecalleridname']||'';this[_0x2e54('0x1d')]=_0x8461e7[_0x2e54('0x1d')];this['statedesc']=_0x8461e7[_0x2e54('0x1e')];}module[_0x2e54('0x1f')]=Final;