Built motion from commit 449495f6.|2.6.27
[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 _0x7d7c=['responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','originatecalleridnum','originatecalleridname','statedesc','exports','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','countabandonedretry','calleridname','calleridnum','starttime'];(function(_0x1721f6,_0x2d2bae){var _0x2219fe=function(_0x3bc848){while(--_0x3bc848){_0x1721f6['push'](_0x1721f6['shift']());}};_0x2219fe(++_0x2d2bae);}(_0x7d7c,0x145));var _0xc7d7=function(_0x21fbe0,_0x525d03){_0x21fbe0=_0x21fbe0-0x0;var _0x16ecb4=_0x7d7c[_0x21fbe0];return _0x16ecb4;};'use strict';function Final(_0x174304){this['uniqueid']=_0x174304['uniqueid'];this[_0xc7d7('0x0')]=_0x174304[_0xc7d7('0x0')];this[_0xc7d7('0x1')]=_0x174304['type'];this['campaigntype']=_0x174304[_0xc7d7('0x1')]===_0xc7d7('0x2')?_0xc7d7('0x3'):_0x174304[_0xc7d7('0x1')];this[_0xc7d7('0x4')]=_0x174304['countbusyretry'];this[_0xc7d7('0x5')]=_0x174304['countcongestionretry'];this[_0xc7d7('0x6')]=_0x174304['countnoanswerretry'];this[_0xc7d7('0x7')]=_0x174304[_0xc7d7('0x4')]+_0x174304[_0xc7d7('0x5')]+_0x174304[_0xc7d7('0x6')]+_0x174304['countnosuchnumberretry']+_0x174304[_0xc7d7('0x8')]+_0x174304['countabandonedretry']+_0x174304[_0xc7d7('0x9')]+_0x174304[_0xc7d7('0xa')];this[_0xc7d7('0xb')]=_0x174304[_0xc7d7('0xb')];this[_0xc7d7('0x8')]=_0x174304[_0xc7d7('0x8')];this[_0xc7d7('0xc')]=_0x174304[_0xc7d7('0xc')];this['countmachineretry']=_0x174304[_0xc7d7('0x9')];this[_0xc7d7('0xa')]=_0x174304[_0xc7d7('0xa')];this[_0xc7d7('0x3')]=_0x174304[_0xc7d7('0x3')];this[_0xc7d7('0xd')]=_0x174304[_0xc7d7('0xd')];this[_0xc7d7('0xe')]=_0x174304[_0xc7d7('0xe')];this[_0xc7d7('0xf')]=_0x174304['starttime'];this[_0xc7d7('0x10')]=_0x174304[_0xc7d7('0x10')];this['endtime']=_0x174304[_0xc7d7('0x10')];this[_0xc7d7('0x11')]=_0x174304[_0xc7d7('0x11')]||0x0;this[_0xc7d7('0x12')]=_0x174304[_0xc7d7('0x12')]||0x0;this['talktime']=_0x174304[_0xc7d7('0x13')]||0x0;this[_0xc7d7('0x14')]=_0x174304[_0xc7d7('0x14')];this[_0xc7d7('0x15')]=_0x174304['callbackuniqueid'];this[_0xc7d7('0x16')]=_0x174304[_0xc7d7('0x16')];this[_0xc7d7('0x17')]=_0x174304['recallme'];this[_0xc7d7('0x18')]=_0x174304['ContactId'];this[_0xc7d7('0x19')]=_0x174304[_0xc7d7('0x19')];this[_0xc7d7('0x1a')]=_0x174304[_0xc7d7('0x1a')];this['VoiceQueueId']=_0x174304['VoiceQueueId'];this['CampaignId']=_0x174304['CampaignId'];this[_0xc7d7('0x1b')]=_0x174304[_0xc7d7('0x1b')]||'';this[_0xc7d7('0x1c')]=_0x174304[_0xc7d7('0x1c')]||'';this['state']=_0x174304['state'];this[_0xc7d7('0x1d')]=_0x174304['statedesc'];}module[_0xc7d7('0x1e')]=Final;