Built motion from commit 9d0783e6.|2.6.13
[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 _0xb9ba=['online','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User','Agents'];(function(_0x3b60ad,_0x5ecfcc){var _0x3e50f1=function(_0x583814){while(--_0x583814){_0x3b60ad['push'](_0x3b60ad['shift']());}};_0x3e50f1(++_0x5ecfcc);}(_0xb9ba,0x136));var _0xab9b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xb9ba[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0xab9b('0x0'));exports[_0xab9b('0x1')]=function(){return function(){return client[_0xab9b('0x2')](_0xab9b('0x3'),{'options':{'raw':![],'attributes':['id',_0xab9b('0x4'),_0xab9b('0x5'),_0xab9b('0x6')],'include':[{'model':_0xab9b('0x7'),'as':_0xab9b('0x8'),'attributes':['id','name',_0xab9b('0x9'),_0xab9b('0xa')]}]},'log':_0xab9b('0x1')});};};