Built motion from commit 377f727e.|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 _0xe219=['holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countnoanswerretry','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','ringtime'];(function(_0x2b7582,_0x520e2e){var _0x301470=function(_0x448299){while(--_0x448299){_0x2b7582['push'](_0x2b7582['shift']());}};_0x301470(++_0x520e2e);}(_0xe219,0xd5));var _0x9e21=function(_0x131ce,_0x540f85){_0x131ce=_0x131ce-0x0;var _0x56a158=_0xe219[_0x131ce];return _0x56a158;};'use strict';function Final(_0x3cc8ba){this[_0x9e21('0x0')]=_0x3cc8ba[_0x9e21('0x0')];this[_0x9e21('0x1')]=_0x3cc8ba[_0x9e21('0x1')];this[_0x9e21('0x2')]=_0x3cc8ba[_0x9e21('0x2')];this[_0x9e21('0x3')]=_0x3cc8ba[_0x9e21('0x2')]==='outbound'?_0x9e21('0x4'):_0x3cc8ba[_0x9e21('0x2')];this['countbusyretry']=_0x3cc8ba[_0x9e21('0x5')];this['countcongestionretry']=_0x3cc8ba['countcongestionretry'];this[_0x9e21('0x6')]=_0x3cc8ba[_0x9e21('0x6')];this['countglobal']=_0x3cc8ba[_0x9e21('0x5')]+_0x3cc8ba[_0x9e21('0x7')]+_0x3cc8ba[_0x9e21('0x6')]+_0x3cc8ba[_0x9e21('0x8')]+_0x3cc8ba[_0x9e21('0x9')]+_0x3cc8ba[_0x9e21('0xa')]+_0x3cc8ba[_0x9e21('0xb')]+_0x3cc8ba[_0x9e21('0xc')];this[_0x9e21('0x8')]=_0x3cc8ba[_0x9e21('0x8')];this[_0x9e21('0x9')]=_0x3cc8ba[_0x9e21('0x9')];this[_0x9e21('0xa')]=_0x3cc8ba[_0x9e21('0xa')];this[_0x9e21('0xb')]=_0x3cc8ba['countmachineretry'];this[_0x9e21('0xc')]=_0x3cc8ba['countagentrejectretry'];this[_0x9e21('0x4')]=_0x3cc8ba[_0x9e21('0x4')];this[_0x9e21('0xd')]=_0x3cc8ba[_0x9e21('0xd')];this[_0x9e21('0xe')]=_0x3cc8ba[_0x9e21('0xe')];this[_0x9e21('0xf')]=_0x3cc8ba[_0x9e21('0xf')];this[_0x9e21('0x10')]=_0x3cc8ba[_0x9e21('0x10')];this['endtime']=_0x3cc8ba['responsetime'];this[_0x9e21('0x11')]=_0x3cc8ba[_0x9e21('0x11')]||0x0;this[_0x9e21('0x12')]=_0x3cc8ba[_0x9e21('0x12')]||0x0;this[_0x9e21('0x13')]=_0x3cc8ba['talktime']||0x0;this['callback']=_0x3cc8ba[_0x9e21('0x14')];this[_0x9e21('0x15')]=_0x3cc8ba['callbackuniqueid'];this[_0x9e21('0x16')]=_0x3cc8ba[_0x9e21('0x16')];this[_0x9e21('0x17')]=_0x3cc8ba[_0x9e21('0x17')];this['ContactId']=_0x3cc8ba[_0x9e21('0x18')];this[_0x9e21('0x19')]=_0x3cc8ba[_0x9e21('0x19')];this['UserId']=_0x3cc8ba['UserId'];this[_0x9e21('0x1a')]=_0x3cc8ba['VoiceQueueId'];this[_0x9e21('0x1b')]=_0x3cc8ba[_0x9e21('0x1b')];this[_0x9e21('0x1c')]=_0x3cc8ba[_0x9e21('0x1c')]||'';this[_0x9e21('0x1d')]=_0x3cc8ba[_0x9e21('0x1d')]||'';this[_0x9e21('0x1e')]=_0x3cc8ba[_0x9e21('0x1e')];this['statedesc']=_0x3cc8ba[_0x9e21('0x1f')];}module[_0x9e21('0x20')]=Final;