021e33b953edb2b4b8f1919a1f833421c61c2c6f
[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 _0x32d0=['../client','getOpenchannelQueues','GetOpenchannelQueue','name','timeout','strategy','User','Agents','online','openchannelPause'];(function(_0x101e7b,_0x4ef05b){var _0x4995c0=function(_0x1a6488){while(--_0x1a6488){_0x101e7b['push'](_0x101e7b['shift']());}};_0x4995c0(++_0x4ef05b);}(_0x32d0,0x140));var _0x032d=function(_0x3c9fcf,_0x4f639f){_0x3c9fcf=_0x3c9fcf-0x0;var _0x26d6a5=_0x32d0[_0x3c9fcf];return _0x26d6a5;};'use strict';var client=require(_0x032d('0x0'));exports[_0x032d('0x1')]=function(){return function(){return client['Request'](_0x032d('0x2'),{'options':{'raw':![],'attributes':['id',_0x032d('0x3'),_0x032d('0x4'),_0x032d('0x5')],'include':[{'model':_0x032d('0x6'),'as':_0x032d('0x7'),'attributes':['id',_0x032d('0x3'),_0x032d('0x8'),_0x032d('0x9')]}]},'log':'getOpenchannelQueues'});};};