Built motion from commit (unavailable).|2.4.19
[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 _0x1da0=['name','timeout','strategy','Agents','online','openchannelPause','getOpenchannelQueues','../client','Request','GetOpenchannelQueue'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x1da0,0x93));var _0x01da=function(_0x45ae0d,_0x1ea3b9){_0x45ae0d=_0x45ae0d-0x0;var _0x371826=_0x1da0[_0x45ae0d];return _0x371826;};'use strict';var client=require(_0x01da('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x01da('0x1')](_0x01da('0x2'),{'options':{'raw':![],'attributes':['id',_0x01da('0x3'),_0x01da('0x4'),_0x01da('0x5')],'include':[{'model':'User','as':_0x01da('0x6'),'attributes':['id',_0x01da('0x3'),_0x01da('0x7'),_0x01da('0x8')]}]},'log':_0x01da('0x9')});};};