Built motion from commit (unavailable).|2.5.21
[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 _0xa13c=['Request','GetChatQueue','Agents','name','online','chatPause','../client','getChatQueues'];(function(_0x15a9cb,_0x2c5d45){var _0x4036e4=function(_0x4a97cf){while(--_0x4a97cf){_0x15a9cb['push'](_0x15a9cb['shift']());}};_0x4036e4(++_0x2c5d45);}(_0xa13c,0x18e));var _0xca13=function(_0x2cb2af,_0x10634a){_0x2cb2af=_0x2cb2af-0x0;var _0x408824=_0xa13c[_0x2cb2af];return _0x408824;};'use strict';var client=require(_0xca13('0x0'));exports[_0xca13('0x1')]=function(){return function(){return client[_0xca13('0x2')](_0xca13('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':'User','as':_0xca13('0x4'),'attributes':['id',_0xca13('0x5'),_0xca13('0x6'),_0xca13('0x7')]}]},'log':_0xca13('0x1')});};};