47b560bfba34a92c232479b96956621afe253a41
[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 _0xe9e7=['online','../client','getChatQueues','Request','name','timeout','strategy','User','Agents'];(function(_0x588b84,_0x5ffea7){var _0x5d18f0=function(_0x598682){while(--_0x598682){_0x588b84['push'](_0x588b84['shift']());}};_0x5d18f0(++_0x5ffea7);}(_0xe9e7,0x1f0));var _0x7e9e=function(_0x21d0b6,_0x11467f){_0x21d0b6=_0x21d0b6-0x0;var _0x4bbe0b=_0xe9e7[_0x21d0b6];return _0x4bbe0b;};'use strict';var client=require(_0x7e9e('0x0'));exports[_0x7e9e('0x1')]=function(){return function(){return client[_0x7e9e('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x7e9e('0x3'),_0x7e9e('0x4'),_0x7e9e('0x5')],'include':[{'model':_0x7e9e('0x6'),'as':_0x7e9e('0x7'),'attributes':['id',_0x7e9e('0x3'),_0x7e9e('0x8'),'chatPause']}]},'log':_0x7e9e('0x1')});};};