Built motion from commit c738b9ac.|2.6.25
[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 _0xbff6=['type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','holdtime','talktime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','exports','../utils','scheduledat'];(function(_0x55ed74,_0x4bb1c4){var _0x538781=function(_0x209057){while(--_0x209057){_0x55ed74['push'](_0x55ed74['shift']());}};_0x538781(++_0x4bb1c4);}(_0xbff6,0xae));var _0x6bff=function(_0x368fb9,_0x1a9895){_0x368fb9=_0x368fb9-0x0;var _0x4892fb=_0xbff6[_0x368fb9];return _0x4892fb;};'use strict';var utils=require(_0x6bff('0x0'));function QueueCallerAbandon(_0x58a643,_0x30b780){this['scheduledat']=_0x58a643[_0x6bff('0x1')];this['type']=_0x58a643[_0x6bff('0x2')];this[_0x6bff('0x3')]=_0x58a643[_0x6bff('0x2')]===_0x6bff('0x4')?_0x6bff('0x5'):_0x58a643['type'];this[_0x6bff('0x6')]=_0x58a643['countbusyretry'];this['countcongestionretry']=_0x58a643[_0x6bff('0x7')];this['countnoanswerretry']=_0x58a643[_0x6bff('0x8')];this[_0x6bff('0x9')]=_0x58a643[_0x6bff('0x6')]+_0x58a643[_0x6bff('0x7')]+_0x58a643[_0x6bff('0x8')]+_0x58a643['countnosuchnumberretry']+_0x58a643[_0x6bff('0xa')]+_0x58a643[_0x6bff('0xb')]+_0x58a643[_0x6bff('0xc')]+_0x58a643[_0x6bff('0xd')];this[_0x6bff('0xe')]=_0x58a643[_0x6bff('0xe')];this[_0x6bff('0xa')]=_0x58a643[_0x6bff('0xa')];this[_0x6bff('0xb')]=_0x58a643['countabandonedretry'];this['countmachineretry']=_0x58a643[_0x6bff('0xc')];this[_0x6bff('0xd')]=_0x58a643['countagentrejectretry'];this[_0x6bff('0xf')]=_0x30b780[_0x6bff('0xf')];this[_0x6bff('0x10')]=_0x58a643[_0x6bff('0x11')];this[_0x6bff('0x12')]=_0x58a643['number'];this[_0x6bff('0x13')]=_0x58a643[_0x6bff('0x13')];this[_0x6bff('0x14')]=_0x58a643[_0x6bff('0x14')];this[_0x6bff('0x15')]=_0x58a643[_0x6bff('0x15')];this[_0x6bff('0x16')]=_0x58a643[_0x6bff('0x16')];this[_0x6bff('0x17')]=this[_0x6bff('0x15')];this[_0x6bff('0x18')]=utils[_0x6bff('0x19')](_0x58a643[_0x6bff('0x14')],_0x58a643[_0x6bff('0x13')]);this[_0x6bff('0x1a')]=utils['getSeconds'](this[_0x6bff('0x15')],_0x58a643[_0x6bff('0x14')]);this[_0x6bff('0x1b')]=0x0;this['queue']=_0x30b780[_0x6bff('0x5')];this['membername']=_0x30b780[_0x6bff('0x1c')];this['reason']=_0x30b780[_0x6bff('0x1d')];this[_0x6bff('0x1e')]=_0x58a643[_0x6bff('0x1e')];this[_0x6bff('0x1f')]=_0x58a643['callbackuniqueid'];this[_0x6bff('0x20')]=_0x58a643[_0x6bff('0x20')];this[_0x6bff('0x21')]=_0x58a643[_0x6bff('0x21')];this[_0x6bff('0x22')]=_0x58a643['ContactId'];this[_0x6bff('0x23')]=_0x58a643[_0x6bff('0x23')];this['UserId']=_0x58a643[_0x6bff('0x24')];this[_0x6bff('0x25')]=_0x58a643['VoiceQueueId'];this[_0x6bff('0x26')]=_0x58a643[_0x6bff('0x26')];this[_0x6bff('0x27')]=_0x58a643[_0x6bff('0x27')]||'';this[_0x6bff('0x28')]=_0x58a643[_0x6bff('0x28')]||'';this[_0x6bff('0x29')]=_0x58a643[_0x6bff('0x29')];this['state']=_0x58a643[_0x6bff('0x2a')];this['statedesc']=_0x58a643['statedesc'];}module[_0x6bff('0x2b')]=QueueCallerAbandon;