3596f31da2a79e9193995895a290fdacb2e9a329
[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 _0x45d1=['Agents','online','chatPause','../client','getChatQueues','GetChatQueue','name','strategy'];(function(_0x630d2f,_0x3a2481){var _0x1c4c48=function(_0x59c926){while(--_0x59c926){_0x630d2f['push'](_0x630d2f['shift']());}};_0x1c4c48(++_0x3a2481);}(_0x45d1,0x1cb));var _0x145d=function(_0x786e9,_0x1a029){_0x786e9=_0x786e9-0x0;var _0x1f891b=_0x45d1[_0x786e9];return _0x1f891b;};'use strict';var client=require(_0x145d('0x0'));exports[_0x145d('0x1')]=function(){return function(){return client['Request'](_0x145d('0x2'),{'options':{'raw':![],'attributes':['id',_0x145d('0x3'),'timeout',_0x145d('0x4')],'include':[{'model':'User','as':_0x145d('0x5'),'attributes':['id',_0x145d('0x3'),_0x145d('0x6'),_0x145d('0x7')]}]},'log':_0x145d('0x1')});};};