Built motion from commit b0a9a629.|2.6.33
[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 _0x012a=['GetMailQueue','name','strategy','User','Agents','online','mailPause','../client','getMailQueues','Request'];(function(_0x5480c8,_0x45c0fd){var _0x5c26bd=function(_0x4308df){while(--_0x4308df){_0x5480c8['push'](_0x5480c8['shift']());}};_0x5c26bd(++_0x45c0fd);}(_0x012a,0x89));var _0xa012=function(_0x281d51,_0x200860){_0x281d51=_0x281d51-0x0;var _0x1e272d=_0x012a[_0x281d51];return _0x1e272d;};'use strict';var client=require(_0xa012('0x0'));exports[_0xa012('0x1')]=function(){return function(){return client[_0xa012('0x2')](_0xa012('0x3'),{'options':{'raw':![],'attributes':['id',_0xa012('0x4'),'timeout',_0xa012('0x5')],'include':[{'model':_0xa012('0x6'),'as':_0xa012('0x7'),'attributes':['id','name',_0xa012('0x8'),_0xa012('0x9')]}]},'log':_0xa012('0x1')});};};