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 _0xf0ba=['GetChatQueue','name','strategy','User','chatPause','../client','getChatQueues','Request'];(function(_0x5967c0,_0x452377){var _0x2ad249=function(_0x7eb26){while(--_0x7eb26){_0x5967c0['push'](_0x5967c0['shift']());}};_0x2ad249(++_0x452377);}(_0xf0ba,0x1ed));var _0xaf0b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf0ba[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0xaf0b('0x0'));exports[_0xaf0b('0x1')]=function(){return function(){return client[_0xaf0b('0x2')](_0xaf0b('0x3'),{'options':{'raw':![],'attributes':['id',_0xaf0b('0x4'),'timeout',_0xaf0b('0x5')],'include':[{'model':_0xaf0b('0x6'),'as':'Agents','attributes':['id',_0xaf0b('0x4'),'online',_0xaf0b('0x7')]}]},'log':'getChatQueues'});};};