41c3b16c9102bb0fe38809099df56bbd6a63e433
[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 _0x63b9=['../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User','Agents','online'];(function(_0xd3e851,_0x2bcdb3){var _0x9d4fca=function(_0x5abd40){while(--_0x5abd40){_0xd3e851['push'](_0xd3e851['shift']());}};_0x9d4fca(++_0x2bcdb3);}(_0x63b9,0xfa));var _0x963b=function(_0x23472c,_0x5cf5dc){_0x23472c=_0x23472c-0x0;var _0x2b1a4f=_0x63b9[_0x23472c];return _0x2b1a4f;};'use strict';var client=require(_0x963b('0x0'));exports[_0x963b('0x1')]=function(){return function(){return client[_0x963b('0x2')](_0x963b('0x3'),{'options':{'raw':![],'attributes':['id',_0x963b('0x4'),_0x963b('0x5'),_0x963b('0x6')],'include':[{'model':_0x963b('0x7'),'as':_0x963b('0x8'),'attributes':['id',_0x963b('0x4'),_0x963b('0x9'),'mailPause']}]},'log':'getMailQueues'});};};