f719c8e84f4663833c70b85aeadf5f5a63e64aa6
[motion2.git] / server / services / routing / rpc / mailQueue.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 _0x272f=['timeout','User','Agents','mailPause','../client','getMailQueues','GetMailQueue','name'];(function(_0x2af9d6,_0x33f5ed){var _0x3006c4=function(_0x85251d){while(--_0x85251d){_0x2af9d6['push'](_0x2af9d6['shift']());}};_0x3006c4(++_0x33f5ed);}(_0x272f,0x1bc));var _0xf272=function(_0x12ea3f,_0x4b48d4){_0x12ea3f=_0x12ea3f-0x0;var _0x1f9612=_0x272f[_0x12ea3f];return _0x1f9612;};'use strict';var client=require(_0xf272('0x0'));exports[_0xf272('0x1')]=function(){return function(){return client['Request'](_0xf272('0x2'),{'options':{'raw':![],'attributes':['id',_0xf272('0x3'),_0xf272('0x4'),'strategy'],'include':[{'model':_0xf272('0x5'),'as':_0xf272('0x6'),'attributes':['id',_0xf272('0x3'),'online',_0xf272('0x7')]}]},'log':_0xf272('0x1')});};};