Built motion from commit d5e4af8c.|2.6.23
[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 _0x162a=['name','strategy','User','Agents','../client','getMailQueues','Request','GetMailQueue'];(function(_0x81e6e,_0x37a805){var _0x3049c7=function(_0x25684f){while(--_0x25684f){_0x81e6e['push'](_0x81e6e['shift']());}};_0x3049c7(++_0x37a805);}(_0x162a,0x9c));var _0xa162=function(_0x3cc8ae,_0x5a5724){_0x3cc8ae=_0x3cc8ae-0x0;var _0x3d42e6=_0x162a[_0x3cc8ae];return _0x3d42e6;};'use strict';var client=require(_0xa162('0x0'));exports[_0xa162('0x1')]=function(){return function(){return client[_0xa162('0x2')](_0xa162('0x3'),{'options':{'raw':![],'attributes':['id',_0xa162('0x4'),'timeout',_0xa162('0x5')],'include':[{'model':_0xa162('0x6'),'as':_0xa162('0x7'),'attributes':['id',_0xa162('0x4'),'online','mailPause']}]},'log':_0xa162('0x1')});};};