Built motion from commit (unavailable).|2.5.6
[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 _0x0e52=['Agents','online','chatPause','getChatQueues','../client','Request','name','timeout'];(function(_0x4e4802,_0xa61f33){var _0xad25e6=function(_0x42c25b){while(--_0x42c25b){_0x4e4802['push'](_0x4e4802['shift']());}};_0xad25e6(++_0xa61f33);}(_0x0e52,0xb4));var _0x20e5=function(_0x213025,_0x263bd4){_0x213025=_0x213025-0x0;var _0x532a07=_0x0e52[_0x213025];return _0x532a07;};'use strict';var client=require(_0x20e5('0x0'));exports['getChatQueues']=function(){return function(){return client[_0x20e5('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x20e5('0x2'),_0x20e5('0x3'),'strategy'],'include':[{'model':'User','as':_0x20e5('0x4'),'attributes':['id',_0x20e5('0x2'),_0x20e5('0x5'),_0x20e5('0x6')]}]},'log':_0x20e5('0x7')});};};