Built motion from commit 25580385.|2.6.2
[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 _0xa631=['timeout','Agents','name','online','getChatQueues','Request','GetChatQueue'];(function(_0x5af0d7,_0x5aa551){var _0x267fef=function(_0xa71467){while(--_0xa71467){_0x5af0d7['push'](_0x5af0d7['shift']());}};_0x267fef(++_0x5aa551);}(_0xa631,0xe4));var _0x1a63=function(_0x10b03c,_0x453704){_0x10b03c=_0x10b03c-0x0;var _0x209573=_0xa631[_0x10b03c];return _0x209573;};'use strict';var client=require('../client');exports[_0x1a63('0x0')]=function(){return function(){return client[_0x1a63('0x1')](_0x1a63('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x1a63('0x3'),'strategy'],'include':[{'model':'User','as':_0x1a63('0x4'),'attributes':['id',_0x1a63('0x5'),_0x1a63('0x6'),'chatPause']}]},'log':'getChatQueues'});};};