Built motion from commit 9d0783e6.|2.6.13
[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 _0x5db8=['strategy','online','openchannelPause','../client','getOpenchannelQueues','Request','name','timeout'];(function(_0x48f1d9,_0x5c3dba){var _0x287b84=function(_0x37c8c){while(--_0x37c8c){_0x48f1d9['push'](_0x48f1d9['shift']());}};_0x287b84(++_0x5c3dba);}(_0x5db8,0xbb));var _0x85db=function(_0x3f1710,_0x3877a2){_0x3f1710=_0x3f1710-0x0;var _0x528458=_0x5db8[_0x3f1710];return _0x528458;};'use strict';var client=require(_0x85db('0x0'));exports[_0x85db('0x1')]=function(){return function(){return client[_0x85db('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x85db('0x3'),_0x85db('0x4'),_0x85db('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x85db('0x3'),_0x85db('0x6'),_0x85db('0x7')]}]},'log':_0x85db('0x1')});};};