Built motion from commit da617fac.|2.6.6
[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 _0x0e85=['GetChatQueue','name','Agents','online','chatPause','../client','getChatQueues'];(function(_0x4a1da1,_0x39c7ef){var _0x582240=function(_0x146066){while(--_0x146066){_0x4a1da1['push'](_0x4a1da1['shift']());}};_0x582240(++_0x39c7ef);}(_0x0e85,0x7c));var _0x50e8=function(_0x178e48,_0x3c9509){_0x178e48=_0x178e48-0x0;var _0x440d7e=_0x0e85[_0x178e48];return _0x440d7e;};'use strict';var client=require(_0x50e8('0x0'));exports[_0x50e8('0x1')]=function(){return function(){return client['Request'](_0x50e8('0x2'),{'options':{'raw':![],'attributes':['id',_0x50e8('0x3'),'timeout','strategy'],'include':[{'model':'User','as':_0x50e8('0x4'),'attributes':['id','name',_0x50e8('0x5'),_0x50e8('0x6')]}]},'log':_0x50e8('0x1')});};};