Built motion from commit ffdca78c.|2.6.24
[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 _0x1c8a=['type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','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'];(function(_0x2740e4,_0x1cb882){var _0x34750c=function(_0x142f95){while(--_0x142f95){_0x2740e4['push'](_0x2740e4['shift']());}};_0x34750c(++_0x1cb882);}(_0x1c8a,0x170));var _0xa1c8=function(_0x588f2c,_0x10e069){_0x588f2c=_0x588f2c-0x0;var _0x467467=_0x1c8a[_0x588f2c];return _0x467467;};'use strict';function Final(_0x4358e1){this[_0xa1c8('0x0')]=_0x4358e1[_0xa1c8('0x0')];this[_0xa1c8('0x1')]=_0x4358e1[_0xa1c8('0x1')];this[_0xa1c8('0x2')]=_0x4358e1['type'];this[_0xa1c8('0x3')]=_0x4358e1[_0xa1c8('0x2')]===_0xa1c8('0x4')?'queue':_0x4358e1[_0xa1c8('0x2')];this[_0xa1c8('0x5')]=_0x4358e1[_0xa1c8('0x5')];this[_0xa1c8('0x6')]=_0x4358e1[_0xa1c8('0x6')];this[_0xa1c8('0x7')]=_0x4358e1[_0xa1c8('0x7')];this[_0xa1c8('0x8')]=_0x4358e1['countbusyretry']+_0x4358e1[_0xa1c8('0x6')]+_0x4358e1['countnoanswerretry']+_0x4358e1['countnosuchnumberretry']+_0x4358e1[_0xa1c8('0x9')]+_0x4358e1[_0xa1c8('0xa')]+_0x4358e1[_0xa1c8('0xb')]+_0x4358e1[_0xa1c8('0xc')];this[_0xa1c8('0xd')]=_0x4358e1[_0xa1c8('0xd')];this[_0xa1c8('0x9')]=_0x4358e1[_0xa1c8('0x9')];this[_0xa1c8('0xa')]=_0x4358e1[_0xa1c8('0xa')];this[_0xa1c8('0xb')]=_0x4358e1[_0xa1c8('0xb')];this[_0xa1c8('0xc')]=_0x4358e1[_0xa1c8('0xc')];this[_0xa1c8('0xe')]=_0x4358e1[_0xa1c8('0xe')];this[_0xa1c8('0xf')]=_0x4358e1[_0xa1c8('0xf')];this[_0xa1c8('0x10')]=_0x4358e1[_0xa1c8('0x10')];this[_0xa1c8('0x11')]=_0x4358e1[_0xa1c8('0x11')];this['responsetime']=_0x4358e1[_0xa1c8('0x12')];this[_0xa1c8('0x13')]=_0x4358e1['responsetime'];this['ringtime']=_0x4358e1[_0xa1c8('0x14')]||0x0;this['holdtime']=_0x4358e1[_0xa1c8('0x15')]||0x0;this[_0xa1c8('0x16')]=_0x4358e1[_0xa1c8('0x16')]||0x0;this[_0xa1c8('0x17')]=_0x4358e1['callback'];this[_0xa1c8('0x18')]=_0x4358e1['callbackuniqueid'];this[_0xa1c8('0x19')]=_0x4358e1[_0xa1c8('0x19')];this['recallme']=_0x4358e1[_0xa1c8('0x1a')];this[_0xa1c8('0x1b')]=_0x4358e1[_0xa1c8('0x1b')];this[_0xa1c8('0x1c')]=_0x4358e1['ListId'];this[_0xa1c8('0x1d')]=_0x4358e1[_0xa1c8('0x1d')];this['VoiceQueueId']=_0x4358e1[_0xa1c8('0x1e')];this[_0xa1c8('0x1f')]=_0x4358e1[_0xa1c8('0x1f')];this[_0xa1c8('0x20')]=_0x4358e1[_0xa1c8('0x20')]||'';this[_0xa1c8('0x21')]=_0x4358e1['originatecalleridname']||'';this[_0xa1c8('0x22')]=_0x4358e1['state'];this['statedesc']=_0x4358e1[_0xa1c8('0x23')];}module[_0xa1c8('0x24')]=Final;