Built motion from commit (unavailable).|2.2.0
[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 _0xcfbb=['online','chatPause','../client','getChatQueues','Request','GetChatQueue','name','timeout','User','Agents'];(function(_0x749b07,_0x984c48){var _0x2ae93b=function(_0x5ea94b){while(--_0x5ea94b){_0x749b07['push'](_0x749b07['shift']());}};_0x2ae93b(++_0x984c48);}(_0xcfbb,0xac));var _0xbcfb=function(_0x40e261,_0xd9207){_0x40e261=_0x40e261-0x0;var _0x465b67=_0xcfbb[_0x40e261];return _0x465b67;};'use strict';var client=require(_0xbcfb('0x0'));exports[_0xbcfb('0x1')]=function(){return function(){return client[_0xbcfb('0x2')](_0xbcfb('0x3'),{'options':{'raw':![],'attributes':['id',_0xbcfb('0x4'),_0xbcfb('0x5'),'strategy'],'include':[{'model':_0xbcfb('0x6'),'as':_0xbcfb('0x7'),'attributes':['id',_0xbcfb('0x4'),_0xbcfb('0x8'),_0xbcfb('0x9')]}]},'log':_0xbcfb('0x1')});};};