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 _0xad2b=['timeout','User','Agents','online','getMailQueues','../client','GetMailQueue','name'];(function(_0x470bfb,_0x389787){var _0x2f5d97=function(_0x3431b4){while(--_0x3431b4){_0x470bfb['push'](_0x470bfb['shift']());}};_0x2f5d97(++_0x389787);}(_0xad2b,0x16d));var _0xbad2=function(_0x28f1b9,_0xcf0b50){_0x28f1b9=_0x28f1b9-0x0;var _0x299907=_0xad2b[_0x28f1b9];return _0x299907;};'use strict';var client=require(_0xbad2('0x0'));exports['getMailQueues']=function(){return function(){return client['Request'](_0xbad2('0x1'),{'options':{'raw':![],'attributes':['id',_0xbad2('0x2'),_0xbad2('0x3'),'strategy'],'include':[{'model':_0xbad2('0x4'),'as':_0xbad2('0x5'),'attributes':['id',_0xbad2('0x2'),_0xbad2('0x6'),'mailPause']}]},'log':_0xbad2('0x7')});};};