270a940a3947b50f501e74ac273e62cf4a974047
[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 _0xeb97=['name','timeout','online','mailPause','getMailQueues','GetMailQueue'];(function(_0x16a85b,_0x335c9b){var _0x4f64c9=function(_0x14ff04){while(--_0x14ff04){_0x16a85b['push'](_0x16a85b['shift']());}};_0x4f64c9(++_0x335c9b);}(_0xeb97,0xd6));var _0x7eb9=function(_0x2c8f8a,_0x8263bb){_0x2c8f8a=_0x2c8f8a-0x0;var _0x3f05b4=_0xeb97[_0x2c8f8a];return _0x3f05b4;};'use strict';var client=require('../client');exports[_0x7eb9('0x0')]=function(){return function(){return client['Request'](_0x7eb9('0x1'),{'options':{'raw':![],'attributes':['id',_0x7eb9('0x2'),_0x7eb9('0x3'),'strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x7eb9('0x2'),_0x7eb9('0x4'),_0x7eb9('0x5')]}]},'log':_0x7eb9('0x0')});};};