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 _0xc88c=['strategy','Agents','online','../client','Request','GetMailQueue','name','timeout'];(function(_0x3ef951,_0xae273a){var _0x2e8659=function(_0x4f980e){while(--_0x4f980e){_0x3ef951['push'](_0x3ef951['shift']());}};_0x2e8659(++_0xae273a);}(_0xc88c,0x1b3));var _0xcc88=function(_0x11a54b,_0x1d4f3e){_0x11a54b=_0x11a54b-0x0;var _0x26840f=_0xc88c[_0x11a54b];return _0x26840f;};'use strict';var client=require(_0xcc88('0x0'));exports['getMailQueues']=function(){return function(){return client[_0xcc88('0x1')](_0xcc88('0x2'),{'options':{'raw':![],'attributes':['id',_0xcc88('0x3'),_0xcc88('0x4'),_0xcc88('0x5')],'include':[{'model':'User','as':_0xcc88('0x6'),'attributes':['id',_0xcc88('0x3'),_0xcc88('0x7'),'mailPause']}]},'log':'getMailQueues'});};};