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 _0x5178=['GetChatQueue','name','timeout','Agents','chatPause','getChatQueues','Request'];(function(_0x5cf083,_0x5b8ab7){var _0x399146=function(_0x34f26e){while(--_0x34f26e){_0x5cf083['push'](_0x5cf083['shift']());}};_0x399146(++_0x5b8ab7);}(_0x5178,0x171));var _0x8517=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x5178[_0x6c993a];return _0x27f547;};'use strict';var client=require('../client');exports[_0x8517('0x0')]=function(){return function(){return client[_0x8517('0x1')](_0x8517('0x2'),{'options':{'raw':![],'attributes':['id',_0x8517('0x3'),_0x8517('0x4'),'strategy'],'include':[{'model':'User','as':_0x8517('0x5'),'attributes':['id',_0x8517('0x3'),'online',_0x8517('0x6')]}]},'log':'getChatQueues'});};};