1648daa1cd764d7747ae5d5a89813c6d700a46aa
[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 _0xadac=['timeout','strategy','User','name','online','getMailQueues','Request','GetMailQueue'];(function(_0x256e32,_0x4013bc){var _0x464070=function(_0x449398){while(--_0x449398){_0x256e32['push'](_0x256e32['shift']());}};_0x464070(++_0x4013bc);}(_0xadac,0x65));var _0xcada=function(_0x114da0,_0x19188f){_0x114da0=_0x114da0-0x0;var _0x5f1d8a=_0xadac[_0x114da0];return _0x5f1d8a;};'use strict';var client=require('../client');exports[_0xcada('0x0')]=function(){return function(){return client[_0xcada('0x1')](_0xcada('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xcada('0x3'),_0xcada('0x4')],'include':[{'model':_0xcada('0x5'),'as':'Agents','attributes':['id',_0xcada('0x6'),_0xcada('0x7'),'mailPause']}]},'log':'getMailQueues'});};};