Built motion from commit (unavailable).|2.5.31
[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 _0x7408=['User','online','getChatQueues','Request','GetChatQueue','name','strategy'];(function(_0x40c076,_0x33efc1){var _0x19f6e1=function(_0x13b2bf){while(--_0x13b2bf){_0x40c076['push'](_0x40c076['shift']());}};_0x19f6e1(++_0x33efc1);}(_0x7408,0x11a));var _0x8740=function(_0x5c2e3e,_0x26ecd3){_0x5c2e3e=_0x5c2e3e-0x0;var _0x53f64a=_0x7408[_0x5c2e3e];return _0x53f64a;};'use strict';var client=require('../client');exports[_0x8740('0x0')]=function(){return function(){return client[_0x8740('0x1')](_0x8740('0x2'),{'options':{'raw':![],'attributes':['id',_0x8740('0x3'),'timeout',_0x8740('0x4')],'include':[{'model':_0x8740('0x5'),'as':'Agents','attributes':['id',_0x8740('0x3'),_0x8740('0x6'),'chatPause']}]},'log':_0x8740('0x0')});};};