Built motion from commit a61a4a20.|2.5.46
[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 _0x6175=['GetOpenchannelQueue','name','timeout','User','Agents','openchannelPause','../client','Request'];(function(_0x3e820d,_0x6134c3){var _0x313139=function(_0x325139){while(--_0x325139){_0x3e820d['push'](_0x3e820d['shift']());}};_0x313139(++_0x6134c3);}(_0x6175,0xe6));var _0x5617=function(_0x333d1d,_0x19da50){_0x333d1d=_0x333d1d-0x0;var _0x2c5606=_0x6175[_0x333d1d];return _0x2c5606;};'use strict';var client=require(_0x5617('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x5617('0x1')](_0x5617('0x2'),{'options':{'raw':![],'attributes':['id',_0x5617('0x3'),_0x5617('0x4'),'strategy'],'include':[{'model':_0x5617('0x5'),'as':_0x5617('0x6'),'attributes':['id',_0x5617('0x3'),'online',_0x5617('0x7')]}]},'log':'getOpenchannelQueues'});};};