723f4f7c58f513b9a2959a4d1eeb7711aff1006f
[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 _0x7b91=['timeout','strategy','User','Agents','name','online','chatPause','getChatQueues','Request','GetChatQueue'];(function(_0x5d3c99,_0x3d3fb3){var _0x3d0bd0=function(_0x3ce901){while(--_0x3ce901){_0x5d3c99['push'](_0x5d3c99['shift']());}};_0x3d0bd0(++_0x3d3fb3);}(_0x7b91,0xcf));var _0x17b9=function(_0x3085a2,_0x52037b){_0x3085a2=_0x3085a2-0x0;var _0x3a32d2=_0x7b91[_0x3085a2];return _0x3a32d2;};'use strict';var client=require('../client');exports[_0x17b9('0x0')]=function(){return function(){return client[_0x17b9('0x1')](_0x17b9('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x17b9('0x3'),_0x17b9('0x4')],'include':[{'model':_0x17b9('0x5'),'as':_0x17b9('0x6'),'attributes':['id',_0x17b9('0x7'),_0x17b9('0x8'),_0x17b9('0x9')]}]},'log':_0x17b9('0x0')});};};