Built motion from commit (unavailable).|2.5.4
[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 _0x2c27=['../client','getOpenchannelQueues','Request','GetOpenchannelQueue','timeout','strategy','User','name','online','openchannelPause'];(function(_0x4ba3c4,_0x24842d){var _0x2b6605=function(_0xc2698f){while(--_0xc2698f){_0x4ba3c4['push'](_0x4ba3c4['shift']());}};_0x2b6605(++_0x24842d);}(_0x2c27,0xa0));var _0x72c2=function(_0x536803,_0x1b4cdf){_0x536803=_0x536803-0x0;var _0x393fe9=_0x2c27[_0x536803];return _0x393fe9;};'use strict';var client=require(_0x72c2('0x0'));exports[_0x72c2('0x1')]=function(){return function(){return client[_0x72c2('0x2')](_0x72c2('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x72c2('0x4'),_0x72c2('0x5')],'include':[{'model':_0x72c2('0x6'),'as':'Agents','attributes':['id',_0x72c2('0x7'),_0x72c2('0x8'),_0x72c2('0x9')]}]},'log':_0x72c2('0x1')});};};