Built motion from commit (unavailable).|2.3.4
[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 _0x8baf=['timeout','strategy','User','Agents','online','getOpenchannelQueues','../client','Request','name'];(function(_0x1b6186,_0x1ec7f2){var _0x186121=function(_0x1748a8){while(--_0x1748a8){_0x1b6186['push'](_0x1b6186['shift']());}};_0x186121(++_0x1ec7f2);}(_0x8baf,0x11d));var _0xf8ba=function(_0xecc200,_0x2a4694){_0xecc200=_0xecc200-0x0;var _0x50ae57=_0x8baf[_0xecc200];return _0x50ae57;};'use strict';var client=require(_0xf8ba('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0xf8ba('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xf8ba('0x2'),_0xf8ba('0x3'),_0xf8ba('0x4')],'include':[{'model':_0xf8ba('0x5'),'as':_0xf8ba('0x6'),'attributes':['id',_0xf8ba('0x2'),_0xf8ba('0x7'),'openchannelPause']}]},'log':_0xf8ba('0x8')});};};