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 _0x98e8=['online','getMailQueues','Request','GetMailQueue','name'];(function(_0x2e1cd7,_0x293ea1){var _0x515226=function(_0x816b94){while(--_0x816b94){_0x2e1cd7['push'](_0x2e1cd7['shift']());}};_0x515226(++_0x293ea1);}(_0x98e8,0xba));var _0x898e=function(_0x989d75,_0x15ffef){_0x989d75=_0x989d75-0x0;var _0x2d0b2f=_0x98e8[_0x989d75];return _0x2d0b2f;};'use strict';var client=require('../client');exports[_0x898e('0x0')]=function(){return function(){return client[_0x898e('0x1')](_0x898e('0x2'),{'options':{'raw':![],'attributes':['id',_0x898e('0x3'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x898e('0x3'),_0x898e('0x4'),'mailPause']}]},'log':'getMailQueues'});};};