Built motion from commit 616d3211.|2.6.4
[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 _0xb0ae=['GetOpenchannelQueue','timeout','User','Agents','name','openchannelPause','../client','getOpenchannelQueues','Request'];(function(_0x1c3778,_0x59b76f){var _0x25db92=function(_0x898536){while(--_0x898536){_0x1c3778['push'](_0x1c3778['shift']());}};_0x25db92(++_0x59b76f);}(_0xb0ae,0xd5));var _0xeb0a=function(_0x522a3b,_0x4b972f){_0x522a3b=_0x522a3b-0x0;var _0x8c6a10=_0xb0ae[_0x522a3b];return _0x8c6a10;};'use strict';var client=require(_0xeb0a('0x0'));exports[_0xeb0a('0x1')]=function(){return function(){return client[_0xeb0a('0x2')](_0xeb0a('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xeb0a('0x4'),'strategy'],'include':[{'model':_0xeb0a('0x5'),'as':_0xeb0a('0x6'),'attributes':['id',_0xeb0a('0x7'),'online',_0xeb0a('0x8')]}]},'log':_0xeb0a('0x1')});};};