Built motion from commit (unavailable).|2.4.18
[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 _0x32dd=['strategy','User','Agents','online','../client','getChatQueues','Request','name'];(function(_0x831d52,_0xc99b03){var _0x31a899=function(_0x39f4cb){while(--_0x39f4cb){_0x831d52['push'](_0x831d52['shift']());}};_0x31a899(++_0xc99b03);}(_0x32dd,0xf4));var _0xd32d=function(_0x138f59,_0x1b53fb){_0x138f59=_0x138f59-0x0;var _0x3d114d=_0x32dd[_0x138f59];return _0x3d114d;};'use strict';var client=require(_0xd32d('0x0'));exports[_0xd32d('0x1')]=function(){return function(){return client[_0xd32d('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xd32d('0x3'),'timeout',_0xd32d('0x4')],'include':[{'model':_0xd32d('0x5'),'as':_0xd32d('0x6'),'attributes':['id',_0xd32d('0x3'),_0xd32d('0x7'),'chatPause']}]},'log':_0xd32d('0x1')});};};