2b9540a1d36b1f005c0e41d658bbf2e0c244d9df
[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 _0xbe69=['../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User','Agents','online','openchannelPause'];(function(_0x374ada,_0x27b3a5){var _0x449ed8=function(_0x3efc46){while(--_0x3efc46){_0x374ada['push'](_0x374ada['shift']());}};_0x449ed8(++_0x27b3a5);}(_0xbe69,0x1ce));var _0x9be6=function(_0x59810c,_0x430bac){_0x59810c=_0x59810c-0x0;var _0x4a3354=_0xbe69[_0x59810c];return _0x4a3354;};'use strict';var client=require(_0x9be6('0x0'));exports[_0x9be6('0x1')]=function(){return function(){return client[_0x9be6('0x2')](_0x9be6('0x3'),{'options':{'raw':![],'attributes':['id',_0x9be6('0x4'),_0x9be6('0x5'),_0x9be6('0x6')],'include':[{'model':_0x9be6('0x7'),'as':_0x9be6('0x8'),'attributes':['id',_0x9be6('0x4'),_0x9be6('0x9'),_0x9be6('0xa')]}]},'log':_0x9be6('0x1')});};};