2661c0d854de13e58c145ef3befb51dfa686b815
[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 _0xe2aa=['Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','User'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xe2aa,0x9c));var _0xae2a=function(_0x5633f0,_0x237867){_0x5633f0=_0x5633f0-0x0;var _0x1a3728=_0xe2aa[_0x5633f0];return _0x1a3728;};'use strict';var client=require(_0xae2a('0x0'));exports[_0xae2a('0x1')]=function(){return function(){return client[_0xae2a('0x2')](_0xae2a('0x3'),{'options':{'raw':![],'attributes':['id',_0xae2a('0x4'),'timeout','strategy'],'include':[{'model':_0xae2a('0x5'),'as':_0xae2a('0x6'),'attributes':['id','name',_0xae2a('0x7'),_0xae2a('0x8')]}]},'log':_0xae2a('0x1')});};};