1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x4605=['mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User','Agents','online'];(function(_0x5d39a5,_0x52e10e){var _0x3e938f=function(_0x45f4e9){while(--_0x45f4e9){_0x5d39a5['push'](_0x5d39a5['shift']());}};_0x3e938f(++_0x52e10e);}(_0x4605,0x182));var _0x5460=function(_0x122fe6,_0x4ac758){_0x122fe6=_0x122fe6-0x0;var _0x36b7d2=_0x4605[_0x122fe6];return _0x36b7d2;};'use strict';var client=require(_0x5460('0x0'));exports[_0x5460('0x1')]=function(){return function(){return client[_0x5460('0x2')](_0x5460('0x3'),{'options':{'raw':![],'attributes':['id',_0x5460('0x4'),_0x5460('0x5'),_0x5460('0x6')],'include':[{'model':_0x5460('0x7'),'as':_0x5460('0x8'),'attributes':['id',_0x5460('0x4'),_0x5460('0x9'),_0x5460('0xa')]}]},'log':_0x5460('0x1')});};};