Built motion from commit 20b39a97.|2.6.29
[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 _0x6f65=['timeout','strategy','User','Agents','name','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x49a9e1,_0x547461){var _0x30d15e=function(_0x3cd52d){while(--_0x3cd52d){_0x49a9e1['push'](_0x49a9e1['shift']());}};_0x30d15e(++_0x547461);}(_0x6f65,0xec));var _0x56f6=function(_0x53aee9,_0x3b09f){_0x53aee9=_0x53aee9-0x0;var _0x416456=_0x6f65[_0x53aee9];return _0x416456;};'use strict';var client=require(_0x56f6('0x0'));exports[_0x56f6('0x1')]=function(){return function(){return client[_0x56f6('0x2')](_0x56f6('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x56f6('0x4'),_0x56f6('0x5')],'include':[{'model':_0x56f6('0x6'),'as':_0x56f6('0x7'),'attributes':['id',_0x56f6('0x8'),_0x56f6('0x9'),'openchannelPause']}]},'log':_0x56f6('0x1')});};};