ebb4fb32cc90df9acfa03d79ddf59ea807dae780
[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 _0xfbd5=['getOpenchannelQueues','GetOpenchannelQueue','timeout','strategy','User','Agents','name','online','openchannelPause'];(function(_0x28947d,_0x4cc9c6){var _0x12d2ee=function(_0x3f38fc){while(--_0x3f38fc){_0x28947d['push'](_0x28947d['shift']());}};_0x12d2ee(++_0x4cc9c6);}(_0xfbd5,0x7e));var _0x5fbd=function(_0x5483c3,_0x418d8d){_0x5483c3=_0x5483c3-0x0;var _0x19ef72=_0xfbd5[_0x5483c3];return _0x19ef72;};'use strict';var client=require('../client');exports[_0x5fbd('0x0')]=function(){return function(){return client['Request'](_0x5fbd('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x5fbd('0x2'),_0x5fbd('0x3')],'include':[{'model':_0x5fbd('0x4'),'as':_0x5fbd('0x5'),'attributes':['id',_0x5fbd('0x6'),_0x5fbd('0x7'),_0x5fbd('0x8')]}]},'log':_0x5fbd('0x0')});};};