f5d71ce10d62642ae5a8b48858dc5823197b8c54
[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 _0xb0de=['name','strategy','User','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0xe70ed5,_0x404aab){var _0x515cd9=function(_0x33a3d7){while(--_0x33a3d7){_0xe70ed5['push'](_0xe70ed5['shift']());}};_0x515cd9(++_0x404aab);}(_0xb0de,0xec));var _0xeb0d=function(_0x290684,_0x5655a3){_0x290684=_0x290684-0x0;var _0x235635=_0xb0de[_0x290684];return _0x235635;};'use strict';var client=require(_0xeb0d('0x0'));exports[_0xeb0d('0x1')]=function(){return function(){return client[_0xeb0d('0x2')](_0xeb0d('0x3'),{'options':{'raw':![],'attributes':['id',_0xeb0d('0x4'),'timeout',_0xeb0d('0x5')],'include':[{'model':_0xeb0d('0x6'),'as':_0xeb0d('0x7'),'attributes':['id',_0xeb0d('0x4'),_0xeb0d('0x8'),_0xeb0d('0x9')]}]},'log':_0xeb0d('0x1')});};};