Built motion from commit ffdca78c.|2.6.24
[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 _0x0a9f=['getChatQueues','Request','timeout','User'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0a9f,0x64));var _0xf0a9=function(_0x117fb1,_0x4b9774){_0x117fb1=_0x117fb1-0x0;var _0x53db22=_0x0a9f[_0x117fb1];return _0x53db22;};'use strict';var client=require('../client');exports[_0xf0a9('0x0')]=function(){return function(){return client[_0xf0a9('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xf0a9('0x2'),'strategy'],'include':[{'model':_0xf0a9('0x3'),'as':'Agents','attributes':['id','name','online','chatPause']}]},'log':_0xf0a9('0x0')});};};