5c29920d5f6209b59d72ee262cf70759174d1576
[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 _0xb231=['CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId'];(function(_0x478f6b,_0x32d534){var _0x56dc63=function(_0x20631a){while(--_0x20631a){_0x478f6b['push'](_0x478f6b['shift']());}};_0x56dc63(++_0x32d534);}(_0xb231,0x1b6));var _0x1b23=function(_0x4c3f40,_0x39f8bc){_0x4c3f40=_0x4c3f40-0x0;var _0x5f10cb=_0xb231[_0x4c3f40];return _0x5f10cb;};'use strict';function Final(_0x1acbf8){this[_0x1b23('0x0')]=_0x1acbf8[_0x1b23('0x0')];this[_0x1b23('0x1')]=_0x1acbf8[_0x1b23('0x1')];this['type']=_0x1acbf8[_0x1b23('0x2')];this[_0x1b23('0x3')]=_0x1acbf8[_0x1b23('0x2')]===_0x1b23('0x4')?'queue':_0x1acbf8[_0x1b23('0x2')];this[_0x1b23('0x5')]=_0x1acbf8[_0x1b23('0x5')];this[_0x1b23('0x6')]=_0x1acbf8['countcongestionretry'];this[_0x1b23('0x7')]=_0x1acbf8[_0x1b23('0x7')];this[_0x1b23('0x8')]=_0x1acbf8[_0x1b23('0x5')]+_0x1acbf8[_0x1b23('0x6')]+_0x1acbf8[_0x1b23('0x7')]+_0x1acbf8[_0x1b23('0x9')]+_0x1acbf8[_0x1b23('0xa')]+_0x1acbf8[_0x1b23('0xb')]+_0x1acbf8[_0x1b23('0xc')]+_0x1acbf8[_0x1b23('0xd')];this[_0x1b23('0x9')]=_0x1acbf8[_0x1b23('0x9')];this[_0x1b23('0xa')]=_0x1acbf8[_0x1b23('0xa')];this['countabandonedretry']=_0x1acbf8[_0x1b23('0xb')];this[_0x1b23('0xc')]=_0x1acbf8[_0x1b23('0xc')];this[_0x1b23('0xd')]=_0x1acbf8['countagentrejectretry'];this[_0x1b23('0xe')]=_0x1acbf8['queue'];this[_0x1b23('0xf')]=_0x1acbf8[_0x1b23('0xf')];this[_0x1b23('0x10')]=_0x1acbf8[_0x1b23('0x10')];this['starttime']=_0x1acbf8[_0x1b23('0x11')];this[_0x1b23('0x12')]=_0x1acbf8['responsetime'];this['endtime']=_0x1acbf8[_0x1b23('0x12')];this[_0x1b23('0x13')]=_0x1acbf8[_0x1b23('0x13')]||0x0;this[_0x1b23('0x14')]=_0x1acbf8[_0x1b23('0x14')]||0x0;this[_0x1b23('0x15')]=_0x1acbf8[_0x1b23('0x15')]||0x0;this[_0x1b23('0x16')]=_0x1acbf8[_0x1b23('0x16')];this[_0x1b23('0x17')]=_0x1acbf8[_0x1b23('0x17')];this[_0x1b23('0x18')]=_0x1acbf8[_0x1b23('0x18')];this[_0x1b23('0x19')]=_0x1acbf8[_0x1b23('0x19')];this[_0x1b23('0x1a')]=_0x1acbf8[_0x1b23('0x1a')];this[_0x1b23('0x1b')]=_0x1acbf8['ListId'];this[_0x1b23('0x1c')]=_0x1acbf8[_0x1b23('0x1c')];this[_0x1b23('0x1d')]=_0x1acbf8[_0x1b23('0x1d')];this['CampaignId']=_0x1acbf8[_0x1b23('0x1e')];this[_0x1b23('0x1f')]=_0x1acbf8[_0x1b23('0x1f')]||'';this['originatecalleridname']=_0x1acbf8[_0x1b23('0x20')]||'';this[_0x1b23('0x21')]=_0x1acbf8[_0x1b23('0x21')];this[_0x1b23('0x22')]=_0x1acbf8['statedesc'];}module[_0x1b23('0x23')]=Final;