Built motion from commit 9d0783e6.|2.6.13
[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 _0x9ca0=['name','timeout','User','Agents','online','../client','getChatQueues','Request'];(function(_0x10004e,_0xd701e6){var _0x5af990=function(_0x4bab6a){while(--_0x4bab6a){_0x10004e['push'](_0x10004e['shift']());}};_0x5af990(++_0xd701e6);}(_0x9ca0,0x65));var _0x09ca=function(_0x2d9c6a,_0x59393d){_0x2d9c6a=_0x2d9c6a-0x0;var _0xf3c918=_0x9ca0[_0x2d9c6a];return _0xf3c918;};'use strict';var client=require(_0x09ca('0x0'));exports[_0x09ca('0x1')]=function(){return function(){return client[_0x09ca('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x09ca('0x3'),_0x09ca('0x4'),'strategy'],'include':[{'model':_0x09ca('0x5'),'as':_0x09ca('0x6'),'attributes':['id','name',_0x09ca('0x7'),'chatPause']}]},'log':'getChatQueues'});};};