59b654fb595c844c026cc3fa5b1a82ecfadae421
[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 _0x9205=['online','mailPause','../client','getMailQueues','Request','name','timeout','User','Agents'];(function(_0x51274b,_0x16ad70){var _0x35d090=function(_0x2ea391){while(--_0x2ea391){_0x51274b['push'](_0x51274b['shift']());}};_0x35d090(++_0x16ad70);}(_0x9205,0x1df));var _0x5920=function(_0x2c698f,_0x5d018c){_0x2c698f=_0x2c698f-0x0;var _0x414a4a=_0x9205[_0x2c698f];return _0x414a4a;};'use strict';var client=require(_0x5920('0x0'));exports[_0x5920('0x1')]=function(){return function(){return client[_0x5920('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x5920('0x3'),_0x5920('0x4'),'strategy'],'include':[{'model':_0x5920('0x5'),'as':_0x5920('0x6'),'attributes':['id',_0x5920('0x3'),_0x5920('0x7'),_0x5920('0x8')]}]},'log':_0x5920('0x1')});};};