Built motion from commit b5413ace.|2.6.9
[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 _0xbacb=['getChatQueues','GetChatQueue','name','timeout','strategy','User','Agents','chatPause','../client'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xbacb,0x1a6));var _0xbbac=function(_0x5c0a05,_0x35e8ad){_0x5c0a05=_0x5c0a05-0x0;var _0x204873=_0xbacb[_0x5c0a05];return _0x204873;};'use strict';var client=require(_0xbbac('0x0'));exports[_0xbbac('0x1')]=function(){return function(){return client['Request'](_0xbbac('0x2'),{'options':{'raw':![],'attributes':['id',_0xbbac('0x3'),_0xbbac('0x4'),_0xbbac('0x5')],'include':[{'model':_0xbbac('0x6'),'as':_0xbbac('0x7'),'attributes':['id','name','online',_0xbbac('0x8')]}]},'log':_0xbbac('0x1')});};};