Built motion from commit 14588770.|2.5.38
[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 _0xc0b5=['../client','getMailQueues','GetMailQueue','timeout','strategy','User','Agents','name','online','mailPause'];(function(_0x552115,_0x3b83ad){var _0x8c6e20=function(_0x2a2b80){while(--_0x2a2b80){_0x552115['push'](_0x552115['shift']());}};_0x8c6e20(++_0x3b83ad);}(_0xc0b5,0xdc));var _0x5c0b=function(_0x592e3f,_0x4d26a7){_0x592e3f=_0x592e3f-0x0;var _0x169f7b=_0xc0b5[_0x592e3f];return _0x169f7b;};'use strict';var client=require(_0x5c0b('0x0'));exports[_0x5c0b('0x1')]=function(){return function(){return client['Request'](_0x5c0b('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x5c0b('0x3'),_0x5c0b('0x4')],'include':[{'model':_0x5c0b('0x5'),'as':_0x5c0b('0x6'),'attributes':['id',_0x5c0b('0x7'),_0x5c0b('0x8'),_0x5c0b('0x9')]}]},'log':'getMailQueues'});};};