43a284892901e23034ef632ff2e7501ac2a648af
[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 _0x054a=['chatPause','../client','getChatQueues','Request','GetChatQueue','name','timeout','User','online'];(function(_0x15f4ea,_0x14503b){var _0x2e4263=function(_0x252e75){while(--_0x252e75){_0x15f4ea['push'](_0x15f4ea['shift']());}};_0x2e4263(++_0x14503b);}(_0x054a,0x184));var _0xa054=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x054a[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0xa054('0x0'));exports[_0xa054('0x1')]=function(){return function(){return client[_0xa054('0x2')](_0xa054('0x3'),{'options':{'raw':![],'attributes':['id',_0xa054('0x4'),_0xa054('0x5'),'strategy'],'include':[{'model':_0xa054('0x6'),'as':'Agents','attributes':['id',_0xa054('0x4'),_0xa054('0x7'),_0xa054('0x8')]}]},'log':_0xa054('0x1')});};};