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 _0x6b86=['getMailQueues','../client','Request','User','Agents','name'];(function(_0x4fde08,_0x463a36){var _0x12e725=function(_0x2670c5){while(--_0x2670c5){_0x4fde08['push'](_0x4fde08['shift']());}};_0x12e725(++_0x463a36);}(_0x6b86,0x199));var _0x66b8=function(_0x36f427,_0x410379){_0x36f427=_0x36f427-0x0;var _0x478c4c=_0x6b86[_0x36f427];return _0x478c4c;};'use strict';var client=require(_0x66b8('0x0'));exports['getMailQueues']=function(){return function(){return client[_0x66b8('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0x66b8('0x2'),'as':_0x66b8('0x3'),'attributes':['id',_0x66b8('0x4'),'online','mailPause']}]},'log':_0x66b8('0x5')});};};