Built motion from commit (unavailable).|2.5.10
[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 _0x1dce=['strategy','User','online','chatPause','../client','getChatQueues','Request','GetChatQueue','name'];(function(_0x284d95,_0x2dade5){var _0x46ca09=function(_0x59457f){while(--_0x59457f){_0x284d95['push'](_0x284d95['shift']());}};_0x46ca09(++_0x2dade5);}(_0x1dce,0xe5));var _0xe1dc=function(_0x48e80b,_0x1e3ff6){_0x48e80b=_0x48e80b-0x0;var _0xce688f=_0x1dce[_0x48e80b];return _0xce688f;};'use strict';var client=require(_0xe1dc('0x0'));exports[_0xe1dc('0x1')]=function(){return function(){return client[_0xe1dc('0x2')](_0xe1dc('0x3'),{'options':{'raw':![],'attributes':['id',_0xe1dc('0x4'),'timeout',_0xe1dc('0x5')],'include':[{'model':_0xe1dc('0x6'),'as':'Agents','attributes':['id',_0xe1dc('0x4'),_0xe1dc('0x7'),_0xe1dc('0x8')]}]},'log':'getChatQueues'});};};