Built motion from commit 753c950e.|2.5.42
[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 _0x23f4=['timeout','strategy','User','Agents','online','chatPause','getChatQueues','name'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0x23f4,0x1ee));var _0x423f=function(_0x296fdb,_0x60db51){_0x296fdb=_0x296fdb-0x0;var _0x38232e=_0x23f4[_0x296fdb];return _0x38232e;};'use strict';var client=require('../client');exports[_0x423f('0x0')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x423f('0x1'),_0x423f('0x2'),_0x423f('0x3')],'include':[{'model':_0x423f('0x4'),'as':_0x423f('0x5'),'attributes':['id',_0x423f('0x1'),_0x423f('0x6'),_0x423f('0x7')]}]},'log':_0x423f('0x0')});};};