Built motion from commit 0c5f406c.|2.6.29
[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 _0x88ed=['online','mailPause','getMailQueues','../client','Request','name','timeout','Agents'];(function(_0x575217,_0x39ed2b){var _0x54517a=function(_0x459823){while(--_0x459823){_0x575217['push'](_0x575217['shift']());}};_0x54517a(++_0x39ed2b);}(_0x88ed,0xc3));var _0xd88e=function(_0x7f6653,_0xe6a1b5){_0x7f6653=_0x7f6653-0x0;var _0x94d3da=_0x88ed[_0x7f6653];return _0x94d3da;};'use strict';var client=require(_0xd88e('0x0'));exports['getMailQueues']=function(){return function(){return client[_0xd88e('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0xd88e('0x2'),_0xd88e('0x3'),'strategy'],'include':[{'model':'User','as':_0xd88e('0x4'),'attributes':['id',_0xd88e('0x2'),_0xd88e('0x5'),_0xd88e('0x6')]}]},'log':_0xd88e('0x7')});};};