Built motion from commit (unavailable).|2.5.0
[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 _0x8930=['Agents','mailPause','getMailQueues','../client','GetMailQueue','name','timeout','strategy'];(function(_0x1f00f3,_0x53c98e){var _0x3da6f8=function(_0x2f46df){while(--_0x2f46df){_0x1f00f3['push'](_0x1f00f3['shift']());}};_0x3da6f8(++_0x53c98e);}(_0x8930,0x163));var _0x0893=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x8930[_0x57b54c];return _0x59cc19;};'use strict';var client=require(_0x0893('0x0'));exports['getMailQueues']=function(){return function(){return client['Request'](_0x0893('0x1'),{'options':{'raw':![],'attributes':['id',_0x0893('0x2'),_0x0893('0x3'),_0x0893('0x4')],'include':[{'model':'User','as':_0x0893('0x5'),'attributes':['id',_0x0893('0x2'),'online',_0x0893('0x6')]}]},'log':_0x0893('0x7')});};};