63a7052d71fc667fe9aa9a85ef7718aa6832888d
[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 _0x8cb8=['getMailQueues','GetMailQueue','strategy','User','Agents','mailPause'];(function(_0x156f06,_0x5edbb4){var _0x3be31a=function(_0x415faa){while(--_0x415faa){_0x156f06['push'](_0x156f06['shift']());}};_0x3be31a(++_0x5edbb4);}(_0x8cb8,0x1da));var _0x88cb=function(_0x2faddb,_0xc18b78){_0x2faddb=_0x2faddb-0x0;var _0x273c05=_0x8cb8[_0x2faddb];return _0x273c05;};'use strict';var client=require('../client');exports[_0x88cb('0x0')]=function(){return function(){return client['Request'](_0x88cb('0x1'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x88cb('0x2')],'include':[{'model':_0x88cb('0x3'),'as':_0x88cb('0x4'),'attributes':['id','name','online',_0x88cb('0x5')]}]},'log':_0x88cb('0x0')});};};