f35373431838e353a5c147a067a49a8f88d2f4b2
[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 _0xc40c=['openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x33006d,_0x29b56f){var _0x55097f=function(_0x9a1cec){while(--_0x9a1cec){_0x33006d['push'](_0x33006d['shift']());}};_0x55097f(++_0x29b56f);}(_0xc40c,0x169));var _0xcc40=function(_0x159868,_0x13ece5){_0x159868=_0x159868-0x0;var _0x532dd3=_0xc40c[_0x159868];return _0x532dd3;};'use strict';var client=require('../client');exports[_0xcc40('0x0')]=function(){return function(){return client[_0xcc40('0x1')](_0xcc40('0x2'),{'options':{'raw':![],'attributes':['id',_0xcc40('0x3'),_0xcc40('0x4'),_0xcc40('0x5')],'include':[{'model':_0xcc40('0x6'),'as':'Agents','attributes':['id','name','online',_0xcc40('0x7')]}]},'log':_0xcc40('0x0')});};};