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