Built motion from commit (unavailable).|2.5.2
[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 _0x52e5=['../client','Request','GetOpenchannelQueue','name','strategy','User','openchannelPause','getOpenchannelQueues'];(function(_0xa71133,_0x3d252f){var _0x253083=function(_0x4afbf1){while(--_0x4afbf1){_0xa71133['push'](_0xa71133['shift']());}};_0x253083(++_0x3d252f);}(_0x52e5,0xc0));var _0x552e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x52e5[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x552e('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x552e('0x1')](_0x552e('0x2'),{'options':{'raw':![],'attributes':['id',_0x552e('0x3'),'timeout',_0x552e('0x4')],'include':[{'model':_0x552e('0x5'),'as':'Agents','attributes':['id',_0x552e('0x3'),'online',_0x552e('0x6')]}]},'log':_0x552e('0x7')});};};