Built motion from commit 85328c08.|2.5.50
[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 _0xc7a3=['name','timeout','strategy','Agents','chatPause','getChatQueues','Request','GetChatQueue'];(function(_0x1b6b0f,_0x1e31b8){var _0x1ccc12=function(_0x9b2736){while(--_0x9b2736){_0x1b6b0f['push'](_0x1b6b0f['shift']());}};_0x1ccc12(++_0x1e31b8);}(_0xc7a3,0xbd));var _0x3c7a=function(_0x87463d,_0x3ad0d7){_0x87463d=_0x87463d-0x0;var _0x23723c=_0xc7a3[_0x87463d];return _0x23723c;};'use strict';var client=require('../client');exports[_0x3c7a('0x0')]=function(){return function(){return client[_0x3c7a('0x1')](_0x3c7a('0x2'),{'options':{'raw':![],'attributes':['id',_0x3c7a('0x3'),_0x3c7a('0x4'),_0x3c7a('0x5')],'include':[{'model':'User','as':_0x3c7a('0x6'),'attributes':['id',_0x3c7a('0x3'),'online',_0x3c7a('0x7')]}]},'log':_0x3c7a('0x0')});};};