Built motion from commit 994c64e1.|2.6.1
[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 _0x9492=['Request','name','strategy','Agents','mailPause','getMailQueues'];(function(_0x2dadb0,_0x2fa22c){var _0xe1183f=function(_0x44541c){while(--_0x44541c){_0x2dadb0['push'](_0x2dadb0['shift']());}};_0xe1183f(++_0x2fa22c);}(_0x9492,0xb9));var _0x2949=function(_0x24e8ef,_0x5bf1e8){_0x24e8ef=_0x24e8ef-0x0;var _0x509638=_0x9492[_0x24e8ef];return _0x509638;};'use strict';var client=require('../client');exports[_0x2949('0x0')]=function(){return function(){return client[_0x2949('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x2949('0x2'),'timeout',_0x2949('0x3')],'include':[{'model':'User','as':_0x2949('0x4'),'attributes':['id','name','online',_0x2949('0x5')]}]},'log':'getMailQueues'});};};