791e690364bfc489c50e37a1d82f4c97ab480452
[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 _0x2e61=['GetOpenchannelQueue','name','timeout','strategy','User','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request'];(function(_0x2605a0,_0x229de5){var _0x3c9031=function(_0x319322){while(--_0x319322){_0x2605a0['push'](_0x2605a0['shift']());}};_0x3c9031(++_0x229de5);}(_0x2e61,0x11b));var _0x12e6=function(_0x205328,_0x12c15a){_0x205328=_0x205328-0x0;var _0x4a30eb=_0x2e61[_0x205328];return _0x4a30eb;};'use strict';var client=require(_0x12e6('0x0'));exports[_0x12e6('0x1')]=function(){return function(){return client[_0x12e6('0x2')](_0x12e6('0x3'),{'options':{'raw':![],'attributes':['id',_0x12e6('0x4'),_0x12e6('0x5'),_0x12e6('0x6')],'include':[{'model':_0x12e6('0x7'),'as':_0x12e6('0x8'),'attributes':['id','name',_0x12e6('0x9'),_0x12e6('0xa')]}]},'log':_0x12e6('0x1')});};};