72e31b394b7c004b769a9334d6780ac52ec28310
[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 _0xff3c=['chatPause','../client','getChatQueues','GetChatQueue','name','User','Agents','online'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xff3c,0x179));var _0xcff3=function(_0x4c68bd,_0x187912){_0x4c68bd=_0x4c68bd-0x0;var _0x2af91c=_0xff3c[_0x4c68bd];return _0x2af91c;};'use strict';var client=require(_0xcff3('0x0'));exports[_0xcff3('0x1')]=function(){return function(){return client['Request'](_0xcff3('0x2'),{'options':{'raw':![],'attributes':['id',_0xcff3('0x3'),'timeout','strategy'],'include':[{'model':_0xcff3('0x4'),'as':_0xcff3('0x5'),'attributes':['id',_0xcff3('0x3'),_0xcff3('0x6'),_0xcff3('0x7')]}]},'log':_0xcff3('0x1')});};};