Built motion from commit 00bf23f6.|2.6.16
[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 _0x3431=['originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum'];(function(_0x1a94ad,_0x4b721c){var _0x3919c3=function(_0x6d6142){while(--_0x6d6142){_0x1a94ad['push'](_0x1a94ad['shift']());}};_0x3919c3(++_0x4b721c);}(_0x3431,0x1b4));var _0x1343=function(_0x20a558,_0x160e0e){_0x20a558=_0x20a558-0x0;var _0x53d3f7=_0x3431[_0x20a558];return _0x53d3f7;};'use strict';function Final(_0x1b3be0){this[_0x1343('0x0')]=_0x1b3be0['uniqueid'];this[_0x1343('0x1')]=_0x1b3be0[_0x1343('0x1')];this[_0x1343('0x2')]=_0x1b3be0[_0x1343('0x2')];this[_0x1343('0x3')]=_0x1b3be0['type']===_0x1343('0x4')?'queue':_0x1b3be0[_0x1343('0x2')];this[_0x1343('0x5')]=_0x1b3be0[_0x1343('0x5')];this[_0x1343('0x6')]=_0x1b3be0[_0x1343('0x6')];this[_0x1343('0x7')]=_0x1b3be0[_0x1343('0x7')];this[_0x1343('0x8')]=_0x1b3be0[_0x1343('0x5')]+_0x1b3be0[_0x1343('0x6')]+_0x1b3be0[_0x1343('0x7')]+_0x1b3be0[_0x1343('0x9')]+_0x1b3be0[_0x1343('0xa')]+_0x1b3be0[_0x1343('0xb')]+_0x1b3be0['countmachineretry']+_0x1b3be0['countagentrejectretry'];this[_0x1343('0x9')]=_0x1b3be0[_0x1343('0x9')];this[_0x1343('0xa')]=_0x1b3be0['countdropretry'];this[_0x1343('0xb')]=_0x1b3be0[_0x1343('0xb')];this['countmachineretry']=_0x1b3be0[_0x1343('0xc')];this[_0x1343('0xd')]=_0x1b3be0[_0x1343('0xd')];this[_0x1343('0xe')]=_0x1b3be0['queue'];this[_0x1343('0xf')]=_0x1b3be0['calleridname'];this[_0x1343('0x10')]=_0x1b3be0[_0x1343('0x10')];this[_0x1343('0x11')]=_0x1b3be0[_0x1343('0x11')];this[_0x1343('0x12')]=_0x1b3be0[_0x1343('0x12')];this[_0x1343('0x13')]=_0x1b3be0['responsetime'];this[_0x1343('0x14')]=_0x1b3be0[_0x1343('0x14')]||0x0;this['holdtime']=_0x1b3be0[_0x1343('0x15')]||0x0;this[_0x1343('0x16')]=_0x1b3be0[_0x1343('0x16')]||0x0;this[_0x1343('0x17')]=_0x1b3be0[_0x1343('0x17')];this[_0x1343('0x18')]=_0x1b3be0[_0x1343('0x18')];this[_0x1343('0x19')]=_0x1b3be0['callbackat'];this[_0x1343('0x1a')]=_0x1b3be0['recallme'];this['ContactId']=_0x1b3be0['ContactId'];this[_0x1343('0x1b')]=_0x1b3be0[_0x1343('0x1b')];this[_0x1343('0x1c')]=_0x1b3be0['UserId'];this[_0x1343('0x1d')]=_0x1b3be0[_0x1343('0x1d')];this[_0x1343('0x1e')]=_0x1b3be0[_0x1343('0x1e')];this[_0x1343('0x1f')]=_0x1b3be0[_0x1343('0x1f')]||'';this[_0x1343('0x20')]=_0x1b3be0[_0x1343('0x20')]||'';this[_0x1343('0x21')]=_0x1b3be0[_0x1343('0x21')];this[_0x1343('0x22')]=_0x1b3be0[_0x1343('0x22')];}module[_0x1343('0x23')]=Final;