1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x8836=['User','Agents','getMailQueues','Request','name','strategy'];(function(_0x593d89,_0x45145f){var _0x4aa403=function(_0x21f674){while(--_0x21f674){_0x593d89['push'](_0x593d89['shift']());}};_0x4aa403(++_0x45145f);}(_0x8836,0x69));var _0x6883=function(_0x5a42b9,_0xdaf0a7){_0x5a42b9=_0x5a42b9-0x0;var _0x883a48=_0x8836[_0x5a42b9];return _0x883a48;};'use strict';var client=require('../client');exports['getMailQueues']=function(){return function(){return client[_0x6883('0x0')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x6883('0x1'),'timeout',_0x6883('0x2')],'include':[{'model':_0x6883('0x3'),'as':_0x6883('0x4'),'attributes':['id',_0x6883('0x1'),'online','mailPause']}]},'log':_0x6883('0x5')});};};