Built motion from commit 10af8726.|2.6.34
[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 _0x22e9=['User','Agents','online','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue'];(function(_0x479774,_0x393894){var _0x5f4e5c=function(_0x59f7d2){while(--_0x59f7d2){_0x479774['push'](_0x479774['shift']());}};_0x5f4e5c(++_0x393894);}(_0x22e9,0x115));var _0x922e=function(_0x34db21,_0x4256bb){_0x34db21=_0x34db21-0x0;var _0x5e7d82=_0x22e9[_0x34db21];return _0x5e7d82;};'use strict';var client=require(_0x922e('0x0'));exports[_0x922e('0x1')]=function(){return function(){return client['Request'](_0x922e('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0x922e('0x3'),'as':_0x922e('0x4'),'attributes':['id','name',_0x922e('0x5'),_0x922e('0x6')]}]},'log':_0x922e('0x1')});};};