Built motion from commit f7863d46.|2.5.41
[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 _0xe4d6=['getChatQueues','Request','GetChatQueue','timeout','strategy','User','online','../client'];(function(_0x51c28d,_0x19b68b){var _0x450cb6=function(_0x5ced3c){while(--_0x5ced3c){_0x51c28d['push'](_0x51c28d['shift']());}};_0x450cb6(++_0x19b68b);}(_0xe4d6,0xd7));var _0x6e4d=function(_0x2a404b,_0x5a0db9){_0x2a404b=_0x2a404b-0x0;var _0x4dbf47=_0xe4d6[_0x2a404b];return _0x4dbf47;};'use strict';var client=require(_0x6e4d('0x0'));exports[_0x6e4d('0x1')]=function(){return function(){return client[_0x6e4d('0x2')](_0x6e4d('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x6e4d('0x4'),_0x6e4d('0x5')],'include':[{'model':_0x6e4d('0x6'),'as':'Agents','attributes':['id','name',_0x6e4d('0x7'),'chatPause']}]},'log':_0x6e4d('0x1')});};};