Built motion from commit 47436d59.|2.6.7
[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 _0xc906=['name','timeout','User','Agents','online','chatPause','../client','getChatQueues','GetChatQueue'];(function(_0x239beb,_0x3d76c3){var _0xd2115b=function(_0x162302){while(--_0x162302){_0x239beb['push'](_0x239beb['shift']());}};_0xd2115b(++_0x3d76c3);}(_0xc906,0x1ad));var _0x6c90=function(_0xc211e3,_0x99cc14){_0xc211e3=_0xc211e3-0x0;var _0x3f52dd=_0xc906[_0xc211e3];return _0x3f52dd;};'use strict';var client=require(_0x6c90('0x0'));exports[_0x6c90('0x1')]=function(){return function(){return client['Request'](_0x6c90('0x2'),{'options':{'raw':![],'attributes':['id',_0x6c90('0x3'),_0x6c90('0x4'),'strategy'],'include':[{'model':_0x6c90('0x5'),'as':_0x6c90('0x6'),'attributes':['id',_0x6c90('0x3'),_0x6c90('0x7'),_0x6c90('0x8')]}]},'log':_0x6c90('0x1')});};};