Built motion from commit da617fac.|2.6.6
[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 _0x6177=['online','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name','User','Agents'];(function(_0x29b997,_0x3f7266){var _0x18fe58=function(_0x11ba28){while(--_0x11ba28){_0x29b997['push'](_0x29b997['shift']());}};_0x18fe58(++_0x3f7266);}(_0x6177,0x192));var _0x7617=function(_0x187ee1,_0x3fd1e6){_0x187ee1=_0x187ee1-0x0;var _0x388160=_0x6177[_0x187ee1];return _0x388160;};'use strict';var client=require('../client');exports[_0x7617('0x0')]=function(){return function(){return client[_0x7617('0x1')](_0x7617('0x2'),{'options':{'raw':![],'attributes':['id',_0x7617('0x3'),'timeout','strategy'],'include':[{'model':_0x7617('0x4'),'as':_0x7617('0x5'),'attributes':['id',_0x7617('0x3'),_0x7617('0x6'),_0x7617('0x7')]}]},'log':_0x7617('0x0')});};};