Built motion from commit (unavailable).|2.5.30
[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 _0xfa8d=['GetOpenchannelQueue','name','timeout','strategy','User','Agents','openchannelPause','../client','getOpenchannelQueues','Request'];(function(_0x1d3a9b,_0x17ff36){var _0x5090d3=function(_0x1ecf1c){while(--_0x1ecf1c){_0x1d3a9b['push'](_0x1d3a9b['shift']());}};_0x5090d3(++_0x17ff36);}(_0xfa8d,0x1b5));var _0xdfa8=function(_0x132e83,_0x3228d0){_0x132e83=_0x132e83-0x0;var _0x52cfe6=_0xfa8d[_0x132e83];return _0x52cfe6;};'use strict';var client=require(_0xdfa8('0x0'));exports[_0xdfa8('0x1')]=function(){return function(){return client[_0xdfa8('0x2')](_0xdfa8('0x3'),{'options':{'raw':![],'attributes':['id',_0xdfa8('0x4'),_0xdfa8('0x5'),_0xdfa8('0x6')],'include':[{'model':_0xdfa8('0x7'),'as':_0xdfa8('0x8'),'attributes':['id',_0xdfa8('0x4'),'online',_0xdfa8('0x9')]}]},'log':_0xdfa8('0x1')});};};