b00f45447fd0e8cb79f3be1a5226438973469286
[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 _0x2910=['Agents','online','openchannelPause','getOpenchannelQueues','../client','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x12af82,_0x214420){var _0x1407cb=function(_0x432b57){while(--_0x432b57){_0x12af82['push'](_0x12af82['shift']());}};_0x1407cb(++_0x214420);}(_0x2910,0x19b));var _0x0291=function(_0x4df6ba,_0x477c3e){_0x4df6ba=_0x4df6ba-0x0;var _0x472acf=_0x2910[_0x4df6ba];return _0x472acf;};'use strict';var client=require(_0x0291('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x0291('0x1')](_0x0291('0x2'),{'options':{'raw':![],'attributes':['id',_0x0291('0x3'),_0x0291('0x4'),_0x0291('0x5')],'include':[{'model':_0x0291('0x6'),'as':_0x0291('0x7'),'attributes':['id',_0x0291('0x3'),_0x0291('0x8'),_0x0291('0x9')]}]},'log':_0x0291('0xa')});};};