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