11147ebe5dc8a809da77880ea97cd0da847a296a
[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 _0x50a6=['User','Agents','online','../client','getChatQueues','name','strategy'];(function(_0x13b820,_0x1f5f77){var _0x27b744=function(_0x2c01eb){while(--_0x2c01eb){_0x13b820['push'](_0x13b820['shift']());}};_0x27b744(++_0x1f5f77);}(_0x50a6,0xa4));var _0x650a=function(_0x13f980,_0x1e1c56){_0x13f980=_0x13f980-0x0;var _0x27153c=_0x50a6[_0x13f980];return _0x27153c;};'use strict';var client=require(_0x650a('0x0'));exports[_0x650a('0x1')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x650a('0x2'),'timeout',_0x650a('0x3')],'include':[{'model':_0x650a('0x4'),'as':_0x650a('0x5'),'attributes':['id','name',_0x650a('0x6'),'chatPause']}]},'log':'getChatQueues'});};};