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 _0xa7e0=['User','Agents','name','online','mailPause','../client','getMailQueues','Request','timeout','strategy'];(function(_0x21b880,_0x56d303){var _0x252eae=function(_0x2d5527){while(--_0x2d5527){_0x21b880['push'](_0x21b880['shift']());}};_0x252eae(++_0x56d303);}(_0xa7e0,0xff));var _0x0a7e=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xa7e0[_0x56482c];return _0x5aae7a;};'use strict';var client=require(_0x0a7e('0x0'));exports[_0x0a7e('0x1')]=function(){return function(){return client[_0x0a7e('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name',_0x0a7e('0x3'),_0x0a7e('0x4')],'include':[{'model':_0x0a7e('0x5'),'as':_0x0a7e('0x6'),'attributes':['id',_0x0a7e('0x7'),_0x0a7e('0x8'),_0x0a7e('0x9')]}]},'log':_0x0a7e('0x1')});};};