Built motion from commit 8356fca3.|2.6.19
[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 _0x4ac2=['countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countnosuchnumberretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','outbound','queue','countbusyretry'];(function(_0x3fc2e3,_0x109f38){var _0x248e01=function(_0xb72b9e){while(--_0xb72b9e){_0x3fc2e3['push'](_0x3fc2e3['shift']());}};_0x248e01(++_0x109f38);}(_0x4ac2,0xd2));var _0x24ac=function(_0x4a56a7,_0x5f295c){_0x4a56a7=_0x4a56a7-0x0;var _0x10463c=_0x4ac2[_0x4a56a7];return _0x10463c;};'use strict';function Final(_0x252535){this[_0x24ac('0x0')]=_0x252535[_0x24ac('0x0')];this[_0x24ac('0x1')]=_0x252535[_0x24ac('0x1')];this[_0x24ac('0x2')]=_0x252535['type'];this['campaigntype']=_0x252535[_0x24ac('0x2')]===_0x24ac('0x3')?_0x24ac('0x4'):_0x252535['type'];this[_0x24ac('0x5')]=_0x252535[_0x24ac('0x5')];this[_0x24ac('0x6')]=_0x252535[_0x24ac('0x6')];this[_0x24ac('0x7')]=_0x252535[_0x24ac('0x7')];this[_0x24ac('0x8')]=_0x252535[_0x24ac('0x5')]+_0x252535['countcongestionretry']+_0x252535[_0x24ac('0x7')]+_0x252535['countnosuchnumberretry']+_0x252535[_0x24ac('0x9')]+_0x252535[_0x24ac('0xa')]+_0x252535[_0x24ac('0xb')]+_0x252535['countagentrejectretry'];this[_0x24ac('0xc')]=_0x252535[_0x24ac('0xc')];this[_0x24ac('0x9')]=_0x252535[_0x24ac('0x9')];this['countabandonedretry']=_0x252535[_0x24ac('0xa')];this['countmachineretry']=_0x252535[_0x24ac('0xb')];this[_0x24ac('0xd')]=_0x252535[_0x24ac('0xd')];this['queue']=_0x252535['queue'];this[_0x24ac('0xe')]=_0x252535['calleridname'];this[_0x24ac('0xf')]=_0x252535[_0x24ac('0xf')];this[_0x24ac('0x10')]=_0x252535[_0x24ac('0x10')];this[_0x24ac('0x11')]=_0x252535[_0x24ac('0x11')];this[_0x24ac('0x12')]=_0x252535['responsetime'];this[_0x24ac('0x13')]=_0x252535[_0x24ac('0x13')]||0x0;this[_0x24ac('0x14')]=_0x252535['holdtime']||0x0;this['talktime']=_0x252535[_0x24ac('0x15')]||0x0;this[_0x24ac('0x16')]=_0x252535[_0x24ac('0x16')];this[_0x24ac('0x17')]=_0x252535['callbackuniqueid'];this[_0x24ac('0x18')]=_0x252535[_0x24ac('0x18')];this[_0x24ac('0x19')]=_0x252535[_0x24ac('0x19')];this[_0x24ac('0x1a')]=_0x252535[_0x24ac('0x1a')];this[_0x24ac('0x1b')]=_0x252535['ListId'];this[_0x24ac('0x1c')]=_0x252535[_0x24ac('0x1c')];this['VoiceQueueId']=_0x252535[_0x24ac('0x1d')];this[_0x24ac('0x1e')]=_0x252535[_0x24ac('0x1e')];this[_0x24ac('0x1f')]=_0x252535[_0x24ac('0x1f')]||'';this[_0x24ac('0x20')]=_0x252535['originatecalleridname']||'';this[_0x24ac('0x21')]=_0x252535[_0x24ac('0x21')];this[_0x24ac('0x22')]=_0x252535[_0x24ac('0x22')];}module[_0x24ac('0x23')]=Final;