57bf5319763b26a62bd36bb8ecb716de27bb7c49
[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 _0xccce=['countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry'];(function(_0x4d9b27,_0x31d68c){var _0x30e5d4=function(_0x5d5f37){while(--_0x5d5f37){_0x4d9b27['push'](_0x4d9b27['shift']());}};_0x30e5d4(++_0x31d68c);}(_0xccce,0xa8));var _0xeccc=function(_0x23152c,_0x228708){_0x23152c=_0x23152c-0x0;var _0x54e6ea=_0xccce[_0x23152c];return _0x54e6ea;};'use strict';function Final(_0x15e467){this[_0xeccc('0x0')]=_0x15e467[_0xeccc('0x0')];this[_0xeccc('0x1')]=_0x15e467['scheduledat'];this[_0xeccc('0x2')]=_0x15e467[_0xeccc('0x2')];this[_0xeccc('0x3')]=_0x15e467[_0xeccc('0x2')]===_0xeccc('0x4')?_0xeccc('0x5'):_0x15e467[_0xeccc('0x2')];this['countbusyretry']=_0x15e467[_0xeccc('0x6')];this[_0xeccc('0x7')]=_0x15e467[_0xeccc('0x7')];this[_0xeccc('0x8')]=_0x15e467[_0xeccc('0x8')];this[_0xeccc('0x9')]=_0x15e467[_0xeccc('0x6')]+_0x15e467[_0xeccc('0x7')]+_0x15e467[_0xeccc('0x8')]+_0x15e467[_0xeccc('0xa')]+_0x15e467[_0xeccc('0xb')]+_0x15e467[_0xeccc('0xc')]+_0x15e467[_0xeccc('0xd')]+_0x15e467[_0xeccc('0xe')];this['countnosuchnumberretry']=_0x15e467[_0xeccc('0xa')];this[_0xeccc('0xb')]=_0x15e467[_0xeccc('0xb')];this[_0xeccc('0xc')]=_0x15e467['countabandonedretry'];this[_0xeccc('0xd')]=_0x15e467[_0xeccc('0xd')];this['countagentrejectretry']=_0x15e467['countagentrejectretry'];this[_0xeccc('0x5')]=_0x15e467[_0xeccc('0x5')];this[_0xeccc('0xf')]=_0x15e467['calleridname'];this['calleridnum']=_0x15e467[_0xeccc('0x10')];this['starttime']=_0x15e467[_0xeccc('0x11')];this[_0xeccc('0x12')]=_0x15e467['responsetime'];this[_0xeccc('0x13')]=_0x15e467['responsetime'];this['ringtime']=_0x15e467[_0xeccc('0x14')]||0x0;this['holdtime']=_0x15e467['holdtime']||0x0;this[_0xeccc('0x15')]=_0x15e467[_0xeccc('0x15')]||0x0;this[_0xeccc('0x16')]=_0x15e467[_0xeccc('0x16')];this[_0xeccc('0x17')]=_0x15e467[_0xeccc('0x17')];this[_0xeccc('0x18')]=_0x15e467['callbackat'];this['recallme']=_0x15e467[_0xeccc('0x19')];this[_0xeccc('0x1a')]=_0x15e467['ContactId'];this['ListId']=_0x15e467[_0xeccc('0x1b')];this[_0xeccc('0x1c')]=_0x15e467[_0xeccc('0x1c')];this['VoiceQueueId']=_0x15e467[_0xeccc('0x1d')];this[_0xeccc('0x1e')]=_0x15e467[_0xeccc('0x1e')];this['originatecalleridnum']=_0x15e467[_0xeccc('0x1f')]||'';this[_0xeccc('0x20')]=_0x15e467[_0xeccc('0x20')]||'';this[_0xeccc('0x21')]=_0x15e467[_0xeccc('0x21')];this[_0xeccc('0x22')]=_0x15e467[_0xeccc('0x22')];}module['exports']=Final;