Built motion from commit 863c3375.|2.6.28
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.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 _0xd2cc=['countcongestionretry','countnoanswerretry','countdropretry','countabandonedretry','countnosuchnumberretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','holdtime','talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','agiafterat','state','statedesc','exports','../utils','scheduledat','type','campaigntype','outbound','queue','countbusyretry'];(function(_0x2f2601,_0x10b8be){var _0x3c6e6=function(_0x12a171){while(--_0x12a171){_0x2f2601['push'](_0x2f2601['shift']());}};_0x3c6e6(++_0x10b8be);}(_0xd2cc,0x101));var _0xcd2c=function(_0x3afea4,_0x463102){_0x3afea4=_0x3afea4-0x0;var _0x3e50fd=_0xd2cc[_0x3afea4];return _0x3e50fd;};'use strict';var utils=require(_0xcd2c('0x0'));function QueueCallerAbandon(_0x516363,_0x5b5e61){this[_0xcd2c('0x1')]=_0x516363[_0xcd2c('0x1')];this[_0xcd2c('0x2')]=_0x516363[_0xcd2c('0x2')];this[_0xcd2c('0x3')]=_0x516363[_0xcd2c('0x2')]===_0xcd2c('0x4')?_0xcd2c('0x5'):_0x516363['type'];this['countbusyretry']=_0x516363[_0xcd2c('0x6')];this[_0xcd2c('0x7')]=_0x516363[_0xcd2c('0x7')];this[_0xcd2c('0x8')]=_0x516363[_0xcd2c('0x8')];this['countglobal']=_0x516363['countbusyretry']+_0x516363['countcongestionretry']+_0x516363['countnoanswerretry']+_0x516363['countnosuchnumberretry']+_0x516363[_0xcd2c('0x9')]+_0x516363[_0xcd2c('0xa')]+_0x516363['countmachineretry']+_0x516363['countagentrejectretry'];this[_0xcd2c('0xb')]=_0x516363[_0xcd2c('0xb')];this[_0xcd2c('0x9')]=_0x516363[_0xcd2c('0x9')];this[_0xcd2c('0xa')]=_0x516363[_0xcd2c('0xa')];this[_0xcd2c('0xc')]=_0x516363['countmachineretry'];this['countagentrejectretry']=_0x516363[_0xcd2c('0xd')];this['uniqueid']=_0x5b5e61[_0xcd2c('0xe')];this[_0xcd2c('0xf')]=_0x516363[_0xcd2c('0x10')];this[_0xcd2c('0x11')]=_0x516363[_0xcd2c('0x12')];this[_0xcd2c('0x13')]=_0x516363[_0xcd2c('0x13')];this[_0xcd2c('0x14')]=_0x516363[_0xcd2c('0x14')];this[_0xcd2c('0x15')]=_0x516363[_0xcd2c('0x15')];this[_0xcd2c('0x16')]=_0x516363[_0xcd2c('0x16')];this[_0xcd2c('0x17')]=this[_0xcd2c('0x15')];this[_0xcd2c('0x18')]=utils[_0xcd2c('0x19')](_0x516363[_0xcd2c('0x14')],_0x516363[_0xcd2c('0x13')]);this[_0xcd2c('0x1a')]=utils[_0xcd2c('0x19')](this[_0xcd2c('0x15')],_0x516363[_0xcd2c('0x14')]);this[_0xcd2c('0x1b')]=0x0;this[_0xcd2c('0x5')]=_0x5b5e61[_0xcd2c('0x5')];this[_0xcd2c('0x1c')]=_0x5b5e61[_0xcd2c('0x1d')];this['reason']=_0x5b5e61[_0xcd2c('0x1e')];this[_0xcd2c('0x1f')]=_0x516363[_0xcd2c('0x1f')];this[_0xcd2c('0x20')]=_0x516363[_0xcd2c('0x20')];this[_0xcd2c('0x21')]=_0x516363[_0xcd2c('0x21')];this['recallme']=_0x516363['recallme'];this['ContactId']=_0x516363[_0xcd2c('0x22')];this[_0xcd2c('0x23')]=_0x516363[_0xcd2c('0x23')];this[_0xcd2c('0x24')]=_0x516363[_0xcd2c('0x24')];this[_0xcd2c('0x25')]=_0x516363[_0xcd2c('0x25')];this[_0xcd2c('0x26')]=_0x516363[_0xcd2c('0x26')];this['originatecalleridnum']=_0x516363['originatecalleridnum']||'';this['originatecalleridname']=_0x516363[_0xcd2c('0x27')]||'';this['agiafterat']=_0x516363[_0xcd2c('0x28')];this[_0xcd2c('0x29')]=_0x516363[_0xcd2c('0x29')];this[_0xcd2c('0x2a')]=_0x516363[_0xcd2c('0x2a')];}module[_0xcd2c('0x2b')]=QueueCallerAbandon;