Built motion from commit (unavailable).|2.4.17
[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 _0xdae9=['timeout','strategy','User','Agents','name','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue'];(function(_0x52a1b1,_0x8896d4){var _0x4467ae=function(_0x50e163){while(--_0x50e163){_0x52a1b1['push'](_0x52a1b1['shift']());}};_0x4467ae(++_0x8896d4);}(_0xdae9,0xba));var _0x9dae=function(_0x1e2080,_0x53283b){_0x1e2080=_0x1e2080-0x0;var _0x260111=_0xdae9[_0x1e2080];return _0x260111;};'use strict';var client=require(_0x9dae('0x0'));exports[_0x9dae('0x1')]=function(){return function(){return client['Request'](_0x9dae('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x9dae('0x3'),_0x9dae('0x4')],'include':[{'model':_0x9dae('0x5'),'as':_0x9dae('0x6'),'attributes':['id',_0x9dae('0x7'),'online',_0x9dae('0x8')]}]},'log':_0x9dae('0x1')});};};