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 _0xee3c=['getMailQueues','../client','name','timeout','strategy','User','Agents','mailPause'];(function(_0x2afb74,_0x478869){var _0x40c4e4=function(_0x2c67f8){while(--_0x2c67f8){_0x2afb74['push'](_0x2afb74['shift']());}};_0x40c4e4(++_0x478869);}(_0xee3c,0x1e1));var _0xcee3=function(_0xb240c9,_0x4a62e2){_0xb240c9=_0xb240c9-0x0;var _0x3d522b=_0xee3c[_0xb240c9];return _0x3d522b;};'use strict';var client=require(_0xcee3('0x0'));exports['getMailQueues']=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0xcee3('0x1'),_0xcee3('0x2'),_0xcee3('0x3')],'include':[{'model':_0xcee3('0x4'),'as':_0xcee3('0x5'),'attributes':['id',_0xcee3('0x1'),'online',_0xcee3('0x6')]}]},'log':_0xcee3('0x7')});};};