Built motion from commit (unavailable).|2.5.31
[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 _0x3cea=['name','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x7171d3,_0x2739bc){var _0x529a94=function(_0x2c9147){while(--_0x2c9147){_0x7171d3['push'](_0x7171d3['shift']());}};_0x529a94(++_0x2739bc);}(_0x3cea,0x18e));var _0xa3ce=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x3cea[_0x501510];return _0x1e6ee5;};'use strict';var client=require(_0xa3ce('0x0'));exports[_0xa3ce('0x1')]=function(){return function(){return client[_0xa3ce('0x2')](_0xa3ce('0x3'),{'options':{'raw':![],'attributes':['id',_0xa3ce('0x4'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id','name',_0xa3ce('0x5'),'openchannelPause']}]},'log':_0xa3ce('0x1')});};};