Built motion from commit 3c2ce842.|2.6.31
[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 _0x2c96=['originatecalleridnum','originatecalleridname','state','statedesc','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countdropretry','countmachineretry','countnosuchnumberretry','countabandonedretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId'];(function(_0x36eaaa,_0x326732){var _0x461349=function(_0x4e4180){while(--_0x4e4180){_0x36eaaa['push'](_0x36eaaa['shift']());}};_0x461349(++_0x326732);}(_0x2c96,0x6d));var _0x62c9=function(_0xd36fbc,_0x36147c){_0xd36fbc=_0xd36fbc-0x0;var _0x3b78dd=_0x2c96[_0xd36fbc];return _0x3b78dd;};'use strict';function Final(_0x226b1a){this[_0x62c9('0x0')]=_0x226b1a[_0x62c9('0x0')];this[_0x62c9('0x1')]=_0x226b1a['scheduledat'];this[_0x62c9('0x2')]=_0x226b1a['type'];this[_0x62c9('0x3')]=_0x226b1a[_0x62c9('0x2')]===_0x62c9('0x4')?_0x62c9('0x5'):_0x226b1a[_0x62c9('0x2')];this[_0x62c9('0x6')]=_0x226b1a['countbusyretry'];this[_0x62c9('0x7')]=_0x226b1a[_0x62c9('0x7')];this['countnoanswerretry']=_0x226b1a[_0x62c9('0x8')];this['countglobal']=_0x226b1a[_0x62c9('0x6')]+_0x226b1a['countcongestionretry']+_0x226b1a[_0x62c9('0x8')]+_0x226b1a['countnosuchnumberretry']+_0x226b1a[_0x62c9('0x9')]+_0x226b1a['countabandonedretry']+_0x226b1a[_0x62c9('0xa')]+_0x226b1a['countagentrejectretry'];this[_0x62c9('0xb')]=_0x226b1a[_0x62c9('0xb')];this['countdropretry']=_0x226b1a[_0x62c9('0x9')];this[_0x62c9('0xc')]=_0x226b1a[_0x62c9('0xc')];this[_0x62c9('0xa')]=_0x226b1a[_0x62c9('0xa')];this[_0x62c9('0xd')]=_0x226b1a['countagentrejectretry'];this['queue']=_0x226b1a[_0x62c9('0x5')];this[_0x62c9('0xe')]=_0x226b1a[_0x62c9('0xe')];this[_0x62c9('0xf')]=_0x226b1a[_0x62c9('0xf')];this[_0x62c9('0x10')]=_0x226b1a[_0x62c9('0x10')];this[_0x62c9('0x11')]=_0x226b1a[_0x62c9('0x11')];this[_0x62c9('0x12')]=_0x226b1a[_0x62c9('0x11')];this['ringtime']=_0x226b1a[_0x62c9('0x13')]||0x0;this[_0x62c9('0x14')]=_0x226b1a['holdtime']||0x0;this[_0x62c9('0x15')]=_0x226b1a[_0x62c9('0x15')]||0x0;this['callback']=_0x226b1a[_0x62c9('0x16')];this[_0x62c9('0x17')]=_0x226b1a['callbackuniqueid'];this[_0x62c9('0x18')]=_0x226b1a['callbackat'];this[_0x62c9('0x19')]=_0x226b1a[_0x62c9('0x19')];this['ContactId']=_0x226b1a[_0x62c9('0x1a')];this[_0x62c9('0x1b')]=_0x226b1a['ListId'];this[_0x62c9('0x1c')]=_0x226b1a[_0x62c9('0x1c')];this[_0x62c9('0x1d')]=_0x226b1a[_0x62c9('0x1d')];this[_0x62c9('0x1e')]=_0x226b1a[_0x62c9('0x1e')];this[_0x62c9('0x1f')]=_0x226b1a[_0x62c9('0x1f')]||'';this[_0x62c9('0x20')]=_0x226b1a[_0x62c9('0x20')]||'';this[_0x62c9('0x21')]=_0x226b1a[_0x62c9('0x21')];this[_0x62c9('0x22')]=_0x226b1a['statedesc'];}module['exports']=Final;