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 _0xf1a8=['strategy','User','Agents','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout'];(function(_0x47159c,_0x1c8216){var _0x454dbe=function(_0x2b54f7){while(--_0x2b54f7){_0x47159c['push'](_0x47159c['shift']());}};_0x454dbe(++_0x1c8216);}(_0xf1a8,0x72));var _0x8f1a=function(_0x31b850,_0x350f8a){_0x31b850=_0x31b850-0x0;var _0x3dd724=_0xf1a8[_0x31b850];return _0x3dd724;};'use strict';var client=require(_0x8f1a('0x0'));exports[_0x8f1a('0x1')]=function(){return function(){return client[_0x8f1a('0x2')](_0x8f1a('0x3'),{'options':{'raw':![],'attributes':['id',_0x8f1a('0x4'),_0x8f1a('0x5'),_0x8f1a('0x6')],'include':[{'model':_0x8f1a('0x7'),'as':_0x8f1a('0x8'),'attributes':['id','name','online',_0x8f1a('0x9')]}]},'log':_0x8f1a('0x1')});};};