Built motion from commit (unavailable).|2.4.3
[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 _0x8863=['User','online','mailPause','../client','Request','GetMailQueue','name','timeout','strategy'];(function(_0x5140fd,_0x3cc346){var _0xfca0c1=function(_0x32c996){while(--_0x32c996){_0x5140fd['push'](_0x5140fd['shift']());}};_0xfca0c1(++_0x3cc346);}(_0x8863,0xff));var _0x3886=function(_0xd3c939,_0x356e38){_0xd3c939=_0xd3c939-0x0;var _0x2cb033=_0x8863[_0xd3c939];return _0x2cb033;};'use strict';var client=require(_0x3886('0x0'));exports['getMailQueues']=function(){return function(){return client[_0x3886('0x1')](_0x3886('0x2'),{'options':{'raw':![],'attributes':['id',_0x3886('0x3'),_0x3886('0x4'),_0x3886('0x5')],'include':[{'model':_0x3886('0x6'),'as':'Agents','attributes':['id',_0x3886('0x3'),_0x3886('0x7'),_0x3886('0x8')]}]},'log':'getMailQueues'});};};