Built motion from commit 013e4bb4.|2.6.18
[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 _0x5a45=['exports','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc'];(function(_0x49c3b1,_0x15b955){var _0x5e2760=function(_0x3c0266){while(--_0x3c0266){_0x49c3b1['push'](_0x49c3b1['shift']());}};_0x5e2760(++_0x15b955);}(_0x5a45,0x111));var _0x55a4=function(_0x5ded81,_0x5d770d){_0x5ded81=_0x5ded81-0x0;var _0x3e99ab=_0x5a45[_0x5ded81];return _0x3e99ab;};'use strict';function Final(_0x499049){this['uniqueid']=_0x499049[_0x55a4('0x0')];this[_0x55a4('0x1')]=_0x499049[_0x55a4('0x1')];this[_0x55a4('0x2')]=_0x499049[_0x55a4('0x2')];this[_0x55a4('0x3')]=_0x499049[_0x55a4('0x2')]==='outbound'?_0x55a4('0x4'):_0x499049[_0x55a4('0x2')];this[_0x55a4('0x5')]=_0x499049[_0x55a4('0x5')];this['countcongestionretry']=_0x499049['countcongestionretry'];this[_0x55a4('0x6')]=_0x499049[_0x55a4('0x6')];this[_0x55a4('0x7')]=_0x499049['countbusyretry']+_0x499049['countcongestionretry']+_0x499049[_0x55a4('0x6')]+_0x499049[_0x55a4('0x8')]+_0x499049[_0x55a4('0x9')]+_0x499049[_0x55a4('0xa')]+_0x499049['countmachineretry']+_0x499049['countagentrejectretry'];this['countnosuchnumberretry']=_0x499049[_0x55a4('0x8')];this[_0x55a4('0x9')]=_0x499049[_0x55a4('0x9')];this[_0x55a4('0xa')]=_0x499049[_0x55a4('0xa')];this[_0x55a4('0xb')]=_0x499049[_0x55a4('0xb')];this[_0x55a4('0xc')]=_0x499049[_0x55a4('0xc')];this[_0x55a4('0x4')]=_0x499049[_0x55a4('0x4')];this[_0x55a4('0xd')]=_0x499049[_0x55a4('0xd')];this[_0x55a4('0xe')]=_0x499049['calleridnum'];this[_0x55a4('0xf')]=_0x499049[_0x55a4('0xf')];this[_0x55a4('0x10')]=_0x499049[_0x55a4('0x10')];this['endtime']=_0x499049['responsetime'];this[_0x55a4('0x11')]=_0x499049[_0x55a4('0x11')]||0x0;this['holdtime']=_0x499049[_0x55a4('0x12')]||0x0;this['talktime']=_0x499049[_0x55a4('0x13')]||0x0;this[_0x55a4('0x14')]=_0x499049[_0x55a4('0x14')];this[_0x55a4('0x15')]=_0x499049[_0x55a4('0x15')];this[_0x55a4('0x16')]=_0x499049[_0x55a4('0x16')];this[_0x55a4('0x17')]=_0x499049[_0x55a4('0x17')];this['ContactId']=_0x499049[_0x55a4('0x18')];this[_0x55a4('0x19')]=_0x499049[_0x55a4('0x19')];this[_0x55a4('0x1a')]=_0x499049['UserId'];this['VoiceQueueId']=_0x499049[_0x55a4('0x1b')];this[_0x55a4('0x1c')]=_0x499049['CampaignId'];this[_0x55a4('0x1d')]=_0x499049[_0x55a4('0x1d')]||'';this[_0x55a4('0x1e')]=_0x499049[_0x55a4('0x1e')]||'';this[_0x55a4('0x1f')]=_0x499049[_0x55a4('0x1f')];this['statedesc']=_0x499049[_0x55a4('0x20')];}module[_0x55a4('0x21')]=Final;