6afb9bbec4b805e95333b1bcb96212a4f974030b
[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 _0x2899=['ContactId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','countdropretry','countabandonedretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme'];(function(_0x3284fc,_0x3ec534){var _0x1ca4e3=function(_0x597ccb){while(--_0x597ccb){_0x3284fc['push'](_0x3284fc['shift']());}};_0x1ca4e3(++_0x3ec534);}(_0x2899,0x1ad));var _0x9289=function(_0x331aa0,_0x3a6c0b){_0x331aa0=_0x331aa0-0x0;var _0x3b3d2f=_0x2899[_0x331aa0];return _0x3b3d2f;};'use strict';function Final(_0x4eed6e){this[_0x9289('0x0')]=_0x4eed6e[_0x9289('0x0')];this[_0x9289('0x1')]=_0x4eed6e[_0x9289('0x1')];this[_0x9289('0x2')]=_0x4eed6e[_0x9289('0x2')];this[_0x9289('0x3')]=_0x4eed6e[_0x9289('0x2')]===_0x9289('0x4')?_0x9289('0x5'):_0x4eed6e[_0x9289('0x2')];this[_0x9289('0x6')]=_0x4eed6e[_0x9289('0x6')];this[_0x9289('0x7')]=_0x4eed6e[_0x9289('0x7')];this[_0x9289('0x8')]=_0x4eed6e[_0x9289('0x8')];this['countglobal']=_0x4eed6e[_0x9289('0x6')]+_0x4eed6e['countcongestionretry']+_0x4eed6e['countnoanswerretry']+_0x4eed6e['countnosuchnumberretry']+_0x4eed6e['countdropretry']+_0x4eed6e['countabandonedretry']+_0x4eed6e[_0x9289('0x9')]+_0x4eed6e[_0x9289('0xa')];this[_0x9289('0xb')]=_0x4eed6e['countnosuchnumberretry'];this[_0x9289('0xc')]=_0x4eed6e[_0x9289('0xc')];this[_0x9289('0xd')]=_0x4eed6e[_0x9289('0xd')];this[_0x9289('0x9')]=_0x4eed6e['countmachineretry'];this[_0x9289('0xa')]=_0x4eed6e[_0x9289('0xa')];this[_0x9289('0x5')]=_0x4eed6e['queue'];this['calleridname']=_0x4eed6e[_0x9289('0xe')];this[_0x9289('0xf')]=_0x4eed6e[_0x9289('0xf')];this[_0x9289('0x10')]=_0x4eed6e[_0x9289('0x10')];this[_0x9289('0x11')]=_0x4eed6e[_0x9289('0x11')];this[_0x9289('0x12')]=_0x4eed6e[_0x9289('0x11')];this[_0x9289('0x13')]=_0x4eed6e[_0x9289('0x13')]||0x0;this[_0x9289('0x14')]=_0x4eed6e[_0x9289('0x14')]||0x0;this[_0x9289('0x15')]=_0x4eed6e[_0x9289('0x15')]||0x0;this[_0x9289('0x16')]=_0x4eed6e[_0x9289('0x16')];this[_0x9289('0x17')]=_0x4eed6e[_0x9289('0x17')];this[_0x9289('0x18')]=_0x4eed6e['callbackat'];this[_0x9289('0x19')]=_0x4eed6e[_0x9289('0x19')];this['ContactId']=_0x4eed6e[_0x9289('0x1a')];this['ListId']=_0x4eed6e['ListId'];this[_0x9289('0x1b')]=_0x4eed6e[_0x9289('0x1b')];this[_0x9289('0x1c')]=_0x4eed6e[_0x9289('0x1c')];this[_0x9289('0x1d')]=_0x4eed6e[_0x9289('0x1d')];this['originatecalleridnum']=_0x4eed6e[_0x9289('0x1e')]||'';this[_0x9289('0x1f')]=_0x4eed6e[_0x9289('0x1f')]||'';this[_0x9289('0x20')]=_0x4eed6e[_0x9289('0x20')];this[_0x9289('0x21')]=_0x4eed6e[_0x9289('0x21')];}module[_0x9289('0x22')]=Final;