1e041c341c088a6f5f3c04e9ba3df68c33e18080
[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 _0x15f9=['User','Agents','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0x2ce33f,_0x7736fc){var _0x512681=function(_0x4457f3){while(--_0x4457f3){_0x2ce33f['push'](_0x2ce33f['shift']());}};_0x512681(++_0x7736fc);}(_0x15f9,0x150));var _0x915f=function(_0xd10ebc,_0x17c401){_0xd10ebc=_0xd10ebc-0x0;var _0x381f46=_0x15f9[_0xd10ebc];return _0x381f46;};'use strict';var client=require(_0x915f('0x0'));exports[_0x915f('0x1')]=function(){return function(){return client[_0x915f('0x2')](_0x915f('0x3'),{'options':{'raw':![],'attributes':['id',_0x915f('0x4'),_0x915f('0x5'),'strategy'],'include':[{'model':_0x915f('0x6'),'as':_0x915f('0x7'),'attributes':['id',_0x915f('0x4'),'online',_0x915f('0x8')]}]},'log':'getOpenchannelQueues'});};};