Built motion from commit (unavailable).|2.5.20
[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 _0x62d4=['getChatQueues','GetChatQueue','name','online','chatPause','../client'];(function(_0x13f61b,_0x1a381b){var _0xf772cf=function(_0x536d65){while(--_0x536d65){_0x13f61b['push'](_0x13f61b['shift']());}};_0xf772cf(++_0x1a381b);}(_0x62d4,0xdd));var _0x462d=function(_0x14d3a9,_0x13bfcc){_0x14d3a9=_0x14d3a9-0x0;var _0xa8b104=_0x62d4[_0x14d3a9];return _0xa8b104;};'use strict';var client=require(_0x462d('0x0'));exports[_0x462d('0x1')]=function(){return function(){return client['Request'](_0x462d('0x2'),{'options':{'raw':![],'attributes':['id',_0x462d('0x3'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x462d('0x3'),_0x462d('0x4'),_0x462d('0x5')]}]},'log':_0x462d('0x1')});};};