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