Built motion from commit (unavailable).|2.5.4
[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 _0x3d8c=['getOpenchannelQueues','Request','GetOpenchannelQueue','name','Agents','online','openchannelPause','../client'];(function(_0x403ba1,_0x20eebf){var _0x43462c=function(_0x3447ef){while(--_0x3447ef){_0x403ba1['push'](_0x403ba1['shift']());}};_0x43462c(++_0x20eebf);}(_0x3d8c,0x12f));var _0xc3d8=function(_0x47568e,_0x5ccdaf){_0x47568e=_0x47568e-0x0;var _0x33815b=_0x3d8c[_0x47568e];return _0x33815b;};'use strict';var client=require(_0xc3d8('0x0'));exports[_0xc3d8('0x1')]=function(){return function(){return client[_0xc3d8('0x2')](_0xc3d8('0x3'),{'options':{'raw':![],'attributes':['id',_0xc3d8('0x4'),'timeout','strategy'],'include':[{'model':'User','as':_0xc3d8('0x5'),'attributes':['id',_0xc3d8('0x4'),_0xc3d8('0x6'),_0xc3d8('0x7')]}]},'log':_0xc3d8('0x1')});};};