2c05d91c79015beb68139b8abcaae32a28a8fdc9
[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 _0x38c1=['User','Agents','online','chatPause','../client','getChatQueues','Request','GetChatQueue','name'];(function(_0x45ec02,_0x4dc118){var _0x5c5503=function(_0x30cc10){while(--_0x30cc10){_0x45ec02['push'](_0x45ec02['shift']());}};_0x5c5503(++_0x4dc118);}(_0x38c1,0x1bd));var _0x138c=function(_0xf61d62,_0x5e1ce1){_0xf61d62=_0xf61d62-0x0;var _0x1b8b00=_0x38c1[_0xf61d62];return _0x1b8b00;};'use strict';var client=require(_0x138c('0x0'));exports[_0x138c('0x1')]=function(){return function(){return client[_0x138c('0x2')](_0x138c('0x3'),{'options':{'raw':![],'attributes':['id',_0x138c('0x4'),'timeout','strategy'],'include':[{'model':_0x138c('0x5'),'as':_0x138c('0x6'),'attributes':['id',_0x138c('0x4'),_0x138c('0x7'),_0x138c('0x8')]}]},'log':_0x138c('0x1')});};};