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 _0x6a88=['Request','GetChatQueue','name','timeout','strategy','Agents','chatPause','../client','getChatQueues'];(function(_0x1694f5,_0x49b7c3){var _0x5b4321=function(_0x58c183){while(--_0x58c183){_0x1694f5['push'](_0x1694f5['shift']());}};_0x5b4321(++_0x49b7c3);}(_0x6a88,0xa9));var _0x86a8=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0x6a88[_0x13d07a];return _0x5ee0ee;};'use strict';var client=require(_0x86a8('0x0'));exports[_0x86a8('0x1')]=function(){return function(){return client[_0x86a8('0x2')](_0x86a8('0x3'),{'options':{'raw':![],'attributes':['id',_0x86a8('0x4'),_0x86a8('0x5'),_0x86a8('0x6')],'include':[{'model':'User','as':_0x86a8('0x7'),'attributes':['id','name','online',_0x86a8('0x8')]}]},'log':_0x86a8('0x1')});};};