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 _0xd517=['User','name','../client','getMailQueues','GetMailQueue','timeout','strategy'];(function(_0x14f57f,_0x31e743){var _0x1dc939=function(_0x1a7078){while(--_0x1a7078){_0x14f57f['push'](_0x14f57f['shift']());}};_0x1dc939(++_0x31e743);}(_0xd517,0xe2));var _0x7d51=function(_0x1b8f5a,_0x57c154){_0x1b8f5a=_0x1b8f5a-0x0;var _0x594189=_0xd517[_0x1b8f5a];return _0x594189;};'use strict';var client=require(_0x7d51('0x0'));exports[_0x7d51('0x1')]=function(){return function(){return client['Request'](_0x7d51('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x7d51('0x3'),_0x7d51('0x4')],'include':[{'model':_0x7d51('0x5'),'as':'Agents','attributes':['id',_0x7d51('0x6'),'online','mailPause']}]},'log':_0x7d51('0x1')});};};