bfe9e90cf79c2d55f2853425e13bd62cd79dcd73
[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 _0x4553=['User','Agents','name','online','chatPause','getChatQueues','Request','GetChatQueue','strategy'];(function(_0x8a969d,_0x339d9f){var _0x1d8dc7=function(_0x283ec0){while(--_0x283ec0){_0x8a969d['push'](_0x8a969d['shift']());}};_0x1d8dc7(++_0x339d9f);}(_0x4553,0x1be));var _0x3455=function(_0x278e3c,_0x1c9cfd){_0x278e3c=_0x278e3c-0x0;var _0x3e2d9b=_0x4553[_0x278e3c];return _0x3e2d9b;};'use strict';var client=require('../client');exports[_0x3455('0x0')]=function(){return function(){return client[_0x3455('0x1')](_0x3455('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x3455('0x3')],'include':[{'model':_0x3455('0x4'),'as':_0x3455('0x5'),'attributes':['id',_0x3455('0x6'),_0x3455('0x7'),_0x3455('0x8')]}]},'log':_0x3455('0x0')});};};