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 _0x9719=['User','Agents','online','mailPause','getMailQueues','../client','name','timeout','strategy'];(function(_0x432f78,_0x3c90c1){var _0x1cad04=function(_0x47385f){while(--_0x47385f){_0x432f78['push'](_0x432f78['shift']());}};_0x1cad04(++_0x3c90c1);}(_0x9719,0x1e2));var _0x9971=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x9719[_0x40a045];return _0x1a687c;};'use strict';var client=require(_0x9971('0x0'));exports['getMailQueues']=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x9971('0x1'),_0x9971('0x2'),_0x9971('0x3')],'include':[{'model':_0x9971('0x4'),'as':_0x9971('0x5'),'attributes':['id',_0x9971('0x1'),_0x9971('0x6'),_0x9971('0x7')]}]},'log':_0x9971('0x8')});};};