ea4325af962477d86438b309055f1deae374f19c
[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 _0xc382=['Agents','online','getMailQueues','Request','GetMailQueue','name','strategy'];(function(_0x5a80dc,_0x431124){var _0x590192=function(_0x52acc1){while(--_0x52acc1){_0x5a80dc['push'](_0x5a80dc['shift']());}};_0x590192(++_0x431124);}(_0xc382,0xf0));var _0x2c38=function(_0x2d7712,_0x39aba4){_0x2d7712=_0x2d7712-0x0;var _0x2efa08=_0xc382[_0x2d7712];return _0x2efa08;};'use strict';var client=require('../client');exports[_0x2c38('0x0')]=function(){return function(){return client[_0x2c38('0x1')](_0x2c38('0x2'),{'options':{'raw':![],'attributes':['id',_0x2c38('0x3'),'timeout',_0x2c38('0x4')],'include':[{'model':'User','as':_0x2c38('0x5'),'attributes':['id','name',_0x2c38('0x6'),'mailPause']}]},'log':_0x2c38('0x0')});};};