Built motion from commit (unavailable).|2.2.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 _0xd462=['name','strategy','User','Agents','online','chatPause','getChatQueues','Request','GetChatQueue'];(function(_0x1756f6,_0x3f34ae){var _0xfe846=function(_0xdfe73e){while(--_0xdfe73e){_0x1756f6['push'](_0x1756f6['shift']());}};_0xfe846(++_0x3f34ae);}(_0xd462,0xde));var _0x2d46=function(_0x183256,_0x1a596d){_0x183256=_0x183256-0x0;var _0x5394a2=_0xd462[_0x183256];return _0x5394a2;};'use strict';var client=require('../client');exports[_0x2d46('0x0')]=function(){return function(){return client[_0x2d46('0x1')](_0x2d46('0x2'),{'options':{'raw':![],'attributes':['id',_0x2d46('0x3'),'timeout',_0x2d46('0x4')],'include':[{'model':_0x2d46('0x5'),'as':_0x2d46('0x6'),'attributes':['id',_0x2d46('0x3'),_0x2d46('0x7'),_0x2d46('0x8')]}]},'log':'getChatQueues'});};};