5893b48158c338b34e74d2126ecab0ba4814b235
[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 _0x4f11=['getMailQueues','Request','GetMailQueue','name','timeout','User','Agents','mailPause','../client'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x4f11,0x11f));var _0x14f1=function(_0x4af72d,_0x3b4f78){_0x4af72d=_0x4af72d-0x0;var _0x276627=_0x4f11[_0x4af72d];return _0x276627;};'use strict';var client=require(_0x14f1('0x0'));exports[_0x14f1('0x1')]=function(){return function(){return client[_0x14f1('0x2')](_0x14f1('0x3'),{'options':{'raw':![],'attributes':['id',_0x14f1('0x4'),_0x14f1('0x5'),'strategy'],'include':[{'model':_0x14f1('0x6'),'as':_0x14f1('0x7'),'attributes':['id','name','online',_0x14f1('0x8')]}]},'log':_0x14f1('0x1')});};};