Built motion from commit (unavailable).|2.5.14
[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 _0x9563=['timeout','strategy','online','chatPause','../client','getChatQueues','GetChatQueue','name'];(function(_0x3188bc,_0x5a655f){var _0x2e7c8c=function(_0x408971){while(--_0x408971){_0x3188bc['push'](_0x3188bc['shift']());}};_0x2e7c8c(++_0x5a655f);}(_0x9563,0x1f4));var _0x3956=function(_0x3416ad,_0x29e194){_0x3416ad=_0x3416ad-0x0;var _0x265a91=_0x9563[_0x3416ad];return _0x265a91;};'use strict';var client=require(_0x3956('0x0'));exports[_0x3956('0x1')]=function(){return function(){return client['Request'](_0x3956('0x2'),{'options':{'raw':![],'attributes':['id',_0x3956('0x3'),_0x3956('0x4'),_0x3956('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x3956('0x3'),_0x3956('0x6'),_0x3956('0x7')]}]},'log':'getChatQueues'});};};