Built motion from commit (unavailable).|2.5.28
[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 _0x5287=['name','strategy','User','Agents','openchannelPause','getOpenchannelQueues','../client','Request'];(function(_0x5cc129,_0x545293){var _0x31a680=function(_0x588e9a){while(--_0x588e9a){_0x5cc129['push'](_0x5cc129['shift']());}};_0x31a680(++_0x545293);}(_0x5287,0x1ee));var _0x7528=function(_0x5c034a,_0x196bf3){_0x5c034a=_0x5c034a-0x0;var _0x17bb1a=_0x5287[_0x5c034a];return _0x17bb1a;};'use strict';var client=require(_0x7528('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x7528('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x7528('0x2'),'timeout',_0x7528('0x3')],'include':[{'model':_0x7528('0x4'),'as':_0x7528('0x5'),'attributes':['id','name','online',_0x7528('0x6')]}]},'log':_0x7528('0x7')});};};