ddd1ab7aea46c216a45dd966443f6335077feb98
[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 _0xade7=['getOpenchannelQueues','GetOpenchannelQueue','strategy','User','Agents','name','online','openchannelPause'];(function(_0x43742f,_0x5d1b54){var _0x17eb33=function(_0x55d5f5){while(--_0x55d5f5){_0x43742f['push'](_0x43742f['shift']());}};_0x17eb33(++_0x5d1b54);}(_0xade7,0x160));var _0x7ade=function(_0x1be50b,_0x27c249){_0x1be50b=_0x1be50b-0x0;var _0x5a70eb=_0xade7[_0x1be50b];return _0x5a70eb;};'use strict';var client=require('../client');exports[_0x7ade('0x0')]=function(){return function(){return client['Request'](_0x7ade('0x1'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x7ade('0x2')],'include':[{'model':_0x7ade('0x3'),'as':_0x7ade('0x4'),'attributes':['id',_0x7ade('0x5'),_0x7ade('0x6'),_0x7ade('0x7')]}]},'log':_0x7ade('0x0')});};};