Built motion from commit 9d0783e6.|2.6.13
[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 _0x8260=['online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','strategy','User','Agents','name'];(function(_0x25d804,_0x5fac0f){var _0x2391d0=function(_0x38fa0b){while(--_0x38fa0b){_0x25d804['push'](_0x25d804['shift']());}};_0x2391d0(++_0x5fac0f);}(_0x8260,0x1c4));var _0x0826=function(_0x1dd997,_0x578bf5){_0x1dd997=_0x1dd997-0x0;var _0x440e4b=_0x8260[_0x1dd997];return _0x440e4b;};'use strict';var client=require(_0x0826('0x0'));exports[_0x0826('0x1')]=function(){return function(){return client[_0x0826('0x2')](_0x0826('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x0826('0x4')],'include':[{'model':_0x0826('0x5'),'as':_0x0826('0x6'),'attributes':['id',_0x0826('0x7'),_0x0826('0x8'),_0x0826('0x9')]}]},'log':'getOpenchannelQueues'});};};