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 _0xdf70=['online','../client','getChatQueues','Request','name','timeout','User'];(function(_0x5d01e7,_0x1fccbd){var _0x127418=function(_0x75ceb9){while(--_0x75ceb9){_0x5d01e7['push'](_0x5d01e7['shift']());}};_0x127418(++_0x1fccbd);}(_0xdf70,0x86));var _0x0df7=function(_0x23018a,_0xc2ce29){_0x23018a=_0x23018a-0x0;var _0x295a10=_0xdf70[_0x23018a];return _0x295a10;};'use strict';var client=require(_0x0df7('0x0'));exports[_0x0df7('0x1')]=function(){return function(){return client[_0x0df7('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x0df7('0x3'),_0x0df7('0x4'),'strategy'],'include':[{'model':_0x0df7('0x5'),'as':'Agents','attributes':['id',_0x0df7('0x3'),_0x0df7('0x6'),'chatPause']}]},'log':_0x0df7('0x1')});};};