Built motion from commit (unavailable).|2.4.18
[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 _0xde85=['getOpenchannelQueues','Request','GetOpenchannelQueue','name','User','online','openchannelPause','../client'];(function(_0xfade2d,_0x19816f){var _0x38f8c9=function(_0x265b81){while(--_0x265b81){_0xfade2d['push'](_0xfade2d['shift']());}};_0x38f8c9(++_0x19816f);}(_0xde85,0xcf));var _0x5de8=function(_0x5eb92f,_0x2d108d){_0x5eb92f=_0x5eb92f-0x0;var _0x4352cc=_0xde85[_0x5eb92f];return _0x4352cc;};'use strict';var client=require(_0x5de8('0x0'));exports[_0x5de8('0x1')]=function(){return function(){return client[_0x5de8('0x2')](_0x5de8('0x3'),{'options':{'raw':![],'attributes':['id',_0x5de8('0x4'),'timeout','strategy'],'include':[{'model':_0x5de8('0x5'),'as':'Agents','attributes':['id',_0x5de8('0x4'),_0x5de8('0x6'),_0x5de8('0x7')]}]},'log':'getOpenchannelQueues'});};};