Built motion from commit 1fa89557.|2.6.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 _0x979e=['strategy','User','Agents','name','chatPause','../client','getChatQueues','Request','GetChatQueue','timeout'];(function(_0x9e7a67,_0x2ce9b3){var _0x5aecb6=function(_0xccf300){while(--_0xccf300){_0x9e7a67['push'](_0x9e7a67['shift']());}};_0x5aecb6(++_0x2ce9b3);}(_0x979e,0x195));var _0xe979=function(_0xcfeee8,_0x1e73a7){_0xcfeee8=_0xcfeee8-0x0;var _0x14344b=_0x979e[_0xcfeee8];return _0x14344b;};'use strict';var client=require(_0xe979('0x0'));exports[_0xe979('0x1')]=function(){return function(){return client[_0xe979('0x2')](_0xe979('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xe979('0x4'),_0xe979('0x5')],'include':[{'model':_0xe979('0x6'),'as':_0xe979('0x7'),'attributes':['id',_0xe979('0x8'),'online',_0xe979('0x9')]}]},'log':'getChatQueues'});};};