Built motion from commit e1760111.|2.6.18
[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 _0x39c4=['getOpenchannelQueues','name','timeout','Agents','online','openchannelPause'];(function(_0x4c0a71,_0x5e847f){var _0x3320e9=function(_0x34f43f){while(--_0x34f43f){_0x4c0a71['push'](_0x4c0a71['shift']());}};_0x3320e9(++_0x5e847f);}(_0x39c4,0x174));var _0x439c=function(_0x2e943e,_0x3d6789){_0x2e943e=_0x2e943e-0x0;var _0x42d341=_0x39c4[_0x2e943e];return _0x42d341;};'use strict';var client=require('../client');exports[_0x439c('0x0')]=function(){return function(){return client['Request']('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x439c('0x1'),_0x439c('0x2'),'strategy'],'include':[{'model':'User','as':_0x439c('0x3'),'attributes':['id',_0x439c('0x1'),_0x439c('0x4'),_0x439c('0x5')]}]},'log':_0x439c('0x0')});};};