468636d449ea2e564c8750f8e626cf87cf5a8dca
[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 _0x7945=['timeout','strategy','Agents','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x324287,_0x130695){var _0x3ad064=function(_0xfb9fcf){while(--_0xfb9fcf){_0x324287['push'](_0x324287['shift']());}};_0x3ad064(++_0x130695);}(_0x7945,0x112));var _0x5794=function(_0x10dfd7,_0x119f0c){_0x10dfd7=_0x10dfd7-0x0;var _0x1080f6=_0x7945[_0x10dfd7];return _0x1080f6;};'use strict';var client=require(_0x5794('0x0'));exports[_0x5794('0x1')]=function(){return function(){return client[_0x5794('0x2')](_0x5794('0x3'),{'options':{'raw':![],'attributes':['id',_0x5794('0x4'),_0x5794('0x5'),_0x5794('0x6')],'include':[{'model':'User','as':_0x5794('0x7'),'attributes':['id',_0x5794('0x4'),_0x5794('0x8'),'openchannelPause']}]},'log':_0x5794('0x1')});};};