a93ab11bcbe2046e6a5c89560b5644e859edb7d6
[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 _0x69c9=['../client','getMailQueues','timeout','strategy','User','Agents','name','online','mailPause'];(function(_0x2ea4f0,_0x420118){var _0x5c5877=function(_0x16f450){while(--_0x16f450){_0x2ea4f0['push'](_0x2ea4f0['shift']());}};_0x5c5877(++_0x420118);}(_0x69c9,0x75));var _0x969c=function(_0x2b581d,_0x501249){_0x2b581d=_0x2b581d-0x0;var _0x59712b=_0x69c9[_0x2b581d];return _0x59712b;};'use strict';var client=require(_0x969c('0x0'));exports[_0x969c('0x1')]=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id','name',_0x969c('0x2'),_0x969c('0x3')],'include':[{'model':_0x969c('0x4'),'as':_0x969c('0x5'),'attributes':['id',_0x969c('0x6'),_0x969c('0x7'),_0x969c('0x8')]}]},'log':'getMailQueues'});};};