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 _0xecf8=['Agents','name','mailPause','../client','getMailQueues','GetMailQueue','timeout','strategy','User'];(function(_0xb3924,_0x2876cf){var _0x391578=function(_0x2b5f02){while(--_0x2b5f02){_0xb3924['push'](_0xb3924['shift']());}};_0x391578(++_0x2876cf);}(_0xecf8,0x1ce));var _0x8ecf=function(_0x56aa61,_0x510209){_0x56aa61=_0x56aa61-0x0;var _0x4290b4=_0xecf8[_0x56aa61];return _0x4290b4;};'use strict';var client=require(_0x8ecf('0x0'));exports[_0x8ecf('0x1')]=function(){return function(){return client['Request'](_0x8ecf('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x8ecf('0x3'),_0x8ecf('0x4')],'include':[{'model':_0x8ecf('0x5'),'as':_0x8ecf('0x6'),'attributes':['id',_0x8ecf('0x7'),'online',_0x8ecf('0x8')]}]},'log':_0x8ecf('0x1')});};};