Built motion from commit 639a1a7f.|2.6.19
[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 _0x4283=['countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','holdtime','talktime','callback','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','campaigntype','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry'];(function(_0x4375ad,_0x327726){var _0x372124=function(_0xd6e60d){while(--_0xd6e60d){_0x4375ad['push'](_0x4375ad['shift']());}};_0x372124(++_0x327726);}(_0x4283,0x18f));var _0x3428=function(_0x4de27e,_0x3de5c8){_0x4de27e=_0x4de27e-0x0;var _0x2f36af=_0x4283[_0x4de27e];return _0x2f36af;};'use strict';function Final(_0x5651fc){this[_0x3428('0x0')]=_0x5651fc[_0x3428('0x0')];this['scheduledat']=_0x5651fc[_0x3428('0x1')];this[_0x3428('0x2')]=_0x5651fc[_0x3428('0x2')];this[_0x3428('0x3')]=_0x5651fc[_0x3428('0x2')]==='outbound'?'queue':_0x5651fc['type'];this[_0x3428('0x4')]=_0x5651fc[_0x3428('0x4')];this[_0x3428('0x5')]=_0x5651fc['countcongestionretry'];this[_0x3428('0x6')]=_0x5651fc[_0x3428('0x6')];this[_0x3428('0x7')]=_0x5651fc[_0x3428('0x4')]+_0x5651fc[_0x3428('0x5')]+_0x5651fc[_0x3428('0x6')]+_0x5651fc[_0x3428('0x8')]+_0x5651fc[_0x3428('0x9')]+_0x5651fc[_0x3428('0xa')]+_0x5651fc[_0x3428('0xb')]+_0x5651fc[_0x3428('0xc')];this[_0x3428('0x8')]=_0x5651fc[_0x3428('0x8')];this[_0x3428('0x9')]=_0x5651fc[_0x3428('0x9')];this[_0x3428('0xa')]=_0x5651fc[_0x3428('0xa')];this[_0x3428('0xb')]=_0x5651fc[_0x3428('0xb')];this[_0x3428('0xc')]=_0x5651fc[_0x3428('0xc')];this[_0x3428('0xd')]=_0x5651fc[_0x3428('0xd')];this['calleridname']=_0x5651fc[_0x3428('0xe')];this['calleridnum']=_0x5651fc[_0x3428('0xf')];this[_0x3428('0x10')]=_0x5651fc[_0x3428('0x10')];this[_0x3428('0x11')]=_0x5651fc[_0x3428('0x11')];this[_0x3428('0x12')]=_0x5651fc[_0x3428('0x11')];this['ringtime']=_0x5651fc['ringtime']||0x0;this[_0x3428('0x13')]=_0x5651fc[_0x3428('0x13')]||0x0;this['talktime']=_0x5651fc[_0x3428('0x14')]||0x0;this[_0x3428('0x15')]=_0x5651fc['callback'];this['callbackuniqueid']=_0x5651fc['callbackuniqueid'];this['callbackat']=_0x5651fc[_0x3428('0x16')];this[_0x3428('0x17')]=_0x5651fc['recallme'];this['ContactId']=_0x5651fc[_0x3428('0x18')];this[_0x3428('0x19')]=_0x5651fc[_0x3428('0x19')];this[_0x3428('0x1a')]=_0x5651fc[_0x3428('0x1a')];this[_0x3428('0x1b')]=_0x5651fc[_0x3428('0x1b')];this[_0x3428('0x1c')]=_0x5651fc[_0x3428('0x1c')];this[_0x3428('0x1d')]=_0x5651fc['originatecalleridnum']||'';this['originatecalleridname']=_0x5651fc[_0x3428('0x1e')]||'';this[_0x3428('0x1f')]=_0x5651fc['state'];this[_0x3428('0x20')]=_0x5651fc[_0x3428('0x20')];}module[_0x3428('0x21')]=Final;