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 _0x0e09=['online','mailPause','../client','getMailQueues','Request','GetMailQueue','name'];(function(_0x1e556e,_0x3742be){var _0x2a5aba=function(_0x357241){while(--_0x357241){_0x1e556e['push'](_0x1e556e['shift']());}};_0x2a5aba(++_0x3742be);}(_0x0e09,0x191));var _0x90e0=function(_0x5c5ff6,_0x2ab337){_0x5c5ff6=_0x5c5ff6-0x0;var _0x3841b4=_0x0e09[_0x5c5ff6];return _0x3841b4;};'use strict';var client=require(_0x90e0('0x0'));exports[_0x90e0('0x1')]=function(){return function(){return client[_0x90e0('0x2')](_0x90e0('0x3'),{'options':{'raw':![],'attributes':['id',_0x90e0('0x4'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x90e0('0x4'),_0x90e0('0x5'),_0x90e0('0x6')]}]},'log':'getMailQueues'});};};