Built motion from commit 753c950e.|2.5.42
[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 _0xa8f0=['Agents','online','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0xa8f0,0x173));var _0x0a8f=function(_0x55e659,_0x233aa4){_0x55e659=_0x55e659-0x0;var _0xca08c7=_0xa8f0[_0x55e659];return _0xca08c7;};'use strict';var client=require('../client');exports[_0x0a8f('0x0')]=function(){return function(){return client[_0x0a8f('0x1')](_0x0a8f('0x2'),{'options':{'raw':![],'attributes':['id',_0x0a8f('0x3'),_0x0a8f('0x4'),_0x0a8f('0x5')],'include':[{'model':_0x0a8f('0x6'),'as':_0x0a8f('0x7'),'attributes':['id','name',_0x0a8f('0x8'),'openchannelPause']}]},'log':_0x0a8f('0x0')});};};