Built motion from commit 85328c08.|2.5.50
[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 _0x1e19=['online','chatPause','../client','getChatQueues','Request','GetChatQueue','name'];(function(_0xcef047,_0x41c686){var _0x3f0a62=function(_0x50c439){while(--_0x50c439){_0xcef047['push'](_0xcef047['shift']());}};_0x3f0a62(++_0x41c686);}(_0x1e19,0x1c9));var _0x91e1=function(_0x22f46f,_0x4655d4){_0x22f46f=_0x22f46f-0x0;var _0x554945=_0x1e19[_0x22f46f];return _0x554945;};'use strict';var client=require(_0x91e1('0x0'));exports[_0x91e1('0x1')]=function(){return function(){return client[_0x91e1('0x2')](_0x91e1('0x3'),{'options':{'raw':![],'attributes':['id',_0x91e1('0x4'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x91e1('0x4'),_0x91e1('0x5'),_0x91e1('0x6')]}]},'log':_0x91e1('0x1')});};};