Built motion from commit ddca4d0d.|2.5.47
[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 _0xdd34=['online','mailPause','../client','getMailQueues','Request','GetMailQueue','timeout','User','Agents','name'];(function(_0x2d2a97,_0x460f8f){var _0x372d38=function(_0x24e27e){while(--_0x24e27e){_0x2d2a97['push'](_0x2d2a97['shift']());}};_0x372d38(++_0x460f8f);}(_0xdd34,0xe8));var _0x4dd3=function(_0x4d763d,_0x2e9bec){_0x4d763d=_0x4d763d-0x0;var _0x3e74b7=_0xdd34[_0x4d763d];return _0x3e74b7;};'use strict';var client=require(_0x4dd3('0x0'));exports[_0x4dd3('0x1')]=function(){return function(){return client[_0x4dd3('0x2')](_0x4dd3('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x4dd3('0x4'),'strategy'],'include':[{'model':_0x4dd3('0x5'),'as':_0x4dd3('0x6'),'attributes':['id',_0x4dd3('0x7'),_0x4dd3('0x8'),_0x4dd3('0x9')]}]},'log':_0x4dd3('0x1')});};};