af3840350a6c70f15d06b9f81940a6c1acbf394a
[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 _0xe928=['chatPause','../client','getChatQueues','GetChatQueue','name','timeout','strategy','Agents'];(function(_0x8e8ca7,_0x5a5e07){var _0x561381=function(_0x2f4bda){while(--_0x2f4bda){_0x8e8ca7['push'](_0x8e8ca7['shift']());}};_0x561381(++_0x5a5e07);}(_0xe928,0x1d1));var _0x8e92=function(_0x52fba9,_0x2252b7){_0x52fba9=_0x52fba9-0x0;var _0x2428fb=_0xe928[_0x52fba9];return _0x2428fb;};'use strict';var client=require(_0x8e92('0x0'));exports[_0x8e92('0x1')]=function(){return function(){return client['Request'](_0x8e92('0x2'),{'options':{'raw':![],'attributes':['id',_0x8e92('0x3'),_0x8e92('0x4'),_0x8e92('0x5')],'include':[{'model':'User','as':_0x8e92('0x6'),'attributes':['id','name','online',_0x8e92('0x7')]}]},'log':'getChatQueues'});};};