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 _0xec28=['online','mailPause','getMailQueues','Request','GetMailQueue','name','timeout','strategy','Agents'];(function(_0x406747,_0x2a1512){var _0x42a148=function(_0x16d828){while(--_0x16d828){_0x406747['push'](_0x406747['shift']());}};_0x42a148(++_0x2a1512);}(_0xec28,0x150));var _0x8ec2=function(_0x35e31e,_0x2a70a7){_0x35e31e=_0x35e31e-0x0;var _0x281b37=_0xec28[_0x35e31e];return _0x281b37;};'use strict';var client=require('../client');exports['getMailQueues']=function(){return function(){return client[_0x8ec2('0x0')](_0x8ec2('0x1'),{'options':{'raw':![],'attributes':['id',_0x8ec2('0x2'),_0x8ec2('0x3'),_0x8ec2('0x4')],'include':[{'model':'User','as':_0x8ec2('0x5'),'attributes':['id','name',_0x8ec2('0x6'),_0x8ec2('0x7')]}]},'log':_0x8ec2('0x8')});};};