Built motion from commit b0a9a629.|2.6.33
[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 _0xf951=['Agents','openchannelPause','getOpenchannelQueues','GetOpenchannelQueue','name','strategy','User'];(function(_0x1bd07d,_0x2c505f){var _0xb82db4=function(_0x1af4d7){while(--_0x1af4d7){_0x1bd07d['push'](_0x1bd07d['shift']());}};_0xb82db4(++_0x2c505f);}(_0xf951,0x1f3));var _0x1f95=function(_0x29d530,_0x5da0d7){_0x29d530=_0x29d530-0x0;var _0x242905=_0xf951[_0x29d530];return _0x242905;};'use strict';var client=require('../client');exports[_0x1f95('0x0')]=function(){return function(){return client['Request'](_0x1f95('0x1'),{'options':{'raw':![],'attributes':['id',_0x1f95('0x2'),'timeout',_0x1f95('0x3')],'include':[{'model':_0x1f95('0x4'),'as':_0x1f95('0x5'),'attributes':['id',_0x1f95('0x2'),'online',_0x1f95('0x6')]}]},'log':_0x1f95('0x0')});};};