Built motion from commit fe909640.|2.6.8
[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 _0xfab4=['Request','GetOpenchannelQueue','name','User','Agents','online','openchannelPause','getOpenchannelQueues'];(function(_0x2e6544,_0x168aef){var _0x8dceb5=function(_0x54d448){while(--_0x54d448){_0x2e6544['push'](_0x2e6544['shift']());}};_0x8dceb5(++_0x168aef);}(_0xfab4,0x1c7));var _0x4fab=function(_0x2ca5c2,_0x51604d){_0x2ca5c2=_0x2ca5c2-0x0;var _0x44029e=_0xfab4[_0x2ca5c2];return _0x44029e;};'use strict';var client=require('../client');exports[_0x4fab('0x0')]=function(){return function(){return client[_0x4fab('0x1')](_0x4fab('0x2'),{'options':{'raw':![],'attributes':['id',_0x4fab('0x3'),'timeout','strategy'],'include':[{'model':_0x4fab('0x4'),'as':_0x4fab('0x5'),'attributes':['id',_0x4fab('0x3'),_0x4fab('0x6'),_0x4fab('0x7')]}]},'log':_0x4fab('0x0')});};};