3b1b6188dbe00a1061586aa48bd69c6cf4062871
[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 _0xdf8d=['../client','getMailQueues','GetMailQueue','name','strategy','User','Agents','mailPause'];(function(_0x435c92,_0xd825a6){var _0x2b9c48=function(_0x543d2c){while(--_0x543d2c){_0x435c92['push'](_0x435c92['shift']());}};_0x2b9c48(++_0xd825a6);}(_0xdf8d,0x1e0));var _0xddf8=function(_0x3430aa,_0x57cd92){_0x3430aa=_0x3430aa-0x0;var _0x2ac5c=_0xdf8d[_0x3430aa];return _0x2ac5c;};'use strict';var client=require(_0xddf8('0x0'));exports[_0xddf8('0x1')]=function(){return function(){return client['Request'](_0xddf8('0x2'),{'options':{'raw':![],'attributes':['id',_0xddf8('0x3'),'timeout',_0xddf8('0x4')],'include':[{'model':_0xddf8('0x5'),'as':_0xddf8('0x6'),'attributes':['id',_0xddf8('0x3'),'online',_0xddf8('0x7')]}]},'log':_0xddf8('0x1')});};};