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 _0x95bd=['Request','GetMailQueue','name','timeout','strategy','User','Agents','online','mailPause','../client','getMailQueues'];(function(_0x2bcd9e,_0x1bef3a){var _0xc3ccf4=function(_0x3d6eb7){while(--_0x3d6eb7){_0x2bcd9e['push'](_0x2bcd9e['shift']());}};_0xc3ccf4(++_0x1bef3a);}(_0x95bd,0xe5));var _0xd95b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x95bd[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0xd95b('0x0'));exports[_0xd95b('0x1')]=function(){return function(){return client[_0xd95b('0x2')](_0xd95b('0x3'),{'options':{'raw':![],'attributes':['id',_0xd95b('0x4'),_0xd95b('0x5'),_0xd95b('0x6')],'include':[{'model':_0xd95b('0x7'),'as':_0xd95b('0x8'),'attributes':['id','name',_0xd95b('0x9'),_0xd95b('0xa')]}]},'log':'getMailQueues'});};};