48973d76cbbef31260fe12dfde5d581cc8c44bb9
[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 _0x1521=['type','outbound','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat'];(function(_0x22aee4,_0x3b490d){var _0x4a6815=function(_0x1f60bc){while(--_0x1f60bc){_0x22aee4['push'](_0x22aee4['shift']());}};_0x4a6815(++_0x3b490d);}(_0x1521,0x1de));var _0x1152=function(_0x2b55b5,_0x78505e){_0x2b55b5=_0x2b55b5-0x0;var _0x103d28=_0x1521[_0x2b55b5];return _0x103d28;};'use strict';function Final(_0x35ffd7){this[_0x1152('0x0')]=_0x35ffd7[_0x1152('0x0')];this[_0x1152('0x1')]=_0x35ffd7[_0x1152('0x1')];this[_0x1152('0x2')]=_0x35ffd7['type'];this['campaigntype']=_0x35ffd7['type']===_0x1152('0x3')?'queue':_0x35ffd7[_0x1152('0x2')];this['countbusyretry']=_0x35ffd7['countbusyretry'];this[_0x1152('0x4')]=_0x35ffd7[_0x1152('0x4')];this[_0x1152('0x5')]=_0x35ffd7[_0x1152('0x5')];this[_0x1152('0x6')]=_0x35ffd7['countbusyretry']+_0x35ffd7[_0x1152('0x4')]+_0x35ffd7[_0x1152('0x5')]+_0x35ffd7[_0x1152('0x7')]+_0x35ffd7[_0x1152('0x8')]+_0x35ffd7['countabandonedretry']+_0x35ffd7['countmachineretry']+_0x35ffd7['countagentrejectretry'];this[_0x1152('0x7')]=_0x35ffd7[_0x1152('0x7')];this['countdropretry']=_0x35ffd7[_0x1152('0x8')];this[_0x1152('0x9')]=_0x35ffd7[_0x1152('0x9')];this['countmachineretry']=_0x35ffd7[_0x1152('0xa')];this[_0x1152('0xb')]=_0x35ffd7[_0x1152('0xb')];this['queue']=_0x35ffd7['queue'];this[_0x1152('0xc')]=_0x35ffd7[_0x1152('0xc')];this[_0x1152('0xd')]=_0x35ffd7[_0x1152('0xd')];this[_0x1152('0xe')]=_0x35ffd7[_0x1152('0xe')];this['responsetime']=_0x35ffd7[_0x1152('0xf')];this[_0x1152('0x10')]=_0x35ffd7[_0x1152('0xf')];this[_0x1152('0x11')]=_0x35ffd7[_0x1152('0x11')]||0x0;this[_0x1152('0x12')]=_0x35ffd7[_0x1152('0x12')]||0x0;this[_0x1152('0x13')]=_0x35ffd7[_0x1152('0x13')]||0x0;this['callback']=_0x35ffd7[_0x1152('0x14')];this[_0x1152('0x15')]=_0x35ffd7[_0x1152('0x15')];this['callbackat']=_0x35ffd7[_0x1152('0x16')];this[_0x1152('0x17')]=_0x35ffd7['recallme'];this['ContactId']=_0x35ffd7['ContactId'];this['ListId']=_0x35ffd7['ListId'];this[_0x1152('0x18')]=_0x35ffd7[_0x1152('0x18')];this[_0x1152('0x19')]=_0x35ffd7[_0x1152('0x19')];this[_0x1152('0x1a')]=_0x35ffd7[_0x1152('0x1a')];this[_0x1152('0x1b')]=_0x35ffd7[_0x1152('0x1b')]||'';this[_0x1152('0x1c')]=_0x35ffd7['originatecalleridname']||'';this[_0x1152('0x1d')]=_0x35ffd7[_0x1152('0x1d')];this['statedesc']=_0x35ffd7[_0x1152('0x1e')];}module[_0x1152('0x1f')]=Final;