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 _0x2e8a=['Request','name','timeout','User','getChatQueues'];(function(_0x16eb19,_0x58cea4){var _0x312a25=function(_0x343702){while(--_0x343702){_0x16eb19['push'](_0x16eb19['shift']());}};_0x312a25(++_0x58cea4);}(_0x2e8a,0xc7));var _0xa2e8=function(_0x2c9b79,_0x7cf58b){_0x2c9b79=_0x2c9b79-0x0;var _0x265032=_0x2e8a[_0x2c9b79];return _0x265032;};'use strict';var client=require('../client');exports[_0xa2e8('0x0')]=function(){return function(){return client[_0xa2e8('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xa2e8('0x2'),_0xa2e8('0x3'),'strategy'],'include':[{'model':_0xa2e8('0x4'),'as':'Agents','attributes':['id','name','online','chatPause']}]},'log':_0xa2e8('0x0')});};};