1bb687a270da0efd10cd34636e710c2a2c20d5ce
[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 _0xc10c=['Request','GetOpenchannelQueue','name','strategy','Agents','openchannelPause','../client','getOpenchannelQueues'];(function(_0x6ff3a9,_0x13b9c2){var _0x249066=function(_0x47f270){while(--_0x47f270){_0x6ff3a9['push'](_0x6ff3a9['shift']());}};_0x249066(++_0x13b9c2);}(_0xc10c,0x176));var _0xcc10=function(_0x29e4c0,_0xf8b14d){_0x29e4c0=_0x29e4c0-0x0;var _0x15b64b=_0xc10c[_0x29e4c0];return _0x15b64b;};'use strict';var client=require(_0xcc10('0x0'));exports[_0xcc10('0x1')]=function(){return function(){return client[_0xcc10('0x2')](_0xcc10('0x3'),{'options':{'raw':![],'attributes':['id',_0xcc10('0x4'),'timeout',_0xcc10('0x5')],'include':[{'model':'User','as':_0xcc10('0x6'),'attributes':['id',_0xcc10('0x4'),'online',_0xcc10('0x7')]}]},'log':_0xcc10('0x1')});};};