91f8d890b699ede7d3be41f659e4c0a2fb9eb684
[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 _0xa650=['../client','getOpenchannelQueues','Request','name','timeout','strategy','Agents','online','openchannelPause'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xa650,0xf3));var _0x0a65=function(_0x489397,_0x4aadb7){_0x489397=_0x489397-0x0;var _0xea1b91=_0xa650[_0x489397];return _0xea1b91;};'use strict';var client=require(_0x0a65('0x0'));exports[_0x0a65('0x1')]=function(){return function(){return client[_0x0a65('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x0a65('0x3'),_0x0a65('0x4'),_0x0a65('0x5')],'include':[{'model':'User','as':_0x0a65('0x6'),'attributes':['id',_0x0a65('0x3'),_0x0a65('0x7'),_0x0a65('0x8')]}]},'log':_0x0a65('0x1')});};};