Built motion from commit 4c281f94.|2.6.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 _0xfd65=['User','Agents','online','openchannelPause','getOpenchannelQueues','GetOpenchannelQueue','name','strategy'];(function(_0x62f0c6,_0x4a2bae){var _0x2bddb6=function(_0x4dc1b5){while(--_0x4dc1b5){_0x62f0c6['push'](_0x62f0c6['shift']());}};_0x2bddb6(++_0x4a2bae);}(_0xfd65,0x13d));var _0x5fd6=function(_0x15c421,_0x6366f7){_0x15c421=_0x15c421-0x0;var _0x5e5ed5=_0xfd65[_0x15c421];return _0x5e5ed5;};'use strict';var client=require('../client');exports['getOpenchannelQueues']=function(){return function(){return client['Request'](_0x5fd6('0x0'),{'options':{'raw':![],'attributes':['id',_0x5fd6('0x1'),'timeout',_0x5fd6('0x2')],'include':[{'model':_0x5fd6('0x3'),'as':_0x5fd6('0x4'),'attributes':['id',_0x5fd6('0x1'),_0x5fd6('0x5'),_0x5fd6('0x6')]}]},'log':_0x5fd6('0x7')});};};