Built motion from commit (unavailable).|2.5.31
[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 _0x02df=['User','online','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue','name','strategy'];(function(_0x4e82bb,_0x4c39d5){var _0x1b5ac5=function(_0x578c77){while(--_0x578c77){_0x4e82bb['push'](_0x4e82bb['shift']());}};_0x1b5ac5(++_0x4c39d5);}(_0x02df,0x1a3));var _0xf02d=function(_0x45f7b5,_0x1260df){_0x45f7b5=_0x45f7b5-0x0;var _0x45e66a=_0x02df[_0x45f7b5];return _0x45e66a;};'use strict';var client=require(_0xf02d('0x0'));exports[_0xf02d('0x1')]=function(){return function(){return client['Request'](_0xf02d('0x2'),{'options':{'raw':![],'attributes':['id',_0xf02d('0x3'),'timeout',_0xf02d('0x4')],'include':[{'model':_0xf02d('0x5'),'as':'Agents','attributes':['id',_0xf02d('0x3'),_0xf02d('0x6'),_0xf02d('0x7')]}]},'log':'getOpenchannelQueues'});};};