Built motion from commit da617fac.|2.6.6
[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 _0xf3be=['../client','getMailQueues','Request','name','timeout','User','Agents'];(function(_0x1d2e5e,_0x145ae6){var _0x4a1d68=function(_0x3dd5b6){while(--_0x3dd5b6){_0x1d2e5e['push'](_0x1d2e5e['shift']());}};_0x4a1d68(++_0x145ae6);}(_0xf3be,0x134));var _0xef3b=function(_0xd8b63c,_0x29e009){_0xd8b63c=_0xd8b63c-0x0;var _0x158400=_0xf3be[_0xd8b63c];return _0x158400;};'use strict';var client=require(_0xef3b('0x0'));exports[_0xef3b('0x1')]=function(){return function(){return client[_0xef3b('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0xef3b('0x3'),_0xef3b('0x4'),'strategy'],'include':[{'model':_0xef3b('0x5'),'as':_0xef3b('0x6'),'attributes':['id','name','online','mailPause']}]},'log':'getMailQueues'});};};