67315f86a315b997f86142da61504d454d40f2aa
[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 _0x1e7a=['CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','calleridname','calleridnum','starttime','endtime','responsetime','ringtime','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId'];(function(_0x2e7306,_0x40163e){var _0x227f9e=function(_0x3ddd56){while(--_0x3ddd56){_0x2e7306['push'](_0x2e7306['shift']());}};_0x227f9e(++_0x40163e);}(_0x1e7a,0xed));var _0xa1e7=function(_0x59f614,_0x22f3d1){_0x59f614=_0x59f614-0x0;var _0x4d3022=_0x1e7a[_0x59f614];return _0x4d3022;};'use strict';function Final(_0x35198b){this[_0xa1e7('0x0')]=_0x35198b[_0xa1e7('0x0')];this[_0xa1e7('0x1')]=_0x35198b[_0xa1e7('0x1')];this[_0xa1e7('0x2')]=_0x35198b[_0xa1e7('0x2')];this[_0xa1e7('0x3')]=_0x35198b[_0xa1e7('0x2')]==='outbound'?_0xa1e7('0x4'):_0x35198b[_0xa1e7('0x2')];this['countbusyretry']=_0x35198b[_0xa1e7('0x5')];this[_0xa1e7('0x6')]=_0x35198b['countcongestionretry'];this[_0xa1e7('0x7')]=_0x35198b[_0xa1e7('0x7')];this['countglobal']=_0x35198b[_0xa1e7('0x5')]+_0x35198b[_0xa1e7('0x6')]+_0x35198b['countnoanswerretry']+_0x35198b[_0xa1e7('0x8')]+_0x35198b[_0xa1e7('0x9')]+_0x35198b[_0xa1e7('0xa')]+_0x35198b[_0xa1e7('0xb')]+_0x35198b['countagentrejectretry'];this[_0xa1e7('0x8')]=_0x35198b[_0xa1e7('0x8')];this[_0xa1e7('0x9')]=_0x35198b[_0xa1e7('0x9')];this['countabandonedretry']=_0x35198b[_0xa1e7('0xa')];this[_0xa1e7('0xb')]=_0x35198b['countmachineretry'];this['countagentrejectretry']=_0x35198b['countagentrejectretry'];this[_0xa1e7('0x4')]=_0x35198b[_0xa1e7('0x4')];this[_0xa1e7('0xc')]=_0x35198b['calleridname'];this[_0xa1e7('0xd')]=_0x35198b[_0xa1e7('0xd')];this['starttime']=_0x35198b[_0xa1e7('0xe')];this['responsetime']=_0x35198b['responsetime'];this[_0xa1e7('0xf')]=_0x35198b[_0xa1e7('0x10')];this['ringtime']=_0x35198b[_0xa1e7('0x11')]||0x0;this[_0xa1e7('0x12')]=_0x35198b[_0xa1e7('0x12')]||0x0;this['talktime']=_0x35198b['talktime']||0x0;this[_0xa1e7('0x13')]=_0x35198b[_0xa1e7('0x13')];this[_0xa1e7('0x14')]=_0x35198b[_0xa1e7('0x14')];this[_0xa1e7('0x15')]=_0x35198b[_0xa1e7('0x15')];this['recallme']=_0x35198b[_0xa1e7('0x16')];this['ContactId']=_0x35198b[_0xa1e7('0x17')];this['ListId']=_0x35198b[_0xa1e7('0x18')];this[_0xa1e7('0x19')]=_0x35198b['UserId'];this[_0xa1e7('0x1a')]=_0x35198b[_0xa1e7('0x1a')];this[_0xa1e7('0x1b')]=_0x35198b[_0xa1e7('0x1b')];this[_0xa1e7('0x1c')]=_0x35198b[_0xa1e7('0x1c')]||'';this[_0xa1e7('0x1d')]=_0x35198b[_0xa1e7('0x1d')]||'';this[_0xa1e7('0x1e')]=_0x35198b[_0xa1e7('0x1e')];this[_0xa1e7('0x1f')]=_0x35198b[_0xa1e7('0x1f')];}module[_0xa1e7('0x20')]=Final;