225846800a941e59562d6722f1d3ae2951eb0b5b
[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 _0x28a0=['GetChatQueue','timeout','Agents','online','getChatQueues','Request'];(function(_0x183b25,_0x467ad5){var _0x368aa4=function(_0x4dc59f){while(--_0x4dc59f){_0x183b25['push'](_0x183b25['shift']());}};_0x368aa4(++_0x467ad5);}(_0x28a0,0x64));var _0x028a=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x28a0[_0x2f5ac5];return _0x37c9a8;};'use strict';var client=require('../client');exports[_0x028a('0x0')]=function(){return function(){return client[_0x028a('0x1')](_0x028a('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x028a('0x3'),'strategy'],'include':[{'model':'User','as':_0x028a('0x4'),'attributes':['id','name',_0x028a('0x5'),'chatPause']}]},'log':_0x028a('0x0')});};};