e8521eb3ff455db366db88624e9f21a76ef8bce6
[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 _0x6e61=['strategy','User','Agents','online','openchannelPause','getOpenchannelQueues','GetOpenchannelQueue','name','timeout'];(function(_0x40a38f,_0x4606ce){var _0x2357e5=function(_0x205289){while(--_0x205289){_0x40a38f['push'](_0x40a38f['shift']());}};_0x2357e5(++_0x4606ce);}(_0x6e61,0x19a));var _0x16e6=function(_0x42e495,_0x49d9da){_0x42e495=_0x42e495-0x0;var _0x595da1=_0x6e61[_0x42e495];return _0x595da1;};'use strict';var client=require('../client');exports[_0x16e6('0x0')]=function(){return function(){return client['Request'](_0x16e6('0x1'),{'options':{'raw':![],'attributes':['id',_0x16e6('0x2'),_0x16e6('0x3'),_0x16e6('0x4')],'include':[{'model':_0x16e6('0x5'),'as':_0x16e6('0x6'),'attributes':['id',_0x16e6('0x2'),_0x16e6('0x7'),_0x16e6('0x8')]}]},'log':_0x16e6('0x0')});};};