058149508b7a7a7cf58cd972537c8d4c9124eec4
[motion2.git] / server / services / routing / rpc / chatQueue.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf71b=['getChatQueues','GetChatQueue','name','timeout','strategy','Agents','online','chatPause'];(function(_0x3db581,_0x24d1ad){var _0x492b96=function(_0x338b51){while(--_0x338b51){_0x3db581['push'](_0x3db581['shift']());}};_0x492b96(++_0x24d1ad);}(_0xf71b,0x1d9));var _0xbf71=function(_0x1cc13c,_0xdd4f19){_0x1cc13c=_0x1cc13c-0x0;var _0x9c05b5=_0xf71b[_0x1cc13c];return _0x9c05b5;};'use strict';var client=require('../client');exports['getChatQueues']=function(){return function(){return client['Request'](_0xbf71('0x0'),{'options':{'raw':![],'attributes':['id',_0xbf71('0x1'),_0xbf71('0x2'),_0xbf71('0x3')],'include':[{'model':'User','as':_0xbf71('0x4'),'attributes':['id',_0xbf71('0x1'),_0xbf71('0x5'),_0xbf71('0x6')]}]},'log':_0xbf71('0x7')});};};