7fe5e5adb813de9a5fd567736725a1bc7e72e535
[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 _0x14b1=['timeout','strategy','User','Agents','online','chatPause','getChatQueues','Request','GetChatQueue','name'];(function(_0x2cbb59,_0x4c8e4d){var _0x2e7e87=function(_0x1befc6){while(--_0x1befc6){_0x2cbb59['push'](_0x2cbb59['shift']());}};_0x2e7e87(++_0x4c8e4d);}(_0x14b1,0xb0));var _0x114b=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0x14b1[_0x710815];return _0x5b3b89;};'use strict';var client=require('../client');exports[_0x114b('0x0')]=function(){return function(){return client[_0x114b('0x1')](_0x114b('0x2'),{'options':{'raw':![],'attributes':['id',_0x114b('0x3'),_0x114b('0x4'),_0x114b('0x5')],'include':[{'model':_0x114b('0x6'),'as':_0x114b('0x7'),'attributes':['id','name',_0x114b('0x8'),_0x114b('0x9')]}]},'log':_0x114b('0x0')});};};