9c6bf8b4d7974b7a58b3122e7439bc42596d1799
[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 _0x675d=['User','Agents','openchannelPause','../client','getOpenchannelQueues','Request','name','timeout','strategy'];(function(_0x164c6e,_0x25abdb){var _0xe3731a=function(_0x53a71e){while(--_0x53a71e){_0x164c6e['push'](_0x164c6e['shift']());}};_0xe3731a(++_0x25abdb);}(_0x675d,0x198));var _0xd675=function(_0x1bc410,_0x37e3fa){_0x1bc410=_0x1bc410-0x0;var _0x341ff9=_0x675d[_0x1bc410];return _0x341ff9;};'use strict';var client=require(_0xd675('0x0'));exports[_0xd675('0x1')]=function(){return function(){return client[_0xd675('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xd675('0x3'),_0xd675('0x4'),_0xd675('0x5')],'include':[{'model':_0xd675('0x6'),'as':_0xd675('0x7'),'attributes':['id',_0xd675('0x3'),'online',_0xd675('0x8')]}]},'log':_0xd675('0x1')});};};