Built motion from commit b0a9a629.|2.6.33
[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 _0xe5e0=['chatPause','../client','getChatQueues','Request','GetChatQueue','name','timeout','strategy','User','Agents'];(function(_0x384ae6,_0x2fc972){var _0x547569=function(_0x24e191){while(--_0x24e191){_0x384ae6['push'](_0x384ae6['shift']());}};_0x547569(++_0x2fc972);}(_0xe5e0,0x123));var _0x0e5e=function(_0x1ffb17,_0x35b457){_0x1ffb17=_0x1ffb17-0x0;var _0x254dd0=_0xe5e0[_0x1ffb17];return _0x254dd0;};'use strict';var client=require(_0x0e5e('0x0'));exports[_0x0e5e('0x1')]=function(){return function(){return client[_0x0e5e('0x2')](_0x0e5e('0x3'),{'options':{'raw':![],'attributes':['id',_0x0e5e('0x4'),_0x0e5e('0x5'),_0x0e5e('0x6')],'include':[{'model':_0x0e5e('0x7'),'as':_0x0e5e('0x8'),'attributes':['id',_0x0e5e('0x4'),'online',_0x0e5e('0x9')]}]},'log':_0x0e5e('0x1')});};};