55270299a270170164a7e815979e0a81559c8588
[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 _0x5089=['strategy','User','chatPause','../client','getChatQueues','GetChatQueue','name','timeout'];(function(_0x570212,_0x2a290a){var _0x5db0b6=function(_0x123abe){while(--_0x123abe){_0x570212['push'](_0x570212['shift']());}};_0x5db0b6(++_0x2a290a);}(_0x5089,0x1bb));var _0x9508=function(_0x5cc51f,_0x22c480){_0x5cc51f=_0x5cc51f-0x0;var _0x315a2f=_0x5089[_0x5cc51f];return _0x315a2f;};'use strict';var client=require(_0x9508('0x0'));exports[_0x9508('0x1')]=function(){return function(){return client['Request'](_0x9508('0x2'),{'options':{'raw':![],'attributes':['id',_0x9508('0x3'),_0x9508('0x4'),_0x9508('0x5')],'include':[{'model':_0x9508('0x6'),'as':'Agents','attributes':['id',_0x9508('0x3'),'online',_0x9508('0x7')]}]},'log':_0x9508('0x1')});};};