Built motion from commit (unavailable).|2.5.14
[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 _0xf626=['../client','getChatQueues','Request','name','timeout','User','Agents','chatPause'];(function(_0x34ed44,_0x908217){var _0x474bdc=function(_0x5b1f62){while(--_0x5b1f62){_0x34ed44['push'](_0x34ed44['shift']());}};_0x474bdc(++_0x908217);}(_0xf626,0x68));var _0x6f62=function(_0x543728,_0x564488){_0x543728=_0x543728-0x0;var _0x2a3ece=_0xf626[_0x543728];return _0x2a3ece;};'use strict';var client=require(_0x6f62('0x0'));exports[_0x6f62('0x1')]=function(){return function(){return client[_0x6f62('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x6f62('0x3'),_0x6f62('0x4'),'strategy'],'include':[{'model':_0x6f62('0x5'),'as':_0x6f62('0x6'),'attributes':['id',_0x6f62('0x3'),'online',_0x6f62('0x7')]}]},'log':_0x6f62('0x1')});};};