Built motion from commit caf7d5f0.|2.5.39
[motion2.git] / server / services / routing / rpc / chatQueue.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 _0xc01b=['name','timeout','strategy','Agents','online','chatPause','../client','getChatQueues','Request','GetChatQueue'];(function(_0x11fac3,_0x14c0b7){var _0x1e1ff2=function(_0x3a2846){while(--_0x3a2846){_0x11fac3['push'](_0x11fac3['shift']());}};_0x1e1ff2(++_0x14c0b7);}(_0xc01b,0x74));var _0xbc01=function(_0x46fe90,_0x5779bc){_0x46fe90=_0x46fe90-0x0;var _0x4097e9=_0xc01b[_0x46fe90];return _0x4097e9;};'use strict';var client=require(_0xbc01('0x0'));exports[_0xbc01('0x1')]=function(){return function(){return client[_0xbc01('0x2')](_0xbc01('0x3'),{'options':{'raw':![],'attributes':['id',_0xbc01('0x4'),_0xbc01('0x5'),_0xbc01('0x6')],'include':[{'model':'User','as':_0xbc01('0x7'),'attributes':['id',_0xbc01('0x4'),_0xbc01('0x8'),_0xbc01('0x9')]}]},'log':_0xbc01('0x1')});};};