Built motion from commit 639a1a7f.|2.6.19
[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 _0x8ad5=['chatPause','../client','getChatQueues','Request','GetChatQueue','strategy','User','Agents','name','online'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x8ad5,0xf1));var _0x58ad=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x8ad5[_0x46aff0];return _0x9d78cf;};'use strict';var client=require(_0x58ad('0x0'));exports[_0x58ad('0x1')]=function(){return function(){return client[_0x58ad('0x2')](_0x58ad('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x58ad('0x4')],'include':[{'model':_0x58ad('0x5'),'as':_0x58ad('0x6'),'attributes':['id',_0x58ad('0x7'),_0x58ad('0x8'),_0x58ad('0x9')]}]},'log':'getChatQueues'});};};