Built motion from commit 85328c08.|2.5.50
[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 _0x6a75=['timeout','User','Agents','online','mailPause','../client','getMailQueues','Request','GetMailQueue','name'];(function(_0x5d743a,_0x386cc3){var _0x2f0fec=function(_0x48b71e){while(--_0x48b71e){_0x5d743a['push'](_0x5d743a['shift']());}};_0x2f0fec(++_0x386cc3);}(_0x6a75,0x1db));var _0x56a7=function(_0x1d24eb,_0x12295b){_0x1d24eb=_0x1d24eb-0x0;var _0x1dc576=_0x6a75[_0x1d24eb];return _0x1dc576;};'use strict';var client=require(_0x56a7('0x0'));exports[_0x56a7('0x1')]=function(){return function(){return client[_0x56a7('0x2')](_0x56a7('0x3'),{'options':{'raw':![],'attributes':['id',_0x56a7('0x4'),_0x56a7('0x5'),'strategy'],'include':[{'model':_0x56a7('0x6'),'as':_0x56a7('0x7'),'attributes':['id',_0x56a7('0x4'),_0x56a7('0x8'),_0x56a7('0x9')]}]},'log':_0x56a7('0x1')});};};