Built motion from commit 953226e6.|2.6.32
[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 _0x1c8d=['originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','CampaignId'];(function(_0x14b57e,_0x4af54e){var _0xd75477=function(_0x16a0fe){while(--_0x16a0fe){_0x14b57e['push'](_0x14b57e['shift']());}};_0xd75477(++_0x4af54e);}(_0x1c8d,0x115));var _0xd1c8=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x1c8d[_0x6c993a];return _0x27f547;};'use strict';function Final(_0x20e711){this[_0xd1c8('0x0')]=_0x20e711[_0xd1c8('0x0')];this[_0xd1c8('0x1')]=_0x20e711['scheduledat'];this[_0xd1c8('0x2')]=_0x20e711[_0xd1c8('0x2')];this['campaigntype']=_0x20e711[_0xd1c8('0x2')]===_0xd1c8('0x3')?_0xd1c8('0x4'):_0x20e711[_0xd1c8('0x2')];this[_0xd1c8('0x5')]=_0x20e711['countbusyretry'];this[_0xd1c8('0x6')]=_0x20e711['countcongestionretry'];this[_0xd1c8('0x7')]=_0x20e711[_0xd1c8('0x7')];this['countglobal']=_0x20e711[_0xd1c8('0x5')]+_0x20e711[_0xd1c8('0x6')]+_0x20e711[_0xd1c8('0x7')]+_0x20e711[_0xd1c8('0x8')]+_0x20e711[_0xd1c8('0x9')]+_0x20e711[_0xd1c8('0xa')]+_0x20e711[_0xd1c8('0xb')]+_0x20e711[_0xd1c8('0xc')];this[_0xd1c8('0x8')]=_0x20e711[_0xd1c8('0x8')];this[_0xd1c8('0x9')]=_0x20e711[_0xd1c8('0x9')];this[_0xd1c8('0xa')]=_0x20e711[_0xd1c8('0xa')];this['countmachineretry']=_0x20e711['countmachineretry'];this['countagentrejectretry']=_0x20e711[_0xd1c8('0xc')];this[_0xd1c8('0x4')]=_0x20e711['queue'];this[_0xd1c8('0xd')]=_0x20e711[_0xd1c8('0xd')];this[_0xd1c8('0xe')]=_0x20e711[_0xd1c8('0xe')];this[_0xd1c8('0xf')]=_0x20e711[_0xd1c8('0xf')];this[_0xd1c8('0x10')]=_0x20e711[_0xd1c8('0x10')];this[_0xd1c8('0x11')]=_0x20e711[_0xd1c8('0x10')];this[_0xd1c8('0x12')]=_0x20e711[_0xd1c8('0x12')]||0x0;this[_0xd1c8('0x13')]=_0x20e711['holdtime']||0x0;this['talktime']=_0x20e711[_0xd1c8('0x14')]||0x0;this[_0xd1c8('0x15')]=_0x20e711['callback'];this[_0xd1c8('0x16')]=_0x20e711[_0xd1c8('0x16')];this[_0xd1c8('0x17')]=_0x20e711[_0xd1c8('0x17')];this[_0xd1c8('0x18')]=_0x20e711['recallme'];this[_0xd1c8('0x19')]=_0x20e711[_0xd1c8('0x19')];this[_0xd1c8('0x1a')]=_0x20e711[_0xd1c8('0x1a')];this[_0xd1c8('0x1b')]=_0x20e711[_0xd1c8('0x1b')];this['VoiceQueueId']=_0x20e711['VoiceQueueId'];this['CampaignId']=_0x20e711[_0xd1c8('0x1c')];this['originatecalleridnum']=_0x20e711[_0xd1c8('0x1d')]||'';this[_0xd1c8('0x1e')]=_0x20e711[_0xd1c8('0x1e')]||'';this[_0xd1c8('0x1f')]=_0x20e711[_0xd1c8('0x1f')];this['statedesc']=_0x20e711[_0xd1c8('0x20')];}module[_0xd1c8('0x21')]=Final;