e5e8d5865320fe10e828dee046b0b71da97064a9
[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 _0x58ed=['countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','statedesc','exports','uniqueid','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry'];(function(_0x4b5667,_0x22f053){var _0xf737f5=function(_0x4fde0d){while(--_0x4fde0d){_0x4b5667['push'](_0x4b5667['shift']());}};_0xf737f5(++_0x22f053);}(_0x58ed,0x11c));var _0xd58e=function(_0xb5f367,_0x5bf716){_0xb5f367=_0xb5f367-0x0;var _0x8c031a=_0x58ed[_0xb5f367];return _0x8c031a;};'use strict';function Final(_0x3c6846){this[_0xd58e('0x0')]=_0x3c6846[_0xd58e('0x0')];this[_0xd58e('0x1')]=_0x3c6846[_0xd58e('0x1')];this[_0xd58e('0x2')]=_0x3c6846[_0xd58e('0x2')];this[_0xd58e('0x3')]=_0x3c6846[_0xd58e('0x2')]==='outbound'?_0xd58e('0x4'):_0x3c6846['type'];this['countbusyretry']=_0x3c6846[_0xd58e('0x5')];this[_0xd58e('0x6')]=_0x3c6846[_0xd58e('0x6')];this[_0xd58e('0x7')]=_0x3c6846[_0xd58e('0x7')];this[_0xd58e('0x8')]=_0x3c6846[_0xd58e('0x5')]+_0x3c6846[_0xd58e('0x6')]+_0x3c6846['countnoanswerretry']+_0x3c6846[_0xd58e('0x9')]+_0x3c6846[_0xd58e('0xa')]+_0x3c6846[_0xd58e('0xb')]+_0x3c6846[_0xd58e('0xc')]+_0x3c6846['countagentrejectretry'];this['countnosuchnumberretry']=_0x3c6846['countnosuchnumberretry'];this[_0xd58e('0xa')]=_0x3c6846[_0xd58e('0xa')];this[_0xd58e('0xb')]=_0x3c6846['countabandonedretry'];this[_0xd58e('0xc')]=_0x3c6846[_0xd58e('0xc')];this[_0xd58e('0xd')]=_0x3c6846['countagentrejectretry'];this[_0xd58e('0x4')]=_0x3c6846['queue'];this[_0xd58e('0xe')]=_0x3c6846['calleridname'];this[_0xd58e('0xf')]=_0x3c6846[_0xd58e('0xf')];this[_0xd58e('0x10')]=_0x3c6846[_0xd58e('0x10')];this[_0xd58e('0x11')]=_0x3c6846['responsetime'];this[_0xd58e('0x12')]=_0x3c6846[_0xd58e('0x11')];this[_0xd58e('0x13')]=_0x3c6846[_0xd58e('0x13')]||0x0;this[_0xd58e('0x14')]=_0x3c6846[_0xd58e('0x14')]||0x0;this[_0xd58e('0x15')]=_0x3c6846[_0xd58e('0x15')]||0x0;this[_0xd58e('0x16')]=_0x3c6846[_0xd58e('0x16')];this[_0xd58e('0x17')]=_0x3c6846[_0xd58e('0x17')];this[_0xd58e('0x18')]=_0x3c6846['callbackat'];this['recallme']=_0x3c6846['recallme'];this['ContactId']=_0x3c6846[_0xd58e('0x19')];this[_0xd58e('0x1a')]=_0x3c6846[_0xd58e('0x1a')];this['UserId']=_0x3c6846['UserId'];this[_0xd58e('0x1b')]=_0x3c6846[_0xd58e('0x1b')];this['CampaignId']=_0x3c6846[_0xd58e('0x1c')];this['originatecalleridnum']=_0x3c6846[_0xd58e('0x1d')]||'';this[_0xd58e('0x1e')]=_0x3c6846[_0xd58e('0x1e')]||'';this['state']=_0x3c6846['state'];this[_0xd58e('0x1f')]=_0x3c6846[_0xd58e('0x1f')];}module[_0xd58e('0x20')]=Final;