Built motion from commit (unavailable).|2.5.8
[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 _0x691b=['chatPause','../client','getChatQueues','Request','GetChatQueue','strategy','Agents','name','online'];(function(_0x481bf7,_0x437f69){var _0x461787=function(_0xb3bc9d){while(--_0xb3bc9d){_0x481bf7['push'](_0x481bf7['shift']());}};_0x461787(++_0x437f69);}(_0x691b,0x1f0));var _0xb691=function(_0x20b4dd,_0x27d2ec){_0x20b4dd=_0x20b4dd-0x0;var _0x150587=_0x691b[_0x20b4dd];return _0x150587;};'use strict';var client=require(_0xb691('0x0'));exports[_0xb691('0x1')]=function(){return function(){return client[_0xb691('0x2')](_0xb691('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xb691('0x4')],'include':[{'model':'User','as':_0xb691('0x5'),'attributes':['id',_0xb691('0x6'),_0xb691('0x7'),_0xb691('0x8')]}]},'log':_0xb691('0x1')});};};