Built motion from commit e1760111.|2.6.18
[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 _0x713a=['statedesc','uniqueid','scheduledat','type','campaigntype','queue','countcongestionretry','countnoanswerretry','countglobal','countbusyretry','countnosuchnumberretry','countabandonedretry','countmachineretry','countdropretry','countagentrejectretry','calleridname','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state'];(function(_0x5d5c63,_0x4a8226){var _0x492e04=function(_0x34e555){while(--_0x34e555){_0x5d5c63['push'](_0x5d5c63['shift']());}};_0x492e04(++_0x4a8226);}(_0x713a,0xc7));var _0xa713=function(_0x471ecb,_0x35bcd6){_0x471ecb=_0x471ecb-0x0;var _0x5a74a4=_0x713a[_0x471ecb];return _0x5a74a4;};'use strict';function Final(_0xda8ffe){this[_0xa713('0x0')]=_0xda8ffe[_0xa713('0x0')];this[_0xa713('0x1')]=_0xda8ffe[_0xa713('0x1')];this[_0xa713('0x2')]=_0xda8ffe[_0xa713('0x2')];this[_0xa713('0x3')]=_0xda8ffe[_0xa713('0x2')]==='outbound'?_0xa713('0x4'):_0xda8ffe[_0xa713('0x2')];this['countbusyretry']=_0xda8ffe['countbusyretry'];this[_0xa713('0x5')]=_0xda8ffe[_0xa713('0x5')];this[_0xa713('0x6')]=_0xda8ffe[_0xa713('0x6')];this[_0xa713('0x7')]=_0xda8ffe[_0xa713('0x8')]+_0xda8ffe[_0xa713('0x5')]+_0xda8ffe[_0xa713('0x6')]+_0xda8ffe[_0xa713('0x9')]+_0xda8ffe['countdropretry']+_0xda8ffe[_0xa713('0xa')]+_0xda8ffe[_0xa713('0xb')]+_0xda8ffe['countagentrejectretry'];this[_0xa713('0x9')]=_0xda8ffe[_0xa713('0x9')];this[_0xa713('0xc')]=_0xda8ffe[_0xa713('0xc')];this[_0xa713('0xa')]=_0xda8ffe[_0xa713('0xa')];this['countmachineretry']=_0xda8ffe[_0xa713('0xb')];this[_0xa713('0xd')]=_0xda8ffe[_0xa713('0xd')];this[_0xa713('0x4')]=_0xda8ffe['queue'];this[_0xa713('0xe')]=_0xda8ffe[_0xa713('0xe')];this['calleridnum']=_0xda8ffe['calleridnum'];this[_0xa713('0xf')]=_0xda8ffe[_0xa713('0xf')];this[_0xa713('0x10')]=_0xda8ffe[_0xa713('0x10')];this[_0xa713('0x11')]=_0xda8ffe[_0xa713('0x10')];this[_0xa713('0x12')]=_0xda8ffe[_0xa713('0x12')]||0x0;this[_0xa713('0x13')]=_0xda8ffe[_0xa713('0x13')]||0x0;this[_0xa713('0x14')]=_0xda8ffe[_0xa713('0x14')]||0x0;this[_0xa713('0x15')]=_0xda8ffe[_0xa713('0x15')];this[_0xa713('0x16')]=_0xda8ffe['callbackuniqueid'];this['callbackat']=_0xda8ffe['callbackat'];this[_0xa713('0x17')]=_0xda8ffe[_0xa713('0x17')];this[_0xa713('0x18')]=_0xda8ffe['ContactId'];this[_0xa713('0x19')]=_0xda8ffe[_0xa713('0x19')];this[_0xa713('0x1a')]=_0xda8ffe[_0xa713('0x1a')];this[_0xa713('0x1b')]=_0xda8ffe[_0xa713('0x1b')];this[_0xa713('0x1c')]=_0xda8ffe[_0xa713('0x1c')];this[_0xa713('0x1d')]=_0xda8ffe[_0xa713('0x1d')]||'';this['originatecalleridname']=_0xda8ffe[_0xa713('0x1e')]||'';this['state']=_0xda8ffe[_0xa713('0x1f')];this[_0xa713('0x20')]=_0xda8ffe[_0xa713('0x20')];}module['exports']=Final;