Built motion from commit e02f907f.|2.6.14
[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 _0x799a=['type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat'];(function(_0x202c61,_0x3673e0){var _0x540691=function(_0x409610){while(--_0x409610){_0x202c61['push'](_0x202c61['shift']());}};_0x540691(++_0x3673e0);}(_0x799a,0xf3));var _0xa799=function(_0x358d90,_0x65595){_0x358d90=_0x358d90-0x0;var _0x286f12=_0x799a[_0x358d90];return _0x286f12;};'use strict';function Final(_0xfd2dcc){this[_0xa799('0x0')]=_0xfd2dcc[_0xa799('0x0')];this[_0xa799('0x1')]=_0xfd2dcc[_0xa799('0x1')];this[_0xa799('0x2')]=_0xfd2dcc[_0xa799('0x2')];this[_0xa799('0x3')]=_0xfd2dcc[_0xa799('0x2')]===_0xa799('0x4')?_0xa799('0x5'):_0xfd2dcc[_0xa799('0x2')];this[_0xa799('0x6')]=_0xfd2dcc[_0xa799('0x6')];this[_0xa799('0x7')]=_0xfd2dcc[_0xa799('0x7')];this[_0xa799('0x8')]=_0xfd2dcc[_0xa799('0x8')];this['countglobal']=_0xfd2dcc[_0xa799('0x6')]+_0xfd2dcc[_0xa799('0x7')]+_0xfd2dcc[_0xa799('0x8')]+_0xfd2dcc[_0xa799('0x9')]+_0xfd2dcc[_0xa799('0xa')]+_0xfd2dcc['countabandonedretry']+_0xfd2dcc[_0xa799('0xb')]+_0xfd2dcc[_0xa799('0xc')];this['countnosuchnumberretry']=_0xfd2dcc[_0xa799('0x9')];this['countdropretry']=_0xfd2dcc[_0xa799('0xa')];this[_0xa799('0xd')]=_0xfd2dcc[_0xa799('0xd')];this[_0xa799('0xb')]=_0xfd2dcc['countmachineretry'];this[_0xa799('0xc')]=_0xfd2dcc[_0xa799('0xc')];this['queue']=_0xfd2dcc[_0xa799('0x5')];this[_0xa799('0xe')]=_0xfd2dcc[_0xa799('0xe')];this[_0xa799('0xf')]=_0xfd2dcc['calleridnum'];this['starttime']=_0xfd2dcc[_0xa799('0x10')];this[_0xa799('0x11')]=_0xfd2dcc[_0xa799('0x11')];this[_0xa799('0x12')]=_0xfd2dcc['responsetime'];this['ringtime']=_0xfd2dcc[_0xa799('0x13')]||0x0;this['holdtime']=_0xfd2dcc[_0xa799('0x14')]||0x0;this[_0xa799('0x15')]=_0xfd2dcc[_0xa799('0x15')]||0x0;this['callback']=_0xfd2dcc[_0xa799('0x16')];this[_0xa799('0x17')]=_0xfd2dcc['callbackuniqueid'];this[_0xa799('0x18')]=_0xfd2dcc['callbackat'];this[_0xa799('0x19')]=_0xfd2dcc[_0xa799('0x19')];this[_0xa799('0x1a')]=_0xfd2dcc[_0xa799('0x1a')];this['ListId']=_0xfd2dcc[_0xa799('0x1b')];this[_0xa799('0x1c')]=_0xfd2dcc['UserId'];this[_0xa799('0x1d')]=_0xfd2dcc[_0xa799('0x1d')];this['CampaignId']=_0xfd2dcc[_0xa799('0x1e')];this['originatecalleridnum']=_0xfd2dcc['originatecalleridnum']||'';this[_0xa799('0x1f')]=_0xfd2dcc[_0xa799('0x1f')]||'';this[_0xa799('0x20')]=_0xfd2dcc[_0xa799('0x20')];this[_0xa799('0x21')]=_0xfd2dcc[_0xa799('0x21')];}module[_0xa799('0x22')]=Final;