Built motion from commit (unavailable).|2.5.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 _0x3ed9=['Agents','online','../client','getMailQueues','GetMailQueue','name','timeout','User'];(function(_0x104fc0,_0x2bd577){var _0x456b1f=function(_0xe93078){while(--_0xe93078){_0x104fc0['push'](_0x104fc0['shift']());}};_0x456b1f(++_0x2bd577);}(_0x3ed9,0x172));var _0x93ed=function(_0x5465e6,_0x2a8809){_0x5465e6=_0x5465e6-0x0;var _0x10044e=_0x3ed9[_0x5465e6];return _0x10044e;};'use strict';var client=require(_0x93ed('0x0'));exports[_0x93ed('0x1')]=function(){return function(){return client['Request'](_0x93ed('0x2'),{'options':{'raw':![],'attributes':['id',_0x93ed('0x3'),_0x93ed('0x4'),'strategy'],'include':[{'model':_0x93ed('0x5'),'as':_0x93ed('0x6'),'attributes':['id',_0x93ed('0x3'),_0x93ed('0x7'),'mailPause']}]},'log':'getMailQueues'});};};