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 _0xc7d9=['name','timeout','User','Agents','online','mailPause','../client','getMailQueues','Request'];(function(_0x554eb1,_0x3b8f40){var _0x1c45ad=function(_0x406e6a){while(--_0x406e6a){_0x554eb1['push'](_0x554eb1['shift']());}};_0x1c45ad(++_0x3b8f40);}(_0xc7d9,0xde));var _0x9c7d=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xc7d9[_0x3bf83f];return _0x22c4a9;};'use strict';var client=require(_0x9c7d('0x0'));exports[_0x9c7d('0x1')]=function(){return function(){return client[_0x9c7d('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x9c7d('0x3'),_0x9c7d('0x4'),'strategy'],'include':[{'model':_0x9c7d('0x5'),'as':_0x9c7d('0x6'),'attributes':['id',_0x9c7d('0x3'),_0x9c7d('0x7'),_0x9c7d('0x8')]}]},'log':_0x9c7d('0x1')});};};