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 _0x770d=['../client','getChatQueues','Request','GetChatQueue','name','timeout','strategy','Agents','online','chatPause'];(function(_0x41bc46,_0x5079c0){var _0x2c55f0=function(_0x169d3b){while(--_0x169d3b){_0x41bc46['push'](_0x41bc46['shift']());}};_0x2c55f0(++_0x5079c0);}(_0x770d,0x122));var _0xd770=function(_0x2185e1,_0x5dd29c){_0x2185e1=_0x2185e1-0x0;var _0x3b5c4c=_0x770d[_0x2185e1];return _0x3b5c4c;};'use strict';var client=require(_0xd770('0x0'));exports[_0xd770('0x1')]=function(){return function(){return client[_0xd770('0x2')](_0xd770('0x3'),{'options':{'raw':![],'attributes':['id',_0xd770('0x4'),_0xd770('0x5'),_0xd770('0x6')],'include':[{'model':'User','as':_0xd770('0x7'),'attributes':['id',_0xd770('0x4'),_0xd770('0x8'),_0xd770('0x9')]}]},'log':'getChatQueues'});};};