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