7c76cbcf0b1b999b02b09a679eb4740168dc220b
[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 _0x6113=['Request','GetOpenchannelQueue','name','timeout','User','Agents','online','openchannelPause','../client','getOpenchannelQueues'];(function(_0x549363,_0x15cf16){var _0x4df0fd=function(_0x565d44){while(--_0x565d44){_0x549363['push'](_0x549363['shift']());}};_0x4df0fd(++_0x15cf16);}(_0x6113,0x1f2));var _0x3611=function(_0x19c535,_0x2ad2b5){_0x19c535=_0x19c535-0x0;var _0x282e28=_0x6113[_0x19c535];return _0x282e28;};'use strict';var client=require(_0x3611('0x0'));exports[_0x3611('0x1')]=function(){return function(){return client[_0x3611('0x2')](_0x3611('0x3'),{'options':{'raw':![],'attributes':['id',_0x3611('0x4'),_0x3611('0x5'),'strategy'],'include':[{'model':_0x3611('0x6'),'as':_0x3611('0x7'),'attributes':['id',_0x3611('0x4'),_0x3611('0x8'),_0x3611('0x9')]}]},'log':_0x3611('0x1')});};};