Built motion from commit (unavailable).|2.5.9
[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 _0x8cde=['timeout','Agents','name','online','mailPause','getMailQueues','Request'];(function(_0x4814f6,_0x419f64){var _0x18cb5f=function(_0x3572fe){while(--_0x3572fe){_0x4814f6['push'](_0x4814f6['shift']());}};_0x18cb5f(++_0x419f64);}(_0x8cde,0xf3));var _0xe8cd=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x8cde[_0x465028];return _0xb783d4;};'use strict';var client=require('../client');exports[_0xe8cd('0x0')]=function(){return function(){return client[_0xe8cd('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name',_0xe8cd('0x2'),'strategy'],'include':[{'model':'User','as':_0xe8cd('0x3'),'attributes':['id',_0xe8cd('0x4'),_0xe8cd('0x5'),_0xe8cd('0x6')]}]},'log':_0xe8cd('0x0')});};};