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 _0x9002=['mailPause','getMailQueues','Request','strategy','Agents','name'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9002,0xaf));var _0x2900=function(_0x27a3d1,_0x40d76b){_0x27a3d1=_0x27a3d1-0x0;var _0x267abc=_0x9002[_0x27a3d1];return _0x267abc;};'use strict';var client=require('../client');exports[_0x2900('0x0')]=function(){return function(){return client[_0x2900('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x2900('0x2')],'include':[{'model':'User','as':_0x2900('0x3'),'attributes':['id',_0x2900('0x4'),'online',_0x2900('0x5')]}]},'log':'getMailQueues'});};};