Built motion from commit 9d7072cc.|2.5.39
[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 _0x8234=['timeout','strategy','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x1b5f7a,_0x281348){var _0x205dd7=function(_0x331712){while(--_0x331712){_0x1b5f7a['push'](_0x1b5f7a['shift']());}};_0x205dd7(++_0x281348);}(_0x8234,0xc3));var _0x4823=function(_0x52d065,_0x31d24){_0x52d065=_0x52d065-0x0;var _0x49f7bc=_0x8234[_0x52d065];return _0x49f7bc;};'use strict';var client=require(_0x4823('0x0'));exports[_0x4823('0x1')]=function(){return function(){return client[_0x4823('0x2')](_0x4823('0x3'),{'options':{'raw':![],'attributes':['id',_0x4823('0x4'),_0x4823('0x5'),_0x4823('0x6')],'include':[{'model':'User','as':_0x4823('0x7'),'attributes':['id',_0x4823('0x4'),_0x4823('0x8'),_0x4823('0x9')]}]},'log':'getOpenchannelQueues'});};};