1ad98b4d570af8968e7cc9af41a22cf944c52da7
[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 _0x057c=['../client','getChatQueues','Request','name','timeout','strategy','User','Agents','online','chatPause'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x057c,0x140));var _0xc057=function(_0x42f0b0,_0x58669b){_0x42f0b0=_0x42f0b0-0x0;var _0x27b697=_0x057c[_0x42f0b0];return _0x27b697;};'use strict';var client=require(_0xc057('0x0'));exports[_0xc057('0x1')]=function(){return function(){return client[_0xc057('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xc057('0x3'),_0xc057('0x4'),_0xc057('0x5')],'include':[{'model':_0xc057('0x6'),'as':_0xc057('0x7'),'attributes':['id',_0xc057('0x3'),_0xc057('0x8'),_0xc057('0x9')]}]},'log':_0xc057('0x1')});};};