a2e14aef9450f3d1679581617d6fb63baa531e65
[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 _0x3eab=['getMailQueues','Request','GetMailQueue','timeout','strategy','User','Agents','online','../client'];(function(_0x54fbcb,_0x21a10f){var _0x58e047=function(_0x479960){while(--_0x479960){_0x54fbcb['push'](_0x54fbcb['shift']());}};_0x58e047(++_0x21a10f);}(_0x3eab,0xbc));var _0xb3ea=function(_0x4bba19,_0x55bf6d){_0x4bba19=_0x4bba19-0x0;var _0x2b333f=_0x3eab[_0x4bba19];return _0x2b333f;};'use strict';var client=require(_0xb3ea('0x0'));exports[_0xb3ea('0x1')]=function(){return function(){return client[_0xb3ea('0x2')](_0xb3ea('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xb3ea('0x4'),_0xb3ea('0x5')],'include':[{'model':_0xb3ea('0x6'),'as':_0xb3ea('0x7'),'attributes':['id','name',_0xb3ea('0x8'),'mailPause']}]},'log':_0xb3ea('0x1')});};};