Built motion from commit d1eab355.|2.6.28
[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 _0x2bd7=['countmachineretry','calleridname','calleridnum','starttime','endtime','responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry'];(function(_0x369534,_0x5557c4){var _0x524bf9=function(_0x24c6fb){while(--_0x24c6fb){_0x369534['push'](_0x369534['shift']());}};_0x524bf9(++_0x5557c4);}(_0x2bd7,0xd0));var _0x72bd=function(_0x2f2cd0,_0x2cc056){_0x2f2cd0=_0x2f2cd0-0x0;var _0x57d8ea=_0x2bd7[_0x2f2cd0];return _0x57d8ea;};'use strict';function Final(_0x3cad25){this['uniqueid']=_0x3cad25[_0x72bd('0x0')];this[_0x72bd('0x1')]=_0x3cad25['scheduledat'];this['type']=_0x3cad25[_0x72bd('0x2')];this[_0x72bd('0x3')]=_0x3cad25[_0x72bd('0x2')]===_0x72bd('0x4')?_0x72bd('0x5'):_0x3cad25[_0x72bd('0x2')];this[_0x72bd('0x6')]=_0x3cad25[_0x72bd('0x6')];this['countcongestionretry']=_0x3cad25['countcongestionretry'];this[_0x72bd('0x7')]=_0x3cad25[_0x72bd('0x7')];this[_0x72bd('0x8')]=_0x3cad25[_0x72bd('0x6')]+_0x3cad25[_0x72bd('0x9')]+_0x3cad25[_0x72bd('0x7')]+_0x3cad25[_0x72bd('0xa')]+_0x3cad25[_0x72bd('0xb')]+_0x3cad25[_0x72bd('0xc')]+_0x3cad25['countmachineretry']+_0x3cad25[_0x72bd('0xd')];this[_0x72bd('0xa')]=_0x3cad25[_0x72bd('0xa')];this[_0x72bd('0xb')]=_0x3cad25[_0x72bd('0xb')];this[_0x72bd('0xc')]=_0x3cad25['countabandonedretry'];this[_0x72bd('0xe')]=_0x3cad25[_0x72bd('0xe')];this[_0x72bd('0xd')]=_0x3cad25['countagentrejectretry'];this[_0x72bd('0x5')]=_0x3cad25[_0x72bd('0x5')];this[_0x72bd('0xf')]=_0x3cad25[_0x72bd('0xf')];this[_0x72bd('0x10')]=_0x3cad25[_0x72bd('0x10')];this['starttime']=_0x3cad25[_0x72bd('0x11')];this['responsetime']=_0x3cad25['responsetime'];this[_0x72bd('0x12')]=_0x3cad25[_0x72bd('0x13')];this[_0x72bd('0x14')]=_0x3cad25[_0x72bd('0x14')]||0x0;this['holdtime']=_0x3cad25[_0x72bd('0x15')]||0x0;this['talktime']=_0x3cad25[_0x72bd('0x16')]||0x0;this[_0x72bd('0x17')]=_0x3cad25[_0x72bd('0x17')];this[_0x72bd('0x18')]=_0x3cad25[_0x72bd('0x18')];this[_0x72bd('0x19')]=_0x3cad25[_0x72bd('0x19')];this[_0x72bd('0x1a')]=_0x3cad25[_0x72bd('0x1a')];this['ContactId']=_0x3cad25[_0x72bd('0x1b')];this[_0x72bd('0x1c')]=_0x3cad25['ListId'];this[_0x72bd('0x1d')]=_0x3cad25['UserId'];this[_0x72bd('0x1e')]=_0x3cad25[_0x72bd('0x1e')];this[_0x72bd('0x1f')]=_0x3cad25[_0x72bd('0x1f')];this['originatecalleridnum']=_0x3cad25[_0x72bd('0x20')]||'';this[_0x72bd('0x21')]=_0x3cad25[_0x72bd('0x21')]||'';this[_0x72bd('0x22')]=_0x3cad25['state'];this[_0x72bd('0x23')]=_0x3cad25[_0x72bd('0x23')];}module[_0x72bd('0x24')]=Final;