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 _0x08d9=['chatPause','getChatQueues','../client','Request','name','timeout','strategy','online'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x08d9,0xc2));var _0x908d=function(_0x3e34a3,_0x53fbfe){_0x3e34a3=_0x3e34a3-0x0;var _0x22f0e6=_0x08d9[_0x3e34a3];return _0x22f0e6;};'use strict';var client=require(_0x908d('0x0'));exports['getChatQueues']=function(){return function(){return client[_0x908d('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x908d('0x2'),_0x908d('0x3'),_0x908d('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x908d('0x2'),_0x908d('0x5'),_0x908d('0x6')]}]},'log':_0x908d('0x7')});};};