Built motion from commit 97153652.|2.6.26
[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 _0xad8e=['countmachineretry','countdropretry','countagentrejectretry','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry'];(function(_0x41e771,_0x8f47ed){var _0x705fcf=function(_0x4e1ad5){while(--_0x4e1ad5){_0x41e771['push'](_0x41e771['shift']());}};_0x705fcf(++_0x8f47ed);}(_0xad8e,0xb7));var _0xead8=function(_0x176149,_0x50b528){_0x176149=_0x176149-0x0;var _0x7b22ab=_0xad8e[_0x176149];return _0x7b22ab;};'use strict';function Final(_0x40861f){this[_0xead8('0x0')]=_0x40861f[_0xead8('0x0')];this['scheduledat']=_0x40861f['scheduledat'];this[_0xead8('0x1')]=_0x40861f[_0xead8('0x1')];this['campaigntype']=_0x40861f[_0xead8('0x1')]===_0xead8('0x2')?_0xead8('0x3'):_0x40861f[_0xead8('0x1')];this[_0xead8('0x4')]=_0x40861f[_0xead8('0x4')];this[_0xead8('0x5')]=_0x40861f['countcongestionretry'];this[_0xead8('0x6')]=_0x40861f['countnoanswerretry'];this['countglobal']=_0x40861f[_0xead8('0x4')]+_0x40861f[_0xead8('0x5')]+_0x40861f[_0xead8('0x6')]+_0x40861f[_0xead8('0x7')]+_0x40861f['countdropretry']+_0x40861f[_0xead8('0x8')]+_0x40861f[_0xead8('0x9')]+_0x40861f['countagentrejectretry'];this[_0xead8('0x7')]=_0x40861f[_0xead8('0x7')];this[_0xead8('0xa')]=_0x40861f[_0xead8('0xa')];this[_0xead8('0x8')]=_0x40861f[_0xead8('0x8')];this[_0xead8('0x9')]=_0x40861f[_0xead8('0x9')];this[_0xead8('0xb')]=_0x40861f['countagentrejectretry'];this[_0xead8('0x3')]=_0x40861f['queue'];this['calleridname']=_0x40861f['calleridname'];this[_0xead8('0xc')]=_0x40861f[_0xead8('0xc')];this[_0xead8('0xd')]=_0x40861f[_0xead8('0xd')];this['responsetime']=_0x40861f[_0xead8('0xe')];this[_0xead8('0xf')]=_0x40861f[_0xead8('0xe')];this[_0xead8('0x10')]=_0x40861f[_0xead8('0x10')]||0x0;this[_0xead8('0x11')]=_0x40861f[_0xead8('0x11')]||0x0;this['talktime']=_0x40861f[_0xead8('0x12')]||0x0;this[_0xead8('0x13')]=_0x40861f['callback'];this[_0xead8('0x14')]=_0x40861f['callbackuniqueid'];this['callbackat']=_0x40861f[_0xead8('0x15')];this[_0xead8('0x16')]=_0x40861f[_0xead8('0x16')];this['ContactId']=_0x40861f[_0xead8('0x17')];this['ListId']=_0x40861f['ListId'];this[_0xead8('0x18')]=_0x40861f[_0xead8('0x18')];this[_0xead8('0x19')]=_0x40861f[_0xead8('0x19')];this[_0xead8('0x1a')]=_0x40861f[_0xead8('0x1a')];this[_0xead8('0x1b')]=_0x40861f[_0xead8('0x1b')]||'';this[_0xead8('0x1c')]=_0x40861f[_0xead8('0x1c')]||'';this[_0xead8('0x1d')]=_0x40861f[_0xead8('0x1d')];this[_0xead8('0x1e')]=_0x40861f[_0xead8('0x1e')];}module[_0xead8('0x1f')]=Final;