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 _0xe2d6=['Request','name','timeout','User','Agents','mailPause','getMailQueues','../client'];(function(_0x292ed7,_0x4fe68e){var _0xcfb8a0=function(_0x4d133e){while(--_0x4d133e){_0x292ed7['push'](_0x292ed7['shift']());}};_0xcfb8a0(++_0x4fe68e);}(_0xe2d6,0xe7));var _0x6e2d=function(_0x28aea5,_0x3bb12e){_0x28aea5=_0x28aea5-0x0;var _0x6a55f9=_0xe2d6[_0x28aea5];return _0x6a55f9;};'use strict';var client=require(_0x6e2d('0x0'));exports['getMailQueues']=function(){return function(){return client[_0x6e2d('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x6e2d('0x2'),_0x6e2d('0x3'),'strategy'],'include':[{'model':_0x6e2d('0x4'),'as':_0x6e2d('0x5'),'attributes':['id',_0x6e2d('0x2'),'online',_0x6e2d('0x6')]}]},'log':_0x6e2d('0x7')});};};