67a37e5a7093e3bdfd1277f873bc5cacfa974e32
[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 _0x1c9a=['getChatQueues','GetChatQueue','name','timeout','strategy','User','chatPause','../client'];(function(_0x25bea7,_0x49ab45){var _0x175952=function(_0x56a0b5){while(--_0x56a0b5){_0x25bea7['push'](_0x25bea7['shift']());}};_0x175952(++_0x49ab45);}(_0x1c9a,0x1a7));var _0xa1c9=function(_0x582580,_0x91090e){_0x582580=_0x582580-0x0;var _0x167504=_0x1c9a[_0x582580];return _0x167504;};'use strict';var client=require(_0xa1c9('0x0'));exports[_0xa1c9('0x1')]=function(){return function(){return client['Request'](_0xa1c9('0x2'),{'options':{'raw':![],'attributes':['id',_0xa1c9('0x3'),_0xa1c9('0x4'),_0xa1c9('0x5')],'include':[{'model':_0xa1c9('0x6'),'as':'Agents','attributes':['id',_0xa1c9('0x3'),'online',_0xa1c9('0x7')]}]},'log':_0xa1c9('0x1')});};};