Built motion from commit (unavailable).|2.5.11
[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 _0xbba4=['name','strategy','User','Agents','online','mailPause','getMailQueues'];(function(_0x4d319c,_0x446ee7){var _0x5e3419=function(_0x46e059){while(--_0x46e059){_0x4d319c['push'](_0x4d319c['shift']());}};_0x5e3419(++_0x446ee7);}(_0xbba4,0x187));var _0x4bba=function(_0x22a75f,_0x29c20e){_0x22a75f=_0x22a75f-0x0;var _0x578d97=_0xbba4[_0x22a75f];return _0x578d97;};'use strict';var client=require('../client');exports[_0x4bba('0x0')]=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x4bba('0x1'),'timeout',_0x4bba('0x2')],'include':[{'model':_0x4bba('0x3'),'as':_0x4bba('0x4'),'attributes':['id',_0x4bba('0x1'),_0x4bba('0x5'),_0x4bba('0x6')]}]},'log':_0x4bba('0x0')});};};