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