Built motion from commit (unavailable).|2.4.21
[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 _0xae35=['../client','name','User','Agents','online'];(function(_0x2bbf02,_0x21ecb4){var _0x1fa571=function(_0x4e400b){while(--_0x4e400b){_0x2bbf02['push'](_0x2bbf02['shift']());}};_0x1fa571(++_0x21ecb4);}(_0xae35,0xcd));var _0x5ae3=function(_0xaa5127,_0x1e1918){_0xaa5127=_0xaa5127-0x0;var _0x40d7f4=_0xae35[_0xaa5127];return _0x40d7f4;};'use strict';var client=require(_0x5ae3('0x0'));exports['getMailQueues']=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x5ae3('0x1'),'timeout','strategy'],'include':[{'model':_0x5ae3('0x2'),'as':_0x5ae3('0x3'),'attributes':['id',_0x5ae3('0x1'),_0x5ae3('0x4'),'mailPause']}]},'log':'getMailQueues'});};};