Built motion from commit da617fac.|2.6.6
[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 _0x15ea=['timeout','strategy','Agents','online','openchannelPause','../client','getOpenchannelQueues','name'];(function(_0x1283d4,_0x36b6f1){var _0x433643=function(_0x4c9fbe){while(--_0x4c9fbe){_0x1283d4['push'](_0x1283d4['shift']());}};_0x433643(++_0x36b6f1);}(_0x15ea,0x6d));var _0xa15e=function(_0x476778,_0x2ae12e){_0x476778=_0x476778-0x0;var _0x111535=_0x15ea[_0x476778];return _0x111535;};'use strict';var client=require(_0xa15e('0x0'));exports[_0xa15e('0x1')]=function(){return function(){return client['Request']('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xa15e('0x2'),_0xa15e('0x3'),_0xa15e('0x4')],'include':[{'model':'User','as':_0xa15e('0x5'),'attributes':['id','name',_0xa15e('0x6'),_0xa15e('0x7')]}]},'log':'getOpenchannelQueues'});};};