43735988dff23cddb7a75149208ff1145ad99997
[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 _0x5960=['User','name','online','chatPause','getChatQueues','Request','GetChatQueue'];(function(_0xeddee2,_0xc88424){var _0x565e11=function(_0x56eb76){while(--_0x56eb76){_0xeddee2['push'](_0xeddee2['shift']());}};_0x565e11(++_0xc88424);}(_0x5960,0x146));var _0x0596=function(_0x4d7ccb,_0x391cc8){_0x4d7ccb=_0x4d7ccb-0x0;var _0x41db3b=_0x5960[_0x4d7ccb];return _0x41db3b;};'use strict';var client=require('../client');exports[_0x0596('0x0')]=function(){return function(){return client[_0x0596('0x1')](_0x0596('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0x0596('0x3'),'as':'Agents','attributes':['id',_0x0596('0x4'),_0x0596('0x5'),_0x0596('0x6')]}]},'log':'getChatQueues'});};};