Built motion from commit b7e79837.|2.6.29
[motion2.git] / server / services / routing / rpc / openchannelQueue.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 _0x2db4=['name','timeout','strategy','User','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x59eefb,_0x2151ce){var _0x1a49e8=function(_0x5a758c){while(--_0x5a758c){_0x59eefb['push'](_0x59eefb['shift']());}};_0x1a49e8(++_0x2151ce);}(_0x2db4,0xd5));var _0x42db=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0x2db4[_0x2d7f0e];return _0x110b07;};'use strict';var client=require('../client');exports[_0x42db('0x0')]=function(){return function(){return client[_0x42db('0x1')](_0x42db('0x2'),{'options':{'raw':![],'attributes':['id',_0x42db('0x3'),_0x42db('0x4'),_0x42db('0x5')],'include':[{'model':_0x42db('0x6'),'as':'Agents','attributes':['id',_0x42db('0x3'),'online',_0x42db('0x7')]}]},'log':_0x42db('0x0')});};};