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 _0xa566=['User','../client','getChatQueues','Request','name','timeout','strategy'];(function(_0x4dad18,_0x51f33d){var _0x4156b2=function(_0x34142b){while(--_0x34142b){_0x4dad18['push'](_0x4dad18['shift']());}};_0x4156b2(++_0x51f33d);}(_0xa566,0x1c1));var _0x6a56=function(_0x257449,_0x4e3a7c){_0x257449=_0x257449-0x0;var _0x5310ad=_0xa566[_0x257449];return _0x5310ad;};'use strict';var client=require(_0x6a56('0x0'));exports[_0x6a56('0x1')]=function(){return function(){return client[_0x6a56('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x6a56('0x3'),_0x6a56('0x4'),_0x6a56('0x5')],'include':[{'model':_0x6a56('0x6'),'as':'Agents','attributes':['id',_0x6a56('0x3'),'online','chatPause']}]},'log':'getChatQueues'});};};