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