21abcad9451346294aa81ea6e448da2e8330ce32
[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 _0xd257=['User','Agents','name','online','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','timeout','strategy'];(function(_0x4f9b18,_0x2cb5ca){var _0x29f20c=function(_0x268b3d){while(--_0x268b3d){_0x4f9b18['push'](_0x4f9b18['shift']());}};_0x29f20c(++_0x2cb5ca);}(_0xd257,0x13b));var _0x7d25=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0xd257[_0x122096];return _0x3d1966;};'use strict';var client=require('../client');exports[_0x7d25('0x0')]=function(){return function(){return client[_0x7d25('0x1')](_0x7d25('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x7d25('0x3'),_0x7d25('0x4')],'include':[{'model':_0x7d25('0x5'),'as':_0x7d25('0x6'),'attributes':['id',_0x7d25('0x7'),_0x7d25('0x8'),_0x7d25('0x9')]}]},'log':_0x7d25('0x0')});};};